dryer_routes 0.0.1 → 0.1.0
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 +2 -2
- metadata +16 -3
- data/lib/dryer/routes/simple_service.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4ab11a10ae2c4b6cdfe2c82e054e1e9ef730ff3bf10c123bb0dfe8bbab05b2
|
4
|
+
data.tar.gz: 2d3f288428329f0c3b8f42f52fc0aead1830db85bc4ec02919bed1ed303ec877
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80149658ca6548e6f20eec62f6b8aef9678b83d8facc163e9107a04b18f0b1094f6c36055bca64d43a3667a7f608930769a9d4ea6be87f4697e6289883eaad39
|
7
|
+
data.tar.gz: f814d934d8102e65e29f80d78df36068c63342d1b33bc3a0c5c3805bfaffaecb2cac7624394a14a93a3118359404fa4a7d0bce1cd0ff2386b0aa11fc7a4d4913
|
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.0
|
3
|
+
spec.version = "0.1.0"
|
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'
|
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
]
|
25
25
|
spec.add_dependency "dry-validation", "~> 1.10"
|
26
26
|
spec.add_dependency "dry-types", "~> 1.7"
|
27
|
+
spec.add_dependency "dryer_services", "~> 1.0"
|
27
28
|
spec.add_development_dependency "rspec", "~> 3.10"
|
28
29
|
spec.add_development_dependency "debug", "~> 1.8"
|
29
30
|
end
|
@@ -1,9 +1,9 @@
|
|
1
|
-
require_relative "./simple_service"
|
2
1
|
require_relative "./route"
|
2
|
+
require "dryer_services"
|
3
3
|
|
4
4
|
module Dryer
|
5
5
|
module Routes
|
6
|
-
class BuildFromResource < SimpleService
|
6
|
+
class BuildFromResource < Dryer::Services::SimpleService
|
7
7
|
def initialize(resource)
|
8
8
|
@resource = resource
|
9
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryer_routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Bernier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-validation
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: dryer_services
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +98,6 @@ files:
|
|
84
98
|
- lib/dryer/routes/registry.rb
|
85
99
|
- lib/dryer/routes/resource_schema.rb
|
86
100
|
- lib/dryer/routes/route.rb
|
87
|
-
- lib/dryer/routes/simple_service.rb
|
88
101
|
- lib/dryer/routes/version.rb
|
89
102
|
- lib/dryer_routes.rb
|
90
103
|
homepage: https://github.com/jbernie2/dryer-routes
|