This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
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 (#109)
* RuboCop: Style/StringLiterals * RuboCop: Style/StringLiterals * RuboCop: Style/StringLiterals * Remove inlined rubocop:disable comment
- Loading branch information
1 parent
dd04662
commit c24a658
Showing
29 changed files
with
225 additions
and
233 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'simplecov_json_formatter' | ||
require 'simplecov-console' | ||
formatters = SimpleCov::Formatter.from_env(ENV) | ||
|
||
formatters = [ | ||
SimpleCov::Formatter::HTMLFormatter, | ||
SimpleCov::Formatter::JSONFormatter | ||
] | ||
|
||
# rubocop:disable Style/IfUnlessModifier | ||
if RSpec.configuration.files_to_run.length > 1 | ||
require "simplecov-console" | ||
|
||
formatters << SimpleCov::Formatter::Console | ||
end | ||
# rubocop:enable Style/IfUnlessModifier | ||
|
||
SimpleCov.start do | ||
enable_coverage :branch | ||
|
||
formatter SimpleCov::Formatter::MultiFormatter.new(formatters) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in svgeez.gemspec | ||
# Specify your gem"s dependencies in svgeez.gemspec | ||
gemspec | ||
|
||
gem 'debug' | ||
gem 'rake' | ||
gem 'rspec' | ||
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 "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,15 +1,15 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/setup' | ||
require 'svgeez' | ||
require "bundler/setup" | ||
require "svgeez" | ||
|
||
# You can add fixtures and/or initialization code here to make experimenting | ||
# with your gem easier. You can also use a different console, if you like. | ||
|
||
# (If you use this, don't forget to add pry to your Gemfile!) | ||
# require 'pry' | ||
# require "pry" | ||
# Pry.start | ||
|
||
require 'irb' | ||
require "irb" | ||
IRB.start(__FILE__) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Svgeez | ||
VERSION = '4.1.0' | ||
VERSION = "4.1.0" | ||
end |
Oops, something went wrong.