Skip to content

Commit

Permalink
rubocop -a --only Style/StringLiterals
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Dec 12, 2020
1 parent 141123d commit 507f144
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
16 changes: 8 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# frozen_string_literal: true

source 'https://rubygems.org'
source "https://rubygems.org"

eval_gemfile 'Gemfile.devtools'
eval_gemfile "Gemfile.devtools"

gemspec

group :test do
gem 'activesupport'
gem 'inflecto', '~> 0.0', '>= 0.0.2'
gem 'dry-types', '~> 1.0'
gem 'dry-inflector'
gem "activesupport"
gem "inflecto", "~> 0.0", ">= 0.0.2"
gem "dry-types", "~> 1.0"
gem "dry-inflector"
end

group :tools do
gem 'pry-byebug', platform: :mri
gem 'pry', platform: :jruby
gem "pry-byebug", platform: :mri
gem "pry", platform: :jruby
end
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

Expand Down
2 changes: 1 addition & 1 deletion lib/dry-core.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# frozen_string_literal: true

require 'dry/core'
require "dry/core"
2 changes: 1 addition & 1 deletion lib/dry/core.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require 'dry/core/version'
require "dry/core/version"

# :nodoc:
module Dry
Expand Down
20 changes: 10 additions & 10 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# frozen_string_literal: true

require_relative 'support/coverage'
require_relative "support/coverage"

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'rspec/version'
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "rspec/version"

begin
require 'pry'
require 'pry-byebug'
require "pry"
require "pry-byebug"
rescue LoadError
end

require 'dry/core'
require "dry/core"

module Test
def self.remove_constants
Expand All @@ -21,8 +21,8 @@ def self.remove_constants

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
if RSpec::Version::STRING >= '4.0.0'
raise 'This condition block can be safely removed'
if RSpec::Version::STRING >= "4.0.0"
raise "This condition block can be safely removed"
else
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
Expand All @@ -48,14 +48,14 @@ def self.remove_constants

# Allows RSpec to persist some state between runs in order to support
# the `--only-failures` and `--next-failure` CLI options.
config.example_status_persistence_file_path = 'spec/examples.txt'
config.example_status_persistence_file_path = "spec/examples.txt"

config.disable_monkey_patching!

config.warnings = true

# Use the documentation formatter for detailed output
config.default_formatter = 'doc' if config.files_to_run.one?
config.default_formatter = "doc" if config.files_to_run.one?

config.order = :random

Expand Down

0 comments on commit 507f144

Please sign in to comment.