Skip to content

Commit

Permalink
Fix sassc-rails test
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Aug 18, 2023
1 parent 7977c59 commit 8cc98f0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
ruby-version: ['2.7', '3.0', '3.1']
ruby-version: ['2.7', '3.0', '3.1', '3.2', 'jruby']
submodule:
- vendor/github.com/sass/sassc-rails
- vendor/github.com/twbs/bootstrap
Expand Down
23 changes: 23 additions & 0 deletions test/patches/sassc-rails.diff
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,29 @@ index bf7d65c..9cfbedc 100644
+gem 'tzinfo-data' if Gem.win_platform?
+gem 'sassc', github: 'sass/sassc-ruby', ref: 'refs/pull/233/head'
+gem 'sassc-embedded', path: '../../../../..'
diff --git a/sassc-rails.gemspec b/sassc-rails.gemspec
index 38349f7..34a4eb9 100644
--- a/sassc-rails.gemspec
+++ b/sassc-rails.gemspec
@@ -20,13 +20,13 @@ Gem::Specification.new do |spec|

spec.add_development_dependency 'pry'
spec.add_development_dependency "bundler"
- spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dependency "rake"
spec.add_development_dependency 'mocha'

- spec.add_dependency "sassc", ">= 2.0"
+ spec.add_dependency "sassc", "~> 2.4"
spec.add_dependency "tilt"

- spec.add_dependency 'railties', '>= 4.0.0'
- spec.add_dependency 'sprockets', '> 3.0'
- spec.add_dependency 'sprockets-rails'
+ spec.add_dependency 'railties', '~> 6.1'
+ spec.add_dependency 'sprockets', '~> 4.2'
+ spec.add_dependency 'sprockets-rails', '~> 3.4'
end
diff --git a/test/sassc_rails_test.rb b/test/sassc_rails_test.rb
index a15110d..452a251 100644
--- a/test/sassc_rails_test.rb
Expand Down

0 comments on commit 8cc98f0

Please sign in to comment.