diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f50f517d..c2a091f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,8 @@ jobs: gemfile: - Gemfile - - gemfiles/rails_edge.gemfile # 7.1.0.alpha + - gemfiles/rails_edge.gemfile # 7.2.0.alpha + - gemfiles/rails_7.1.gemfile - gemfiles/rails_7.0.gemfile - gemfiles/rails_6.1.gemfile - gemfiles/rails_6.0.gemfile @@ -49,10 +50,14 @@ jobs: # NOTE(ivy): Rails 7 requires Ruby version >= 2.7 - ruby: jruby-9.3 gemfile: gemfiles/rails_edge.gemfile + - ruby: jruby-9.3 + gemfile: gemfiles/rails_7.1.gemfile - ruby: jruby-9.3 gemfile: gemfiles/rails_7.0.gemfile - ruby: jruby-9.2 gemfile: gemfiles/rails_edge.gemfile + - ruby: jruby-9.2 + gemfile: gemfiles/rails_7.1.gemfile - ruby: jruby-9.2 gemfile: gemfiles/rails_7.0.gemfile diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile new file mode 100644 index 00000000..33b1d1ae --- /dev/null +++ b/gemfiles/rails_7.1.gemfile @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +# Specify your gem's dependencies in lograge.gemspec +gemspec path: '..' + +group :test do + gem 'actionpack', '~> 7.1.0' + gem 'activerecord', '~> 7.1.0' + # logstash does not release any gems on rubygems, but they have two gemspecs within their repo. + # Using the tag is an attempt of having a stable version to test against where we can ensure that + # we test against the correct code. + gem 'logstash-event', git: 'https://github.com/elastic/logstash', tag: 'v1.5.4' + # logstash 1.5.4 is only supported with jrjackson up to 0.2.9 + gem 'jrjackson', '~> 0.2.9', platforms: :jruby + gem 'lines' + gem 'thread_safe' +end