strongmind-platform-sdk 2.16.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 534893f58ca1c24e734cadfd1a97de0f7c731b068795b47fc58a909fdf03f218
4
- data.tar.gz: 314184477eeecbf4ce4c9ea638682e929b8c39efbf7b88c52869ea80f3dc9954
3
+ metadata.gz: af0bb9bb301d3ac21ab8b51699c2b55acda385db50d9b40da2f98369c2d1fb03
4
+ data.tar.gz: 0acb9f790fb2385dd132f0c83da3210285c60320fe471b6d728b2490239de3f3
5
5
  SHA512:
6
- metadata.gz: 6c1acd4945a81c95a44e3ee630dca2beb62682830f14bd4d4111999c9cc3f226a82a48ef17d5fc3b2c8e478ed88e66696339bd5bb350c20e90854985cd650d42
7
- data.tar.gz: 6c05dec6b919ed99a73bccd8c2ec1a56a1dd1997a79013622d69fc7b26bbf06818f3eb4855f995bc490090303b35e0106684615cad346a176895d6642dc58ed8
6
+ metadata.gz: 8becc23e5879eb0c645cd15b3b4780831f09337e8f01d40573abb2e5f0756ca7cfb75bc3cebd6c865995a81e8e13a928ebcdbc9339ae6e2cce18dfb25e8a6110
7
+ data.tar.gz: 336cefee6f259e50f5efef3b4d86ecb6f3778cfa3427043f86a8d5bbbebb7f2f49d59bdd652f2441b3c357cc649e1688df30c32c8c3eea6a4551d1b624ba4b80
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (2.16.3)
4
+ strongmind-platform-sdk (3.0.0)
5
5
  aws-sdk-secretsmanager (~> 1.66)
6
6
  devise
7
7
  faraday (~> 2.5, >= 2.5.2)
@@ -215,7 +215,7 @@ GEM
215
215
  tzinfo (2.0.6)
216
216
  concurrent-ruby (~> 1.0)
217
217
  unicode-display_width (2.4.2)
218
- uri (0.12.1)
218
+ uri (0.12.2)
219
219
  validate_email (0.1.6)
220
220
  activemodel (>= 3.0)
221
221
  mail (>= 2.2.5)
data/README.md CHANGED
@@ -11,7 +11,7 @@ First [configure your GitHub credentials](#configure-github-credentials)
11
11
  Install the gem and add to the application's Gemfile by executing:
12
12
 
13
13
  ```
14
- gem "strongmind-platform-sdk", "~> 2.15.2"
14
+ gem "strongmind-platform-sdk", "~> 3.0.0"
15
15
  ```
16
16
 
17
17
  If bundler is not being used to manage dependencies, install the gem by executing:
@@ -62,42 +62,6 @@ module PlatformSdk
62
62
  body = get(path)
63
63
  models::Domain.new(body)
64
64
  end
65
-
66
- def domain_ltis(**params)
67
- path = 'api/v1/domainLtis/'
68
- body = get(path, params)
69
- list_of_models(models::DomainLti, body)
70
- end
71
-
72
- def domain_ltis_by_domain(domain_name)
73
- path = "api/v1/domains/#{domain_name}/ltis/"
74
- body = get(path)
75
- list_of_models(models::DomainLti, body)
76
- end
77
-
78
- def domain_ltis_by_lti(lti_identifier)
79
- path = "api/v1/domainLtis/?lti__identifier=#{lti_identifier}"
80
- body = get(path)
81
- list_of_models(models::DomainLti, body)
82
- end
83
-
84
- def domain_lti_by_domain_and_lti(domain_name, lti_identifier)
85
- path = "api/v1/domains/#{domain_name}/ltis/#{lti_identifier}/"
86
- body = get(path)
87
- list_of_models(models::DomainLti, body)
88
- end
89
-
90
- def ltis(**params)
91
- path = 'api/v1/ltis/'
92
- body = get(path, params)
93
- list_of_models(models::Lti, body)
94
- end
95
-
96
- def lti_by_identifier(identifier)
97
- path = "api/v1/ltis/#{identifier}/"
98
- body = get(path)
99
- models::Lti.new(body)
100
- end
101
65
  end
102
66
  end
103
67
  end
@@ -5,7 +5,7 @@ module PlatformSdk
5
5
  module Models
6
6
  # Domain object returned by IdMapper
7
7
  class Domain
8
- attr_accessor :id, :name, :key, :secret, :is_disabled, :partner
8
+ attr_accessor :id, :name, :key, :secret, :token, :is_disabled, :partner
9
9
 
10
10
  def initialize(attributes = {})
11
11
  attributes.each do |key, value|
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'platform_sdk/id_mapper/models/domain'
4
- require 'platform_sdk/id_mapper/models/domain_lti'
5
- require 'platform_sdk/id_mapper/models/lti'
6
4
 
7
5
  module Models
8
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "2.16.3"
4
+ VERSION = "3.0.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.3
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-27 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -165,8 +165,6 @@ files:
165
165
  - lib/platform_sdk/id_mapper/constants.rb
166
166
  - lib/platform_sdk/id_mapper/models.rb
167
167
  - lib/platform_sdk/id_mapper/models/domain.rb
168
- - lib/platform_sdk/id_mapper/models/domain_lti.rb
169
- - lib/platform_sdk/id_mapper/models/lti.rb
170
168
  - lib/platform_sdk/identity.rb
171
169
  - lib/platform_sdk/identity/clients.rb
172
170
  - lib/platform_sdk/one_roster.rb
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module PlatformSdk
4
- module IdMapper
5
- module Models
6
- # DomainLti object returned by IdMapper
7
- class DomainLti
8
- attr_accessor :key, :secret, :is_disabled, :domain, :domain_name, :lti, :lti_title, :lti_identifier, :lti_is_disabled
9
-
10
- def initialize(attributes = {})
11
- attributes.each do |key, value|
12
- instance_variable_set("@#{key}", value)
13
- end
14
- end
15
- end
16
- end
17
- end
18
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module PlatformSdk
4
- module IdMapper
5
- module Models
6
- # Lti object returned by IdMapper
7
- class Lti
8
- attr_accessor :id, :title, :identifier, :is_disabled
9
-
10
- def initialize(attributes = {})
11
- attributes.each do |key, value|
12
- send("#{key}=", value)
13
- end
14
- end
15
- end
16
- end
17
- end
18
- end