lbhrr 1.0.20 → 1.0.22
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/config/manifest.yml +1 -1
- data/exe/lbhrr +7 -6
- data/lib/lbhrr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8283276d5bf89e33e6cdf8068ea2e4ed8ff7f58a955a1f93c913a8012b8da95b
|
|
4
|
+
data.tar.gz: 8bdca3fa3fead999888a1661fa1cea9b02cdc33c918a5ed2d07ca21a60281c37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 473725a676dcd369011cce1067cb20b60e613a3612ff0bd74c7e85eccfa7ad8a0bc09b4244d79e232344c60c4af932b6e97d45bd5596465cc6c6fd0b600960ee
|
|
7
|
+
data.tar.gz: 5575e5aad6d2e5198b465847eef34cf21ced867d43e6c2fbe9a2111384036b087edfa9a67e83bf44df73e9d9b7945454245c5c3198c4b7da8e81ea41091af5dc
|
data/config/manifest.yml
CHANGED
data/exe/lbhrr
CHANGED
|
@@ -189,17 +189,18 @@ class LbhrrCLI < Thor
|
|
|
189
189
|
|
|
190
190
|
desc "drop", "Destroy an app and remove all traces"
|
|
191
191
|
def drop(name=nil)
|
|
192
|
+
config = load_configuration
|
|
193
|
+
host = config["host"]
|
|
194
|
+
user = config["user"]
|
|
195
|
+
|
|
192
196
|
if name.nil?
|
|
193
|
-
|
|
194
|
-
config = load_configuration
|
|
195
|
-
host = config["host"]
|
|
196
|
-
user = config["user"]
|
|
197
|
-
name = config["name"]
|
|
197
|
+
name = File.basename(Dir.pwd)
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
puts "Destroying app: #{name}"
|
|
200
201
|
`ssh #{user}@#{host} 'harbr destroy #{name}'`
|
|
201
202
|
|
|
202
|
-
puts "App #{
|
|
203
|
+
puts "App #{name} has been successfully destroyed."
|
|
203
204
|
end
|
|
204
205
|
|
|
205
206
|
desc "raise", "Deploy an application using the configuration from config/manifest.yml to staging"
|
data/lib/lbhrr/version.rb
CHANGED