strongmind-platform-sdk 3.23.7 → 3.24.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: c167295d6e4adf2e0f6d466ab898665036178aa03752ea6fecc12880cf8deb8b
4
- data.tar.gz: 81e222d8caa852e9666078093d19868bc94a063cfcbaef13f8e1fa28203d1ea1
3
+ metadata.gz: 74c0c99acf8dd003b7b42d91ebf41d68d47bdbd63918a63384d6a5a3f78bc5ea
4
+ data.tar.gz: 04ad4dead89549e81ca8540b4338fa7e043f1c822d20dae681401f0d5a32f25c
5
5
  SHA512:
6
- metadata.gz: 575bb443db5c98c5908f460b4996ca3efcd49f5cf54a9d8737a6ade4efcb406a5a391b2fea3f9aa8234872479e6811578a6e074963ce2d8b037f04c45bf55646
7
- data.tar.gz: c1b611413a7f23d8329a5b13d3db6573504815dab02f6d43dea7f3decdd7143cae67f6a139773d409f3ac5d610388e365d2bd2cc843966a736243778845c83fa
6
+ metadata.gz: df92d19421089f1c48ed0e31504ec4eb6d057df021c20ab188648cd4ed3b2a31cc048d1e15cacb2b18b91aeb3c9c0d5a82e64ee46cc59f29983ae1c398836f14
7
+ data.tar.gz: 91aee9d5a87b128e6a6296970a7c31226a8338c6dc1a7a180096843a6389b04ed5f3b67a4e8f4d4ff742a61353fc48ac266c98d661e42de7953681f3ca07dddf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.23.0)
4
+ strongmind-platform-sdk (3.24.0)
5
5
  asset_sync
6
6
  aws-sdk-cloudwatch
7
7
  aws-sdk-secretsmanager (~> 1.66)
@@ -128,13 +128,13 @@ GEM
128
128
  bigdecimal
129
129
  rexml
130
130
  crass (1.0.6)
131
- date (3.4.0)
131
+ date (3.4.1)
132
132
  diff-lcs (1.5.1)
133
133
  drb (2.2.1)
134
134
  erubi (1.13.0)
135
135
  ethon (0.16.0)
136
136
  ffi (>= 1.15.0)
137
- excon (1.2.1)
137
+ excon (1.2.2)
138
138
  factory_bot (6.4.6)
139
139
  activesupport (>= 5.0.0)
140
140
  faker (3.4.2)
@@ -195,7 +195,7 @@ GEM
195
195
  mime-types (3.6.0)
196
196
  logger
197
197
  mime-types-data (~> 3.2015)
198
- mime-types-data (3.2024.1105)
198
+ mime-types-data (3.2024.1203)
199
199
  mini_mime (1.1.5)
200
200
  mini_portile2 (2.8.7)
201
201
  minitest (5.24.1)
@@ -353,9 +353,9 @@ module PlatformSdk
353
353
  # @param module_item_id [Integer]
354
354
  # @param user_id [Integer]
355
355
  # @return nil
356
- def post_mark_module_item_done(course_id:, module_id:, module_item_id:, user_id:)
356
+ def put_mark_module_item_done(course_id:, module_id:, module_item_id:, user_id:)
357
357
  uri = "api/v1/courses/#{course_id}/modules/#{module_id}/items/#{module_item_id}/done?as_user_id=#{user_id}"
358
- response = @connection.post(uri)
358
+ response = @connection.put(uri)
359
359
  handle_rate_limiting response
360
360
  if success?(response.status)
361
361
  MultiJson.load response.body, symbolize_keys: true
@@ -2,8 +2,8 @@
2
2
 
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
- MINOR = 23
6
- PATCH = 7
5
+ MINOR = 24
6
+ PATCH = 0
7
7
 
8
8
  VERSION = "#{PlatformSdk::MAJOR}.#{PlatformSdk::MINOR}.#{PlatformSdk::PATCH}"
9
9
  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: 3.23.7
4
+ version: 3.24.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: 2024-12-13 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday