bridge_api 0.3.5 → 0.3.7

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: bda5c64e6db4f31db4ad058c8252fb9090fd532090e302eaf7b9e5ff6adb1bc0
4
- data.tar.gz: c394ca46d0eed4c57683585a2bd2a8987b854e5df2155d5793db15c29e7da305
3
+ metadata.gz: 9442ca4760399dc8b213e38727cc4a7a4dde9325c55163f79638ae9ef5dd414b
4
+ data.tar.gz: 3c8c8b9b3a412068fddb916754db1454398a4ab462a8395e9beaf9e472635490
5
5
  SHA512:
6
- metadata.gz: ae9fe3742eec1ca1e1b718e815167c2dee53864f9701c34084caa04ad83fbc894da4a8c784b8aecebde5774be861bba35e429b7d965863ceebcd50e3fbac5e1d
7
- data.tar.gz: 75a55a424047f5e65f55224944798fd93f4b66c13755ce5525aa83269950f337a307565c06e750a8c1c8d3957027bac31eb664cab4e8acf8d58d035e82274e63
6
+ metadata.gz: f81866711c5c42e1b4baf0155854c57d5f554710622d11cd3191f157de49b1a978154f6937139d3094e829103fd493c21bc84a6d8d4e490e02cfa414337db442
7
+ data.tar.gz: b85070a901e60150e48a3895a76842e4382497df6fa9267234eac6c22d301806fc0a56e98ae2827195eda2d96e4fbb4462cdd4a89dc8bc3c31b76ead5bbadd9d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bridge_api (0.3.5)
4
+ bridge_api (0.2.0)
5
5
  faraday (~> 0.17.3)
6
6
  faraday_middleware (>= 0.12.2)
7
7
  footrest (>= 0.5.1)
@@ -10,51 +10,36 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.1.5.1)
14
- base64
15
- benchmark (>= 0.3)
16
- bigdecimal
13
+ activesupport (7.0.3)
17
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
- connection_pool (>= 2.2.5)
19
- drb
20
15
  i18n (>= 1.6, < 2)
21
- logger (>= 1.4.2)
22
16
  minitest (>= 5.1)
23
- mutex_m
24
- securerandom (>= 0.3)
25
17
  tzinfo (~> 2.0)
26
18
  addressable (2.5.2)
27
19
  public_suffix (>= 2.0.2, < 4.0)
28
- base64 (0.2.0)
29
- benchmark (0.4.0)
30
- bigdecimal (3.1.9)
31
20
  byebug (8.2.5)
32
21
  coderay (1.1.2)
33
- concurrent-ruby (1.3.5)
34
- connection_pool (2.5.0)
22
+ concurrent-ruby (1.1.10)
35
23
  crack (0.4.3)
36
24
  safe_yaml (~> 1.0.0)
37
25
  diff-lcs (1.3)
38
- drb (2.2.1)
39
- faraday (0.17.6)
26
+ faraday (0.17.5)
40
27
  multipart-post (>= 1.2, < 3)
41
28
  faraday_middleware (0.14.0)
42
29
  faraday (>= 0.7.4, < 1.0)
43
- footrest (0.5.8)
30
+ footrest (0.5.3)
44
31
  activesupport (>= 3.0.0)
45
- faraday (>= 0.9.0, < 2)
32
+ faraday (>= 0.9.0, < 1)
46
33
  link_header (>= 0.0.7)
47
34
  hashdiff (0.3.7)
48
- i18n (1.14.7)
35
+ i18n (1.10.0)
49
36
  concurrent-ruby (~> 1.0)
50
37
  link_header (0.0.8)
51
- logger (1.6.5)
52
38
  method_source (0.9.0)
53
- minitest (5.25.4)
39
+ minitest (5.15.0)
54
40
  mock_redis (0.31.0)
55
41
  ruby2_keywords
56
- multipart-post (2.4.1)
57
- mutex_m (0.3.0)
42
+ multipart-post (2.1.1)
58
43
  paul_walker (0.1.2)
