rubango 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/totango/arg_parser.rb +2 -3
- data/lib/totango/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWI0M2U0M2EzYzg2MjI3ZmM5MzdjYjFmZGUyMjcxNDU5MTk0M2Y3OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Njc1MjIyY2I2ZDViMjE2ZWM1NDdmNWNkMjIxY2JkY2Y3N2E5NDkxMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTJhMWNiMzMyYTAwZGY4MmExMzkwNjQ1OGYwOGZhM2QyMzVjNjU5ZjlhZWQ1
|
10
|
+
ZWJjMTVhMzI2NDM5MGZiYmY4NWYxNjFiY2EyYTZkY2RjYWU4NDljOWI5NDc5
|
11
|
+
YjY5N2IzYzFiZDMwYjY5Y2E4MDZmM2RhYjM3MDgzMDliY2Y0NmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjgwM2MzNGQ4ZmQ3ZjNhZWZmODMxMWMxNDVmNjRmNGM4OGQyMDk1YzMzZjM1
|
14
|
+
ZTA4NThhNWU5MmI5OGNjYzlkNTRiNjIxNzdmNTEyYTg5NzZjMjAwZGNkMjBi
|
15
|
+
NTU5MWQyODk4MTk3ZDRhOWNhNTI0NjZmMzNjNTc4OGI1N2QxN2U=
|
data/lib/totango/arg_parser.rb
CHANGED
@@ -32,10 +32,9 @@ module Totango
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def custom_param_name(arg)
|
35
|
-
return
|
36
|
-
return "sdr_u.ofid" if arg == :user_ofid
|
35
|
+
return ['sdr_u', arg.to_s.split('_')[1..-1].join('_')].join('.') if arg.to_s .split('_').first == 'user'
|
37
36
|
|
38
|
-
[
|
37
|
+
['sdr_o', arg].join('.').to_sym
|
39
38
|
end
|
40
39
|
|
41
40
|
def register_named_arg!(name)
|
data/lib/totango/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubango
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jonah honeyman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
12
|
+
date: 2014-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|