droplet_kit 1.3.1 → 1.3.2

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: 9e83bcad9c828580fab198e93cdfd32054f8412d
4
- data.tar.gz: ca25aaaa8b3682d74158295c9b00feeb351aba36
3
+ metadata.gz: 498588fe6a580fe13ea56c9b13cf1a14bb430cfd
4
+ data.tar.gz: 0a167fa5f75673dd2a5ca1e9e7f4f97de18c75c8
5
5
  SHA512:
6
- metadata.gz: 29bdb6e62ad6860da3d50f2eb639826b0b36a66cc7c1b8093d31d0c13de6c42af60bbe43e544557a78d1463da226942cd15cf8056fd761dbba1ba11946ac84b4
7
- data.tar.gz: d93ab20999ef71685364b286ece0b15074940b7c663d364edf1a5c262715d836d17b7c978e0d09e783aa1983d2858c21276383d5f164696b5f1c49becae661b2
6
+ metadata.gz: 92c2eba550487f433ada77fdf2580b1f86bd6a434020765056f2cee11d7779ce088d6339ebf31d2c775ed6b9ec4407fa741bfc156c1e34375ffc495ca6e11eda
7
+ data.tar.gz: 2ca05aff1842097c8d12c037ffd7c6fc21a536362da2e44d51c80328239c66bd85e0c86ef464bad8795e034b5ad770fa6dd58f873d65430fb4c87b1e1207a72f
@@ -8,10 +8,11 @@ module DropletKit
8
8
 
9
9
  scoped :read do
10
10
  property :droplet_limit
11
+ property :floating_ip_limit
11
12
  property :email
12
13
  property :uuid
13
14
  property :email_verified
14
15
  end
15
16
  end
16
17
  end
17
- end
18
+ end
@@ -1,8 +1,9 @@
1
1
  module DropletKit
2
2
  class Account < BaseModel
3
3
  attribute :droplet_limit
4
+ attribute :floating_ip_limit
4
5
  attribute :email
5
6
  attribute :uuid
6
7
  attribute :email_verified
7
8
  end
8
- end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module DropletKit
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
@@ -15,6 +15,7 @@ RSpec.describe DropletKit::AccountResource do
15
15
  expect(account_info).to be_kind_of(DropletKit::Account)
16
16
 
17
17
  expect(account_info.droplet_limit).to eq(parsed['account']['droplet_limit'])
18
+ expect(account_info.floating_ip_limit).to eq(parsed['account']['floating_ip_limit'])
18
19
  expect(account_info.email).to eq(parsed['account']['email'])
19
20
  expect(account_info.uuid).to eq(parsed['account']['uuid'])
20
21
  expect(account_info.email_verified).to eq(parsed['account']['email_verified'])
@@ -26,4 +27,4 @@ RSpec.describe DropletKit::AccountResource do
26
27
  let(:action) { :info }
27
28
  end
28
29
  end
29
- end
30
+ end
metadata CHANGED
@@ -1,173 +1,173 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: droplet_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Ross
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-20 00:00:00.000000000 Z
11
+ date: 2015-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.0.3
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.0.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: resource_kit
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.1.4
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: 0.1.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: kartograph
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.2.3
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.2.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>'
59
+ - - ">"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
62
- - - <
62
+ - - "<"
63
63
  - !ruby/object:Gem::Version
64
64
  version: 5.0.0
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - '>'
69
+ - - ">"
70
70
  - !ruby/object:Gem::Version
71
71
  version: '3.0'
72
- - - <
72
+ - - "<"
73
73
  - !ruby/object:Gem::Version
74
74
  version: 5.0.0
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: faraday
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ~>
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: 0.9.1
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ~>
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: 0.9.1
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: bundler
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ~>
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: '1.6'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ~>
100
+ - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '1.6'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rake
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>='
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - '>='
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: rspec
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ~>
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
123
  version: 3.0.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ~>
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: 3.0.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: pry
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - '>='
135
+ - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - '>='
142
+ - - ">="
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: sinatra
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ~>
149
+ - - "~>"
150
150
  - !ruby/object:Gem::Version
151
151
  version: '1.4'
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - ~>
156
+ - - "~>"
157
157
  - !ruby/object:Gem::Version
158
158
  version: '1.4'
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: webmock
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ~>
163
+ - - "~>"
164
164
  - !ruby/object:Gem::Version
165
165
  version: '1.18'
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - ~>
170
+ - - "~>"
171
171
  - !ruby/object:Gem::Version
172
172
  version: '1.18'
173
173
  description: Droplet Kit is the official Ruby library for DigitalOcean's API
@@ -177,9 +177,9 @@ executables: []
177
177
  extensions: []
178
178
  extra_rdoc_files: []
179
179
  files:
180
- - .gitignore
181
- - .rspec
182
- - .travis.yml
180
+ - ".gitignore"
181
+ - ".rspec"
182
+ - ".travis.yml"
183
183
  - CHANGELOG.md
184
184
  - Gemfile
185
185
  - LICENSE.txt
@@ -339,17 +339,17 @@ require_paths:
339
339
  - lib
340
340
  required_ruby_version: !ruby/object:Gem::Requirement
341
341
  requirements:
342
- - - '>='
342
+ - - ">="
343
343
  - !ruby/object:Gem::Version
344
344
  version: 2.0.0
345
345
  required_rubygems_version: !ruby/object:Gem::Requirement
346
346
  requirements:
347
- - - '>='
347
+ - - ">="
348
348
  - !ruby/object:Gem::Version
349
349
  version: '0'
350
350
  requirements: []
351
351
  rubyforge_project:
352
- rubygems_version: 2.0.14
352
+ rubygems_version: 2.4.5
353
353
  signing_key:
354
354
  specification_version: 4
355
355
  summary: Droplet Kit is the official Ruby library for DigitalOcean's API
@@ -439,3 +439,4 @@ test_files:
439
439
  - spec/support/shared_examples/common_errors.rb
440
440
  - spec/support/shared_examples/paginated_endpoint.rb
441
441
  - spec/support/shared_examples/unsuccessful_create.rb
442
+ has_rdoc: