soda-ruby 0.2.16 → 0.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soda/client.rb +5 -1
- data/lib/soda/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb57c12f85945c0ba10302b788dc842132144222
|
4
|
+
data.tar.gz: 1695289f0ffa9b4bcd1f40e7393edb1ecd0409cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b79d9a2617dc802c7669ec27e02042c75c7cdcff13eda556171010d0b8eb10f85dfd360ede73ef7a2cebfc17dec38f6cfaca0b7fb7073094661ea203a17601ae
|
7
|
+
data.tar.gz: 8a5d329098bafa0f38c417b2fa750a1fa2065440562b8454d184e3c0abb522f739e1b4d4c4583c42e7df80ea3f1056eb0621190227688986055e1950535624c4
|
data/lib/soda/client.rb
CHANGED
@@ -19,7 +19,11 @@ module SODA
|
|
19
19
|
class Client
|
20
20
|
class << self
|
21
21
|
def generate_user_agent
|
22
|
-
|
22
|
+
if Gem.win_platform?
|
23
|
+
"soda-ruby/#{SODA::VERSION} (Windows; Ruby/#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL})"
|
24
|
+
else
|
25
|
+
"soda-ruby/#{SODA::VERSION} (#{Uname.uname.sysname}/#{Uname.uname.release}; Ruby/#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL})"
|
26
|
+
end
|
23
27
|
end
|
24
28
|
end
|
25
29
|
|
data/lib/soda/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soda-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Metcalf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: 1.3.6
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project: soda-ruby
|
201
|
-
rubygems_version: 2.
|
201
|
+
rubygems_version: 2.2.3
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Ruby for SODA 2.0
|