ripe-db 1.0.0 → 1.0.1

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: 113aa555dbe99a0ec69d2df303a3a4b9bb3c476a
4
- data.tar.gz: d55623b8cd7bb5da0cb7492c2da6314639dfb075
3
+ metadata.gz: 6c3f575fb928e6c68b8218ce2389b27c4788819d
4
+ data.tar.gz: 5bfb461be8de2799b84273334c3f4016695cbf5c
5
5
  SHA512:
6
- metadata.gz: 57b009a09ec3b2165f9097d6f51e79bc7caa490b98f82709e4187cbdb8705ec05afaebff25200b1e6a273b590dc699ed6644d1c3446243b808c450c687246b20
7
- data.tar.gz: 51def3fe9368369d5aa4f9feb966ebb244e5230ba794e3bc77c312dc4a94b18bb4de8d0aceb35293e4f309684d6bf1a2468a53f5542086919cb23596bd7a0113
6
+ metadata.gz: bdeeae4792c9ea0a55deade640e4da580e197c45d6e38811e3e254f54c58df687ec209d4a61402f27b46d486c2b2574e035b8a51305449ce7294b3a6c732d4c9
7
+ data.tar.gz: 353185fb6423e86056abbc534c9f24a1ce32c3bae1fffedcb76eb258632faae44f2a91b205d5882b0e2c98da35ec6246f7edaaa608220fb86609027c1d5154ac
@@ -99,8 +99,6 @@ module RIPE
99
99
  end
100
100
  end
101
101
 
102
- private
103
-
104
102
  def attributes
105
103
  @attributes ||= new? ? {} : @data['attributes']['attribute'].each_with_object({}) do |attr, hash|
106
104
  hash[attr['name']] ||= AttributeSet.new(@client, attr['name'])
@@ -18,7 +18,11 @@ module RIPE
18
18
  end
19
19
 
20
20
  def args
21
- @hash['args'].map { |a| a['value'] }
21
+ if @hash['args'].is_a?(Array)
22
+ @hash['args'].map { |a| a['value'] }
23
+ else
24
+ []
25
+ end
22
26
  end
23
27
 
24
28
  end
@@ -1,3 +1,3 @@
1
1
  module RIPE
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripe-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby library for inteacting with the RIPE database
14
14
  email:
@@ -51,3 +51,4 @@ signing_key:
51
51
  specification_version: 4
52
52
  summary: A Ruby library for inteacting with the RIPE database
53
53
  test_files: []
54
+ has_rdoc: