ey-deploy 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/ey-deploy/cli.rb CHANGED
@@ -73,6 +73,9 @@ module EY
73
73
  :desc => "Ruby web framework environment",
74
74
  :aliases => ["-e"]
75
75
 
76
+ method_option :config, :type => :string,
77
+ :desc => "Additional configuration"
78
+
76
79
  method_option :current_name, :type => :string,
77
80
  :desc => "Value for #current_name in hooks"
78
81
 
@@ -226,6 +226,7 @@ module EY
226
226
  cmd << " --framework-env '#{c.environment}'"
227
227
  cmd << " --current-role '#{server.role}'"
228
228
  cmd << " --current-name '#{server.name}'" if server.name
229
+ cmd << " --config '#{c.config}'" if c.config
229
230
  cmd
230
231
  end
231
232
  end
@@ -50,10 +50,10 @@ module EY
50
50
 
51
51
  def fetch
52
52
  if usable_repository?
53
- logged_system("#{git} fetch -q origin")
53
+ logged_system("#{git} fetch -q origin 2>&1")
54
54
  else
55
55
  FileUtils.rm_rf(opts[:repository_cache])
56
- logged_system("git clone -q #{opts[:repo]} #{opts[:repository_cache]}")
56
+ logged_system("git clone -q #{opts[:repo]} #{opts[:repository_cache]} 2>&1")
57
57
  end
58
58
  end
59
59
 
@@ -1,3 +1,3 @@
1
1
  module EY
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - EY Cloud Team
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-19 00:00:00 -07:00
17
+ date: 2010-07-22 00:00:00 -07:00
18
18
  default_executable: ey-deploy
19
19
  dependencies: []
20
20