nne_client 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/lib/nne_client/result_set.rb +3 -3
- data/lib/nne_client/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e5fe6a200c368916d12897dfff4abc2fbbcba2
|
4
|
+
data.tar.gz: c449796de6ec8015c1ad39c73431ffd30b2d2304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bbd7bbb4227213d4a362a57534c6f2bb0937dbdf7913c7f354650591508a14923f35f6bc9278133d63ce17e545ae03b99d9aab1488d843c926327a9631f3033
|
7
|
+
data.tar.gz: 22b126ac1ce3d88190509c481b2a0be0ec97e2041852a980062063e4215822ee92e1f9163158d0648fd8320d57a14ead71b7542b749eba7df6277a6387c2329f
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.2
|
@@ -23,20 +23,20 @@ module NNEClient
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def total
|
26
|
-
window
|
26
|
+
window.fetch(:total, 0).to_i
|
27
27
|
end
|
28
28
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def window
|
32
|
-
to_hash
|
32
|
+
to_hash.fetch(:window, {})
|
33
33
|
end
|
34
34
|
|
35
35
|
def company_basic
|
36
36
|
if to_hash[:company_basic].kind_of?(Hash)
|
37
37
|
[to_hash[:company_basic]]
|
38
38
|
else
|
39
|
-
to_hash[:company_basic]
|
39
|
+
Array(to_hash[:company_basic])
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
data/lib/nne_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nne_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Atzen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
@@ -102,6 +102,7 @@ extensions: []
|
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
|
+
- ".ruby-version"
|
105
106
|
- Gemfile
|
106
107
|
- History.md
|
107
108
|
- LICENSE
|
@@ -173,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
174
|
version: '0'
|
174
175
|
requirements: []
|
175
176
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
177
|
+
rubygems_version: 2.4.5
|
177
178
|
signing_key:
|
178
179
|
specification_version: 4
|
179
180
|
summary: A small library easing integration with NNE
|