Skip to content

Commit e783d89

Browse files
committed
Target new syntax
1 parent 6c8d5ac commit e783d89

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.rubocop.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This is a config synced from dry-rb/template-gem repo
22

33
AllCops:
4-
TargetRubyVersion: 3.0
5-
NewCops: disable
4+
TargetRubyVersion: 3.1
5+
NewCops: enable
66
SuggestExtensions: false
77
Exclude:
88
- "**/vendor/**/*" # For GitHub Actions, see rubocop/rubocop#9832

dry-monads.gemspec

+8-7
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ Gem::Specification.new do |spec|
2121
spec.executables = []
2222
spec.require_paths = ["lib"]
2323

24-
spec.metadata["allowed_push_host"] = "https://rubygems.org"
25-
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-monads/blob/main/CHANGELOG.md"
26-
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-monads"
27-
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-monads/issues"
24+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
25+
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-monads/blob/main/CHANGELOG.md"
26+
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-monads"
27+
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-monads/issues"
28+
spec.metadata["rubygems_mfa_required"] = "true"
2829

2930
spec.required_ruby_version = ">= 3.1.0"
3031

3132
# to update dependencies edit project.yml
32-
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
33-
spec.add_runtime_dependency "dry-core", "~> 1.1"
34-
spec.add_runtime_dependency "zeitwerk", "~> 2.6"
33+
spec.add_dependency "concurrent-ruby", "~> 1.0"
34+
spec.add_dependency "dry-core", "~> 1.1"
35+
spec.add_dependency "zeitwerk", "~> 2.6"
3536
end

0 commit comments

Comments
 (0)