-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Drop support for Ruby prior to 3.1 - Bump version to 4.0.0 - Fix tests and Rubocop
- Loading branch information
1 parent
9e8a1d7
commit 8489654
Showing
34 changed files
with
565 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/.bundle/ | ||
/.idea/ | ||
/.yardoc | ||
/Gemfile.lock | ||
/gemfiles/*.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
inherit_from: .rubocop_todo.yml | ||
|
||
AllCops: | ||
NewCops: enable | ||
SuggestExtensions: false | ||
TargetRubyVersion: 3.1 | ||
Exclude: | ||
- vendor/**/* | ||
|
||
Layout/LineLength: | ||
Max: 120 | ||
Exclude: | ||
- test/**/* | ||
|
||
Metrics: | ||
Exclude: | ||
- test/**/* | ||
|
||
Naming/BlockForwarding: | ||
Enabled: false | ||
|
||
Naming/FileName: | ||
Exclude: | ||
- 'lib/dartsass-sprockets.rb' | ||
|
||
Style/HashSyntax: | ||
EnforcedShorthandSyntax: never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2023-12-31 06:58:36 UTC using RuboCop version 1.59.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. | ||
Metrics/AbcSize: | ||
Max: 33 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/CyclomaticComplexity: | ||
Max: 9 | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Max: 29 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/PerceivedComplexity: | ||
Max: 9 | ||
|
||
# Offense count: 17 | ||
# Configuration parameters: AllowedConstants. | ||
Style/Documentation: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'test/**/*' | ||
- 'lib/rails/generators/sass/assets/assets_generator.rb' | ||
- 'lib/rails/generators/sass/scaffold/scaffold_generator.rb' | ||
- 'lib/rails/generators/sass_scaffold.rb' | ||
- 'lib/rails/generators/scss/assets/assets_generator.rb' | ||
- 'lib/rails/generators/scss/scaffold/scaffold_generator.rb' | ||
- 'lib/sassc/rails/compressor.rb' | ||
- 'lib/sassc/rails/functions.rb' | ||
- 'lib/sassc/rails/importer.rb' | ||
- 'lib/sassc/rails/railtie.rb' | ||
- 'lib/sassc/rails/template.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
platforms :windows do | ||
gem 'tzinfo-data' | ||
end | ||
|
||
# for working locally | ||
# gem "sassc", :path => "../sassc" | ||
gem 'mocha' | ||
gem 'rake' | ||
gem 'rubocop' | ||
|
||
# Specify your gem's dependencies in sassc-rails.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.