cloudstrap 0.46.4.pre → 0.46.7.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cloudstrap +9 -2
- data/bin/cloudstrap-dns +5 -5
- data/bin/cloudstrap-versions +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 101f28a731cd71c9cc10bd3c3cfa5db26754a8d3
|
4
|
+
data.tar.gz: 05ddb68c380b9cf71fac0835b1cae6895a469ce9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf8a664968511adde35cda725be13ea0da10bb11710a5277d9a45d9f923b8b9c059c94ac030973f9df8b8615276b64f9d1e9e0e280db213e1d51a5533b694c26
|
7
|
+
data.tar.gz: 41ae9981f9aea5d220205e5cc90f1ec77264317d9cd2b37216ad8dd553939bd5bac85beec4d85e5af5a713100ff32675d42b856fd08c297edf0e02bacf31ae2f
|
data/bin/cloudstrap
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require 'pastel'
|
4
|
-
|
5
3
|
if ENV['HACKING']
|
6
4
|
require_relative '../lib/cloudstrap'
|
7
5
|
else
|
8
6
|
require 'cloudstrap'
|
9
7
|
end
|
10
8
|
|
9
|
+
require 'pastel'
|
10
|
+
|
11
11
|
gem = Gem::Specification
|
12
12
|
.find_all_by_name('cloudstrap')
|
13
13
|
.sort_by { |spec| spec.version }
|
@@ -20,6 +20,13 @@ if ARGV.any? { |arg| arg =~ version }
|
|
20
20
|
exit
|
21
21
|
end
|
22
22
|
|
23
|
+
help = Regexp.union(/^-h$/, /^--?help$/)
|
24
|
+
|
25
|
+
if ARGV.any? { |arg| arg =~ version }
|
26
|
+
puts "usage: cloudstrap"
|
27
|
+
exit
|
28
|
+
end
|
29
|
+
|
23
30
|
config = Cloudstrap::Config.new
|
24
31
|
agent = Cloudstrap::Agent.new
|
25
32
|
|
data/bin/cloudstrap-dns
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require 'burdened-acrobat'
|
4
|
-
require 'moneta'
|
5
|
-
require 'path53'
|
6
|
-
require 'pastel'
|
7
|
-
|
8
3
|
if ENV['HACKING']
|
9
4
|
require_relative '../lib/cloudstrap'
|
10
5
|
else
|
11
6
|
require 'cloudstrap'
|
12
7
|
end
|
13
8
|
|
9
|
+
require 'burdened-acrobat'
|
10
|
+
require 'moneta'
|
11
|
+
require 'path53'
|
12
|
+
require 'pastel'
|
13
|
+
|
14
14
|
gem = Gem::Specification
|
15
15
|
.find_all_by_name('cloudstrap')
|
16
16
|
.sort_by { |spec| spec.version }
|
data/bin/cloudstrap-versions
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require 'faraday'
|
4
|
-
require 'tty-table'
|
5
|
-
require 'pastel'
|
6
|
-
|
7
3
|
if ENV['HACKING']
|
8
4
|
require_relative '../lib/cloudstrap'
|
9
5
|
else
|
10
6
|
require 'cloudstrap'
|
11
7
|
end
|
12
8
|
|
9
|
+
require 'faraday'
|
10
|
+
require 'tty-table'
|
11
|
+
require 'pastel'
|
12
|
+
|
13
13
|
CLOUDSTRAP_VERSION = $LOADED_FEATURES
|
14
14
|
.map { |f| f.match %r{cloudstrap-(?<version>[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(\.pre)?)} }
|
15
15
|
.compact
|