-
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.
eng: Target 3.1.4, correct deprecations, run rubocop on itself (#36)
- Loading branch information
1 parent
cc5f82b
commit 3a0b674
Showing
4 changed files
with
23 additions
and
17 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,32 +1,36 @@ | ||
require_relative 'lib/Dutchie/Style/version' | ||
# frozen_string_literal: true | ||
|
||
require_relative "lib/Dutchie/Style/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "Dutchie-Style" | ||
spec.version = Dutchie::Style::VERSION | ||
spec.authors = ["Christopher Ostrowski"] | ||
spec.email = ["[email protected]"] | ||
|
||
spec.license = 'MIT' | ||
spec.license = "MIT" | ||
|
||
spec.summary = %q{Rubocop Settings for all dutchie Ruby Apps} | ||
spec.description = %q{Rubocop Settings for all dutchie Ruby Apps} | ||
spec.summary = "Rubocop Settings for all dutchie Ruby Apps" | ||
spec.description = "Rubocop Settings for all dutchie Ruby Apps" | ||
spec.homepage = "https://github.com/GetDutchie/Dutchie-Style" | ||
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") | ||
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.4") | ||
|
||
spec.metadata["homepage_uri"] = spec.homepage | ||
spec.metadata["source_code_uri"] = "https://github.com/GetDutchie/Dutchie-Style" | ||
spec.metadata["changelog_uri"] = "https://github.com/GetDutchie/Dutchie-Style/releases" | ||
|
||
# Specify which files should be added to the gem when it is released. | ||
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. | ||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
spec.files = | ||
Dir.chdir(File.expand_path(__dir__)) do | ||
`git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
spec.bindir = "exe" | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_dependency "rubocop", "~> 1.56" | ||
spec.add_dependency "rubocop-rspec" | ||
spec.add_dependency "rubocop-rails" | ||
spec.add_dependency "rubocop-rails", "~> 2.21" | ||
spec.add_dependency "rubocop-rspec", "~> 2.24" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require "Dutchie/Style/version" | ||
|
||
module Dutchie | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
module Dutchie | ||
module Style | ||
VERSION = '2.0.7' | ||
VERSION = "2.0.8" | ||
public_constant :VERSION | ||
end | ||
end |