diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 6a1dc46..c37f826 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -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 diff --git a/Gemfile b/Gemfile index f9a74d8..6868ebb 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,8 @@ gem 'sprockets-rails' gem 'rack-cors' +gem 'rails', '~> 7.0' + group :development, :test do gem "rubocop" diff --git a/oas_rails.gemspec b/oas_rails.gemspec index dbaeff0..8afbbe2 100644 --- a/oas_rails.gemspec +++ b/oas_rails.gemspec @@ -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