59
44
  redis (>= 4.0)
60
45
  pry (0.11.3)
@@ -65,10 +50,7 @@ GEM
65
50
  rack-protection (1.5.5)
66
51
  rack
67
52
  rake (0.9.6)
68
- redis (5.3.0)
69
- redis-client (>= 0.22.0)
70
- redis-client (0.23.2)
71
- connection_pool
53
+ redis (4.6.0)
72
54
  rspec (2.99.0)
73
55
  rspec-core (~> 2.99.0)
74
56
  rspec-expectations (~> 2.99.0)
@@ -79,13 +61,12 @@ GEM
79
61
  rspec-mocks (2.99.4)
80
62
  ruby2_keywords (0.0.5)
81
63
  safe_yaml (1.0.4)
82
- securerandom (0.3.2)
83
64
  sinatra (1.4.8)
84
65
  rack (~> 1.5)
85
66
  rack-protection (~> 1.4)
86
67
  tilt (>= 1.3, < 3)
87
68
  tilt (1.4.1)
88
- tzinfo (2.0.6)
69
+ tzinfo (2.0.4)
89
70
  concurrent-ruby (~> 1.0)
90
71
  webmock (1.22.6)
91
72
  addressable (>= 2.3.6)
@@ -36,7 +36,7 @@ module BridgeAPI
36
36
  end
37
37
 
38
38
  def async_share_course_with_subaccount(course_template_id, params = {})
39
- put("#{API_PATH}#{AUTHOR_PATH}#{COURSE_TEMPLATE_PATH}/#{course_template_id}/#{SUB_ACCOUNT_PATH}/share_async", params)
39
+ put("#{API_PATH}#{AUTHOR_PATH}#{AFFILIATED_SUBACCOUNTS}/share_async", params)
40
40
  end
41
41
 
42
42
  def revoke_course_from_subaccount(course_template_id, params = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BridgeAPI
4
- VERSION = '0.3.5' unless defined?(BridgeAPI::VERSION)
4
+ VERSION = '0.3.7' unless defined?(BridgeAPI::VERSION)
5
5
  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.3.5
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Shaffer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-21 00:00:00.000000000 Z
11
+ date: 2025-01-23 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
@@ -303,7 +303,7 @@ homepage: https://getbridge.com
303
303
  licenses:
304
304
  - MIT
305
305
  metadata: {}
306
- post_install_message:
306
+ post_install_message:
307
307
  rdoc_options: []
308
308
  require_paths:
309
309
  - lib
@@ -318,60 +318,60 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
318
  - !ruby/object:Gem::Version
319
319
  version: '0'
320
320
  requirements: []
321
- rubygems_version: 3.4.10
322
- signing_key:
321
+ rubygems_version: 3.0.3.1
322
+ signing_key:
323
323
  specification_version: 4
324
324
  summary: Bridge API
325
325
  test_files:
326
+ - spec/bridge_api/client_spec.rb
327
+ - spec/bridge_api/client/enrollment_spec.rb
328
+ - spec/bridge_api/client/custom_field_spec.rb
326
329
  - spec/bridge_api/client/account_spec.rb
327
- - spec/bridge_api/client/affiliations_spec.rb
330
+ - spec/bridge_api/client/data_dump_spec.rb
331
+ - spec/bridge_api/client/live_course_spec.rb
328
332
  - spec/bridge_api/client/clone_object_spec.rb
329
333
  - spec/bridge_api/client/course_template_spec.rb
330
- - spec/bridge_api/client/custom_field_spec.rb
331
- - spec/bridge_api/client/data_dump_spec.rb
332
- - spec/bridge_api/client/enrollment_spec.rb
334
+ - spec/bridge_api/client/affiliations_spec.rb
335
+ - spec/bridge_api/client/sub_account_spec.rb
333
336
  - spec/bridge_api/client/group_spec.rb
334
- - spec/bridge_api/client/learner_items_spec.rb
335
- - spec/bridge_api/client/live_course_enrollments_spec.rb
336
337
  - spec/bridge_api/client/live_course_session_spec.rb
337
- - spec/bridge_api/client/live_course_spec.rb
338
- - spec/bridge_api/client/manager_spec.rb
339
338
  - spec/bridge_api/client/program_enrollment_spec.rb
340
- - spec/bridge_api/client/role_spec.rb
341
- - spec/bridge_api/client/sub_account_spec.rb
342
339
  - spec/bridge_api/client/user_spec.rb
343
- - spec/bridge_api/client_spec.rb
344
- - spec/fixtures/accounts.json
345
- - spec/fixtures/affiliations.json
346
- - spec/fixtures/clone_objects.json
340
+ - spec/bridge_api/client/role_spec.rb
341
+ - spec/bridge_api/client/manager_spec.rb
342
+ - spec/bridge_api/client/live_course_enrollments_spec.rb
343
+ - spec/bridge_api/client/learner_items_spec.rb
344
+ - spec/support/fake_bridge.rb
345
+ - spec/fixtures/roles.json
346
+ - spec/fixtures/live_course.json
347
+ - spec/fixtures/managers.json
348
+ - spec/fixtures/temporary_users.json
349
+ - spec/fixtures/program_enrollments.json
350
+ - spec/fixtures/enrollment.json
351
+ - spec/fixtures/sub_accounts.json
352
+ - spec/fixtures/user_roles_add.json
347
353
  - spec/fixtures/course.json
348
- - spec/fixtures/courses.json
349
- - spec/fixtures/custom_attribute_values.json
350
- - spec/fixtures/custom_fields.json
351
- - spec/fixtures/data_dump.json
354
+ - spec/fixtures/live_course_sessions.json
352
355
  - spec/fixtures/data_dumps.json
353
- - spec/fixtures/default_web_conference.json
356
+ - spec/fixtures/users.json
354
357
  - spec/fixtures/direct_reports.json
355
- - spec/fixtures/enrollment.json
356
- - spec/fixtures/enrollments.json
357
- - spec/fixtures/group.json
358
358
  - spec/fixtures/learner_enrollments.json
359
- - spec/fixtures/learner_items.json
360
- - spec/fixtures/live_course.json
361
- - spec/fixtures/live_course_enrollments.json
362
- - spec/fixtures/live_course_sessions.json
363
- - spec/fixtures/live_courses.json
364
- - spec/fixtures/managers.json
365
- - spec/fixtures/program_enrollments.json
366
- - spec/fixtures/programs.json
367
- - spec/fixtures/roles.json
368
359
  - spec/fixtures/sub_account_lti_config.json
360
+ - spec/fixtures/user.json
361
+ - spec/fixtures/custom_attribute_values.json
362
+ - spec/fixtures/courses.json
369
363
  - spec/fixtures/sub_account_lti_config_update.json
364
+ - spec/fixtures/default_web_conference.json
365
+ - spec/fixtures/programs.json
366
+ - spec/fixtures/learner_items.json
370
367
  - spec/fixtures/sub_account_new_lti_config.json
371
- - spec/fixtures/sub_accounts.json
372
- - spec/fixtures/temporary_users.json
373
- - spec/fixtures/user.json
374
- - spec/fixtures/user_roles_add.json
375
- - spec/fixtures/users.json
376
- - spec/support/fake_bridge.rb
368
+ - spec/fixtures/enrollments.json
369
+ - spec/fixtures/group.json
370
+ - spec/fixtures/affiliations.json
371
+ - spec/fixtures/accounts.json
372
+ - spec/fixtures/live_courses.json
373
+ - spec/fixtures/clone_objects.json
374
+ - spec/fixtures/data_dump.json
375
+ - spec/fixtures/live_course_enrollments.json
376
+ - spec/fixtures/custom_fields.json
377
377
  - spec/test_helper.rb