bridge_api 0.1.54 → 0.1.55

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d39d608d1b30d380fb6fdb79ad8284d5c2e2e1fd132623b89717cf94a9f9071
4
- data.tar.gz: a8a72c682e3868563aa290f61b1dabb3295e34aff8ef6d9c61cff9f927a32bba
3
+ metadata.gz: 83609f373a095db86732ec01372a9bb683d4bb0371fabf6eb1937f620420d815
4
+ data.tar.gz: e661ce7bea32043846bd1e2b0f3891eb6595a2c93409a37f1dd3ddb4341f60a7
5
5
  SHA512:
6
- metadata.gz: 8b93008180e1bdb8af16f4fbc88f4fa642cbe20e655fcac04dc34ea0c5ba20b1f38ef3b5c32e098224f48da463a7e7288fc7726c57232fc6e5c666d741c505b4
7
- data.tar.gz: 10af8a2e42a4ca6db28abdeba4258bf6559a4b6f4ffc3907a0fe3d0f8820015a82b92a2001e08ae25cc3af2bd0653f4de58526f0301db6f0320db96d65a11d0a
6
+ metadata.gz: 68d26347ea96b47f03f1c960245741357f439b9ad81fbee453ccecb41f4fde87256c616c5772c35e4604154c48ad731220e11877e1be49ca3560518668844d1d
7
+ data.tar.gz: 42dea873909be1b5758ad7a896ed396d29ae7c93d5c08dfb234d20163100557b7ba45efc2319cf5e5e8ce06b6460fefc3265161385ce9222bf34fda6a98fe824
@@ -1,17 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bridge_api (0.1.48)
4
+ bridge_api (0.1.55)
5
5
  faraday (~> 0.9.0)
6
6
  faraday_middleware (>= 0.12.2)
7
7
  footrest (>= 0.5.1)
8
- logging (>= 2.2.2)
9
8
  paul_walker (>= 0.1.1)
10
9
 
11
10
  GEM
12
11
  remote: https://rubygems.org/
13
12
  specs:
14
- activesupport (5.2.2)
13
+ activesupport (5.2.3)
15
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
15
  i18n (>= 0.7, < 2)
17
16
  minitest (~> 5.1)
@@ -20,29 +19,24 @@ GEM
20
19
  public_suffix (>= 2.0.2, < 4.0)
21
20
  byebug (8.2.5)
22
21
  coderay (1.1.2)
23
- concurrent-ruby (1.1.3)
22
+ concurrent-ruby (1.1.5)
24
23
  crack (0.4.3)
25
24
  safe_yaml (~> 1.0.0)
26
25
  diff-lcs (1.3)
27
26
  faraday (0.9.2)
28
27
  multipart-post (>= 1.2, < 3)
29
- faraday_middleware (0.12.2)
28
+ faraday_middleware (0.13.1)
30
29
  faraday (>= 0.7.4, < 1.0)
31
30
  footrest (0.5.3)
32
31
  activesupport (>= 3.0.0)
33
32
  faraday (>= 0.9.0, < 1)
34
33
  link_header (>= 0.0.7)
35
34
  hashdiff (0.3.7)
36
- i18n (1.1.1)
35
+ i18n (1.6.0)
37
36
  concurrent-ruby (~> 1.0)
38
37
  link_header (0.0.8)
39
- little-plugger (1.1.4)
40
- logging (2.2.2)
41
- little-plugger (~> 1.1)
42
- multi_json (~> 1.10)
43
38
  method_source (0.9.0)
44
39
  minitest (5.11.3)
45
- multi_json (1.13.1)
46
40
  multipart-post (2.0.0)
47
41
  paul_walker (0.1.1)
48
42
  redis (>= 4.0)
@@ -54,7 +48,7 @@ GEM
54
48
  rack-protection (1.5.5)
55
49
  rack
56
50
  rake (0.9.6)
57
- redis (4.0.3)
51
+ redis (4.1.0)
58
52
  rspec (2.99.0)
59
53
  rspec-core (~> 2.99.0)
60
54
  rspec-expectations (~> 2.99.0)
