restful_resource 2.18.0 → 2.18.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ecf62648e35c99012072e29378b3eefe1eff0616c7cc563def9cf9078df01f9
|
4
|
+
data.tar.gz: 58769dfb0f811d7c4981196ae11bc468771ed796ac6ee48ad309e8ca27acfa43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c7ed353befcff39cdf420012d29bbf37bf38b185449645e75ae2749e7875725ea85bc0c997c9ceaa6ac653014651f813cec9b2419477a4fd79fbe51b83a14c3
|
7
|
+
data.tar.gz: b23336d9c650ef56d9fa0a528cc752b589cad37d9cd209df70f50169b2bb6d019dd251cac596a7b99a27f0a92332c846d0e661fa11a636fcba2588f61a5e3ffd
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -102,6 +102,14 @@ Metrics.sample('rails_site.api.cache_bypass', 1) # When a request did not go thr
|
|
102
102
|
4. Push to the branch (`git push origin my-new-feature`)
|
103
103
|
5. Create new Pull Request
|
104
104
|
|
105
|
+
## Releasing new version
|
106
|
+
|
107
|
+
1. Amend the `version.rb` to your desired version on your Pull Request & get it merged
|
108
|
+
2. Pull latest `main` & create a matching tag e.g.: `git tag -a v2.15.0 -m "Bump Faraday to a minimum 1.10"`
|
109
|
+
3. Push the tag e.g.: ` git push origin v2.15.0`
|
110
|
+
4. Run `bundle exec rake release`
|
111
|
+
- You'll need to authenticate with RubyGems, the credentials are in [Bitwarden](https://vault.bitwarden.com/#/vault?search=ruby&itemId=54601528-29be-494f-ba3c-aa3300d5dd18)
|
112
|
+
|
105
113
|
## Planned Features
|
106
114
|
|
107
115
|
### Core
|
data/restful_resource.gemspec
CHANGED
@@ -22,10 +22,6 @@ describe RestfulResource::HttpClient do
|
|
22
22
|
expect(connection.adapter).to eq Faraday::Adapter::NetHttp
|
23
23
|
end
|
24
24
|
|
25
|
-
it 'url_encodes requests' do
|
26
|
-
expect(middleware).to include FaradayMiddleware::EncodeJson
|
27
|
-
end
|
28
|
-
|
29
25
|
it 'raises on any error responses' do
|
30
26
|
expect(middleware).to include Faraday::Response::RaiseError
|
31
27
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful_resource
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.18.
|
4
|
+
version: 2.18.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Santoro
|
8
8
|
- Federico Rebora
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -219,14 +219,14 @@ dependencies:
|
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: '
|
222
|
+
version: '3'
|
223
223
|
type: :runtime
|
224
224
|
prerelease: false
|
225
225
|
version_requirements: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
229
|
+
version: '3'
|
230
230
|
description: A simple activerecord inspired rest resource base class implemented using
|
231
231
|
rest-client
|
232
232
|
email:
|
@@ -283,7 +283,7 @@ homepage: http://www.github.com/carwow/restful_resource
|
|
283
283
|
licenses:
|
284
284
|
- MIT
|
285
285
|
metadata: {}
|
286
|
-
post_install_message:
|
286
|
+
post_install_message:
|
287
287
|
rdoc_options: []
|
288
288
|
require_paths:
|
289
289
|
- lib
|
@@ -298,8 +298,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
298
|
- !ruby/object:Gem::Version
|
299
299
|
version: '0'
|
300
300
|
requirements: []
|
301
|
-
rubygems_version: 3.
|
302
|
-
signing_key:
|
301
|
+
rubygems_version: 3.4.19
|
302
|
+
signing_key:
|
303
303
|
specification_version: 4
|
304
304
|
summary: A simple activerecord inspired rest resource base class implemented using
|
305
305
|
rest-client
|