capistrano-multiyaml 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -72,10 +72,6 @@ production:
72
72
 
73
73
  Prefix deploy actions with the name of the stage, i.e. `cap production TASK`. If you do not set a stage and `default_stage` is set, it will be used instead.
74
74
 
75
- ## Caveats
76
-
77
- * Don't name your stage "stage", as this is a reserved word under the multistage extension (deploys won't do anything and in fact it will cause an infinite loop).
78
-
79
75
  ## Inspiration
80
76
 
81
77
  * [Jamis Buck's original](https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'capistrano-multiyaml'
3
- s.version = '1.1.0'
3
+ s.version = '1.1.1'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Daniel Silverman"]
6
6
  s.email = 'me@agperson.com'
@@ -58,11 +58,12 @@ Capistrano::Configuration.instance.load do
58
58
  when "roles"
59
59
  contents.each do |rolename, hosts|
60
60
  hosts.each do |hostname, options|
61
+ hostname = String.interpolate{hostname.to_s}
61
62
  logger.info "Processing host settings for #{hostname} (#{name})"
62
63
  if options.is_a?(Hash) then
63
- role(rolename.to_sym, String.interpolate{hostname.to_s}, options)
64
+ role(rolename.to_sym, hostname.to_s, options)
64
65
  else
65
- role(rolename.to_sym, String.interpolate{hostname.to_s})
66
+ role(rolename.to_sym, hostname.to_s)
66
67
  end
67
68
  end
68
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-multiyaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: