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 4, 2025
1 parent 0c2ad51 commit c19934c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 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
22 changes: 12 additions & 10 deletions dry-validation.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,24 @@ Gem::Specification.new do |spec|
spec.summary = "Validation library"
spec.description = spec.summary
spec.homepage = "https://dry-rb.org/gems/dry-validation"
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-validation.gemspec", "lib/**/*", "config/*.yml"]
spec.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "dry-validation.gemspec",
"lib/**/*", "config/*.yml"]
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-validation/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-validation"
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-validation/issues"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-validation/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-validation"
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-validation/issues"
spec.metadata["rubygems_mfa_required"] = "true"

spec.required_ruby_version = ">= 3.1"

# to update dependencies edit project.yml
spec.add_runtime_dependency "concurrent-ruby", "~> 1.0"
spec.add_runtime_dependency "dry-core", "~> 1.1"
spec.add_runtime_dependency "dry-initializer", "~> 3.2"
spec.add_runtime_dependency "dry-schema", "~> 1.14"
spec.add_runtime_dependency "zeitwerk", "~> 2.6"
spec.add_dependency "concurrent-ruby", "~> 1.0"
spec.add_dependency "dry-core", "~> 1.1"
spec.add_dependency "dry-initializer", "~> 3.2"
spec.add_dependency "dry-schema", "~> 1.14"
spec.add_dependency "zeitwerk", "~> 2.6"
end

0 comments on commit c19934c

Please sign in to comment.