infobase 1.1.0 → 1.1.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: 14bcf51e33c14d629c7de37d387b63d20eb47b9f
4
- data.tar.gz: e2b5143f86d69be05beebf49733581d8fafc7097
3
+ metadata.gz: 5366607d0865c206e67f2f8d1ce95dcda1d7fd67
4
+ data.tar.gz: b9478aace39f52a1a5f18a1264864c666bde8430
5
5
  SHA512:
6
- metadata.gz: 9db033f9c755ce429bc40a0670f16808c79b14b3beb54da86a8bffbcee63b301f7e5e64b97926b96f2e9f78502f594dd50930d37b002708683579f4d8bd4d755
7
- data.tar.gz: c309bacf3b9a54c0ebcd3b262445f163a9d42c8eec67f40a89ffd3f51c9d97946cf89519c27568b3fe2c34b05a030bc0b364f1cf6791805a2abfd9b764c33d1d
6
+ metadata.gz: 51d77173f21f3b13434c3584408b8bb100504f22469ba7bb44bad2ee44a0990e50e6515bc5242b9dd75841b83aaf67278e437db88fdca707e0e782369e3d4160
7
+ data.tar.gz: aef2a846dbe8e4f87c1e70b295f70a33cedbe477240537e0f4ebfee2e955511be41a34b7f06a8f5421274b7cef94fc933411149146968c1d19d5d50b73503082
data/lib/infobase/base.rb CHANGED
@@ -96,7 +96,8 @@ module Infobase
96
96
  if json[singular_name]
97
97
  new(json[singular_name])
98
98
  else
99
- json[plural_name].collect { |hash| new(hash) }
99
+ json[plural_name] = json[plural_name].collect { |hash| new(hash) }
100
+ json
100
101
  end
101
102
  when 400
102
103
  raise RestClient::BadRequest, response
@@ -1,4 +1,4 @@
1
1
  module Infobase
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infobase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-25 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.6.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.6.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: oj
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: retryable-rb
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.1.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.1.0
69
69
  description: This gem wraps an API for the Infobase.
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
76
+ - ".gitignore"
77
77
  - Gemfile
78
78
  - LICENSE
79
79
  - README.md
@@ -99,17 +99,17 @@ require_paths:
99
99
  - lib
100
100
  required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>='
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.2.1
112
+ rubygems_version: 2.4.5
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Push and pull data from the Infobase