tugboat 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/CHANGELOG.md +23 -1
- data/README.md +2 -2
- data/config/license_finder.yml +2 -0
- data/lib/tugboat.rb +6 -0
- data/lib/tugboat/version.rb +1 -1
- data/license/dependency_decisions.yml +80 -0
- data/spec/cli/add_key_spec.rb +1 -0
- data/spec/cli/env_variable_spec.rb +2 -0
- data/tugboat.gemspec +2 -0
- metadata +34 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36e394e54b1727d5ee181e37d2c5ae7c4523930b
|
4
|
+
data.tar.gz: dbf438e9546352b8284e4bb825f542294141d774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b273d601595bb5f8c58ea5d49dcf37ba1a191e06643fea04fd143158d8754f0714a8da9a9d09174b3989bb3ea7a622823b7645a9f0ce03e6bed18a1891434866
|
7
|
+
data.tar.gz: 786c31ab95a21b4684b63b2f7aadff009fd56c18c3bbad7dd1283f1390e6b20f977e8525397150b307e59ce09b5a671b410ae0943c1891cf5bb43ec236a135ec
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v2.2.3](https://github.com/pearkes/tugboat/tree/v2.2.3) (2017-03-02)
|
4
|
+
[Full Changelog](https://github.com/pearkes/tugboat/compare/v2.2.2...v2.2.3)
|
5
|
+
|
6
|
+
**Closed issues:**
|
7
|
+
|
8
|
+
- specify configuration file path [\#253](https://github.com/pearkes/tugboat/issues/253)
|
9
|
+
- This compared to doctl? [\#251](https://github.com/pearkes/tugboat/issues/251)
|
10
|
+
- API call to add ssh keys [\#245](https://github.com/pearkes/tugboat/issues/245)
|
11
|
+
- `tugboat create` with options is not picking up default ssh key [\#234](https://github.com/pearkes/tugboat/issues/234)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Adds 'THOR\_SHELL' env mock for 'DEBUG' spec [\#259](https://github.com/pearkes/tugboat/pull/259) ([petems](https://github.com/petems))
|
16
|
+
- Adds Rubocop Setup and fixes [\#258](https://github.com/pearkes/tugboat/pull/258) ([petems](https://github.com/petems))
|
17
|
+
- Moves cucumber dependancy into gemspec [\#257](https://github.com/pearkes/tugboat/pull/257) ([petems](https://github.com/petems))
|
18
|
+
- Fixes library pinning issues in `.gemspec` [\#256](https://github.com/pearkes/tugboat/pull/256) ([petems](https://github.com/petems))
|
19
|
+
- Adds rb-readline [\#255](https://github.com/pearkes/tugboat/pull/255) ([petems](https://github.com/petems))
|
20
|
+
- Adds a note in README about history [\#252](https://github.com/pearkes/tugboat/pull/252) ([petems](https://github.com/petems))
|
21
|
+
- Update docs for `add-key` [\#246](https://github.com/pearkes/tugboat/pull/246) ([petems](https://github.com/petems))
|
22
|
+
- Fix rake issue [\#244](https://github.com/pearkes/tugboat/pull/244) ([petems](https://github.com/petems))
|
23
|
+
- \[doc\] fixing first --porcelain sample in readme [\#243](https://github.com/pearkes/tugboat/pull/243) ([seeekr](https://github.com/seeekr))
|
24
|
+
|
3
25
|
## [v2.2.2](https://github.com/pearkes/tugboat/tree/v2.2.2) (2016-02-18)
|
4
26
|
[Full Changelog](https://github.com/pearkes/tugboat/compare/v2.2.1...v2.2.2)
|
5
27
|
|
@@ -151,7 +173,7 @@
|
|
151
173
|
|
152
174
|
**Merged pull requests:**
|
153
175
|
|
154
|
-
- Removes wrong help messages for `images`. [\#173](https://github.com/pearkes/tugboat/pull/173) ([
|
176
|
+
- Removes wrong help messages for `images`. [\#173](https://github.com/pearkes/tugboat/pull/173) ([ream88](https://github.com/ream88))
|
155
177
|
|
156
178
|
## [v1.3.0](https://github.com/pearkes/tugboat/tree/v1.3.0) (2015-07-19)
|
157
179
|
[Full Changelog](https://github.com/pearkes/tugboat/compare/v1.2.0...v1.3.0)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Tugboat
|
2
|
-
[![Build Status](https://travis-ci.org/
|
3
|
-
[![Coverage Status](https://coveralls.io/repos/
|
2
|
+
[![Build Status](https://travis-ci.org/petems/tugboat.svg?branch=master)](https://travis-ci.org/petems/tugboat)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/github/petems/tugboat/badge.svg?branch=master)](https://coveralls.io/github/petems/tugboat?branch=master)
|
4
4
|
|
5
5
|
A command line tool for interacting with your [DigitalOcean](https://www.digitalocean.com/) droplets.
|
6
6
|
|
data/lib/tugboat.rb
CHANGED
@@ -3,5 +3,11 @@ require 'tugboat/config'
|
|
3
3
|
require 'tugboat/version'
|
4
4
|
require 'json'
|
5
5
|
|
6
|
+
# TODO: do this properly
|
7
|
+
# See: https://github.com/intridea/hashie/issues/394
|
8
|
+
require 'hashie'
|
9
|
+
require 'hashie/logger'
|
10
|
+
Hashie.logger = Logger.new(nil)
|
11
|
+
|
6
12
|
module Tugboat
|
7
13
|
end
|
data/lib/tugboat/version.rb
CHANGED
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
- - :ignore_group
|
3
|
+
- development
|
4
|
+
- :who: Peter Souter
|
5
|
+
:why: Development gems are not distributed with the final product and are therefore
|
6
|
+
exempt.
|
7
|
+
:versions: []
|
8
|
+
:when: 2017-03-18 22:26:01.054140000 Z
|
9
|
+
- - :ignore_group
|
10
|
+
- test
|
11
|
+
- :who: Peter Souter
|
12
|
+
:why: Test gems are not distributed with the final product and are therefore exempt.
|
13
|
+
:versions: []
|
14
|
+
:when: 2017-03-18 22:26:06.250326000 Z
|
15
|
+
- - :ignore
|
16
|
+
- bundler
|
17
|
+
- :who: Peter Souter
|
18
|
+
:why: Bundler is MIT licensed but will sometimes fail in CI.
|
19
|
+
:versions: []
|
20
|
+
:when: 2017-03-18 22:46:08.045090000 Z
|
21
|
+
- - :whitelist
|
22
|
+
- MIT
|
23
|
+
- :who: Peter Souter
|
24
|
+
:why: http://choosealicense.com/licenses/mit/
|
25
|
+
:versions: []
|
26
|
+
:when: 2017-03-18 22:16:24.558441000 Z
|
27
|
+
- - :whitelist
|
28
|
+
- Apache-2.0
|
29
|
+
- :who: Peter Souter
|
30
|
+
:why: http://choosealicense.com/licenses/apache-2.0/
|
31
|
+
:versions: []
|
32
|
+
:when: 2017-03-18 22:26:43.762702000 Z
|
33
|
+
- - :whitelist
|
34
|
+
- Ruby
|
35
|
+
- :who: Peter Souter
|
36
|
+
:why: https://github.com/ruby/ruby/blob/ruby_2_1/COPYING
|
37
|
+
:versions: []
|
38
|
+
:when: 2017-03-18 22:36:54.498490000 Z
|
39
|
+
- - :whitelist
|
40
|
+
- LGPL-2.1
|
41
|
+
- :who: Peter Souter
|
42
|
+
:why: http://www.gnu.org/licenses/license-list.html#LGPLv2.1
|
43
|
+
:versions: []
|
44
|
+
:when: 2017-03-18 22:36:48.645841000 Z
|
45
|
+
- - :whitelist
|
46
|
+
- ISC
|
47
|
+
- :who: Peter Souter
|
48
|
+
:why: http://www.gnu.org/licenses/license-list.html#ISC
|
49
|
+
:versions: []
|
50
|
+
:when: 2017-03-18 22:46:01.894452000 Z
|
51
|
+
- - :whitelist
|
52
|
+
- BSD-3-Clause
|
53
|
+
- :who: Peter Souter
|
54
|
+
:why: https://opensource.org/licenses/BSD-3-Clause
|
55
|
+
:versions: []
|
56
|
+
:when: 2017-03-18 22:46:38.246021000 Z
|
57
|
+
- - :whitelist
|
58
|
+
- BSD-2-Clause
|
59
|
+
- :who: Peter Souter
|
60
|
+
:why: https://opensource.org/licenses/BSD-2-Clause
|
61
|
+
:versions: []
|
62
|
+
:when: 2017-03-18 22:56:09.796363000 Z
|
63
|
+
- - :blacklist
|
64
|
+
- GPL 2.0
|
65
|
+
- :who: Peter Souter
|
66
|
+
:why: GPL-licensed libraries cannot be linked to from non-GPL projects.
|
67
|
+
:versions: []
|
68
|
+
:when: 2017-03-18 22:26:27.637336000 Z
|
69
|
+
- - :blacklist
|
70
|
+
- GPL-3.0
|
71
|
+
- :who: Peter Souter
|
72
|
+
:why: GPL-licensed libraries cannot be linked to from non-GPL projects.
|
73
|
+
:versions: []
|
74
|
+
:when: 2017-03-18 22:26:43.904715000 Z
|
75
|
+
- - :blacklist
|
76
|
+
- OSL-3.0
|
77
|
+
- :who: Peter Souter
|
78
|
+
:why: The OSL license is a copyleft license
|
79
|
+
:versions: []
|
80
|
+
:when: 2017-03-18 22:06:15.540105000 Z
|
data/spec/cli/add_key_spec.rb
CHANGED
@@ -40,6 +40,7 @@ ID: 3
|
|
40
40
|
allow(ENV).to receive(:[]).with('DEBUG').and_return(nil)
|
41
41
|
allow(ENV).to receive(:[]).with('DO_API_TOKEN').and_return(nil)
|
42
42
|
allow(ENV).to receive(:[]).with('http_proxy').and_return(nil)
|
43
|
+
allow(ENV).to receive(:[]).with('THOR_SHELL').and_return(nil)
|
43
44
|
|
44
45
|
FileUtils.mkdir_p "#{fake_home}/.ssh"
|
45
46
|
File.open("#{fake_home}/.ssh/id_rsa.pub", 'w') { |f| f.write('ssh-dss A456= user@host') }
|
@@ -13,6 +13,7 @@ describe Tugboat::CLI do
|
|
13
13
|
allow(ENV).to receive(:[]).with('DO_API_TOKEN').and_return('env_variable')
|
14
14
|
allow(ENV).to receive(:[]).with('http_proxy').and_return(nil)
|
15
15
|
allow(ENV).to receive(:[]).with('DEBUG').and_return(nil)
|
16
|
+
allow(ENV).to receive(:[]).with('THOR_SHELL').and_return(nil)
|
16
17
|
|
17
18
|
cli.verify
|
18
19
|
expect($stdout.string).to eq "Authentication with DigitalOcean was successful.\n"
|
@@ -28,6 +29,7 @@ describe Tugboat::CLI do
|
|
28
29
|
allow(ENV).to receive(:[]).with('DO_API_TOKEN').and_return('')
|
29
30
|
allow(ENV).to receive(:[]).with('http_proxy').and_return(nil)
|
30
31
|
allow(ENV).to receive(:[]).with('DEBUG').and_return(nil)
|
32
|
+
allow(ENV).to receive(:[]).with('THOR_SHELL').and_return(nil)
|
31
33
|
|
32
34
|
cli.verify
|
33
35
|
expect($stdout.string).to eq "Authentication with DigitalOcean was successful.\n"
|
data/tugboat.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.add_dependency 'barge', '0.12.0'
|
23
23
|
gem.add_dependency 'middleware', '0.1.0'
|
24
24
|
gem.add_dependency 'faraday', '0.11.0'
|
25
|
+
gem.add_dependency 'hashie', '3.5.5'
|
25
26
|
|
26
27
|
gem.add_development_dependency 'rake', '< 11.0'
|
27
28
|
gem.add_development_dependency 'rspec-core', '~> 2.14.0'
|
@@ -38,6 +39,7 @@ Gem::Specification.new do |gem|
|
|
38
39
|
gem.add_development_dependency 'cucumber', '2.0.2'
|
39
40
|
gem.add_development_dependency 'rubocop', '0.47.1'
|
40
41
|
gem.add_development_dependency 'rubocop-rspec', '1.5.0'
|
42
|
+
gem.add_development_dependency 'license_finder'
|
41
43
|
|
42
44
|
gem.post_install_message = '***************************************'
|
43
45
|
gem.post_install_message = ' . o .. '
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tugboat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Pearkes
|
8
8
|
- Peter Souter
|
9
|
-
-
|
9
|
+
- Ørjan Blom
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-03-
|
13
|
+
date: 2017-03-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -68,6 +68,20 @@ dependencies:
|
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: 0.11.0
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: hashie
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - '='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 3.5.5
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - '='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 3.5.5
|
71
85
|
- !ruby/object:Gem::Dependency
|
72
86
|
name: rake
|
73
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -278,6 +292,20 @@ dependencies:
|
|
278
292
|
- - '='
|
279
293
|
- !ruby/object:Gem::Version
|
280
294
|
version: 1.5.0
|
295
|
+
- !ruby/object:Gem::Dependency
|
296
|
+
name: license_finder
|
297
|
+
requirement: !ruby/object:Gem::Requirement
|
298
|
+
requirements:
|
299
|
+
- - ">="
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0'
|
302
|
+
type: :development
|
303
|
+
prerelease: false
|
304
|
+
version_requirements: !ruby/object:Gem::Requirement
|
305
|
+
requirements:
|
306
|
+
- - ">="
|
307
|
+
- !ruby/object:Gem::Version
|
308
|
+
version: '0'
|
281
309
|
description: A command line tool for interacting with your DigitalOcean droplets.
|
282
310
|
email:
|
283
311
|
- jackpearkes@gmail.com
|
@@ -297,6 +325,7 @@ files:
|
|
297
325
|
- README.md
|
298
326
|
- Rakefile
|
299
327
|
- bin/tugboat
|
328
|
+
- config/license_finder.yml
|
300
329
|
- features/cassettes/config/Array_of_SSH_Keys_in_Config.yml
|
301
330
|
- features/cassettes/config/Single_SSH_key_as_number_in_config.yml
|
302
331
|
- features/step_definitions/steps.rb
|
@@ -342,6 +371,7 @@ files:
|
|
342
371
|
- lib/tugboat/middleware/start_droplet.rb
|
343
372
|
- lib/tugboat/middleware/wait_for_state.rb
|
344
373
|
- lib/tugboat/version.rb
|
374
|
+
- license/dependency_decisions.yml
|
345
375
|
- spec/cli/add_key_spec.rb
|
346
376
|
- spec/cli/authorize_cli_spec.rb
|
347
377
|
- spec/cli/config_cli_spec.rb
|
@@ -436,7 +466,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
436
466
|
version: '0'
|
437
467
|
requirements: []
|
438
468
|
rubyforge_project:
|
439
|
-
rubygems_version: 2.
|
469
|
+
rubygems_version: 2.5.2
|
440
470
|
signing_key:
|
441
471
|
specification_version: 4
|
442
472
|
summary: A command line tool for interacting with your DigitalOcean droplets.
|