dryer_routes 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dryer_routes.gemspec +2 -1
- data/lib/dryer/routes/build_from_resource.rb +0 -1
- data/lib/dryer/routes/registry.rb +0 -5
- data/lib/dryer/routes/url_builder.rb +0 -1
- data/lib/dryer/routes.rb +23 -0
- data/lib/dryer_routes.rb +1 -1
- metadata +16 -3
- data/lib/dryer/routes/registries/create.rb +0 -11
- data/lib/dryer/routes/version.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db3c5e4d0a5b6da6c17cd4c52744a5ef90382e6de723d17a3b8661408033c4df
|
4
|
+
data.tar.gz: 409d7ba0396eea7e623d719861cd030438fa7dde30fbe7b71c72536acb962d6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 062e66fb4a47a501e52bc88764c774ff8a2715b5fe0445bf33c3ca11436ada9846c79cc734f984f219b668845a41087b48614b04004d0fec82db8fc0b73e6861
|
7
|
+
data.tar.gz: cecbf962ae3c78329a2a0aa2bc8da858cc15942ca1f07b60d1178bb32c86226b2aa69a6ed15b13c4d90617b83f441a00b37287227e6ace70770227224d5c57af
|
data/dryer_routes.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'dryer_routes'
|
3
|
-
spec.version = "0.5.
|
3
|
+
spec.version = "0.5.1"
|
4
4
|
spec.authors = ['John Bernier']
|
5
5
|
spec.email = ['john.b.bernier@gmail.com']
|
6
6
|
spec.summary = 'Typed routing for rails leveraging dry-validation contracts'
|
@@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency "dry-validation", "~> 1.10"
|
26
26
|
spec.add_dependency "dry-types", "~> 1.7"
|
27
27
|
spec.add_dependency "dryer_services", "~> 2.0"
|
28
|
+
spec.add_dependency "zeitwerk", "~> 2.6"
|
28
29
|
spec.add_development_dependency "rspec", "~> 3.10"
|
29
30
|
spec.add_development_dependency "debug", "~> 1.8"
|
30
31
|
end
|
data/lib/dryer/routes.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require "zeitwerk"
|
2
|
+
require "rubygems"
|
3
|
+
|
4
|
+
module Dryer
|
5
|
+
module Routes
|
6
|
+
VERSION = Gem::Specification::load(
|
7
|
+
"./dryer_routes.gemspec"
|
8
|
+
).version
|
9
|
+
|
10
|
+
def self.loader
|
11
|
+
@loader ||= Zeitwerk::Loader.new.tap do |loader|
|
12
|
+
root = File.expand_path("..", __dir__)
|
13
|
+
loader.tag = "dryer_routes"
|
14
|
+
loader.inflector = Zeitwerk::GemInflector.new("#{root}/dry_routes.rb")
|
15
|
+
loader.push_dir(root)
|
16
|
+
loader.ignore(
|
17
|
+
"#{root}/dry_routes.rb",
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
loader.setup
|
22
|
+
end
|
23
|
+
end
|
data/lib/dryer_routes.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require_relative "./dryer/routes
|
1
|
+
require_relative "./dryer/routes.rb"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryer_routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bernier
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: zeitwerk
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.6'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.6'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rspec
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,15 +106,14 @@ files:
|
|
92
106
|
- LICENSE
|
93
107
|
- README.md
|
94
108
|
- dryer_routes.gemspec
|
109
|
+
- lib/dryer/routes.rb
|
95
110
|
- lib/dryer/routes/build_from_resource.rb
|
96
111
|
- lib/dryer/routes/extract_validated_keys.rb
|
97
112
|
- lib/dryer/routes/hash_object.rb
|
98
|
-
- lib/dryer/routes/registries/create.rb
|
99
113
|
- lib/dryer/routes/registry.rb
|
100
114
|
- lib/dryer/routes/resource_schema.rb
|
101
115
|
- lib/dryer/routes/route.rb
|
102
116
|
- lib/dryer/routes/url_builder.rb
|
103
|
-
- lib/dryer/routes/version.rb
|
104
117
|
- lib/dryer_routes.rb
|
105
118
|
homepage: https://github.com/jbernie2/dryer-routes
|
106
119
|
licenses:
|