Skip to content

Commit 98f097e

Browse files
authored
Support for Rails 7.1 (#188)
* add rails 7.1 to the build matrix * bump rails versions * bump version, add 7.1.1 to the regular build matrix * bump requirement * skip coverage check on jruby * array syntax * add ruby 3.3 to the mix * puts ruby version
1 parent 9fa389e commit 98f097e

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
rails: [7.0.4, 6.1.4]
19-
ruby: [3.2, 3.1, 3.0.6, jruby-9.4]
18+
rails: [7.1.1, 7.0.8, 6.1.7]
19+
ruby: [3.3, 3.2, 3.1, 3.0.6, jruby-9.4]
2020
sprockets: [3, 4]
2121
include:
22+
- rails: 7.1.1
23+
ruby: 3.2
24+
sprockets: 4
2225
- rails: 6.0.4
2326
ruby: 2.7
2427
sprockets: 3

haml_coffee_assets.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
1717
s.files = Dir.glob('{app,lib,vendor}/**/*') + %w[LICENSE README.md]
1818

1919
s.add_runtime_dependency 'coffee-script', '>= 2'
20-
s.add_runtime_dependency 'railties', '>= 5.2', "< 7.1"
20+
s.add_runtime_dependency 'railties', '>= 5.2', "< 7.2"
2121
s.add_runtime_dependency 'sprockets', '>= 3.7'
2222

2323
s.add_development_dependency 'jasmine'

lib/haml_coffee_assets/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding: UTF-8
22

33
module HamlCoffeeAssets
4-
VERSION = '1.23.0' unless defined?(HamlCoffeeAssets::VERSION)
4+
VERSION = '1.24.0' unless defined?(HamlCoffeeAssets::VERSION)
55
end

spec/spec_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
require 'rails'
22
require 'rspec'
33
require 'simplecov'
4-
SimpleCov.minimum_coverage 86 if RUBY_VERSION > '3.0'
4+
SimpleCov.minimum_coverage 86 if RUBY_VERSION > '3.0' && RUBY_ENGINE == 'ruby'
55
SimpleCov.start 'rails'
6+
puts [Rails.version, RUBY_VERSION, RUBY_ENGINE, RUBY_DESCRIPTION].inspect
67

78
require 'haml_coffee_assets'
89

0 commit comments

Comments
 (0)