profitbricks-sdk-ruby 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -34
- data/lib/profitbricks/profitbricks.rb +2 -1
- data/lib/profitbricks/share.rb +4 -4
- data/lib/profitbricks/usermanagement.rb +2 -2
- data/lib/profitbricks/version.rb +1 -1
- data/spec/group_spec.rb +11 -11
- data/spec/ipblock_spec.rb +3 -1
- data/spec/resource_spec.rb +2 -3
- data/spec/share_spec.rb +9 -13
- data/spec/snapshot_spec.rb +1 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/support/resource_helper.rb +9 -10
- data/spec/usermanagement_spec.rb +14 -16
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d7fa788e9378707767f815bb014e40b1f9492ec
|
4
|
+
data.tar.gz: 64b09f791110bf6131ea60e313378c4b89d8af5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d785cc0360f4c9d034c684fb642f514eeaa78cdc2f4eb7f09f1111a3e3ce631ece2437c2c1da3892a0eb9ce4d677d719c4bcf463b54e33380313a6f618ce1577
|
7
|
+
data.tar.gz: 3586c46d8f39622fc719036c0956912b5ed80eb1e74f4248e80f9129d1f47e363711b29625128bd2af5ee4f68686aa6815c906716278c73fec0fe9214afcc6e6
|
data/README.md
CHANGED
@@ -1666,17 +1666,17 @@ The following table describes the request arguments:
|
|
1666
1666
|
| Name | Required | Type | Description |
|
1667
1667
|
|---|:-:|---|---|
|
1668
1668
|
| name | **yes** | string | The ID of the group. |
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1669
|
+
| createDataCenter | no | bool | Indicates if the group is allowed to create virtual data centers. |
|
1670
|
+
| createSnapshot | no | bool | Indicates if the group is allowed to create snapshots. |
|
1671
|
+
| reserveIp | no | bool | Indicates if the group is allowed to reserve IP addresses. |
|
1672
|
+
| accessActivityLog | no | bool | Indicates if the group is allowed to access activity log. |
|
1673
1673
|
|
1674
1674
|
group = {
|
1675
1675
|
name: 'my group',
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1676
|
+
createDataCenter: true,
|
1677
|
+
createSnapshot: true,
|
1678
|
+
reserveIp: true,
|
1679
|
+
accessActivityLog: true
|
1680
1680
|
}
|
1681
1681
|
|
1682
1682
|
response = ProfitBricks::Group.create(group)
|
@@ -1693,15 +1693,15 @@ The following table describes the request arguments:
|
|
1693
1693
|
|---|:-:|---|---|
|
1694
1694
|
| group_id | **yes** | string | The ID of the group. |
|
1695
1695
|
| name | **yes** | string | The ID of the group. |
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1696
|
+
| createDataCenter | no | bool | Indicates if the group is allowed to create virtual data centers. |
|
1697
|
+
| createSnapshot | no | bool | Indicates if the group is allowed to create snapshots. |
|
1698
|
+
| reserveIp | no | bool | Indicates if the group is allowed to reserve IP addresses. |
|
1699
|
+
| accessActivityLog | no | bool | Indicates if the group is allowed to access activity log. |
|
1700
1700
|
|
1701
1701
|
group = ProfitBricks::Group.get(group_id)
|
1702
1702
|
group = group.update(
|
1703
|
-
|
1704
|
-
|
1703
|
+
name: 'my group RENAME',
|
1704
|
+
createDataCenter: false
|
1705
1705
|
)
|
1706
1706
|
|
1707
1707
|
---
|
@@ -1774,15 +1774,14 @@ The following table describes the request arguments:
|
|
1774
1774
|
|---|:-:|---|---|
|
1775
1775
|
| group_id | **yes** | string | The ID of the group. |
|
1776
1776
|
| resource_id | **yes** | string | The ID of the resource. |
|
1777
|
-
|
|
1778
|
-
|
|
1777
|
+
| editPrivilege | no | string | Indicates that the group has permission to edit privileges on the resource. |
|
1778
|
+
| sharePrivilege | no | string | Indicates that the group has permission to share the resource. |
|
1779
1779
|
|
1780
1780
|
share = {
|
1781
|
-
|
1782
|
-
|
1783
|
-
resource_id = datacenter_id
|
1781
|
+
editPrivilege: true,
|
1782
|
+
sharePrivilege: true
|
1784
1783
|
}
|
1785
|
-
response = ProfitBricks::Share.create(group_id,share)
|
1784
|
+
response = ProfitBricks::Share.create(group_id, resource_id, share)
|
1786
1785
|
|
1787
1786
|
---
|
1788
1787
|
|
@@ -1803,11 +1802,11 @@ The following table describes the options arguments:
|
|
1803
1802
|
|
1804
1803
|
| Name | Required | Type | Description |
|
1805
1804
|
|---|:-:|---|---|
|
1806
|
-
|
|
1807
|
-
|
|
1805
|
+
| editPrivilege | no | string | Indicates that the group has permission to edit privileges on the resource. |
|
1806
|
+
| sharePrivilege | no | string | Indicates that the group has permission to share the resource. |
|
1808
1807
|
|
1809
|
-
share = ProfitBricks::Share.update(group_id,
|
1810
|
-
|
1808
|
+
share = ProfitBricks::Share.update(group_id, resource_id, {
|
1809
|
+
editPrivilege: false
|
1811
1810
|
})
|
1812
1811
|
|
1813
1812
|
---
|
@@ -1821,7 +1820,7 @@ Removes a resource share from a group.
|
|
1821
1820
|
| group_id | **yes** | string | The ID of the group. |
|
1822
1821
|
| resource_id | **yes** | string | The ID of the resource. |
|
1823
1822
|
|
1824
|
-
ProfitBricks::Share.delete(group_id,
|
1823
|
+
ProfitBricks::Share.delete(group_id, resource_id)
|
1825
1824
|
|
1826
1825
|
---
|
1827
1826
|
|
@@ -1878,7 +1877,7 @@ The following table describes the request arguments:
|
|
1878
1877
|
| email | **yes** | bool | An e-mail address for the user. |
|
1879
1878
|
| password | **yes** | bool | A password for the user. |
|
1880
1879
|
| administrator | no | bool | Assigns the user have administrative rights. |
|
1881
|
-
|
|
1880
|
+
| forceSecAuth | no | bool | Indicates if secure (two-factor) authentication should be forced for the user. |
|
1882
1881
|
|
1883
1882
|
user = {
|
1884
1883
|
firstname: 'John',
|
@@ -1886,7 +1885,7 @@ The following table describes the request arguments:
|
|
1886
1885
|
email: 'no-reply@example.com',
|
1887
1886
|
password: 'secretpassword123',
|
1888
1887
|
administrator: 'administrator',
|
1889
|
-
|
1888
|
+
forceSecAuth: false
|
1890
1889
|
}
|
1891
1890
|
|
1892
1891
|
response = ProfitBricks::User.create(user)
|
@@ -1906,15 +1905,15 @@ The following table describes the request arguments:
|
|
1906
1905
|
| lastname | **yes** | bool | A name for the user. |
|
1907
1906
|
| email | **yes** | bool | An e-mail address for the user. |
|
1908
1907
|
| administrator | **yes** | bool | Assigns the user have administrative rights. |
|
1909
|
-
|
|
1908
|
+
| forceSecAuth | **yes** | bool | Indicates if secure (two-factor) authentication should be forced for the user. |
|
1910
1909
|
|
1911
1910
|
user = ProfitBricks::User.get(user_id)
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1911
|
+
response = user.update(
|
1912
|
+
administrator: false,
|
1913
|
+
firstname: 'John',
|
1914
|
+
lastname: 'Doe',
|
1915
|
+
email: 'no-reply@example.com',
|
1916
|
+
forceSecAuth: false
|
1918
1917
|
)
|
1919
1918
|
|
1920
1919
|
---
|
@@ -22,7 +22,8 @@ module ProfitBricks
|
|
22
22
|
user: ProfitBricks::Config.username,
|
23
23
|
password: ProfitBricks::Config.password,
|
24
24
|
debug: ProfitBricks::Config.debug,
|
25
|
-
omit_default_port: true
|
25
|
+
omit_default_port: true,
|
26
|
+
connect_timeout: 360
|
26
27
|
}
|
27
28
|
|
28
29
|
@client = Excon.new(url, params)
|
data/lib/profitbricks/share.rb
CHANGED
@@ -14,11 +14,11 @@ module ProfitBricks
|
|
14
14
|
end
|
15
15
|
|
16
16
|
# Update the share.
|
17
|
-
def update(group_id,resource_id
|
17
|
+
def update(group_id, resource_id, options = {})
|
18
18
|
response = ProfitBricks.request(
|
19
19
|
method: :put,
|
20
20
|
path: "/um/groups/#{group_id}/shares/#{resource_id}",
|
21
|
-
expects:
|
21
|
+
expects: 202,
|
22
22
|
body: { properties: options }.to_json
|
23
23
|
)
|
24
24
|
|
@@ -27,10 +27,10 @@ module ProfitBricks
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Create a new share.
|
30
|
-
def create(group_id, options = {})
|
30
|
+
def create(group_id, resource_id, options = {})
|
31
31
|
response = ProfitBricks.request(
|
32
32
|
method: :post,
|
33
|
-
path: "/um/groups/#{group_id}/shares/#{
|
33
|
+
path: "/um/groups/#{group_id}/shares/#{resource_id}",
|
34
34
|
expects: 202,
|
35
35
|
body: { properties: options}.to_json
|
36
36
|
)
|
@@ -28,8 +28,8 @@ module ProfitBricks
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# Create a new share.
|
31
|
-
def create_share(group_id, options = {})
|
32
|
-
ProfitBricks::Share.create(group_id, options)
|
31
|
+
def create_share(group_id, resource_id, options = {})
|
32
|
+
ProfitBricks::Share.create(group_id, resource_id, options)
|
33
33
|
end
|
34
34
|
|
35
35
|
# List all groups.
|
data/lib/profitbricks/version.rb
CHANGED
data/spec/group_spec.rb
CHANGED
@@ -18,10 +18,10 @@ describe ProfitBricks::Group do
|
|
18
18
|
expect(@group.id).to match(options[:uuid])
|
19
19
|
expect(@group.type).to eq('group')
|
20
20
|
expect(@group.properties['name']).to eq('Ruby SDK Test')
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
expect(@group.properties['createDataCenter']).to be true
|
22
|
+
expect(@group.properties['createSnapshot']).to be true
|
23
|
+
expect(@group.properties['reserveIp']).to be true
|
24
|
+
expect(@group.properties['accessActivityLog']).to be true
|
25
25
|
end
|
26
26
|
|
27
27
|
it '#list' do
|
@@ -35,10 +35,10 @@ describe ProfitBricks::Group do
|
|
35
35
|
group = ProfitBricks::Group.get(@group.id)
|
36
36
|
expect(@group.type).to eq('group')
|
37
37
|
expect(@group.properties['name']).to eq('Ruby SDK Test')
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
expect(@group.properties['createDataCenter']).to be true
|
39
|
+
expect(@group.properties['createSnapshot']).to be true
|
40
|
+
expect(@group.properties['reserveIp']).to be true
|
41
|
+
expect(@group.properties['accessActivityLog']).to be true
|
42
42
|
end
|
43
43
|
|
44
44
|
it '#get failure' do
|
@@ -47,13 +47,13 @@ describe ProfitBricks::Group do
|
|
47
47
|
|
48
48
|
it '#update' do
|
49
49
|
group = @group.update(
|
50
|
-
|
51
|
-
|
50
|
+
name: 'Ruby SDK Test - RENAME',
|
51
|
+
createDataCenter: false
|
52
52
|
)
|
53
53
|
|
54
54
|
expect(@group.type).to eq('group')
|
55
55
|
expect(@group.properties['name']).to eq('Ruby SDK Test - RENAME')
|
56
|
-
|
56
|
+
expect(@group.properties['createDataCenter']).to be false
|
57
57
|
end
|
58
58
|
|
59
59
|
it '#delete' do
|
data/spec/ipblock_spec.rb
CHANGED
@@ -51,7 +51,9 @@ describe ProfitBricks::IPBlock do
|
|
51
51
|
|
52
52
|
# alias: delete
|
53
53
|
it '#release' do
|
54
|
-
|
54
|
+
opts = options[:ipblock]
|
55
|
+
opts[:size] = 1
|
56
|
+
ipblock = ProfitBricks::IPBlock.reserve(opts)
|
55
57
|
|
56
58
|
expect(ipblock.release).to be_kind_of(Hash)
|
57
59
|
end
|
data/spec/resource_spec.rb
CHANGED
data/spec/share_spec.rb
CHANGED
@@ -9,9 +9,7 @@ describe ProfitBricks::Share do
|
|
9
9
|
@group = ProfitBricks::Group.create(options[:group])
|
10
10
|
@group.wait_for { ready? }
|
11
11
|
|
12
|
-
share = options[:share]
|
13
|
-
share[:resource_id] = @datacenter.id
|
14
|
-
@share = ProfitBricks::Share.create(@group.id,share)
|
12
|
+
@share = ProfitBricks::Share.create(@group.id, @datacenter.id, options[:share])
|
15
13
|
@share.wait_for { ready? }
|
16
14
|
end
|
17
15
|
|
@@ -21,15 +19,13 @@ describe ProfitBricks::Share do
|
|
21
19
|
end
|
22
20
|
|
23
21
|
it '#create failure' do
|
24
|
-
|
25
|
-
share[:resource_id]= @datacenter.id
|
26
|
-
expect { ProfitBricks::Share.create(@group.id,share) }.to raise_error(Excon::Error::UnprocessableEntity)
|
22
|
+
expect { ProfitBricks::Share.create(@group.id, options[:bad_id], {}) }.to raise_error(Excon::Error::NotFound)
|
27
23
|
end
|
28
24
|
|
29
25
|
it '#create' do
|
30
26
|
expect(@share.type).to eq('resource')
|
31
|
-
|
32
|
-
|
27
|
+
expect(@share.properties['editPrivilege']).to be true
|
28
|
+
expect(@share.properties['sharePrivilege']).to be true
|
33
29
|
end
|
34
30
|
|
35
31
|
it '#list' do
|
@@ -43,21 +39,21 @@ describe ProfitBricks::Share do
|
|
43
39
|
share = ProfitBricks::Share.get(@group.id,@datacenter.id)
|
44
40
|
expect(share.id).to match(options[:uuid])
|
45
41
|
expect(share.type).to eq('resource')
|
46
|
-
|
47
|
-
|
42
|
+
expect(share.properties['editPrivilege']).to be true
|
43
|
+
expect(share.properties['sharePrivilege']).to be true
|
48
44
|
end
|
49
45
|
|
50
46
|
it '#get failure' do
|
51
|
-
expect { ProfitBricks::Share.get(@group.id,options[:bad_id]) }.to raise_error(Excon::Error::NotFound)
|
47
|
+
expect { ProfitBricks::Share.get(@group.id, options[:bad_id]) }.to raise_error(Excon::Error::NotFound)
|
52
48
|
end
|
53
49
|
|
54
50
|
it '#update' do
|
55
51
|
share = ProfitBricks::Share.update(@group.id,@datacenter.id,{
|
56
|
-
|
52
|
+
editPrivilege: false
|
57
53
|
})
|
58
54
|
|
59
55
|
expect(share.type).to eq('resource')
|
60
|
-
|
56
|
+
expect(share.properties['editPrivilege']).to be false
|
61
57
|
end
|
62
58
|
|
63
59
|
it '#delete' do
|
data/spec/snapshot_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -191,26 +191,25 @@ module Helpers
|
|
191
191
|
},
|
192
192
|
group: {
|
193
193
|
name: 'Ruby SDK Test',
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
194
|
+
createDataCenter: true,
|
195
|
+
createSnapshot: true,
|
196
|
+
reserveIp: true,
|
197
|
+
accessActivityLog: true
|
198
198
|
},
|
199
199
|
bad_group: {
|
200
|
-
|
200
|
+
createDataCenter: true
|
201
201
|
},
|
202
202
|
share: {
|
203
|
-
|
204
|
-
|
205
|
-
share_privilege: 'true'
|
203
|
+
editPrivilege: true,
|
204
|
+
sharePrivilege: true
|
206
205
|
},
|
207
206
|
user: {
|
208
207
|
firstname: 'John',
|
209
208
|
lastname: 'Doe',
|
210
209
|
email: 'no-reply@example.com',
|
211
210
|
password: 'secretpassword123',
|
212
|
-
administrator:
|
213
|
-
|
211
|
+
administrator: true,
|
212
|
+
forceSecAuth: false
|
214
213
|
},
|
215
214
|
bad_user: {
|
216
215
|
firstname: 'Jane',
|
data/spec/usermanagement_spec.rb
CHANGED
@@ -9,9 +9,7 @@ describe ProfitBricks::UserManagement do
|
|
9
9
|
@group = ProfitBricks::UserManagement.create_group(options[:group])
|
10
10
|
@group.wait_for { ready? }
|
11
11
|
|
12
|
-
share = options[:share]
|
13
|
-
share[:resource_id] = @datacenter.id
|
14
|
-
@share = ProfitBricks::Share.create(@group.id,share)
|
12
|
+
@share = ProfitBricks::Share.create(@group.id, @datacenter.id, options[:share])
|
15
13
|
@share.wait_for { ready? }
|
16
14
|
|
17
15
|
@email = "no-reply#{Time.now.to_i}@example.com"
|
@@ -24,7 +22,7 @@ describe ProfitBricks::UserManagement do
|
|
24
22
|
after(:all) do
|
25
23
|
ProfitBricks::Share.delete(@group.id,@datacenter.id)
|
26
24
|
@group.delete()
|
27
|
-
|
25
|
+
@user.delete()
|
28
26
|
@datacenter.delete()
|
29
27
|
end
|
30
28
|
|
@@ -36,10 +34,10 @@ describe ProfitBricks::UserManagement do
|
|
36
34
|
expect(@group.id).to match(options[:uuid])
|
37
35
|
expect(@group.type).to eq('group')
|
38
36
|
expect(@group.properties['name']).to eq('Ruby SDK Test')
|
39
|
-
expect(@group.properties['createDataCenter']).to be
|
40
|
-
expect(@group.properties['createSnapshot']).to be
|
41
|
-
expect(@group.properties['reserveIp']).to be
|
42
|
-
expect(@group.properties['accessActivityLog']).to be
|
37
|
+
expect(@group.properties['createDataCenter']).to be true
|
38
|
+
expect(@group.properties['createSnapshot']).to be true
|
39
|
+
expect(@group.properties['reserveIp']).to be true
|
40
|
+
expect(@group.properties['accessActivityLog']).to be true
|
43
41
|
end
|
44
42
|
|
45
43
|
it '#list group' do
|
@@ -52,17 +50,17 @@ describe ProfitBricks::UserManagement do
|
|
52
50
|
group = ProfitBricks::UserManagement.get_group(@group.id)
|
53
51
|
expect(group.type).to eq('group')
|
54
52
|
expect(group.properties['name']).to eq('Ruby SDK Test')
|
55
|
-
expect(group.properties['createDataCenter']).to be
|
56
|
-
expect(group.properties['createSnapshot']).to be
|
57
|
-
expect(group.properties['reserveIp']).to be
|
58
|
-
expect(group.properties['accessActivityLog']).to be
|
53
|
+
expect(group.properties['createDataCenter']).to be true
|
54
|
+
expect(group.properties['createSnapshot']).to be true
|
55
|
+
expect(group.properties['reserveIp']).to be true
|
56
|
+
expect(group.properties['accessActivityLog']).to be true
|
59
57
|
end
|
60
58
|
|
61
59
|
it '#create share' do
|
62
60
|
expect(@share.id).to match(options[:uuid])
|
63
61
|
expect(@share.type).to eq('resource')
|
64
|
-
|
65
|
-
|
62
|
+
expect(@share.properties['editPrivilege']).to be true
|
63
|
+
expect(@share.properties['sharePrivilege']).to be true
|
66
64
|
end
|
67
65
|
|
68
66
|
it '#list share' do
|
@@ -76,8 +74,8 @@ describe ProfitBricks::UserManagement do
|
|
76
74
|
share = ProfitBricks::UserManagement.get_share(@group.id,@share.id)
|
77
75
|
expect(share.id).to match(options[:uuid])
|
78
76
|
expect(share.type).to eq('resource')
|
79
|
-
|
80
|
-
|
77
|
+
expect(share.properties['editPrivilege']).to be true
|
78
|
+
expect(share.properties['sharePrivilege']).to be true
|
81
79
|
end
|
82
80
|
|
83
81
|
it '#create user' do
|
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: profitbricks-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan Devenport
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.44'
|
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: '0.44'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '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: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.6'
|
48
48
|
type: :development
|
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: '1.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.4'
|
62
62
|
type: :development
|
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: '10.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '3.2'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.2'
|
83
83
|
description: The ProfitBricks SDK for Ruby provides integration with the ProfitBricks
|
@@ -88,7 +88,7 @@ executables: []
|
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
|
-
-
|
91
|
+
- .gitignore
|
92
92
|
- Gemfile
|
93
93
|
- LICENSE.txt
|
94
94
|
- README.md
|
@@ -152,17 +152,17 @@ require_paths:
|
|
152
152
|
- lib
|
153
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
|
-
- -
|
155
|
+
- - '>='
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
requirements:
|
160
|
-
- -
|
160
|
+
- - '>='
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.
|
165
|
+
rubygems_version: 2.0.14
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: Official ProfitBricks SDK for Ruby
|