grape 3.0.0 → 3.0.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: 919d93a2a8cd39c07b1a043fb342cbecdf5ce4a85b7696188d2de629f92b02a1
4
- data.tar.gz: c33240607db8c00cba0fc1d5cf5d9c50809c561d3c29b10f246fe9e96423d277
3
+ metadata.gz: 9f57d6d494fcd9459d437ca723a988bfe68c7059accaec1ea2e01ddba66b0958
4
+ data.tar.gz: 84aebfa13e7591da6a520b3f3287bc479371be55afa3ee7bbc06ed1c12b5089c
5
5
  SHA512:
6
- metadata.gz: baf576a03f0a56114032b12d842964d8fb5587de44bdded21c2faecca9a2da3bf7f8eb36aa7a8cec4b4b9b4904ab92ab9763045688452e88f891fc7bf781e527
7
- data.tar.gz: 48dcc1cab168fd88fd7b839da6c0bbaecc8108c6eac62cc9e1f0f2c09c3e9fd5db2756fa246fce2fb2822c92eff5dc8ef6e2b694edf9b08e244b7c0749fb6633
6
+ metadata.gz: 58cd9a65cadb03008d053fa4f1e5259079942cf39f714ddf54d1d9f7cd2b9e1d81a2c2cddb346270e24b6a424c3adff9664e1627eb0d03f5bf6bf67d5b0b3b6f
7
+ data.tar.gz: d73cb08a47287b24044aefa037ebf5e85850a4bc1e41859247416537cf5ce720936f69da42974dd2fa661a042292ed9a51b2e46d1091a221f08dc198ecb4fb27
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ### 3.0.1 (2025-11-24)
2
+
3
+ #### Features
4
+
5
+ * [#2625](https://github.com/ruby-grape/grape/pull/2625): Update rubocop to 1.81.7 and fix style offenses - [@ericproulx](https://github.com/ericproulx).
6
+ * [#2626](https://github.com/ruby-grape/grape/pull/2626): Add rails 8.1 to CI test matrix - [@ericproulx](https://github.com/ericproulx).
7
+
8
+ #### Fixes
9
+
10
+ * [#2628](https://github.com/ruby-grape/grape/pull/2628): Fix helpers inheritance - [@giorni](https://github.com/giorni).
11
+
1
12
  ### 3.0.0 (2025-11-15)
2
13
 
3
14
  #### Features
data/README.md CHANGED
@@ -160,7 +160,7 @@ Grape is a REST-like API framework for Ruby. It's designed to run on Rack or com
160
160
 
161
161
  ## Stable Release
162
162
 
163
- You're reading the documentation for the stable release of Grape, 3.0.0.
163
+ You're reading the documentation for the stable release of Grape, 3.0.1.
164
164
 
165
165
  ## Project Resources
166
166
 
@@ -20,6 +20,7 @@ module Grape
20
20
 
21
21
  class << self
22
22
  extend Forwardable
23
+
23
24
  attr_reader :instance, :base
24
25
  attr_accessor :configuration
25
26
 
data/lib/grape/api.rb CHANGED
@@ -19,6 +19,7 @@ module Grape
19
19
 
20
20
  class << self
21
21
  extend Forwardable
22
+
22
23
  attr_accessor :base_instance, :instances
23
24
 
24
25
  delegate_missing_to :base_instance
@@ -75,7 +75,6 @@ module Grape
75
75
  @stream = nil
76
76
  @body = nil
77
77
  @source = block
78
- @helpers = build_helpers
79
78
  end
80
79
 
81
80
  # Update our settings from a given set of stackable parameters. Used when
@@ -258,6 +257,7 @@ module Grape
258
257
  return true if @lazy_initialized
259
258
 
260
259
  @app = options[:app] || build_stack
260
+ @helpers = build_helpers
261
261
  @lazy_initialized = true
262
262
  end
263
263
  end
@@ -6,6 +6,7 @@ module Grape
6
6
  # It allows to insert and insert after
7
7
  class Stack
8
8
  extend Forwardable
9
+
9
10
  class Middleware
10
11
  attr_reader :args, :block, :klass
11
12
 
@@ -9,6 +9,7 @@ module Grape
9
9
 
10
10
  class << self
11
11
  extend Forwardable
12
+
12
13
  def_delegators :cache, :[]
13
14
  def_delegators :instance, :cache
14
15
  end
data/lib/grape/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Grape
4
4
  # The current version of Grape.
5
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -270,9 +270,9 @@ licenses:
270
270
  - MIT
271
271
  metadata:
272
272
  bug_tracker_uri: https://github.com/ruby-grape/grape/issues
273
- changelog_uri: https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md
274
- documentation_uri: https://www.rubydoc.info/gems/grape/3.0.0
275
- source_code_uri: https://github.com/ruby-grape/grape/tree/v3.0.0
273
+ changelog_uri: https://github.com/ruby-grape/grape/blob/v3.0.1/CHANGELOG.md
274
+ documentation_uri: https://www.rubydoc.info/gems/grape/3.0.1
275
+ source_code_uri: https://github.com/ruby-grape/grape/tree/v3.0.1
276
276
  rubygems_mfa_required: 'true'
277
277
  rdoc_options: []
278
278
  require_paths:
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  requirements: []
291
- rubygems_version: 3.7.1
291
+ rubygems_version: 3.6.7
292
292
  specification_version: 4
293
293
  summary: A simple Ruby framework for building REST-like APIs.
294
294
  test_files: []