blazing 0.0.5 → 0.0.6
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.
- data/lib/blazing/cli/base.rb +1 -9
- data/lib/blazing/cli/create.rb +0 -3
- data/lib/blazing/cli/templates/blazing.tt +2 -2
- data/lib/blazing/version.rb +1 -1
- metadata +1 -1
data/lib/blazing/cli/base.rb
CHANGED
|
@@ -4,15 +4,7 @@ module Blazing
|
|
|
4
4
|
|
|
5
5
|
desc 'init', 'prepare project for blazing deploys'
|
|
6
6
|
def init
|
|
7
|
-
|
|
8
|
-
origin = `git remote show origin|grep "Fetch URL"`.split[2]
|
|
9
|
-
if yes? "Get code from here: #{origin} ?"
|
|
10
|
-
repository = origin
|
|
11
|
-
else
|
|
12
|
-
repository = ask "Repository URL: (ie username@host:/path/to/app)"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
Blazing::CLI::Create.new([repository, target]).invoke_all
|
|
7
|
+
Blazing::CLI::Create.new.invoke_all
|
|
16
8
|
end
|
|
17
9
|
|
|
18
10
|
desc 'setup TARGET_NAME', 'setup or update blazing on specified target and deploy'
|
data/lib/blazing/cli/create.rb
CHANGED
data/lib/blazing/version.rb
CHANGED