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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWYwNDg5ZWM5ODMyYWI2NDU1MzAzZTM4ZmY3MzBiOTk1M2Q4NjEwZQ==
4
+ YWI0M2U0M2EzYzg2MjI3ZmM5MzdjYjFmZGUyMjcxNDU5MTk0M2Y3OA==
5
5
  data.tar.gz: !binary |-
6
- NjZmYWIzYTFiMzY5Y2Y0ZWZhM2Q1Y2ZkM2JjODY4ZTM2YjM0MWE3Yg==
6
+ Njc1MjIyY2I2ZDViMjE2ZWM1NDdmNWNkMjIxY2JkY2Y3N2E5NDkxMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGU2YWM1N2IzY2U4MDkzNGJkMmY4NThjZDNmYmM4MTJiNjgyZGVjNDg5ZDVi
10
- MWFiNTc1ZTBkZTMxM2E1MWVlZTAyYjA1YmQxN2RjZmEyYzgzYjI4MGNiZjNk
11
- ZTRiNGE4Y2NhMjBlMjYyNGI0N2NmNzY0NWI4OTU3ZTQyZTM2ZmY=
9
+ NTJhMWNiMzMyYTAwZGY4MmExMzkwNjQ1OGYwOGZhM2QyMzVjNjU5ZjlhZWQ1
10
+ ZWJjMTVhMzI2NDM5MGZiYmY4NWYxNjFiY2EyYTZkY2RjYWU4NDljOWI5NDc5
11
+ YjY5N2IzYzFiZDMwYjY5Y2E4MDZmM2RhYjM3MDgzMDliY2Y0NmE=
12
12
  data.tar.gz: !binary |-
13
- NGE0ODM0ZDg3ZDBkNTRhYzdmMmFmMzUwODA1NjRlNjM5ZTVlMTQ1N2VhODE2
14
- NjVhMWIyMzgzNDcwMjg0YzE1ZWE5YjRmYzE3NjUwYjE5NDk3Zjk2ZGNkNzdl
15
- ZDE3NjE1YzBmNzE4ZTQ0NWUwOTVlNWQyM2EyN2U2OWJhMGJhZDg=
13
+ MjgwM2MzNGQ4ZmQ3ZjNhZWZmODMxMWMxNDVmNjRmNGM4OGQyMDk1YzMzZjM1
14
+ ZTA4NThhNWU5MmI5OGNjYzlkNTRiNjIxNzdmNTEyYTg5NzZjMjAwZGNkMjBi
15
+ NTU5MWQyODk4MTk3ZDRhOWNhNTI0NjZmMzNjNTc4OGI1N2QxN2U=
@@ -32,10 +32,9 @@ module Totango
32
32
  end
33
33
 
34
34
  def custom_param_name(arg)
35
- return "sdr_u.name" if arg == :user_name
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
- ["sdr_o", arg].join(".").to_sym
37
+ ['sdr_o', arg].join('.').to_sym
39
38
  end
40
39
 
41
40
  def register_named_arg!(name)
@@ -1,3 +1,3 @@
1
1
  module Totango
2
- VERSION = "0.1.5" unless defined?(::Totango::VERSION)
2
+ VERSION = "0.1.6" unless defined?(::Totango::VERSION)
3
3
  end
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.5
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-04 00:00:00.000000000 Z
12
+ date: 2014-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry