linodeapi 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circle-ruby +4 -3
- data/.prospectus +5 -19
- data/.rubocop.yml +0 -3
- data/.travis.yml +10 -0
- data/README.md +1 -2
- data/dev/spec.yml +136 -13
- data/lib/linodeapi/raw.rb +13 -1
- data/lib/linodeapi/version.rb +3 -0
- data/linodeapi.gemspec +14 -9
- metadata +30 -30
- data/circle.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 55589e93acb1d39df766eac64b53b0f2845b8ce25357b3acc0e09897de16cc2e
|
4
|
+
data.tar.gz: aa5482dea5e4bed1276afaf28438a765023842f5cd1b0ed11fc36dfe4d8268f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 601a98a99306397972c651d6ddc04dc22d511487db7530ef54811d4357d3826455f3f6312e3ca528e88a1bf910d5870dca87b19e48e1f7220c448e6e7f8c5dcb
|
7
|
+
data.tar.gz: 187464a934a34f6dee80fca9c09682722e64a517e257f6b8dc5af2601fa180a9dafee5b516f0eb4f4d43efb7dc0d4c050e62de688d4eab94d42d5102c7516a15
|
data/.circle-ruby
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
2.
|
2
|
-
2.3
|
3
|
-
2.
|
1
|
+
2.6.1
|
2
|
+
2.5.3
|
3
|
+
2.4.5
|
4
|
+
2.3.8
|
data/.prospectus
CHANGED
@@ -1,25 +1,11 @@
|
|
1
|
-
Prospectus.extra_dep('file', 'prospectus_circleci')
|
2
|
-
|
3
1
|
my_slug = 'akerl/linodeapi'
|
4
2
|
|
3
|
+
Prospectus.extra_dep('file', 'prospectus_travis')
|
4
|
+
Prospectus.extra_dep('file', 'prospectus_gems')
|
5
|
+
|
5
6
|
item do
|
6
7
|
noop
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
name 'gems'
|
11
|
-
|
12
|
-
expected do
|
13
|
-
static
|
14
|
-
set 'green'
|
15
|
-
end
|
16
|
-
|
17
|
-
actual do
|
18
|
-
gemnasium
|
19
|
-
slug my_slug
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
extend ProspectusCircleci::Build.new(my_slug)
|
9
|
+
extend ProspectusGems::Gemspec.new
|
10
|
+
extend ProspectusTravis::Build.new(my_slug)
|
25
11
|
end
|
data/.rubocop.yml
CHANGED
data/.travis.yml
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
dist: xenial
|
2
|
+
install:
|
3
|
+
- for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
|
4
|
+
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
|
5
|
+
script:
|
6
|
+
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done
|
7
|
+
notifications:
|
8
|
+
email: false
|
9
|
+
slack:
|
10
|
+
secure: QQHir4Wy/WxV0P4YiSun4g50mx86xejGctyEn3trILObmVHlEaRfxlxlDspVd74CoPrRBBJFjrej/M7BkQZ6n80G9o4oWZVu3WHx+bQG9HuJNKVQjjGsVrpQSaIhzCGEekbvmR2JuWOD3GRAr9OugjhBhHLcKBnMfXvc/WfOZnZNIg3JmTmnwvyOnc5/kBoA3PuxEdYfHHgs0V9HupyjaeUvpq7dHsKBwIYDvDU2i7CjXa8elN1D9qS75ezEsOLM8sHZQpzUhUG+0DTk0himINPQlok8HUQfv7dJlI+cbH617hru8KjqF4OenOwAECS6jQh1m4LchbCfZUO/Lgx+sj5Ryb2dHCx7RHxuF0d4arQTexZ2uKqMsLlflBmuwU6H4uWn2rYtZ1oEmLy40/7FtlGQS5nZ0hK+bb7AMuoCxD/hzbzYki0lenwDE5AAT0q6/pYhqIToKic/sWADVcbZDx9vowsYIDEG9+9Naqz4JrN33qyKyFdMsQyBHWai+ckXThV52lvKuKXxMupm1CTesavg6PfktVbZrDLiqtn+YKHGb4UnFA3vI8k3cgreEdasESgx1gPb64l6+Ai9ZMt7SZomBbFHOrGM8vByujgzlUz7vqWTKT3h842VxWzQ7mGpyO9oc02qcC0ww7sQpfNx+oPaXE1fEQ6536xT4khDHm8=
|
data/README.md
CHANGED
@@ -2,8 +2,7 @@ linodeapi
|
|
2
2
|
=========
|
3
3
|
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/linodeapi.svg)](https://rubygems.org/gems/linodeapi)
|
5
|
-
[![
|
6
|
-
[![Build Status](https://img.shields.io/circleci/project/akerl/linodeapi/master.svg)](https://circleci.com/gh/akerl/linodeapi)
|
5
|
+
[![Build Status](https://img.shields.io/travis/com/akerl/linodeapi.svg)](https://travis-ci.com/akerl/linodeapi)
|
7
6
|
[![Coverage Status](https://img.shields.io/codecov/c/github/akerl/linodeapi.svg)](https://codecov.io/github/akerl/linodeapi)
|
8
7
|
[![Code Quality](https://img.shields.io/codacy/60b77ea8214241b5ac970bcdfd584587.svg)](https://www.codacy.com/app/akerl/linodeapi)
|
9
8
|
[![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
|
data/dev/spec.yml
CHANGED
@@ -208,7 +208,7 @@ domain:
|
|
208
208
|
- required: false
|
209
209
|
- type: :numeric
|
210
210
|
- priority:
|
211
|
-
- desc: Priority for MX and SRV records, 0-
|
211
|
+
- desc: Priority for MX and SRV records, 0-65535
|
212
212
|
- required: false
|
213
213
|
- type: :numeric
|
214
214
|
- protocol:
|
@@ -216,10 +216,15 @@ domain:
|
|
216
216
|
types.
|
217
217
|
- required: false
|
218
218
|
- type: :string
|
219
|
+
- tag:
|
220
|
+
- desc: The tag attribute for a CAA record. One of issue, issuewild, iodef. Ignored
|
221
|
+
on other record types.
|
222
|
+
- required: false
|
223
|
+
- type: :string
|
219
224
|
- target:
|
220
225
|
- desc: When Type=MX the hostname. When Type=CNAME the target of the alias. When
|
221
|
-
Type=TXT the value of the record. When Type=A or AAAA the token
|
222
|
-
will be substituted with the IP address of the request.
|
226
|
+
Type=TXT or CAA the value of the record. When Type=A or AAAA the token
|
227
|
+
of '[remote_addr]' will be substituted with the IP address of the request.
|
223
228
|
- required: false
|
224
229
|
- type: :string
|
225
230
|
- ttl_sec:
|
@@ -227,7 +232,7 @@ domain:
|
|
227
232
|
- required: false
|
228
233
|
- type: :numeric
|
229
234
|
- type:
|
230
|
-
- desc: 'One of: NS, MX, A, AAAA, CNAME, TXT, or
|
235
|
+
- desc: 'One of: NS, MX, A, AAAA, CNAME, TXT, SRV or CAA'
|
231
236
|
- required: true
|
232
237
|
- type: :string
|
233
238
|
- weight:
|
@@ -279,7 +284,7 @@ domain:
|
|
279
284
|
- required: false
|
280
285
|
- type: :numeric
|
281
286
|
- priority:
|
282
|
-
- desc: Priority for MX and SRV records, 0-
|
287
|
+
- desc: Priority for MX and SRV records, 0-65535
|
283
288
|
- required: false
|
284
289
|
- type: :numeric
|
285
290
|
- protocol:
|
@@ -291,10 +296,15 @@ domain:
|
|
291
296
|
- desc: ''
|
292
297
|
- required: true
|
293
298
|
- type: :numeric
|
299
|
+
- tag:
|
300
|
+
- desc: The tag attribute for a CAA record. One of issue, issuewild, iodef. Ignored
|
301
|
+
on other record types.
|
302
|
+
- required: false
|
303
|
+
- type: :string
|
294
304
|
- target:
|
295
305
|
- desc: When Type=MX the hostname. When Type=CNAME the target of the alias. When
|
296
|
-
Type=TXT the value of the record. When Type=A or AAAA the token
|
297
|
-
will be substituted with the IP address of the request.
|
306
|
+
Type=TXT or CAA the value of the record. When Type=A or AAAA the token
|
307
|
+
of '[remote_addr]' will be substituted with the IP address of the request.
|
298
308
|
- required: false
|
299
309
|
- type: :string
|
300
310
|
- ttl_sec:
|
@@ -643,7 +653,7 @@ linode:
|
|
643
653
|
- NOTFOUND
|
644
654
|
- VALIDATION
|
645
655
|
create:
|
646
|
-
- desc: Creates a Linode and assigns you full privileges. There is a
|
656
|
+
- desc: Creates a Linode and assigns you full privileges. There is a 250-linodes-per-hour
|
647
657
|
limiter.
|
648
658
|
- params:
|
649
659
|
- datacenterid:
|
@@ -686,10 +696,27 @@ linode:
|
|
686
696
|
create:
|
687
697
|
- desc: ''
|
688
698
|
- params:
|
699
|
+
- isreadonly:
|
700
|
+
- desc: Enable forced read-only for this Disk
|
701
|
+
- required: false
|
702
|
+
- type: :boolean
|
703
|
+
- label:
|
704
|
+
- desc: The display label for this Disk
|
705
|
+
- required: true
|
706
|
+
- type: :string
|
689
707
|
- linodeid:
|
690
708
|
- desc: ''
|
691
709
|
- required: true
|
692
710
|
- type: :numeric
|
711
|
+
- size:
|
712
|
+
- desc: The size in MB of this Disk.
|
713
|
+
- required: true
|
714
|
+
- type: :numeric
|
715
|
+
- type:
|
716
|
+
- desc: 'The formatted type of this disk. Valid types are: ext3, ext4, swap,
|
717
|
+
raw'
|
718
|
+
- required: true
|
719
|
+
- type: :string
|
693
720
|
- throws:
|
694
721
|
- NOTFOUND
|
695
722
|
- VALIDATION
|
@@ -709,12 +736,12 @@ linode:
|
|
709
736
|
- required: true
|
710
737
|
- type: :numeric
|
711
738
|
- rootpass:
|
712
|
-
- desc: The root user's password
|
739
|
+
- desc: The root (or core) user's password
|
713
740
|
- required: true
|
714
741
|
- type: :string
|
715
742
|
- rootsshkey:
|
716
|
-
- desc: Optionally sets this string into /root/.ssh/authorized_keys
|
717
|
-
configuration.
|
743
|
+
- desc: Optionally sets this string into /root/.ssh/authorized_keys (or /home/core/.ssh/authorized_keys)
|
744
|
+
upon distribution configuration.
|
718
745
|
- required: false
|
719
746
|
- type: :string
|
720
747
|
- size:
|
@@ -883,6 +910,14 @@ linode:
|
|
883
910
|
- desc: ''
|
884
911
|
- required: true
|
885
912
|
- type: :numeric
|
913
|
+
- isreadonly:
|
914
|
+
- desc: Enable forced read-only for this Disk
|
915
|
+
- required: false
|
916
|
+
- type: :boolean
|
917
|
+
- label:
|
918
|
+
- desc: The display label for this Disk
|
919
|
+
- required: false
|
920
|
+
- type: :string
|
886
921
|
- linodeid:
|
887
922
|
- desc: ''
|
888
923
|
- required: false
|
@@ -1481,6 +1516,7 @@ stackscript:
|
|
1481
1516
|
- throws:
|
1482
1517
|
- NOACCESS
|
1483
1518
|
- VALIDATION
|
1519
|
+
- STACKSCRIPTLIMIT
|
1484
1520
|
delete:
|
1485
1521
|
- desc: ''
|
1486
1522
|
- params:
|
@@ -1497,7 +1533,8 @@ stackscript:
|
|
1497
1533
|
- desc: Limits the list to the specified StackScriptID
|
1498
1534
|
- required: false
|
1499
1535
|
- type: :numeric
|
1500
|
-
- throws:
|
1536
|
+
- throws:
|
1537
|
+
- STACKSCRIPTLIMIT
|
1501
1538
|
update:
|
1502
1539
|
- desc: Update a StackScript.
|
1503
1540
|
- params:
|
@@ -1559,7 +1596,8 @@ user:
|
|
1559
1596
|
- required: true
|
1560
1597
|
- type: :string
|
1561
1598
|
- token:
|
1562
|
-
- desc: Required when two-factor authentication is enabled.
|
1599
|
+
- desc: Required when two-factor authentication is enabled. Emergency scratch
|
1600
|
+
codes are not permitted.
|
1563
1601
|
- required: false
|
1564
1602
|
- type: :string
|
1565
1603
|
- username:
|
@@ -1571,3 +1609,88 @@ user:
|
|
1571
1609
|
- NEEDTOKEN
|
1572
1610
|
- PASSWORDEXPIRED
|
1573
1611
|
- KEYLIMIT
|
1612
|
+
- TOTPEXPIRED
|
1613
|
+
- NOACCESS
|
1614
|
+
volume:
|
1615
|
+
clone:
|
1616
|
+
- desc: Clones an existing Block Storage Volume.
|
1617
|
+
- params:
|
1618
|
+
- clonefromid:
|
1619
|
+
- desc: ''
|
1620
|
+
- required: true
|
1621
|
+
- type: :numeric
|
1622
|
+
- label:
|
1623
|
+
- desc: A unique name for the new Volume
|
1624
|
+
- required: true
|
1625
|
+
- type: :string
|
1626
|
+
- throws:
|
1627
|
+
- NOACCESS
|
1628
|
+
- " VALIDATION"
|
1629
|
+
- " VOLUMEBUSY"
|
1630
|
+
- " VOLUMELIMIT"
|
1631
|
+
create:
|
1632
|
+
- desc: Creates a new Block Storage Volume. One of DatacenterID or LinodeID is required.
|
1633
|
+
- params:
|
1634
|
+
- datacenterid:
|
1635
|
+
- desc: Sets the datacenter where the Volume should be provisioned
|
1636
|
+
- required: false
|
1637
|
+
- type: :numeric
|
1638
|
+
- label:
|
1639
|
+
- desc: A unique name for the Volume
|
1640
|
+
- required: true
|
1641
|
+
- type: :string
|
1642
|
+
- linodeid:
|
1643
|
+
- desc: The Linode to attach this Volume to
|
1644
|
+
- required: false
|
1645
|
+
- type: :numeric
|
1646
|
+
- size:
|
1647
|
+
- desc: Sets the size of the new Volume in GiB
|
1648
|
+
- required: true
|
1649
|
+
- type: :numeric
|
1650
|
+
- throws:
|
1651
|
+
- NOACCESS
|
1652
|
+
- " VALIDATION"
|
1653
|
+
- " ACCOUNTLIMIT"
|
1654
|
+
- " VOLUMELIMIT"
|
1655
|
+
delete:
|
1656
|
+
- desc: Deletes a Block Storage Volume
|
1657
|
+
- params:
|
1658
|
+
- volumeid:
|
1659
|
+
- desc: The Volume to delete
|
1660
|
+
- required: true
|
1661
|
+
- type: :numeric
|
1662
|
+
- throws:
|
1663
|
+
- NOTFOUND
|
1664
|
+
list:
|
1665
|
+
- desc: Returns a list of block storage Volumes
|
1666
|
+
- params:
|
1667
|
+
- volumeid:
|
1668
|
+
- desc: Limits the list to the specified Volume
|
1669
|
+
- required: false
|
1670
|
+
- type: :numeric
|
1671
|
+
- throws: []
|
1672
|
+
update:
|
1673
|
+
- desc: Updates a Volume's properties
|
1674
|
+
- params:
|
1675
|
+
- label:
|
1676
|
+
- desc: A unique name for the Volume
|
1677
|
+
- required: false
|
1678
|
+
- type: :string
|
1679
|
+
- linodeid:
|
1680
|
+
- desc: The Linode to attach this Volume to
|
1681
|
+
- required: false
|
1682
|
+
- type: :numeric
|
1683
|
+
- size:
|
1684
|
+
- desc: Sets the new size of the new Volume in GiB; Volumes can only be made
|
1685
|
+
larger
|
1686
|
+
- required: false
|
1687
|
+
- type: :numeric
|
1688
|
+
- volumeid:
|
1689
|
+
- desc: The Volume to modify
|
1690
|
+
- required: true
|
1691
|
+
- type: :numeric
|
1692
|
+
- throws:
|
1693
|
+
- NOTFOUND
|
1694
|
+
- VALIDATION
|
1695
|
+
- VOLUMEBUSY
|
1696
|
+
- VOLUMELIMIT
|
data/lib/linodeapi/raw.rb
CHANGED
@@ -16,6 +16,7 @@ module LinodeAPI
|
|
16
16
|
@options[:names] ||= []
|
17
17
|
@options[:spec] ||= LinodeAPI.spec
|
18
18
|
@options[:apikey] ||= authenticate(params)
|
19
|
+
@options[:user_agent_prefix] ||= ''
|
19
20
|
end
|
20
21
|
|
21
22
|
def respond_to_missing?(method, include_private = false)
|
@@ -82,10 +83,21 @@ module LinodeAPI
|
|
82
83
|
def call(method, params = {})
|
83
84
|
options = build_call_body(method, params)
|
84
85
|
self.class.error_check self.class.post(
|
85
|
-
'', body: options,
|
86
|
+
'', body: options,
|
87
|
+
base_uri: endpoint,
|
88
|
+
headers: { 'User-Agent' => user_agent }
|
86
89
|
)
|
87
90
|
end
|
88
91
|
|
92
|
+
def user_agent
|
93
|
+
user_agent_fragments = [
|
94
|
+
@options[:user_agent_prefix],
|
95
|
+
"linodeapi/#{LinodeAPI::VERSION}",
|
96
|
+
"ruby/#{RUBY_VERSION}"
|
97
|
+
]
|
98
|
+
user_agent_fragments.reject(&:empty?).join(' ')
|
99
|
+
end
|
100
|
+
|
89
101
|
def build_call_body(method, params)
|
90
102
|
mspec = spec[:subs][method]
|
91
103
|
mname = (names + [method.to_s]).join '.'
|
data/linodeapi.gemspec
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
|
4
|
+
require 'linodeapi/version'
|
5
|
+
|
1
6
|
Gem::Specification.new do |s|
|
2
7
|
s.name = 'linodeapi'
|
3
|
-
s.version =
|
8
|
+
s.version = LinodeAPI::VERSION
|
4
9
|
s.date = Time.now.strftime('%Y-%m-%d')
|
5
10
|
|
6
11
|
s.summary = 'Linode API wrapper'
|
@@ -13,14 +18,14 @@ Gem::Specification.new do |s|
|
|
13
18
|
s.files = `git ls-files`.split
|
14
19
|
s.test_files = `git ls-files spec/*`.split
|
15
20
|
|
16
|
-
s.add_dependency 'httparty', '~> 0.
|
21
|
+
s.add_dependency 'httparty', '~> 0.16.0'
|
17
22
|
|
18
|
-
s.add_development_dependency 'rubocop', '~> 0.50.0'
|
19
|
-
s.add_development_dependency 'goodcop', '~> 0.1.0'
|
20
|
-
s.add_development_dependency 'rake', '~> 12.1.0'
|
21
23
|
s.add_development_dependency 'codecov', '~> 0.1.1'
|
22
|
-
s.add_development_dependency '
|
23
|
-
s.add_development_dependency '
|
24
|
-
s.add_development_dependency '
|
25
|
-
s.add_development_dependency '
|
24
|
+
s.add_development_dependency 'fuubar', '~> 2.3.0'
|
25
|
+
s.add_development_dependency 'goodcop', '~> 0.7.0'
|
26
|
+
s.add_development_dependency 'rake', '~> 12.3.0'
|
27
|
+
s.add_development_dependency 'rspec', '~> 3.8.0'
|
28
|
+
s.add_development_dependency 'rubocop', '~> 0.67.2'
|
29
|
+
s.add_development_dependency 'vcr', '~> 4.0.0'
|
30
|
+
s.add_development_dependency 'webmock', '~> 3.5.1'
|
26
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linodeapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -16,126 +16,126 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.16.0
|
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
|
-
version: 0.
|
26
|
+
version: 0.16.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: codecov
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.1.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.1.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: fuubar
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.3.0
|
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
|
-
version:
|
54
|
+
version: 2.3.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: goodcop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.7.0
|
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
|
-
version:
|
68
|
+
version: 0.7.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 12.3.0
|
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
|
-
version:
|
82
|
+
version: 12.3.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
89
|
+
version: 3.8.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.
|
96
|
+
version: 3.8.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.67.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.67.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: vcr
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 4.0.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 4.0.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: webmock
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.
|
131
|
+
version: 3.5.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 3.
|
138
|
+
version: 3.5.1
|
139
139
|
description: Wraps the Linode API with multiple levels of interaction
|
140
140
|
email: me@lesaker.org
|
141
141
|
executables: []
|
@@ -147,12 +147,12 @@ files:
|
|
147
147
|
- ".prospectus"
|
148
148
|
- ".rspec"
|
149
149
|
- ".rubocop.yml"
|
150
|
+
- ".travis.yml"
|
150
151
|
- CHANGELOG.md
|
151
152
|
- Gemfile
|
152
153
|
- LICENSE
|
153
154
|
- README.md
|
154
155
|
- Rakefile
|
155
|
-
- circle.yml
|
156
156
|
- dev/cache_spec.rb
|
157
157
|
- dev/spec.yml
|
158
158
|
- dev/version
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- lib/linodeapi/helpers.rb
|
162
162
|
- lib/linodeapi/raw.rb
|
163
163
|
- lib/linodeapi/retryable.rb
|
164
|
+
- lib/linodeapi/version.rb
|
164
165
|
- linodeapi.gemspec
|
165
166
|
- spec/fixtures/cassettes/basic_auth.yml
|
166
167
|
- spec/fixtures/cassettes/basic_auth_fail.yml
|
@@ -190,8 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
191
|
- !ruby/object:Gem::Version
|
191
192
|
version: '0'
|
192
193
|
requirements: []
|
193
|
-
|
194
|
-
rubygems_version: 2.6.11
|
194
|
+
rubygems_version: 3.0.1
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: Linode API wrapper
|
data/circle.yml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
dependencies:
|
2
|
-
override:
|
3
|
-
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i gem update --system --no-doc || exit 1 ; done'
|
4
|
-
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done'
|
5
|
-
test:
|
6
|
-
override:
|
7
|
-
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done'
|