-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address RuboCop
Style/StringLiterals
warnings' (#73)
* RuboCop: Style/StringLiterals * RuboCop: Style/StringLiterals
- Loading branch information
1 parent
1ce9fab
commit 3fb3cf4
Showing
17 changed files
with
211 additions
and
117 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,18 +1,18 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in micromicro.gemspec | ||
gemspec | ||
|
||
gem 'debug' | ||
gem 'rake' | ||
gem 'rspec' | ||
gem 'rspec-its' | ||
gem 'rubocop' | ||
gem 'rubocop-packaging' | ||
gem 'rubocop-performance' | ||
gem 'rubocop-rake' | ||
gem 'rubocop-rspec' | ||
gem 'simplecov' | ||
gem 'simplecov-console' | ||
gem "debug" | ||
gem "rake" | ||
gem "rspec" | ||
gem "rspec-its" | ||
gem "rubocop" | ||
gem "rubocop-packaging" | ||
gem "rubocop-performance" | ||
gem "rubocop-rake" | ||
gem "rubocop-rspec" | ||
gem "simplecov" | ||
gem "simplecov-console" |
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,33 +1,33 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative 'lib/micro_micro/version' | ||
require_relative "lib/micro_micro/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.required_ruby_version = '>= 3.0', '< 4' | ||
spec.required_ruby_version = ">= 3.0", "< 4" | ||
|
||
spec.name = 'micromicro' | ||
spec.name = "micromicro" | ||
spec.version = MicroMicro::VERSION | ||
spec.authors = ['Jason Garber'] | ||
spec.email = ['jason@sixtwothree.org'] | ||
spec.authors = ["Jason Garber"] | ||
spec.email = ["jason@sixtwothree.org"] | ||
|
||
spec.summary = 'Extract microformats2-encoded data from HTML documents.' | ||
spec.summary = "Extract microformats2-encoded data from HTML documents." | ||
spec.description = spec.summary | ||
spec.homepage = 'https://github.com/jgarber623/micromicro' | ||
spec.license = 'MIT' | ||
spec.homepage = "https://github.com/jgarber623/micromicro" | ||
spec.license = "MIT" | ||
|
||
spec.files = Dir['lib/**/*'].reject { |f| File.directory?(f) } | ||
spec.files += %w[LICENSE CHANGELOG.md CONTRIBUTING.md README.md] | ||
spec.files = Dir["lib/**/*"].reject { |f| File.directory?(f) } | ||
spec.files += %w[LICENSE CHANGELOG.md README.md] | ||
spec.files += %w[micromicro.gemspec] | ||
|
||
spec.require_paths = ['lib'] | ||
spec.require_paths = ["lib"] | ||
|
||
spec.metadata = { | ||
'bug_tracker_uri' => "#{spec.homepage}/issues", | ||
'changelog_uri' => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md", | ||
'rubygems_mfa_required' => 'true' | ||
"bug_tracker_uri" => "#{spec.homepage}/issues", | ||
"changelog_uri" => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md", | ||
"rubygems_mfa_required" => "true" | ||
} | ||
|
||
spec.add_runtime_dependency 'activesupport', '~> 7.0' | ||
spec.add_runtime_dependency 'nokogiri', '>= 1.14' | ||
spec.add_runtime_dependency 'nokogiri-html-ext', '~> 0.4.0' | ||
spec.add_runtime_dependency "activesupport", "~> 7.0" | ||
spec.add_runtime_dependency "nokogiri", ">= 1.14" | ||
spec.add_runtime_dependency "nokogiri-html-ext", "~> 0.4.0" | ||
end |
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
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
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
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.