canvas_sync 0.3.16 → 0.3.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ FactoryGirl.define do
2
+ factory :account do
3
+ canvas_account_id { SecureRandom.random_number(100_000_000) }
4
+ account_id { SecureRandom.hex }
5
+ canvas_parent_id 1
6
+ parent_account_id { SecureRandom.hex }
7
+ name "Account name"
8
+ status "active"
9
+ end
10
+ end
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.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -311,6 +311,7 @@ files:
311
311
  - lib/canvas_sync/generators/templates/models/assignment.rb
312
312
  - lib/canvas_sync/generators/templates/models/assignment_group.rb
313
313
  - lib/canvas_sync/generators/templates/models/course.rb
314
+ - lib/canvas_sync/generators/templates/models/create_accounts.rb
314
315
  - lib/canvas_sync/generators/templates/models/create_admins.rb
315
316
  - lib/canvas_sync/generators/templates/models/create_assignment_groups.rb
316
317
  - lib/canvas_sync/generators/templates/models/create_assignments.rb
@@ -381,6 +382,7 @@ files:
381
382
  - spec/canvas_sync/jobs/sync_submissions_job_spec.rb
382
383
  - spec/canvas_sync/jobs/sync_terms_job_spec.rb
383
384
  - spec/canvas_sync/jobs/sync_users_job_spec.rb
385
+ - spec/canvas_sync/models/accounts_spec.rb
384
386
  - spec/canvas_sync/models/admins_spec.rb
385
387
  - spec/canvas_sync/models/assignment_group_spec.rb
386
388
  - spec/canvas_sync/models/assignment_spec.rb
@@ -397,6 +399,7 @@ files:
397
399
  - spec/canvas_sync/processors/submissions_processor_spec.rb
398
400
  - spec/dummy/README.rdoc
399
401
  - spec/dummy/Rakefile
402
+ - spec/dummy/app/models/account.rb
400
403
  - spec/dummy/app/models/admin.rb
401
404
  - spec/dummy/app/models/application_record.rb
402
405
  - spec/dummy/app/models/assignment.rb
@@ -421,6 +424,7 @@ files:
421
424
  - spec/dummy/config/initializers/wrap_parameters.rb
422
425
  - spec/dummy/config/routes.rb
423
426
  - spec/dummy/config/secrets.yml
427
+ - spec/dummy/db/development.sqlite3
424
428
  - spec/dummy/db/migrate/20170905192509_create_enrollments.rb
425
429
  - spec/dummy/db/migrate/20170906193506_create_terms.rb
426
430
  - spec/dummy/db/migrate/20170914181345_create_courses.rb
@@ -431,10 +435,12 @@ files:
431
435
  - spec/dummy/db/migrate/20180215214227_create_assignments.rb
432
436
  - spec/dummy/db/migrate/20180215220605_create_assignment_groups.rb
433
437
  - spec/dummy/db/migrate/20180216171618_create_submissions.rb
438
+ - spec/dummy/db/migrate/20180220172559_create_accounts.rb
434
439
  - spec/dummy/db/schema.rb
435
440
  - spec/dummy/db/test.sqlite3
436
441
  - spec/dummy/log/development.log
437
442
  - spec/dummy/log/test.log
443
+ - spec/factories/account_factory.rb
438
444
  - spec/factories/admin_factory.rb
439
445
  - spec/factories/assignment_factory.rb
440
446
  - spec/factories/assignment_group_factory.rb
@@ -480,7 +486,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
480
486
  version: '0'
481
487
  requirements: []
482
488
  rubyforge_project:
483
- rubygems_version: 2.6.12
489
+ rubygems_version: 2.7.3
484
490
  signing_key:
485
491
  specification_version: 4
486
492
  summary: Gem for generating Canvas models and migrations and syncing data from Canvas
@@ -498,6 +504,7 @@ test_files:
498
504
  - spec/canvas_sync/jobs/sync_submissions_job_spec.rb
499
505
  - spec/canvas_sync/jobs/sync_terms_job_spec.rb
500
506
  - spec/canvas_sync/jobs/sync_users_job_spec.rb
507
+ - spec/canvas_sync/models/accounts_spec.rb
501
508
  - spec/canvas_sync/models/admins_spec.rb
502
509
  - spec/canvas_sync/models/assignment_group_spec.rb
503
510
  - spec/canvas_sync/models/assignment_spec.rb
@@ -514,6 +521,7 @@ test_files:
514
521
  - spec/canvas_sync/processors/submissions_processor_spec.rb
515
522
  - spec/dummy/README.rdoc
516
523
  - spec/dummy/Rakefile
524
+ - spec/dummy/app/models/account.rb
517
525
  - spec/dummy/app/models/admin.rb
518
526
  - spec/dummy/app/models/application_record.rb
519
527
  - spec/dummy/app/models/assignment.rb
@@ -538,6 +546,7 @@ test_files:
538
546
  - spec/dummy/config/initializers/wrap_parameters.rb
539
547
  - spec/dummy/config/routes.rb
540
548
  - spec/dummy/config/secrets.yml
549
+ - spec/dummy/db/development.sqlite3
541
550
  - spec/dummy/db/migrate/20170905192509_create_enrollments.rb
542
551
  - spec/dummy/db/migrate/20170906193506_create_terms.rb
543
552
  - spec/dummy/db/migrate/20170914181345_create_courses.rb
@@ -548,10 +557,12 @@ test_files:
548
557
  - spec/dummy/db/migrate/20180215214227_create_assignments.rb
549
558
  - spec/dummy/db/migrate/20180215220605_create_assignment_groups.rb
550
559
  - spec/dummy/db/migrate/20180216171618_create_submissions.rb
560
+ - spec/dummy/db/migrate/20180220172559_create_accounts.rb
551
561
  - spec/dummy/db/schema.rb
552
562
  - spec/dummy/db/test.sqlite3
553
563
  - spec/dummy/log/development.log
554
564
  - spec/dummy/log/test.log
565
+ - spec/factories/account_factory.rb
555
566
  - spec/factories/admin_factory.rb
556
567
  - spec/factories/assignment_factory.rb
557
568
  - spec/factories/assignment_group_factory.rb