Skip to content

Commit 3a0b6d6

Browse files
committed
Add ostruct to gemspec dependencies
This gem was historically included in the default gemset. Starting with Ruby 3.3.5 though, requiring `ostruct` without explicitly adding it as dependency generates the following warning: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning.
1 parent bde8b9b commit 3a0b6d6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### 0.5.1 (Next)
22

33
* [#124](https://github.com/ruby-grape/grape-swagger-rails/pull/124): Rails 7 compatibility - [@padde](https://github.com/padde).
4+
* [#126](https://github.com/ruby-grape/grape-swagger-rails/pull/126): Ruby 3.5 compatibility - [@padde](https://github.com/padde).
45
* Your contribution here.
56

67
### 0.5.0 (2024/04/06)

grape-swagger-rails.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
1616
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
1717
spec.require_paths = %w[lib]
1818
spec.add_dependency 'railties', '>= 6.0.6.1'
19+
spec.add_dependency 'ostruct'
1920
spec.metadata = {
2021
'bug_tracker_uri' => 'https://github.com/ruby-grape/grape-swagger-rails/issues',
2122
'changelog_uri' => 'https://github.com/ruby-grape/grape-swagger-rails/blob/master/CHANGELOG.md',

0 commit comments

Comments
 (0)