Skip to content

Commit

Permalink
Target new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 7, 2025
1 parent ee3b3a9 commit 907337a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This is a config synced from dry-rb/template-gem repo

AllCops:
TargetRubyVersion: 3.0
NewCops: disable
TargetRubyVersion: 3.1
NewCops: enable
SuggestExtensions: false
Exclude:
- "**/vendor/**/*" # For GitHub Actions, see rubocop/rubocop#9832
Expand Down
16 changes: 9 additions & 7 deletions dry-auto_inject.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ Gem::Specification.new do |spec|
spec.summary = "Container-agnostic automatic constructor injection"
spec.description = spec.summary
spec.homepage = "https://dry-rb.org/gems/dry-auto_inject"
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-auto_inject.gemspec", "lib/**/*"]
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-auto_inject.gemspec",
"lib/**/*"]
spec.bindir = "bin"
spec.executables = []
spec.require_paths = ["lib"]

spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-auto_inject/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-auto_inject"
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-auto_inject/issues"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-auto_inject/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-auto_inject"
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-auto_inject/issues"
spec.metadata["rubygems_mfa_required"] = "true"

spec.required_ruby_version = ">= 3.1"

# to update dependencies edit project.yml
spec.add_runtime_dependency "dry-core", "~> 1.0", "< 2"
spec.add_runtime_dependency "zeitwerk", "~> 2.6"
spec.add_dependency "dry-core", "~> 1.0", "< 2"
spec.add_dependency "zeitwerk", "~> 2.6"
end

0 comments on commit 907337a

Please sign in to comment.