canvas_sync 0.10.0 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync/api_syncable.rb +20 -1
- data/lib/canvas_sync/generators/templates/migrations/create_roles.rb +2 -0
- data/lib/canvas_sync/generators/templates/models/admin.rb +16 -10
- data/lib/canvas_sync/generators/templates/models/assignment_group.rb +2 -1
- data/lib/canvas_sync/generators/templates/models/role.rb +12 -10
- data/lib/canvas_sync/generators/templates/models/term.rb +19 -14
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/dummy/app/models/admin.rb +16 -10
- data/spec/dummy/app/models/role.rb +12 -10
- data/spec/dummy/app/models/term.rb +19 -14
- data/spec/dummy/db/migrate/{20190521003448_create_roles.rb → 20190606161037_create_roles.rb} +2 -0
- data/spec/dummy/db/schema.rb +3 -1
- data/spec/support/fixtures/canvas_responses/admins.json +49 -49
- data/spec/support/fixtures/canvas_responses/roles.json +743 -743
- metadata +4 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Collings
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -505,7 +505,6 @@ files:
|
|
505
505
|
- spec/dummy/config/routes.rb
|
506
506
|
- spec/dummy/config/secrets.yml
|
507
507
|
- spec/dummy/db/migrate/20190521003447_create_submissions.rb
|
508
|
-
- spec/dummy/db/migrate/20190521003448_create_roles.rb
|
509
508
|
- spec/dummy/db/migrate/20190521003449_create_admins.rb
|
510
509
|
- spec/dummy/db/migrate/20190521003450_create_assignment_groups.rb
|
511
510
|
- spec/dummy/db/migrate/20190521003451_create_context_modules.rb
|
@@ -517,6 +516,7 @@ files:
|
|
517
516
|
- spec/dummy/db/migrate/20190603220011_create_courses.rb
|
518
517
|
- spec/dummy/db/migrate/20190603220013_create_enrollments.rb
|
519
518
|
- spec/dummy/db/migrate/20190604193942_create_accounts.rb
|
519
|
+
- spec/dummy/db/migrate/20190606161037_create_roles.rb
|
520
520
|
- spec/dummy/db/schema.rb
|
521
521
|
- spec/dummy/db/test.sqlite3
|
522
522
|
- spec/dummy/log/development.log
|
@@ -674,7 +674,6 @@ test_files:
|
|
674
674
|
- spec/dummy/config/routes.rb
|
675
675
|
- spec/dummy/config/secrets.yml
|
676
676
|
- spec/dummy/db/migrate/20190521003447_create_submissions.rb
|
677
|
-
- spec/dummy/db/migrate/20190521003448_create_roles.rb
|
678
677
|
- spec/dummy/db/migrate/20190521003449_create_admins.rb
|
679
678
|
- spec/dummy/db/migrate/20190521003450_create_assignment_groups.rb
|
680
679
|
- spec/dummy/db/migrate/20190521003451_create_context_modules.rb
|
@@ -686,6 +685,7 @@ test_files:
|
|
686
685
|
- spec/dummy/db/migrate/20190603220011_create_courses.rb
|
687
686
|
- spec/dummy/db/migrate/20190603220013_create_enrollments.rb
|
688
687
|
- spec/dummy/db/migrate/20190604193942_create_accounts.rb
|
688
|
+
- spec/dummy/db/migrate/20190606161037_create_roles.rb
|
689
689
|
- spec/dummy/db/schema.rb
|
690
690
|
- spec/dummy/db/test.sqlite3
|
691
691
|
- spec/dummy/log/development.log
|