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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9514cb1a4ae7989d38a16cad2562c5643a4f7c55
4
- data.tar.gz: 70dd44d601d8c8ecf5fb066e6ee7a7b28f6aea32
3
+ metadata.gz: 101f28a731cd71c9cc10bd3c3cfa5db26754a8d3
4
+ data.tar.gz: 05ddb68c380b9cf71fac0835b1cae6895a469ce9
5
5
  SHA512:
6
- metadata.gz: dea2a10291503c387926ca181bbaaff7d3ea94b805e19e10dbd64678b7f6222e84a65ee244db981fc66d536a4ba104a1d282d4489399090b41d394af485798aa
7
- data.tar.gz: 166c3c59e727bf8be85dc774977a05afa87fe66ae4f935d387ec6061588965d96594eae8d3285c874ebcead684b8676f119f937b62f4f37767433cab258d8868
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 }
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.4.pre
4
+ version: 0.46.7.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom