CLC-3410 Move Canvas proxies into app/models/canvas
CLC-3410 Put some of the Canvas proxies into Canvas module
CLC-3410 Put the rest of the Canvas proxies into Canvas module
CLC-3410 Shorten the names of Canvas proxies
CLC-3410 Move 3 Canvas models into app/models/canvas subfolder
CLC-3410 Put Canvas models into Canvas module
CLC-3410 Shorten the names of more Canvas models
CLC-3410 Rename MyClasses::Sakai to MyClasses::SakaiClasses to fix uninitialized constant error
Merge pull request #2243 from ctweney/clc-3410-7

CLC-3410 Seventh batch of proxy reorg: Canvas
Created the MyBadges::StudentInfo class
Tried including it in MyBadges::Merged
mangled some tests in the my_badges_spec, so go back and fix that:

-  it "should be able to filter out entries older than one month" do
+  it "should be able to filter out badges entries older than one month" do
     GoogleProxy.stub(:access_granted?).and_return(true)
     GoogleDriveListProxy.stub(:new).and_return(@fake_drive_list)
     GoogleEventsListProxy.stub(:new).and_return(@fake_events_list)
     Oauth2Data.stub(:get_google_email).and_return("tammi.chang.clc@gmail.com")
     badges = MyBadges::Merged.new @user_id
-    filtered_feed = badges.get_feed
-    filtered_feed[:badges].empty?.should_not be_true
-    filtered_feed[:badges]["bdrive"][:count].should == 4
+    debugger
+    filtered_feed = badges.get_feed[:badges]
+    filtered_feed.empty?.should_not be_true
+    filtered_feed["bdrive"][:count].should == 4
     MyBadges::GoogleDrive.any_instance.stub(:is_recent_message?).and_return(true)
     badges.expire_cache
     MyBadges::GoogleDrive.expire @user_id
     badges = MyBadges::Merged.new @user_id
-    mangled_feed = badges.get_feed
-    mangled_feed[:badges].empty?.should_not be_true
-    mangled_feed[:badges]["bdrive"][:count].should == 10
-    mangled_feed[:badges]["bdrive"][:items].size.should == 10
-    mangled_feed[:badges]["bcal"][:count].should == 6
-    mangled_feed[:badges]["bcal"][:items].size.should == 6
-    mangled_feed[:badges]["bcal"][:items].select { |entry|
+    mangled_feed = badges.get_feed[:badges]
+    mangled_feed.empty?.should_not be_true
+    mangled_feed["bdrive"][:count].should == 10
+    mangled_feed["bdrive"][:items].size.should == 10
+    mangled_feed["bcal"][:count].should == 6
+    mangled_feed["bcal"][:items].size.should == 6
+    mangled_feed["bcal"][:items].select { |entry|
       entry[:all_day_event]
     }.size.should == 1
-    mangled_feed[:badges]["bcal"][:items].select { |entry|
+    mangled_feed["bcal"][:items].select { |entry|
       entry[:change_state] if entry[:change_state] == "new"
     }.size.should == 1
-    mangled_feed[:badges]["bcal"][:items].select { |entry|
+    mangled_feed["bcal"][:items].select { |entry|
       entry[:change_state] if entry[:change_state] == "created"
     }.size.should == 1
   end
reverted mangling of my_badges_spec
got three tests partially passing in the MyBadges::StudentInfo model
added specs for student_info
new dummy json files for this change
added a dummy json file for the blog_release_notes_latest that will include the alert field when this is done
revert changes to user_api so the tests will pass. remove student_info at the end of this issue
removed reverences to MyBadges::StudentInfo so they will keep passing
set up what I think the MyBadges::StudentInfo should contain as far as methods are concerned
Added commented out user_api_specs that would fail if the student_info hash were to be removed from it's feed
Moved get_reg_blocks to the correct place in the class (not the module).  Also removed copies of UserApi specs that should be included in the spec and not the class