ey-deploy 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  require 'json'
2
2
  require 'thor'
3
+ require 'etc'
3
4
 
4
5
  module EY
5
6
  class Deploy::Configuration
@@ -57,7 +58,7 @@ module EY
57
58
  end
58
59
 
59
60
  def repo
60
- configuration['repo'] || node["applications"][app]["repository_name"]
61
+ configuration['repo']
61
62
  end
62
63
 
63
64
  def deploy_to
@@ -73,7 +74,7 @@ module EY
73
74
  end
74
75
 
75
76
  def user
76
- node['users'].first['username'] || 'nobody'
77
+ Etc.getlogin
77
78
  end
78
79
  alias :group :user
79
80
 
@@ -1,3 +1,3 @@
1
1
  module EY
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 5
7
+ - 6
8
8
  - 0
9
- version: 0.5.0
9
+ version: 0.6.0
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-06-17 00:00:00 -07:00
17
+ date: 2010-06-18 00:00:00 -07:00
18
18
  default_executable: eysd
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency