File tree 7 files changed +20
-60
lines changed
elasticsearch-rails/spec/instrumentation
7 files changed +20
-60
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
13
13
tests :
14
14
env :
15
15
TEST_ES_SERVER : http://localhost:9200
16
- RAILS_VERSIONS : ' 5 .0,6 .0'
16
+ RAILS_VERSIONS : ' 6 .0,7 .0'
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
20
- ruby : ['2.6', '2. 7', '3.0']
20
+ ruby : ['2.7', '3.0']
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ desc 'Run unit tests'
21
21
task default : 'test:all'
22
22
task test : 'test:all'
23
23
24
- gemfiles = [ '5.0.gemfile' , '6.0.gemfile' ]
25
- gemfiles << '4.0.gemfile' if RUBY_VERSION < '2.7'
24
+ gemfiles = [ '6.0.gemfile' , '7.0.gemfile' ]
26
25
GEMFILES = gemfiles . freeze
27
26
28
27
namespace :bundle do
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ source 'https://rubygems.org'
24
24
25
25
gemspec path: '../'
26
26
27
- gem 'activemodel', '6.0.0'
28
- gem 'activerecord', '6.0.0'
29
- gem 'sqlite3' unless defined?(JRUBY_VERSION)
30
- # gem 'mongoid', '~> 6'
27
+ gem 'activemodel', '6.0'
28
+ gem 'activerecord', '6.0'
29
+ gem 'activesupport', '6.0'
31
30
32
31
group :development, :testing do
33
32
gem 'pry-nav'
Original file line number Diff line number Diff line change 17
17
18
18
# Usage:
19
19
#
20
- # $ BUNDLE_GEMFILE=./gemfiles/5 .0.gemfile bundle install
21
- # $ BUNDLE_GEMFILE=./gemfiles/5 .0.gemfile bundle exec rake test:integration
20
+ # $ BUNDLE_GEMFILE=./gemfiles/6 .0.gemfile bundle install
21
+ # $ BUNDLE_GEMFILE=./gemfiles/6 .0.gemfile bundle exec rake test:integration
22
22
23
23
source 'https://rubygems.org'
24
24
25
25
gemspec path: '../'
26
26
27
- gem 'activemodel', '~> 5'
28
- gem 'activerecord', '~> 5'
29
- gem 'sqlite3', '> 1.3', '< 1.4' unless defined?(JRUBY_VERSION)
30
- gem 'mongoid', '~> 6'
27
+ gem 'activemodel', '7.0'
28
+ gem 'activerecord', '7.0'
29
+ gem 'activesupport', '7.0'
31
30
32
31
group :development, :testing do
33
- gem 'rspec'
34
32
gem 'pry-nav'
33
+ gem 'rspec'
35
34
end
Original file line number Diff line number Diff line change 17
17
18
18
# Usage:
19
19
#
20
- # $ BUNDLE_GEMFILE=./gemfiles/3 .0.gemfile bundle install
21
- # $ BUNDLE_GEMFILE=./gemfiles/3 .0.gemfile bundle exec rake test:integration
20
+ # $ BUNDLE_GEMFILE=./gemfiles/6 .0.gemfile bundle install
21
+ # $ BUNDLE_GEMFILE=./gemfiles/6 .0.gemfile bundle exec rake test:integration
22
22
23
23
source 'https://rubygems.org'
24
24
25
25
gemspec path: '../'
26
26
27
- gem 'activemodel', '>= 3.0'
28
- gem 'activerecord', '~> 3.2'
29
- gem 'mongoid', '>= 3.0'
30
- gem 'sqlite3', '> 1.3', '< 1.4' unless defined?(JRUBY_VERSION)
27
+ gem 'activemodel', '7.1'
28
+ gem 'activerecord', '7.1'
29
+ gem 'activesupport', '7.1'
31
30
32
31
group :development, :testing do
33
- gem 'rspec'
34
32
gem 'pry-nav'
35
- end
33
+ gem 'rspec'
34
+ end
Original file line number Diff line number Diff line change 54
54
end
55
55
end
56
56
end
57
- end
57
+ end if version >= Gem :: Version . new ( '7.1' )
You can’t perform that action at this time.
0 commit comments