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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66fa22bb37cf8e0d6938aac486cb667964ce00deba397c4060b8689719060718
4
- data.tar.gz: 3e2f17e219ee5fb5dac541039a8629b97c3a739dd096ac44844bcc493d60f39f
3
+ metadata.gz: d7d3471ad8b1b1fe955f65dee427f4456055a1608abbd1a6a66159a9971db727
4
+ data.tar.gz: 9f3d5aa9a5f84b7b3185b3948e2608f104775fd1a9833e534fea1970dcc99d25
5
5
  SHA512:
6
- metadata.gz: 658c659d53caa15d0a1d2597e0fcb300738931886dff9f91ff89a3d76397d4a2bb68fcc427e70c29d38763f53a4ba6a3641631f6eeeb4fbd8db6c2223cd2805b
7
- data.tar.gz: 5e7d00b63b87a9057f218154d4e884ae0c2d3d0955d1a65ef91e5a77cac93099d9f91ba30f0a0be849342c6b621f0e6a71bcf2baa313b31c6a20b962f3e01007
6
+ metadata.gz: 4b7240277aab4f9299fa362a5a7d60a33c8d0dc7a26f674164fea7ebd914655f18ad553a16d0a1516da9d02261d58248ec71c4596ce37ada569cd60ef7272ea5
7
+ data.tar.gz: d0460fffc5ca8d8c30db1b57be78c8e6ad28d4278d4c6cf5e79ef30f3681e9b63fbd2953abebdb80c100adacfcf0bc156643ef4bc03ca5d73f33203fc37a2d66
data/.rubocop.yml CHANGED
@@ -1,7 +1,5 @@
1
1
  plugins:
2
2
  - rubocop-performance
3
-
4
- require:
5
3
  - rubocop-rake
6
4
  - rubocop-rspec
7
5
  - rubocop-rspec_rails
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_api_client (1.3.0)
4
+ my_api_client (1.3.1)
5
5
  activesupport (>= 6.1.0)
6
6
  faraday (>= 0.17.1)
7
7
  jsonpath
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MyApiClient
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryz310