cloudstrap 0.43.2.pre → 0.44.0.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/cloudstrap-env +22 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5573ac1add1f5deb3c96b146b7ac2dc82faad659
|
|
4
|
+
data.tar.gz: 191b2439c8ec9d94503d1550f8f22523033aa0de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 281404bfb6aa54ecaadfc1509ac2b9985797b7e2f4175b2c2b45831b300b119b007f35124005ca0c272db54e1398fc519bb03aea4aff4caf8ac677525aee7c93
|
|
7
|
+
data.tar.gz: 9ac7ba1a971ab16c708dfec66603d5ec834aabd0e64b0f69376901900863f3900a6bc27bab9225ed9193e84eee3e96689d111ef65a90dd9fd39240af90098339
|
data/bin/cloudstrap-env
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'pastel'
|
|
4
|
+
|
|
5
|
+
if ENV['HACKING']
|
|
6
|
+
require_relative '../lib/cloudstrap'
|
|
7
|
+
else
|
|
8
|
+
require 'cloudstrap'
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
config = Cloudstrap::Config.new
|
|
12
|
+
configurables = config
|
|
13
|
+
.public_methods(false)
|
|
14
|
+
.reject { |m| m.to_s.start_with? '__contracts_ruby_original' }
|
|
15
|
+
.reject { |m| %i(Contract functype).include? m }
|
|
16
|
+
settings = configurables
|
|
17
|
+
.map { |key| [key, config.send(key)] }
|
|
18
|
+
.to_h
|
|
19
|
+
|
|
20
|
+
settings.sort.each do |key, value|
|
|
21
|
+
puts "BOOTSTRAP_#{key.upcase}=#{value}"
|
|
22
|
+
end
|
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.
|
|
4
|
+
version: 0.44.0.pre
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Olstrom
|
|
@@ -315,6 +315,7 @@ email: chris@olstrom.com
|
|
|
315
315
|
executables:
|
|
316
316
|
- cloudstrap
|
|
317
317
|
- cloudstrap-dns
|
|
318
|
+
- cloudstrap-env
|
|
318
319
|
- cloudstrap-teardown
|
|
319
320
|
extensions: []
|
|
320
321
|
extra_rdoc_files: []
|
|
@@ -324,6 +325,7 @@ files:
|
|
|
324
325
|
- README.org
|
|
325
326
|
- bin/cloudstrap
|
|
326
327
|
- bin/cloudstrap-dns
|
|
328
|
+
- bin/cloudstrap-env
|
|
327
329
|
- bin/cloudstrap-teardown
|
|
328
330
|
- cloudstrap.gemspec
|
|
329
331
|
- lib/cloudstrap.rb
|