dry-rails 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b88e2e95f728750240e49d73821d025555aed6cc31d5d39174f6c57aebf6ce27
4
- data.tar.gz: cabcb4d3fd5d5cf9501fe7949c7c909f40da0ca6a5603673785ae9b40ba04e00
3
+ metadata.gz: c66e6a63d728045df96c11971c2eccdc75c158c473818f1c1839f4b82f6035a8
4
+ data.tar.gz: 17de8a2a71b685d11fea6d12835f6f01bfb0942061b82251f4856640f520bc35
5
5
  SHA512:
6
- metadata.gz: 175953e3194700744fb405d10684492e7986bbf163fd14cf95d9763ba03155ad97f5dba1998a192430b1b348e7a663ee5a46bc9e4b75a689feda72984be9b555
7
- data.tar.gz: a6751d7aca04c9c6e4806e0f6cdaf2e0881c2ef88b7a9796650da2ee0408ba05d955324af704a96d17b5318e294e2de0e34c56d9727523ab2d90945502af533d
6
+ metadata.gz: 64ae66479cab35115409b2133719e7e6f2d561553a2e4e2a231399f45d10cf41c7536a3f9ac814771cd0301ca647331e2c0981b98c8292e7a7c9e7c1252cdab0
7
+ data.tar.gz: 981240ebf2929bd24c494d348e4df2aef805cfab73bc59a0ae65dfa2667b0851f4c5d7dd0cd6ff886e51b42d97d985616e00ff24f9ff4ecc3328e9085a11c8e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
+ ## 0.7.0 2022-12-23
4
+
5
+
6
+ ### Changed
7
+
8
+ - Bump dry-schema to `>= 0.13` (@solnic)
9
+ - Bump dry-validation to `>= 0.10` (@solnic)
10
+ - Bump dry-system to `~> 1.0` (@solnic)
11
+
12
+ [Compare v0.6.0...v0.7.0](https://github.com/dry-rb/dry-rails/compare/v0.6.0...v0.7.0)
13
+
14
+ ## 0.6.0 2022-10-20
15
+
16
+
17
+ ### Changed
18
+
19
+ - Upgrade to zeitwerkified dry-rb deps (issue #55 fixed via #56) (@solnic)
20
+
21
+ [Compare v0.5.0...v0.6.0](https://github.com/dry-rb/dry-rails/compare/v0.5.0...v0.6.0)
22
+
3
23
  ## 0.5.0 2022-02-11
4
24
 
5
25
 
data/README.md CHANGED
@@ -1,22 +1,14 @@
1
1
  <!--- this file is synced from dry-rb/template-gem project -->
2
2
  [gem]: https://rubygems.org/gems/dry-rails
3
3
  [actions]: https://github.com/dry-rb/dry-rails/actions
4
- [codacy]: https://www.codacy.com/gh/dry-rb/dry-rails
5
- [chat]: https://dry-rb.zulipchat.com
6
- [inchpages]: http://inch-ci.org/github/dry-rb/dry-rails
7
4
 
8
- # dry-rails [![Join the chat at https://dry-rb.zulipchat.com](https://img.shields.io/badge/dry--rb-join%20chat-%23346b7a.svg)][chat]
9
-
10
- [![Gem Version](https://badge.fury.io/rb/dry-rails.svg)][gem]
11
- [![CI Status](https://github.com/dry-rb/dry-rails/workflows/ci/badge.svg)][actions]
12
- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d4677ea0c4c2497bb1af1b3ac31552f4)][codacy]
13
- [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/d4677ea0c4c2497bb1af1b3ac31552f4)][codacy]
14
- [![Inline docs](http://inch-ci.org/github/dry-rb/dry-rails.svg?branch=master)][inchpages]
5
+ # dry-rails [![Gem Version](https://badge.fury.io/rb/dry-rails.svg)][gem] [![CI Status](https://github.com/dry-rb/dry-rails/workflows/ci/badge.svg)][actions]
15
6
 
16
7
  ## Links
17
8
 
18
9
  * [User documentation](https://dry-rb.org/gems/dry-rails)
19
10
  * [API documentation](http://rubydoc.info/gems/dry-rails)
11
+ * [Forum](https://discourse.dry-rb.org)
20
12
 
21
13
  ## Supported Ruby versions
22
14
 
data/dry-rails.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ["lib"]
23
23
 
24
24
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
25
- spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-rails/blob/master/CHANGELOG.md"
25
+ spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-rails/blob/main/CHANGELOG.md"
26
26
  spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-rails"
27
27
  spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-rails/issues"
28
28
 
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  # to update dependencies edit project.yml
32
32
  spec.add_runtime_dependency "dry-schema", "~> 1.7"
33
- spec.add_runtime_dependency "dry-system", "~> 0.23", ">= 0.23"
33
+ spec.add_runtime_dependency "dry-system", "~> 1.0", "< 2"
34
34
  spec.add_runtime_dependency "dry-validation", "~> 1.5"
35
35
 
36
36
  spec.add_development_dependency "bundler"
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry/system/auto_registrar"
3
+ require "dry/system"
4
4
 
5
5
  module Dry
6
6
  module Rails
@@ -2,9 +2,7 @@
2
2
 
3
3
  require "rails/version"
4
4
 
5
- require "dry/system/container"
6
- require "dry/system/provider_sources"
7
-
5
+ require "dry/system"
8
6
  require "dry/rails/auto_registrars/app"
9
7
 
10
8
  module Dry
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry/validation/contract"
3
+ require "dry/validation"
4
4
 
5
5
  module Dry
6
6
  module Rails
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry/schema/params"
3
+ require "dry/schema"
4
4
 
5
5
  module Dry
6
6
  module Rails
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module Rails
5
- VERSION = "0.5.0"
5
+ VERSION = "0.7.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-11 00:00:00.000000000 Z
11
+ date: 2022-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-schema
@@ -30,20 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.23'
34
- - - ">="
33
+ version: '1.0'
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '0.23'
36
+ version: '2'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: '0.23'
44
- - - ">="
43
+ version: '1.0'
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.23'
46
+ version: '2'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dry-validation
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +129,7 @@ licenses:
129
129
  - MIT
130
130
  metadata:
131
131
  allowed_push_host: https://rubygems.org
132
- changelog_uri: https://github.com/dry-rb/dry-rails/blob/master/CHANGELOG.md
132
+ changelog_uri: https://github.com/dry-rb/dry-rails/blob/main/CHANGELOG.md
133
133
  source_code_uri: https://github.com/dry-rb/dry-rails
134
134
  bug_tracker_uri: https://github.com/dry-rb/dry-rails/issues
135
135
  post_install_message:
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubygems_version: 3.1.6
150
+ rubygems_version: 3.3.26
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: The official dry-rb railtie for Ruby on Rails