restful_resource 2.18.0 → 2.18.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f45c7bb4d3a312e9e03f80bb613672260ea6db0d7eb025cd5b8f8e347c242ff
4
- data.tar.gz: 5afb32e079d5006ca35680ae356ca657d4e66bee19432a3a797a0a377dea0ac6
3
+ metadata.gz: ae9742d01111654892905db77a9f9e81ba74faf1924a438db004192dc748a6f8
4
+ data.tar.gz: 2434e333866d1642800b5624a5602be68be0ef6c496cd7bfdc655ef9c16e7910
5
5
  SHA512:
6
- metadata.gz: b3b92083d51ee14c66d5f8640b56119d734b277a1a0cde77f6b44f8f18dfaa90f71a66d53b696a3b8c53734d78952032a0da1d746055e84cf6ce82abe54195ff
7
- data.tar.gz: fcf23240eca478b98a05df1fc26680c1028873da7b9588c96635fab52be1bb91811cf8ac30f94a5b60c7a445e0daf162b43764ceca9503f9a3c862c5e386b6b8
6
+ metadata.gz: f91c478064cd2c7caa343fdd8327c616c8e8f276fae93f7ab1ffe0be7f7e517b7ec6e92be254ece7da2e47aa7cdad002ce3649a6747ee1c777b700a50b587b06
7
+ data.tar.gz: f0d2700f5ed096c09427175d7a7a7c909c1e8f0be1f68b2bc107d0de36801f6e36e6acd26cb94f41c4f64de30671dc798cc57c4d4fb6346e83a083265b01558f
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
1
  # Changelog
2
+ 2.18.1
3
+ ---
4
+
5
+ - Explicitly require 'ostruct' to prevent load error
6
+
2
7
  2.18
3
8
  ---
4
9
 
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
@@ -1,3 +1,5 @@
1
+ require 'ostruct'
2
+
1
3
  module RestfulResource
2
4
  class StrictOpenStruct < ::OpenStruct
3
5
  deprecate :dig, :[], deprecator: Base::Deprecator
@@ -1,3 +1,3 @@
1
1
  module RestfulResource
2
- VERSION = '2.18.0'.freeze
2
+ VERSION = '2.18.1'.freeze
3
3
  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.0
4
+ version: 2.18.1
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: 2024-03-06 00:00:00.000000000 Z
12
+ date: 2024-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -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.1.6
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