Skip to content

Commit

Permalink
Address RuboCop warnings (#8)
Browse files Browse the repository at this point in the history
Addresses warnings from latest preferred RuboCop configuration.

- RuboCop: Style/WordArray [ignore rev]
- RuboCop: Style/StringLiteralsInInterpolation [ignore rev]
- Update ignored revs file
  • Loading branch information
jgarber623 committed Dec 28, 2023
2 parents 3a60db9 + ab8b544 commit 6019549
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@

f5c25ea04c2296a3d38aa00907ef3c019cccd2ed
b7cde6ee9797d1fb421e4d858be4872671869f56
4246bc212d582e253bbf4a2134545d0f9cf9f903
14bff793606e978facc5afde058e6067fdb8a86b
2 changes: 1 addition & 1 deletion lib/sprockets/sass_embedded/sass_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def to_hash
.parameters
.filter_map { |parameter| "$#{parameter.last}" if parameter.first == :req }

obj["#{symbol}(#{parameters.join(', ')})"] = ->(args) { instance.public_send(symbol, *args) }
obj["#{symbol}(#{parameters.join(", ")})"] = ->(args) { instance.public_send(symbol, *args) }
end
end

Expand Down
4 changes: 2 additions & 2 deletions sprockets-sass_embedded.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
spec.license = "MIT"

spec.files = Dir["lib/**/*"].reject { |f| File.directory?(f) }
spec.files += %w[LICENSE CHANGELOG.md README.md]
spec.files += %w[sprockets-sass_embedded.gemspec]
spec.files += ["LICENSE", "CHANGELOG.md", "README.md"]
spec.files += ["sprockets-sass_embedded.gemspec"]

spec.require_paths = ["lib"]

Expand Down

0 comments on commit 6019549

Please sign in to comment.