Skip to content

Commit ab1b7d3

Browse files
committed
Improve Appraisal config
1 parent 885c581 commit ab1b7d3

20 files changed

+60
-60
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ jobs:
7777
- '3.0'
7878
- 'head'
7979
rails:
80-
- rails_7.2.0
81-
- rails_7.1.0
82-
- rails_7.0.8
80+
- rails_7.2
81+
- rails_7.1
82+
- rails_7.0
8383
adapter:
8484
- sqlite3
8585
- postgresql
@@ -93,7 +93,7 @@ jobs:
9393
# - trilogy
9494
exclude:
9595
# Rails 7.2 needs Ruby > 3.1
96-
- rails: rails_7.2.0
96+
- rails: rails_7.2
9797
ruby: '3.0'
9898

9999
# Disabled for now because of build error:
@@ -107,7 +107,7 @@ jobs:
107107
# from
108108
# /home/runner/work/ajax-datatables-rails/ajax-datatables-rails/vendor/bundle/ruby/3.0.0/gems/ruby-oci8-2.2.14/ext/oci8/apiwrap.rb:64:in
109109
# `create_apiwrap'
110-
- rails: rails_7.2.0
110+
- rails: rails_7.2
111111
adapter: oracle_enhanced
112112

113113
steps:

Appraisals

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# frozen_string_literal: true
22

33
###############
4-
# RAILS 7.0.8 #
4+
# RAILS 7.0 #
55
###############
66

7-
appraise 'rails_7.0.8_with_postgresql' do
8-
gem 'rails', '7.0.8'
7+
appraise 'rails_7.0_with_postgresql' do
8+
gem 'rails', '~> 7.0.0'
99
gem 'pg'
1010

1111
# Fix:
@@ -22,8 +22,8 @@ appraise 'rails_7.0.8_with_postgresql' do
2222
end
2323
end
2424

25-
appraise 'rails_7.0.8_with_sqlite3' do
26-
gem 'rails', '7.0.8'
25+
appraise 'rails_7.0_with_sqlite3' do
26+
gem 'rails', '~> 7.0.0'
2727
gem 'sqlite3', '~> 1.5.0'
2828
remove_gem 'pg'
2929

@@ -41,8 +41,8 @@ appraise 'rails_7.0.8_with_sqlite3' do
4141
end
4242
end
4343

44-
appraise 'rails_7.0.8_with_mysql2' do
45-
gem 'rails', '7.0.8'
44+
appraise 'rails_7.0_with_mysql2' do
45+
gem 'rails', '~> 7.0.0'
4646
gem 'mysql2'
4747
remove_gem 'pg'
4848

@@ -60,8 +60,8 @@ appraise 'rails_7.0.8_with_mysql2' do
6060
end
6161
end
6262

63-
appraise 'rails_7.0.8_with_trilogy' do
64-
gem 'rails', '7.0.8'
63+
appraise 'rails_7.0_with_trilogy' do
64+
gem 'rails', '~> 7.0.0'
6565
gem 'activerecord-trilogy-adapter'
6666
remove_gem 'pg'
6767

@@ -79,8 +79,8 @@ appraise 'rails_7.0.8_with_trilogy' do
7979
end
8080
end
8181

82-
appraise 'rails_7.0.8_with_oracle_enhanced' do
83-
gem 'rails', '7.0.8'
82+
appraise 'rails_7.0_with_oracle_enhanced' do
83+
gem 'rails', '~> 7.0.0'
8484
gem 'ruby-oci8'
8585
gem 'activerecord-oracle_enhanced-adapter', '~> 7.0.0'
8686
remove_gem 'pg'
@@ -99,8 +99,8 @@ appraise 'rails_7.0.8_with_oracle_enhanced' do
9999
end
100100
end
101101

102-
appraise 'rails_7.0.8_with_postgis' do
103-
gem 'rails', '7.0.8'
102+
appraise 'rails_7.0_with_postgis' do
103+
gem 'rails', '~> 7.0.0'
104104
gem 'pg'
105105
gem 'activerecord-postgis-adapter'
106106

@@ -122,37 +122,37 @@ end
122122
# RAILS 7.1.0 #
123123
###############
124124

125-
appraise 'rails_7.1.0_with_postgresql' do
126-
gem 'rails', '7.1.0'
125+
appraise 'rails_7.1_with_postgresql' do
126+
gem 'rails', '~> 7.1.0'
127127
gem 'pg'
128128
end
129129

130-
appraise 'rails_7.1.0_with_sqlite3' do
131-
gem 'rails', '7.1.0'
130+
appraise 'rails_7.1_with_sqlite3' do
131+
gem 'rails', '~> 7.1.0'
132132
gem 'sqlite3', '~> 1.5.0'
133133
remove_gem 'pg'
134134
end
135135

136-
appraise 'rails_7.1.0_with_mysql2' do
137-
gem 'rails', '7.1.0'
136+
appraise 'rails_7.1_with_mysql2' do
137+
gem 'rails', '~> 7.1.0'
138138
gem 'mysql2'
139139
remove_gem 'pg'
140140
end
141141

142-
appraise 'rails_7.1.0_with_trilogy' do
143-
gem 'rails', '7.1.0'
142+
appraise 'rails_7.1_with_trilogy' do
143+
gem 'rails', '~> 7.1.0'
144144
gem 'activerecord-trilogy-adapter'
145145
remove_gem 'pg'
146146
end
147147

148-
appraise 'rails_7.1.0_with_oracle_enhanced' do
149-
gem 'rails', '7.1.0'
148+
appraise 'rails_7.1_with_oracle_enhanced' do
149+
gem 'rails', '~> 7.1.0'
150150
gem 'activerecord-oracle_enhanced-adapter', '~> 7.1.0'
151151
remove_gem 'pg'
152152
end
153153

154-
appraise 'rails_7.1.0_with_postgis' do
155-
gem 'rails', '7.1.0'
154+
appraise 'rails_7.1_with_postgis' do
155+
gem 'rails', '~> 7.1.0'
156156
gem 'pg'
157157
gem 'activerecord-postgis-adapter'
158158
end
@@ -161,37 +161,37 @@ end
161161
# RAILS 7.2.0 #
162162
###############
163163

164-
appraise 'rails_7.2.0_with_postgresql' do
165-
gem 'rails', '7.2.0'
164+
appraise 'rails_7.2_with_postgresql' do
165+
gem 'rails', '~> 7.2.0'
166166
gem 'pg'
167167
end
168168

169-
appraise 'rails_7.2.0_with_sqlite3' do
170-
gem 'rails', '7.2.0'
169+
appraise 'rails_7.2_with_sqlite3' do
170+
gem 'rails', '~> 7.2.0'
171171
gem 'sqlite3', '~> 1.5.0'
172172
remove_gem 'pg'
173173
end
174174

175-
appraise 'rails_7.2.0_with_mysql2' do
176-
gem 'rails', '7.2.0'
175+
appraise 'rails_7.2_with_mysql2' do
176+
gem 'rails', '~> 7.2.0'
177177
gem 'mysql2'
178178
remove_gem 'pg'
179179
end
180180

181-
appraise 'rails_7.2.0_with_trilogy' do
182-
gem 'rails', '7.2.0'
181+
appraise 'rails_7.2_with_trilogy' do
182+
gem 'rails', '~> 7.2.0'
183183
gem 'activerecord-trilogy-adapter'
184184
remove_gem 'pg'
185185
end
186186

187-
appraise 'rails_7.2.0_with_oracle_enhanced' do
188-
gem 'rails', '7.2.0'
187+
appraise 'rails_7.2_with_oracle_enhanced' do
188+
gem 'rails', '~> 7.2.0'
189189
gem 'activerecord-oracle_enhanced-adapter', git: 'https://github.com/rsim/oracle-enhanced.git'
190190
remove_gem 'pg'
191191
end
192192

193-
appraise 'rails_7.2.0_with_postgis' do
194-
gem 'rails', '7.2.0'
193+
appraise 'rails_7.2_with_postgis' do
194+
gem 'rails', '~> 7.2.0'
195195
gem 'pg'
196196
gem 'activerecord-postgis-adapter', git: 'https://github.com/rgeo/activerecord-postgis-adapter.git'
197197
end

gemfiles/rails_7.0.8_with_mysql2.gemfile renamed to gemfiles/rails_7.0_with_mysql2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.0.8"
23+
gem "rails", "~> 7.0.0"
2424
gem "mysql2"
2525

2626
install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do

gemfiles/rails_7.0.8_with_oracle_enhanced.gemfile renamed to gemfiles/rails_7.0_with_oracle_enhanced.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.0.8"
23+
gem "rails", "~> 7.0.0"
2424
gem "ruby-oci8"
2525
gem "activerecord-oracle_enhanced-adapter", "~> 7.0.0"
2626

gemfiles/rails_7.0.8_with_postgis.gemfile renamed to gemfiles/rails_7.0_with_postgis.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
2323
gem "pg"
24-
gem "rails", "7.0.8"
24+
gem "rails", "~> 7.0.0"
2525
gem "activerecord-postgis-adapter"
2626

2727
install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do

