Skip to content

Commit

Permalink
fix: remove gemspec rails 7 dependency. So the Engine could be used w…
Browse files Browse the repository at this point in the history
…ith all rails versions.
  • Loading branch information
a-chacon committed Oct 11, 2024
1 parent ecf0cfe commit c5c11f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
gemfile: [rails-7.0, rails-7.1, rails-7.2]
gemfile: [rails-7.0, rails-7.1, rails-7.2, rails-8.0.0-beta1]
runs-on: ubuntu-latest
env:
RAILS_ENV: test
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ gem 'sprockets-rails'

gem 'rack-cors'

gem 'rails', '~> 7.0'

group :development, :test do
gem "rubocop"

Expand Down
3 changes: 1 addition & 2 deletions oas_rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 3.1"

spec.add_dependency 'method_source', '~> 1.0'
spec.add_dependency 'model-to-schema', '~> 0.1.1' # Esquema
spec.add_dependency 'rails', '~> 7.0'
spec.add_dependency 'model-to-schema', '~> 0.1.2' # Esquema
spec.add_dependency 'yard', '~> 0.9'
end

0 comments on commit c5c11f9

Please sign in to comment.