Skip to content

Commit d25870d

Browse files
authored
Upgrade dependencies and tested rails versions (#343)
1 parent c790118 commit d25870d

7 files changed

Lines changed: 17 additions & 10 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.idea
22
.bundle
33
gemfiles/*.lock
4+
gemfiles/bin
45
log
56
pkg
67
spec/app/**/db/*.sqlite*

Appraisals

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ if RUBY_ENGINE == 'ruby' && RUBY_VERSION <= '3.0'
33
appraise 'rails-5.2' do
44
gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
55
gem 'bootsnap', '~> 1.4'
6-
gem 'rails', '5.2.4.3'
6+
gem 'rails', '5.2.8.1'
77
gem 'rspec-rails', '~> 3.7'
88
gem 'sqlite3', '< 1.4.0', platform: :ruby
99
end
1010

1111
appraise 'rails-6.0' do
1212
gem 'activerecord-jdbcsqlite3-adapter', '~> 60.1', platform: :jruby
1313
gem 'bootsnap', '~> 1.4'
14-
gem 'rails', '6.0.3.1'
14+
gem 'rails', '6.0.6.1'
1515
gem 'rspec-rails', '~> 3.7'
1616
gem 'sqlite3', '~> 1.4.0', platform: :ruby
1717
end
@@ -21,7 +21,7 @@ end
2121
appraise 'rails-6.1' do
2222
gem 'activerecord-jdbcsqlite3-adapter', '~> 61.1', platform: :jruby
2323
gem 'bootsnap', '>= 1.4.4'
24-
gem 'rails', '6.1.4'
24+
gem 'rails', '6.1.7.6'
2525
gem 'rspec-rails', '~> 5.0'
2626
gem 'sqlite3', '~> 1.4', platform: :ruby
2727
gem 'psych', '>= 4'

CONTRIBUTING.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Install appraisal
44

55
```bash
6-
gem install bundler -v 1.17.3
6+
gem install bundler
77
gem install appraisal
88
```
99

@@ -16,13 +16,19 @@ bundle install
1616
Bootstrap
1717

1818
```bash
19-
appraisal install
19+
bundle exec appraisal install
20+
```
21+
22+
If you need to create new test app for specific rails version
23+
24+
```bash
25+
bundle exec appraisal rails-7.0 rails new spec/app/rails_7.0
2026
```
2127

2228
Run the test suite:
2329

2430
```bash
25-
appraisal rspec
31+
bundle exec appraisal rspec
2632
```
2733

2834
If you modified any of the documentation files verify their format:

config.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Donate: \e[34mhttps://opencollective.com/rubyconfig/donate\e[0m\n"
3232
s.add_development_dependency 'rake', '~> 12.0', '>= 12.0.0'
3333

3434
# Testing
35-
s.add_development_dependency 'appraisal', '~> 2.3', '>= 2.3.0'
35+
s.add_development_dependency 'appraisal', '~> 2.5', '>= 2.5.0'
3636
s.add_development_dependency 'rspec', '~> 3.9', '>= 3.9.0'
3737

3838
# Default RSpec run will test against latest Rails app

gemfiles/rails_5.2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gem "activerecord-jdbcsqlite3-adapter", "~> 52.5", platform: :jruby
66
gem "bootsnap", "~> 1.4"
7-
gem "rails", "5.2.4.3"
7+
gem "rails", "5.2.8.1"
88
gem "rspec-rails", "~> 3.7"
99
gem "sqlite3", "< 1.4.0", platform: :ruby
1010

gemfiles/rails_6.0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gem "activerecord-jdbcsqlite3-adapter", "~> 60.1", platform: :jruby
66
gem "bootsnap", "~> 1.4"
7-
gem "rails", "6.0.3.1"
7+
gem "rails", "6.0.6.1"
88
gem "rspec-rails", "~> 3.7"
99
gem "sqlite3", "~> 1.4.0", platform: :ruby
1010

gemfiles/rails_6.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gem "activerecord-jdbcsqlite3-adapter", "~> 61.1", platform: :jruby
66
gem "bootsnap", ">= 1.4.4"
7-
gem "rails", "6.1.4"
7+
gem "rails", "6.1.7.6"
88
gem "rspec-rails", "~> 5.0"
99
gem "sqlite3", "~> 1.4", platform: :ruby
1010
gem "psych", ">= 4"

0 commit comments

Comments
 (0)