pasrb 0.0.5 → 0.0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -1
- data/lib/pas.rb +7 -7
- data/pasrb.gemspec +2 -2
- metadata +4 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
data/lib/pas.rb
CHANGED
@@ -215,13 +215,13 @@ class PAS
|
|
215
215
|
case arg
|
216
216
|
when Array
|
217
217
|
arg.map { |elem| symbolize_keys elem }
|
218
|
-
when Hash
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
}
|
218
|
+
when Hash
|
219
|
+
arg.inject({}) { |result, kv|
|
220
|
+
k = kv[0].is_a?(String) ? kv[0].to_sym : kv[0]
|
221
|
+
v = symbolize_keys kv[1]
|
222
|
+
result[k] = v
|
223
|
+
result
|
224
|
+
}
|
225
225
|
else
|
226
226
|
arg
|
227
227
|
end
|
data/pasrb.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{pasrb}
|
5
|
-
s.version = "0.0.5"
|
5
|
+
s.version = "0.0.5.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Markiz"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-11-02}
|
10
10
|
s.description = %q{PokerAffiliateSupport api querying via ruby}
|
11
11
|
s.email = %q{markizko@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/pas.rb"]
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pasrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 89
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 5
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 0.0.5.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Markiz
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-
|
19
|
+
date: 2010-11-02 00:00:00 +03:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|