Skip to content

Commit

Permalink
Support for Rails 7.1 (#188)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mathieujobin committed Oct 30, 2023
1 parent 9fa389e commit 98f097e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -15,10 +15,13 @@ jobs:
strategy:
fail-fast: false
matrix:
rails: [7.0.4, 6.1.4]
ruby: [3.2, 3.1, 3.0.6, jruby-9.4]
rails: [7.1.1, 7.0.8, 6.1.7]
ruby: [3.3, 3.2, 3.1, 3.0.6, jruby-9.4]
sprockets: [3, 4]
include:
- rails: 7.1.1
ruby: 3.2
sprockets: 4
- rails: 6.0.4
ruby: 2.7
sprockets: 3
Expand Down
2 changes: 1 addition & 1 deletion haml_coffee_assets.gemspec
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.files = Dir.glob('{app,lib,vendor}/**/*') + %w[LICENSE README.md]

s.add_runtime_dependency 'coffee-script', '>= 2'
s.add_runtime_dependency 'railties', '>= 5.2', "< 7.1"
s.add_runtime_dependency 'railties', '>= 5.2', "< 7.2"
s.add_runtime_dependency 'sprockets', '>= 3.7'

s.add_development_dependency 'jasmine'
Expand Down
2 changes: 1 addition & 1 deletion lib/haml_coffee_assets/version.rb
@@ -1,5 +1,5 @@
# coding: UTF-8

module HamlCoffeeAssets
VERSION = '1.23.0' unless defined?(HamlCoffeeAssets::VERSION)
VERSION = '1.24.0' unless defined?(HamlCoffeeAssets::VERSION)
end
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
@@ -1,8 +1,9 @@
require 'rails'
require 'rspec'
require 'simplecov'
SimpleCov.minimum_coverage 86 if RUBY_VERSION > '3.0'
SimpleCov.minimum_coverage 86 if RUBY_VERSION > '3.0' && RUBY_ENGINE == 'ruby'
SimpleCov.start 'rails'
puts [Rails.version, RUBY_VERSION, RUBY_ENGINE, RUBY_DESCRIPTION].inspect

require 'haml_coffee_assets'

Expand Down

0 comments on commit 98f097e

Please sign in to comment.