strongmind-platform-sdk 3.32.0 → 3.32.1

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: 999f26d4cd8d102f6dc1016bff6c6c209852c54e69ab1dc14b4768264f248f5c
4
- data.tar.gz: e276aa457755f6d60729f29bdc7255d79561a8dd4582fad39c57593aaebb13c7
3
+ metadata.gz: b377e3a034aa5ed885d622c1f511dab32834b2e9182e1fa88aedca4d14d72ac5
4
+ data.tar.gz: 471ec44f1b826a8ccdf3ca003c7674c016ecab70991b5c00193cf27af1ec3726
5
5
  SHA512:
6
- metadata.gz: db42e98d0b0769986f4f495a4f08b8f0b37904b90abf2d66e5e4e6d91f80a307048b684f546efa0f83bab209d266b2ed086f244ade5114cd93f36aa44196cbcb
7
- data.tar.gz: 98ce988fa4fd168449b2dce2368fd6f6ef669557bd7df3489fc334e94c70e0874e20ad8267836f08978ff2969ff2ae7e2b19fcbf93d941d67a950809dee89d4a
6
+ metadata.gz: 3c2ae9776a728530a925de024793776f8cb345f7160909ed4d84c7eacdfad59cc9315ff6f1e36df2be70219528edf225aa13f59d3f0f6139afe74c3b65dd1394
7
+ data.tar.gz: edb31efa5ed1b7cba34226e1309266f2c04ca736a117343b1a31c61460f04c5e4c8ec72af88bb022280f3cf74d874dd915b9cf07ae2edd648e4bc6cfa106dd38
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "faraday"
4
+ require "platform_sdk/version"
4
5
 
5
6
  module PlatformSdk
6
7
  module CanvasApiWrapper
@@ -15,7 +16,13 @@ module PlatformSdk
15
16
  def initialize(domain:, token:)
16
17
  @host = "https://#{domain}"
17
18
  @token = token
18
- @connection = Faraday.new(url: host, headers: { 'Authorization' => "Bearer #{token}" })
19
+ @connection = Faraday.new(
20
+ url: host,
21
+ headers: {
22
+ 'Authorization' => "Bearer #{token}",
23
+ 'User-Agent' => "StrongMind-PlatformSDK/#{PlatformSdk::VERSION}"
24
+ }
25
+ )
19
26
  end
20
27
 
21
28
  # @param course_id [Integer]
@@ -3,7 +3,7 @@
3
3
  module PlatformSdk
4
4
  MAJOR = 3
5
5
  MINOR = 32
6
- PATCH = 0
6
+ PATCH = 1
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.32.0
4
+ version: 3.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-06-10 00:00:00.000000000 Z
11
+ date: 2026-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday