declarative_mapper 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/module_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9cc46c045e5764992d7b1d32bcb3592b7ba9c5395c3fab5b4310235ea034d99
|
4
|
+
data.tar.gz: 3b71e5d8bd29438990e45658072cc0fbc1626f7c7bf81f3b8a96dbece9985b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30b6ddb1acec922cd238a5d84afd8dae98ebc3939661442df68d1bb41b50bb4bf4669b068dbd9a11601ddc43cc331d5db518e699fb4678c45022719ca61f7322
|
7
|
+
data.tar.gz: 13e3e1545dd01dbd12108884fa103338b7a7be64b80a882ebd7aca0b2ec2f158522d13b9f5549957609e057c38e3ef9d8ab6d11d912e972b986e64c210b6f1c9
|
data/lib/module_helper.rb
CHANGED
@@ -8,7 +8,7 @@ module ModuleHelper
|
|
8
8
|
def self.parse_signature(signature, client_name=nil, table_name=nil, field_name=nil)
|
9
9
|
match = signature.match(/^(.*)\((.*)\)/)
|
10
10
|
|
11
|
-
result = {arguments: match[2].
|
11
|
+
result = {arguments: match[2].gsub(/,\s+/, ',').split(',')}
|
12
12
|
|
13
13
|
if shared_method?(signature)
|
14
14
|
path = match[1].split('/')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: declarative_mapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nemytchenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-12-
|
12
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|