faraday-mashify 0.1.1 → 1.0.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: 16028f627eeec2f7ebdfc70f1f7edc08f19cdaa5d09329db55c428e067469d53
4
- data.tar.gz: ce7c6975c2a55e00ec6882066c7c276eecef3f6a88efefe9b418ee872bedd130
3
+ metadata.gz: ea0ee8798acc7f41e062d175c44f0271f277d854c8cd8383f6c40629497f2425
4
+ data.tar.gz: be8b7b317cee3b204b919070a841f9bcb2cd7c751a206bc54612ba9380de8e87
5
5
  SHA512:
6
- metadata.gz: b5aa61bb4526bb6d6bfb660edf0be29f9c365f82f359b3ea2277aaac3ea09005ad56f356e96d0367aff8606f5859c217b6250353216166a055bb51264a1e63df
7
- data.tar.gz: 05bb04568a780f2994616ca05ff6116cee18f697b7e4e929ff2995a27590cc7dd88b48937388c809dab7538099db60202b6b88182f7a81fb20c2e1b97a96a2aa
6
+ metadata.gz: aaa01700e30a8619a5e6fe8b4d0c2aed7919c247b2630a8c7ff324e1c6408636ee33905f050ff170a4228dd1695bf4e52a4b21581521b45de5b5a85e2dc8a1c0
7
+ data.tar.gz: 8501804e8022cf141cdd010b23944f4f075a1729bca6111ecec545842e7e5e16f6b013f8f08c88155c8146264767dfd98e3eb1f427c41cafad55c227004bb99d
data/CHANGELOG.md CHANGED
@@ -1,9 +1,18 @@
1
1
  # Changelog
2
2
 
3
3
  ## Unreleased
4
- [full changelog](http://github.com/sue445/faraday-mashify/compare/v0.1.1...main)
4
+ [full changelog](http://github.com/sue445/faraday-mashify/compare/v1.0.0...main)
5
5
 
6
- ## 0.1.1
6
+ ## [v1.0.0](https://github.com/sue445/faraday-mashify/releases/tag/v1.0.0)
7
+
8
+ [full changelog](http://github.com/sue445/faraday-mashify/compare/v0.1.1...v1.0.0)
9
+
10
+ * :bomb: **[BREAKING CHANGE]** Requires Ruby 2.7+
11
+ * https://github.com/sue445/faraday-mashify/pull/22
12
+ * Update rubocop gems
13
+ * https://github.com/sue445/faraday-mashify/pull/21
14
+
15
+ ## [v0.1.1](https://github.com/sue445/faraday-mashify/releases/tag/v0.1.1)
7
16
  [full changelog](http://github.com/sue445/faraday-mashify/compare/v0.1.0...v0.1.1)
8
17
 
9
18
  * Fixed an error when not requiring `faraday` before requiring `faraday-mashify`
@@ -11,5 +20,5 @@
11
20
  * Deploy yard to Pages
12
21
  * https://github.com/sue445/faraday-mashify/pull/8
13
22
 
14
- ## 0.1.0
23
+ ## [v0.1.0](https://github.com/sue445/faraday-mashify/releases/tag/v0.1.0)
15
24
  * Initial release.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Faraday Mashify
2
2
 
3
- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sue445/faraday-mashify/CI)](https://github.com/sue445/faraday-mashify/actions?query=branch%3Amain)
3
+ [![CI](https://github.com/sue445/faraday-mashify/actions/workflows/ci.yaml/badge.svg)](https://github.com/sue445/faraday-mashify/actions/workflows/ci.yaml)
4
4
  [![Gem](https://img.shields.io/gem/v/faraday-mashify.svg?style=flat-square)](https://rubygems.org/gems/faraday-mashify)
5
5
  [![License](https://img.shields.io/github/license/sue445/faraday-mashify.svg?style=flat-square)](LICENSE.md)
6
6
 
@@ -18,7 +18,7 @@ module Faraday
18
18
  # @param options [Hash]
19
19
  # @option options [Class] :mash_class Responses are wrapped in this class (default is `::Hashie::Mash`)
20
20
  def initialize(app = nil, options = {})
21
- super(app, options)
21
+ super
22
22
  self.mash_class = options[:mash_class] || self.class.mash_class || ::Hashie::Mash
23
23
  end
24
24
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module Mashify
5
- VERSION = '0.1.1'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-mashify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-01 00:00:00.000000000 Z
11
+ date: 2025-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -128,28 +128,42 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.24.0
131
+ version: '1.74'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.24.0
138
+ version: '1.74'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop_auto_corrector
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: rubocop-packaging
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: 0.5.0
159
+ version: '0.6'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: 0.5.0
166
+ version: '0.6'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: rubocop-performance
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +184,14 @@ dependencies:
170
184
  requirements:
171
185
  - - "~>"
172
186
  - !ruby/object:Gem::Version
173
- version: '2.0'
187
+ version: '3.5'
174
188
  type: :development
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
- version: '2.0'
194
+ version: '3.5'
181
195
  description: 'Faraday middleware for wrapping responses into Hashie::Mash.
182
196
 
183
197
  '
@@ -198,7 +212,7 @@ licenses:
198
212
  - MIT
199
213
  metadata:
200
214
  bug_tracker_uri: https://github.com/sue445/faraday-mashify/issues
201
- changelog_uri: https://github.com/sue445/faraday-mashify/blob/v0.1.1/CHANGELOG.md
215
+ changelog_uri: https://github.com/sue445/faraday-mashify/blob/v1.0.0/CHANGELOG.md
202
216
  documentation_uri: https://sue445.github.io/faraday-mashify/
203
217
  homepage_uri: https://github.com/sue445/faraday-mashify
204
218
  source_code_uri: https://github.com/sue445/faraday-mashify
@@ -212,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
226
  requirements:
213
227
  - - ">="
214
228
  - !ruby/object:Gem::Version
215
- version: '2.6'
229
+ version: '2.7'
216
230
  - - "<"
217
231
  - !ruby/object:Gem::Version
218
232
  version: '4'
@@ -222,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
236
  - !ruby/object:Gem::Version
223
237
  version: '0'
224
238
  requirements: []
225
- rubygems_version: 3.3.3
239
+ rubygems_version: 3.5.22
226
240
  signing_key:
227
241
  specification_version: 4
228
242
  summary: Faraday middleware for wrapping responses into Hashie::Mash