my_api_client 1.3.0 → 1.3.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/.rubocop.yml +0 -2
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/my_api_client/rspec/stub.rb +2 -1
- data/lib/my_api_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7d3471ad8b1b1fe955f65dee427f4456055a1608abbd1a6a66159a9971db727
|
4
|
+
data.tar.gz: 9f3d5aa9a5f84b7b3185b3948e2608f104775fd1a9833e534fea1970dcc99d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b7240277aab4f9299fa362a5a7d60a33c8d0dc7a26f674164fea7ebd914655f18ad553a16d0a1516da9d02261d58248ec71c4596ce37ada569cd60ef7272ea5
|
7
|
+
data.tar.gz: d0460fffc5ca8d8c30db1b57be78c8e6ad28d4278d4c6cf5e79ef30f3681e9b63fbd2953abebdb80c100adacfcf0bc156643ef4bc03ca5d73f33203fc37a2d66
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## v1.3.1 (Jun 10, 2025)
|
4
|
+
|
5
|
+
### Misc
|
6
|
+
|
7
|
+
- [#1096](https://github.com/ryz310/my_api_client/pull/1096) Stubs `instance_reader` and `instance_writer` on the `class_attribute` ([@ryz310](https://github.com/ryz310))
|
8
|
+
|
3
9
|
## v1.3.0 (Jun 10, 2025)
|
4
10
|
|
5
11
|
### Feature
|
data/Gemfile.lock
CHANGED
@@ -68,7 +68,8 @@ module MyApiClient
|
|
68
68
|
# @return [InstanceDouble]
|
69
69
|
# Returns a spy object of the stubbed ApiClient.
|
70
70
|
def stub_api_client(klass, **actions_and_options)
|
71
|
-
instance = instance_double(klass
|
71
|
+
instance = instance_double(klass, logger: klass.logger, 'logger=': nil,
|
72
|
+
error_handlers: klass.error_handlers)
|
72
73
|
actions_and_options.each { |action, options| stubbing(instance, action, options) }
|
73
74
|
instance
|
74
75
|
end
|