canvas_sync 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -11
- data/lib/canvas_sync.rb +6 -12
- data/lib/canvas_sync/jobs/application_job.rb +0 -9
- data/lib/canvas_sync/jobs/report_checker.rb +2 -8
- data/lib/canvas_sync/jobs/report_processor_job.rb +2 -4
- data/lib/canvas_sync/jobs/report_starter.rb +2 -7
- data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +1 -7
- data/lib/canvas_sync/jobs/sync_terms_job.rb +3 -7
- data/lib/canvas_sync/jobs/sync_users_job.rb +1 -5
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/canvas_sync_spec.rb +2 -7
- data/spec/canvas_sync/jobs/report_checker_spec.rb +1 -5
- data/spec/canvas_sync/jobs/report_processor_job_spec.rb +1 -5
- data/spec/canvas_sync/jobs/report_starter_spec.rb +1 -4
- data/spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb +0 -13
- data/spec/canvas_sync/jobs/sync_terms_job_spec.rb +2 -5
- data/spec/canvas_sync/jobs/sync_users_job_spec.rb +1 -4
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +9462 -0
- data/spec/spec_helper.rb +4 -0
- metadata +2 -2
data/spec/spec_helper.rb
CHANGED
@@ -44,3 +44,7 @@ def open_canvas_fixture(name)
|
|
44
44
|
data = File.open(File.dirname(__FILE__) + '/support/fixtures/canvas_responses/' + name + '.json', 'rb').read
|
45
45
|
JSON.parse(data)
|
46
46
|
end
|
47
|
+
|
48
|
+
def canvas_sync_client
|
49
|
+
Bearcat::Client.new(token: 'cool-token', prefix: 'http://test.instructure.com')
|
50
|
+
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.1.
|
4
|
+
version: 0.1.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: 2017-09-
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|