strum 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -1
- data/lib/strum/service.rb +10 -0
- data/lib/strum/version.rb +1 -1
- data/strum.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c32aa174ec57179db47cb92671ede4105153bb2fa81532503f6a265ffe80c61c
|
4
|
+
data.tar.gz: 0f21b7a52606b8dd0aaf7712398813e61cd321ebf81a5fc4f8ab990771c918c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6412d098f6b302fe1996db462c977de7cfce91353a5cf4aeeaaef65f258b663d6fcdd41aefb1779364e177f651c2c142fc8357978dd52eb5d863a0426ec9f3b
|
7
|
+
data.tar.gz: c94a799ad41c3086922b45aa26908145daf666a4e7c252a24bd43735e60fb49bcdc931ed0bb724ebb1fbf890f0c6bdc7234836e5bff05bfbcec4410f7a295aa1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
strum (0.0.
|
4
|
+
strum (0.0.37)
|
5
5
|
dry-inflector (~> 0.2.0)
|
6
6
|
dry-matcher (~> 0.8.2)
|
7
7
|
thor (~> 0.20)
|
@@ -49,6 +49,9 @@ GEM
|
|
49
49
|
ruby-progressbar (~> 1.7)
|
50
50
|
unicode-display_width (>= 1.4.0, < 1.7)
|
51
51
|
ruby-progressbar (1.10.1)
|
52
|
+
sequel (5.28.0)
|
53
|
+
sequel-annotate (1.4.0)
|
54
|
+
sequel (>= 4)
|
52
55
|
thor (0.20.3)
|
53
56
|
unicode-display_width (1.6.0)
|
54
57
|
|
@@ -61,6 +64,7 @@ DEPENDENCIES
|
|
61
64
|
rake (~> 10.0)
|
62
65
|
rspec (~> 3.0)
|
63
66
|
rubocop (~> 0.76.0)
|
67
|
+
sequel-annotate (~> 1.4.0)
|
64
68
|
strum!
|
65
69
|
|
66
70
|
BUNDLED WITH
|
data/lib/strum/service.rb
CHANGED
@@ -58,6 +58,16 @@ module Strum
|
|
58
58
|
strum_errors
|
59
59
|
end
|
60
60
|
|
61
|
+
def method_missing(method_name, *args, &_block)
|
62
|
+
super unless input[method_name.to_sym]
|
63
|
+
|
64
|
+
args.count.positive? ? public_send(input[method_name.to_sym], args) : input[method_name.to_sym]
|
65
|
+
end
|
66
|
+
|
67
|
+
def respond_to_missing?(method_name, include_private = false)
|
68
|
+
input[method_name.to_sym] || super
|
69
|
+
end
|
70
|
+
|
61
71
|
protected
|
62
72
|
|
63
73
|
attr_accessor :_input, :input, :strum_errors, :outputs
|
data/lib/strum/version.rb
CHANGED
data/strum.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serhiy Nazarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 0.76.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sequel-annotate
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.4.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.4.0
|
125
139
|
description:
|
126
140
|
email:
|
127
141
|
- sn@nazarov.com.ua
|