@@ -92,4 +86,4 @@ DEPENDENCIES
92
86
  webmock (~> 1.22.6)
93
87
 
94
88
  BUNDLED WITH
95
- 1.17.1
89
+ 1.17.2
@@ -30,6 +30,5 @@ Gem::Specification.new do |gem|
30
30
  gem.add_dependency 'faraday', '~> 0.9.0'
31
31
  gem.add_dependency 'faraday_middleware', '>= 0.12.2'
32
32
  gem.add_dependency 'footrest', '>= 0.5.1'
33
- gem.add_dependency 'logging', '>= 2.2.2'
34
33
  gem.add_dependency 'paul_walker', '>= 0.1.1'
35
34
  end
@@ -3,7 +3,7 @@ require 'bridge_api/client'
3
3
 
4
4
  module BridgeAPI
5
5
  class << self
6
- require 'logging'
6
+ require 'logger'
7
7
  attr_writer :enforce_rate_limits, :rate_limit_min, :rate_limits, :max_sleep_seconds, :min_sleep_seconds,
8
8
  :logger, :master_rate_limit, :master_mutex, :rate_limit_threshold
9
9
 
@@ -41,7 +41,7 @@ module BridgeAPI
41
41
 
42
42
  def logger
43
43
  return @logger if defined? @logger
44
- @logger = Logging.logger(STDOUT)
44
+ @logger = Logger.new(STDOUT)
45
45
  @logger.level = :debug
46
46
  @logger
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module BridgeAPI
2
- VERSION = '0.1.54'.freeze unless defined?(BridgeAPI::VERSION)
2
+ VERSION = '0.1.55'.freeze unless defined?(BridgeAPI::VERSION)
3
3
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridge_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.54
4
+ version: 0.1.55
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Shaffer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2019-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
19
  version: 1.0.0
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.0'
30
27
  - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 1.0.0
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: byebug
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -104,22 +104,22 @@ dependencies:
104
104
  name: tilt
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: 1.3.4
110
107
  - - "~>"
111
108
  - !ruby/object:Gem::Version
112
109
  version: '1.3'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.3.4
113
113
  type: :development
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: 1.3.4
120
117
  - - "~>"
121
118
  - !ruby/object:Gem::Version
122
119
  version: '1.3'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 1.3.4
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: webmock
125
125
  requirement: !ruby/object:Gem::Requirement
@@ -176,20 +176,6 @@ dependencies:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
178
  version: 0.5.1
179
- - !ruby/object:Gem::Dependency
180
- name: logging
181
- requirement: !ruby/object:Gem::Requirement
182
- requirements:
183
- - - ">="
184
- - !ruby/object:Gem::Version
185
- version: 2.2.2
186
- type: :runtime
187
- prerelease: false
188
- version_requirements: !ruby/object:Gem::Requirement
189
- requirements:
190
- - - ">="
191
- - !ruby/object:Gem::Version
192
- version: 2.2.2
193
179
  - !ruby/object:Gem::Dependency
194
180
  name: paul_walker
195
181
  requirement: !ruby/object:Gem::Requirement
@@ -311,58 +297,57 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
297
  - !ruby/object:Gem::Version
312
298
  version: '0'
313
299
  requirements: []
314
- rubyforge_project:
315
- rubygems_version: 2.7.3
300
+ rubygems_version: 3.0.3
316
301
  signing_key:
317
302
  specification_version: 4
318
303
  summary: Bridge API
319
304
  test_files:
305
+ - spec/bridge_api/client_spec.rb
306
+ - spec/bridge_api/client/enrollment_spec.rb
307
+ - spec/bridge_api/client/custom_field_spec.rb
320
308
  - spec/bridge_api/client/account_spec.rb
321
- - spec/bridge_api/client/affiliations_spec.rb
309
+ - spec/bridge_api/client/data_dump_spec.rb
310
+ - spec/bridge_api/client/live_course_spec.rb
322
311
  - spec/bridge_api/client/clone_object_spec.rb
323
312
  - spec/bridge_api/client/course_template_spec.rb
324
- - spec/bridge_api/client/custom_field_spec.rb
325
- - spec/bridge_api/client/data_dump_spec.rb
326
- - spec/bridge_api/client/enrollment_spec.rb
313
+ - spec/bridge_api/client/affiliations_spec.rb
314
+ - spec/bridge_api/client/sub_account_spec.rb
327
315
  - spec/bridge_api/client/group_spec.rb
328
- - spec/bridge_api/client/learner_items_spec.rb
329
- - spec/bridge_api/client/live_course_enrollments_spec.rb
330
316
  - spec/bridge_api/client/live_course_session_spec.rb
331
- - spec/bridge_api/client/live_course_spec.rb
332
- - spec/bridge_api/client/manager_spec.rb
333
317
  - spec/bridge_api/client/program_enrollment_spec.rb
334
- - spec/bridge_api/client/role_spec.rb
335
- - spec/bridge_api/client/sub_account_spec.rb
336
318
  - spec/bridge_api/client/user_spec.rb
337
- - spec/bridge_api/client_spec.rb
338
- - spec/fixtures/accounts.json
339
- - spec/fixtures/affiliations.json
340
- - spec/fixtures/clone_objects.json
341
- - spec/fixtures/course.json
342
- - spec/fixtures/courses.json
343
- - spec/fixtures/custom_fields.json
344
- - spec/fixtures/data_dump.json
345
- - spec/fixtures/data_dumps.json
346
- - spec/fixtures/default_web_conference.json
347
- - spec/fixtures/direct_reports.json
348
- - spec/fixtures/enrollment.json
349
- - spec/fixtures/enrollments.json
350
- - spec/fixtures/group.json
351
- - spec/fixtures/learner_items.json
319
+ - spec/bridge_api/client/role_spec.rb
320
+ - spec/bridge_api/client/manager_spec.rb
321
+ - spec/bridge_api/client/live_course_enrollments_spec.rb
322
+ - spec/bridge_api/client/learner_items_spec.rb
323
+ - spec/support/fake_bridge.rb
324
+ - spec/fixtures/roles.json
352
325
  - spec/fixtures/live_course.json
353
- - spec/fixtures/live_course_enrollments.json
354
- - spec/fixtures/live_course_sessions.json
355
- - spec/fixtures/live_courses.json
356
326
  - spec/fixtures/managers.json
357
327
  - spec/fixtures/program_enrollments.json
358
- - spec/fixtures/programs.json
359
- - spec/fixtures/roles.json
360
- - spec/fixtures/sub_account_lti_config.json
361
- - spec/fixtures/sub_account_lti_config_update.json
362
- - spec/fixtures/sub_account_new_lti_config.json
328
+ - spec/fixtures/enrollment.json
363
329
  - spec/fixtures/sub_accounts.json
364
- - spec/fixtures/user.json
365
330
  - spec/fixtures/user_roles_add.json
331
+ - spec/fixtures/course.json
332
+ - spec/fixtures/live_course_sessions.json
333
+ - spec/fixtures/data_dumps.json
366
334
  - spec/fixtures/users.json
367
- - spec/support/fake_bridge.rb
335
+ - spec/fixtures/direct_reports.json
336
+ - spec/fixtures/sub_account_lti_config.json
337
+ - spec/fixtures/user.json
338
+ - spec/fixtures/courses.json
339
+ - spec/fixtures/sub_account_lti_config_update.json
340
+ - spec/fixtures/default_web_conference.json
341
+ - spec/fixtures/programs.json
342
+ - spec/fixtures/learner_items.json
343
+ - spec/fixtures/sub_account_new_lti_config.json
344
+ - spec/fixtures/enrollments.json
345
+ - spec/fixtures/group.json
346
+ - spec/fixtures/affiliations.json
347
+ - spec/fixtures/accounts.json
348
+ - spec/fixtures/live_courses.json
349
+ - spec/fixtures/clone_objects.json
350
+ - spec/fixtures/data_dump.json
351
+ - spec/fixtures/live_course_enrollments.json
352
+ - spec/fixtures/custom_fields.json
368
353
  - spec/test_helper.rb