gemfiles/rails_7.0.8_with_postgresql.gemfile renamed to gemfiles/rails_7.0_with_postgresql.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
2323
gem "pg"
24-
gem "rails", "7.0.8"
24+
gem "rails", "~> 7.0.0"
2525

2626
install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do
2727
gem "base64"

gemfiles/rails_7.0.8_with_sqlite3.gemfile renamed to gemfiles/rails_7.0_with_sqlite3.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.0.8"
23+
gem "rails", "~> 7.0.0"
2424
gem "sqlite3", "~> 1.5.0"
2525

2626
install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do

gemfiles/rails_7.0.8_with_trilogy.gemfile renamed to gemfiles/rails_7.0_with_trilogy.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.0.8"
23+
gem "rails", "~> 7.0.0"
2424
gem "activerecord-trilogy-adapter"
2525

2626
install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do

gemfiles/rails_7.1.0_with_mysql2.gemfile renamed to gemfiles/rails_7.1_with_mysql2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.1.0"
23+
gem "rails", "~> 7.1.0"
2424
gem "mysql2"
2525

2626
gemspec path: "../"

gemfiles/rails_7.1.0_with_oracle_enhanced.gemfile renamed to gemfiles/rails_7.1_with_oracle_enhanced.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.1.0"
23+
gem "rails", "~> 7.1.0"
2424
gem "activerecord-oracle_enhanced-adapter", "~> 7.1.0"
2525

2626
gemspec path: "../"

gemfiles/rails_7.1.0_with_postgis.gemfile renamed to gemfiles/rails_7.1_with_postgis.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
2323
gem "pg"
24-
gem "rails", "7.1.0"
24+
gem "rails", "~> 7.1.0"
2525
gem "activerecord-postgis-adapter"
2626

2727
gemspec path: "../"

gemfiles/rails_7.2.0_with_postgresql.gemfile renamed to gemfiles/rails_7.1_with_postgresql.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
2323
gem "pg"
24-
gem "rails", "7.2.0"
24+
gem "rails", "~> 7.1.0"
2525

2626
gemspec path: "../"

gemfiles/rails_7.1.0_with_sqlite3.gemfile renamed to gemfiles/rails_7.1_with_sqlite3.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.1.0"
23+
gem "rails", "~> 7.1.0"
2424
gem "sqlite3", "~> 1.5.0"
2525

2626
gemspec path: "../"

gemfiles/rails_7.2.0_with_trilogy.gemfile renamed to gemfiles/rails_7.1_with_trilogy.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.2.0"
23+
gem "rails", "~> 7.1.0"
2424
gem "activerecord-trilogy-adapter"
2525

2626
gemspec path: "../"

gemfiles/rails_7.2.0_with_mysql2.gemfile renamed to gemfiles/rails_7.2_with_mysql2.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.2.0"
23+
gem "rails", "~> 7.2.0"
2424
gem "mysql2"
2525

2626
gemspec path: "../"

gemfiles/rails_7.2.0_with_oracle_enhanced.gemfile renamed to gemfiles/rails_7.2_with_oracle_enhanced.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.2.0"
23+
gem "rails", "~> 7.2.0"
2424
gem "activerecord-oracle_enhanced-adapter", git: "https://github.com/rsim/oracle-enhanced.git"
2525

2626
gemspec path: "../"

gemfiles/rails_7.2.0_with_postgis.gemfile renamed to gemfiles/rails_7.2_with_postgis.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
2323
gem "pg"
24-
gem "rails", "7.2.0"
24+
gem "rails", "~> 7.2.0"
2525
gem "activerecord-postgis-adapter", git: "https://github.com/rgeo/activerecord-postgis-adapter.git"
2626

2727
gemspec path: "../"

gemfiles/rails_7.1.0_with_postgresql.gemfile renamed to gemfiles/rails_7.2_with_postgresql.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
2323
gem "pg"
24-
gem "rails", "7.1.0"
24+
gem "rails", "~> 7.2.0"
2525

2626
gemspec path: "../"

gemfiles/rails_7.2.0_with_sqlite3.gemfile renamed to gemfiles/rails_7.2_with_sqlite3.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.2.0"
23+
gem "rails", "~> 7.2.0"
2424
gem "sqlite3", "~> 1.5.0"
2525

2626
gemspec path: "../"

gemfiles/rails_7.1.0_with_trilogy.gemfile renamed to gemfiles/rails_7.2_with_trilogy.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gem "rubocop-performance"
2020
gem "rubocop-rake"
2121
gem "rubocop-rspec"
2222
gem "simplecov"
23-
gem "rails", "7.1.0"
23+
gem "rails", "~> 7.2.0"
2424
gem "activerecord-trilogy-adapter"
2525

2626
gemspec path: "../"

0 commit comments

Comments
 (0)