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.
@@ -4,15 +4,7 @@ module Blazing
4
4
 
5
5
  desc 'init', 'prepare project for blazing deploys'
6
6
  def init
7
- target = ask "Deployment Target: (ie username@host:/path/to/app)"
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'
@@ -6,9 +6,6 @@ module Blazing
6
6
 
7
7
  include Thor::Actions
8
8
 
9
- argument :repository
10
- argument :target
11
-
12
9
  def self.source_root
13
10
  File.dirname(__FILE__)
14
11
  end
@@ -2,6 +2,6 @@
2
2
  # blazing config file -- generated on <%= Time.now %>
3
3
  #
4
4
 
5
- repository '<%= repository %>'
5
+ repository 'username@host:path/to/your/repository.git'
6
6
 
7
- target :default, :deploy_to => '<%= target %>'
7
+ target :default, :deploy_to => 'username@host:path/to/deploy'
@@ -1,3 +1,3 @@
1
1
  module Blazing
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: blazing
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Felipe Kaufmann