-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from Rubocop to Standard (#14)
- Loading branch information
1 parent
a7875ae
commit 2d328a0
Showing
20 changed files
with
135 additions
and
163 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require: | ||
- rubocop-rspec |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ruby_version: 3.0 | ||
|
||
plugins: | ||
- standard-performance | ||
|
||
extend_config: | ||
- .standard-rspec.yml |
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,12 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gem 'rake' | ||
gem 'rspec' | ||
gem 'rubocop' | ||
gem 'rubocop-performance' | ||
gem 'rubocop-rake' | ||
gem 'rubocop-rspec' | ||
gem 'simplecov' | ||
gem 'simplecov-lcov' | ||
gem "rake" | ||
gem "rspec" | ||
gem "rubocop-rspec" | ||
gem "simplecov" | ||
gem "simplecov-lcov" | ||
gem "standard" | ||
gem "standard-performance" |
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,12 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/gem_tasks' | ||
require 'rspec/core/rake_task' | ||
require 'rubocop/rake_task' | ||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
require "standard/rake" | ||
|
||
RSpec::Core::RakeTask.new(:spec) do |t| | ||
t.verbose = false | ||
end | ||
RuboCop::RakeTask.new(:rubocop) | ||
|
||
task default: %i[spec rubocop] | ||
task default: %i[spec standard] |
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,27 +1,27 @@ | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'deep_hash_transformer/version' | ||
require "deep_hash_transformer/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.authors = ['Martin Spickermann'] | ||
spec.email = ['[email protected]'] | ||
spec.homepage = 'https://github.com/spickermann/deep_hash_transformer' | ||
spec.license = 'MIT' | ||
spec.authors = ["Martin Spickermann"] | ||
spec.email = ["[email protected]"] | ||
spec.homepage = "https://github.com/spickermann/deep_hash_transformer" | ||
spec.license = "MIT" | ||
|
||
spec.name = 'deep_hash_transformer' | ||
spec.version = DeepHashTransformer::VERSION | ||
spec.name = "deep_hash_transformer" | ||
spec.version = DeepHashTransformer::VERSION | ||
|
||
spec.summary = 'Transforms deeply nested hash structure' | ||
spec.description = <<-DESCRIPTION | ||
spec.summary = "Transforms deeply nested hash structure" | ||
spec.description = <<-DESCRIPTION | ||
DeepHashTransformer helps to transform keys in deeply nested hash structures | ||
DESCRIPTION | ||
|
||
spec.files = Dir['CHANGELOG', 'MIT-LICENSE', 'README', 'lib/**/*', 'spec/**/*'] | ||
spec.files = Dir["CHANGELOG", "MIT-LICENSE", "README", "lib/**/*", "spec/**/*"] | ||
|
||
spec.require_paths = ['lib'] | ||
spec.required_ruby_version = '>= 2.5.0' | ||
spec.require_paths = ["lib"] | ||
spec.required_ruby_version = ">= 3.0.0" | ||
|
||
spec.metadata['rubygems_mfa_required'] = 'true' | ||
spec.metadata["rubygems_mfa_required"] = "true" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
class DeepHashTransformer | ||
VERSION = '2.2.0' | ||
VERSION = "2.2.1" | ||
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
Oops, something went wrong.