diff --git a/.circleci/config.yml b/.circleci/config.yml index fd96d701..63031db8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -67,6 +67,7 @@ workflows: parameters: gemfile: - Gemfile.rails70 + - Gemfile.rails71 ruby-version: - ruby27 - ruby30 diff --git a/superglue_rails/Gemfile.rails70 b/superglue_rails/Gemfile.rails70 index 2179e084..06d5df51 100644 --- a/superglue_rails/Gemfile.rails70 +++ b/superglue_rails/Gemfile.rails70 @@ -1,6 +1,6 @@ source 'https://rubygems.org' gemspec -gem 'rails', '~> 7.0.0' +gem 'rails', '~> 7.1.0' gem 'props_template' gem 'standard' diff --git a/superglue_rails/Gemfile.rails71 b/superglue_rails/Gemfile.rails71 new file mode 100644 index 00000000..2179e084 --- /dev/null +++ b/superglue_rails/Gemfile.rails71 @@ -0,0 +1,6 @@ +source 'https://rubygems.org' +gemspec + +gem 'rails', '~> 7.0.0' +gem 'props_template' +gem 'standard' diff --git a/superglue_rails/test/acceptance/superglue_installation_acceptance.rb b/superglue_rails/test/acceptance/superglue_installation_acceptance.rb index abbbffcf..3135ed9b 100644 --- a/superglue_rails/test/acceptance/superglue_installation_acceptance.rb +++ b/superglue_rails/test/acceptance/superglue_installation_acceptance.rb @@ -106,17 +106,17 @@ def generate_scaffold end def reset_db - successfully "RAILS_ENV=production bundle exec rake db:drop" - successfully "RAILS_ENV=production bundle exec rake db:create" - successfully "RAILS_ENV=production bundle exec rake db:migrate" + successfully "RAILS_ENV=development bundle exec rake db:drop" + successfully "RAILS_ENV=development bundle exec rake db:create" + successfully "RAILS_ENV=development bundle exec rake db:migrate" end def compile_assets - successfully "RAILS_ENV=production bundle exec rails assets:precompile" + successfully "RAILS_ENV=development bundle exec rails assets:precompile" end def server_up - pid = spawn "RAILS_ENV=production RAILS_SERVE_STATIC_FILES=t SECRET_KEY_BASE=FOOBAR bundle exec rails server -p #{SERVER_PORT}" + pid = spawn "RAILS_ENV=development RAILS_SERVE_STATIC_FILES=t SECRET_KEY_BASE=FOOBAR bundle exec rails server -p #{SERVER_PORT}" sleep 5 pid