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 8649817 commit 423fda7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions Gemfile
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"

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

gemspec

group :test do
gem 'dry-monads', '~> 1.2.0'
gem 'rspec', '~> 3.8'
gem "dry-monads", "~> 1.2.0"
gem "rspec", "~> 3.8"
end

group :tools do
gem 'yard'
gem 'byebug', platform: :mri
gem 'pry'
gem "yard"
gem "byebug", platform: :mri
gem "pry"
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

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

require 'dry/matcher'
require "dry/matcher"
6 changes: 3 additions & 3 deletions lib/dry/matcher.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

require 'dry/core/constants'
require 'dry/matcher/case'
require 'dry/matcher/evaluator'
require "dry/core/constants"
require "dry/matcher/case"
require "dry/matcher/evaluator"

module Dry
# @see http://dry-rb.org/gems/dry-matcher
Expand Down
14 changes: 7 additions & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# frozen_string_literal: true

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

begin
require 'byebug'
require "byebug"
rescue LoadError; end
require 'dry-matcher'
require "dry-matcher"

Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each { |f| require f }

RSpec.configure do |config|
config.disable_monkey_patching!
Expand All @@ -26,7 +26,7 @@
# Allows RSpec to persist some state between runs in order to support
# the `--only-failures` and `--next-failure` CLI options. We recommend
# you configure your source control system to ignore this file.
config.example_status_persistence_file_path = 'spec/examples.txt'
config.example_status_persistence_file_path = "spec/examples.txt"

# This setting enables warnings. It's recommended, but in some cases may
# be too noisy due to issues in dependencies.
Expand All @@ -38,7 +38,7 @@
if config.files_to_run.one?
# Use the documentation formatter for detailed output, unless a formatter
# has already been configured (e.g. via a command-line flag).
config.default_formatter = 'doc'
config.default_formatter = "doc"
end

# Run specs in random order to surface order dependencies. If you find an
Expand Down

0 comments on commit 423fda7

Please sign in to comment.