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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5aa05aefc109675f720c0c49bb630b20285a0e6b
4
- data.tar.gz: eeb04d5d30751dfc980161c8bf509dd1e2107069
3
+ metadata.gz: 25e5fe6a200c368916d12897dfff4abc2fbbcba2
4
+ data.tar.gz: c449796de6ec8015c1ad39c73431ffd30b2d2304
5
5
  SHA512:
6
- metadata.gz: 9d2104a8002b0e65cb9a2a6a09b28b47f207d68583a1cc05a4a1d88a9f4c222e3499fe333dac275f12d2863f5d08a618b87db71a9f5c8b285360e6a5dcbd5c94
7
- data.tar.gz: 19700d526c1863d9704002ac8f8194bf2042af609e399d2a364549f5045966b17c6d8c6563ee11277c9da1364864acffcd7c65d898bad0caeb8a14ae8de885e7
6
+ metadata.gz: 1bbd7bbb4227213d4a362a57534c6f2bb0937dbdf7913c7f354650591508a14923f35f6bc9278133d63ce17e545ae03b99d9aab1488d843c926327a9631f3033
7
+ data.tar.gz: 22b126ac1ce3d88190509c481b2a0be0ec97e2041852a980062063e4215822ee92e1f9163158d0648fd8320d57a14ead71b7542b749eba7df6277a6387c2329f
@@ -0,0 +1 @@
1
+ 2.2.2
@@ -23,20 +23,20 @@ module NNEClient
23
23
  end
24
24
 
25
25
  def total
26
- window[:total].to_i
26
+ window.fetch(:total, 0).to_i
27
27
  end
28
28
 
29
29
  private
30
30
 
31
31
  def window
32
- to_hash[:window]
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
@@ -1,3 +1,3 @@
1
1
  module NNEClient
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
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.10
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: 2014-12-30 00:00:00.000000000 Z
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.2.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