Skip to content

Commit

Permalink
Merge pull request #56 from dry-rb/55-upgrade-to-zeitwerkified-dry-rb…
Browse files Browse the repository at this point in the history
…-deps

[changelog]

version: unreleased
changed: "Upgrade to zeitwerkified dry-rb deps (issue #55 fixed via #56) (@solnic)"
  • Loading branch information
solnic authored Oct 20, 2022
2 parents 78589c5 + f13a664 commit 6dbb3c3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dry-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.7.0"

# to update dependencies edit project.yml
spec.add_runtime_dependency "dry-schema", "~> 1.7"
spec.add_runtime_dependency "dry-system", "~> 0.23", ">= 0.23"
spec.add_runtime_dependency "dry-validation", "~> 1.5"
spec.add_runtime_dependency "dry-schema", "~> 1.11", ">= 1.11.2"
spec.add_runtime_dependency "dry-system", "~> 0.27", ">= 0.27.2"
spec.add_runtime_dependency "dry-validation", "~> 1.9", ">= 1.9.0"

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
Expand Down
2 changes: 1 addition & 1 deletion lib/dry/rails/auto_registrars/app.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "dry/system/auto_registrar"
require "dry/system"

module Dry
module Rails
Expand Down
4 changes: 1 addition & 3 deletions lib/dry/rails/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

require "rails/version"

require "dry/system/container"
require "dry/system/provider_sources"

require "dry/system"
require "dry/rails/auto_registrars/app"

module Dry
Expand Down
2 changes: 1 addition & 1 deletion lib/dry/rails/features/application_contract.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "dry/validation/contract"
require "dry/validation"

module Dry
module Rails
Expand Down
2 changes: 1 addition & 1 deletion lib/dry/rails/features/safe_params.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "dry/schema/params"
require "dry/schema"

module Dry
module Rails
Expand Down

0 comments on commit 6dbb3c3

Please sign in to comment.