spearly-sdk-ruby 0.11.0 → 0.11.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 +4 -4
- data/CHANGELOG.md +8 -4
- data/lib/spearly/auth/client.rb +2 -0
- data/lib/spearly/version.rb +1 -1
- data/spec/spearly/auth/client_spec.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffd3333dfa37f250288b37eb593db42db89846aa436397371c403a20ec9fe5e9
|
4
|
+
data.tar.gz: d1b0eeab87ff53e34bbd1b7c00b8b691e679823c2b09ad5df713003691349d7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e1a2419d6013bac9e3adbb347afd731fc04a9b1a85c87c41e11c7fbec6ade89db3ca2b3d54adfe5c9a1720a680e22968a1df5960901e2cf76cc29d2e1bf9b85
|
7
|
+
data.tar.gz: 3c19e93be4e91f9cc17333a5d4a7d7233f678a4a5b9db393bb5122c26ea1a5d2d4df3d2a3848b177097e606938270519a3e2a3ede0b232af40219bda848e39aa
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
+
## [0.11.1] - 2023-09-27
|
2
|
+
|
3
|
+
- Implement a reader for `Spearly::Auth::Client#token` [#18](https://github.com/unimal-jp/spearly-sdk-ruby/pull/18)
|
4
|
+
|
1
5
|
## [0.11.0] - 2023-09-23
|
2
6
|
|
3
|
-
- Throw errors `from Spearly::Auth` methods #15
|
4
|
-
- `Spearly::Auth::Client` refactors #14
|
5
|
-
- Upgrade Ruby to 3.1.4 #13
|
6
|
-
- Remove deprecated classes and helpers #12
|
7
|
+
- Throw errors `from Spearly::Auth` methods [#15](https://github.com/unimal-jp/spearly-sdk-ruby/pull/15)
|
8
|
+
- `Spearly::Auth::Client` refactors [#14](https://github.com/unimal-jp/spearly-sdk-ruby/pull/14)
|
9
|
+
- Upgrade Ruby to 3.1.4 [#13](https://github.com/unimal-jp/spearly-sdk-ruby/pull/13)
|
10
|
+
- Remove deprecated classes and helpers [#12](https://github.com/unimal-jp/spearly-sdk-ruby/pull/12)
|
7
11
|
|
8
12
|
## [0.10.0] - 2022-12-05
|
9
13
|
|
data/lib/spearly/auth/client.rb
CHANGED
data/lib/spearly/version.rb
CHANGED
@@ -11,6 +11,10 @@ RSpec.describe Spearly::Auth::Client do
|
|
11
11
|
allow(Faraday).to receive(:new).and_return(connection_double)
|
12
12
|
end
|
13
13
|
|
14
|
+
it 'implements a reader for token' do
|
15
|
+
expect(described_class.new('token').token).to eq('token')
|
16
|
+
end
|
17
|
+
|
14
18
|
it 'raises ServerError on Faraday::ConnectionFailed' do
|
15
19
|
allow(connection_double).to receive(:run_request).and_raise(Faraday::ConnectionFailed.new('Failed to open TCP connection to :80'))
|
16
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spearly-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spearly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -117,7 +117,7 @@ licenses: []
|
|
117
117
|
metadata:
|
118
118
|
homepage_uri: https://github.com/unimal-jp/spearly-sdk-ruby
|
119
119
|
source_code_uri: https://github.com/unimal-jp/spearly-sdk-ruby
|
120
|
-
changelog_uri: https://github.com/unimal-jp/spearly-sdk-ruby/blob/v0.11.
|
120
|
+
changelog_uri: https://github.com/unimal-jp/spearly-sdk-ruby/blob/v0.11.1/CHANGELOG.md
|
121
121
|
rubygems_mfa_required: 'true'
|
122
122
|
post_install_message:
|
123
123
|
rdoc_options: []
|