torquebox-capistrano-support 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/torquebox/capistrano/recipes.rb +4 -9
- metadata +4 -4
@@ -22,7 +22,8 @@ module Capistrano
|
|
22
22
|
def create_deployment_descriptor( root )
|
23
23
|
dd = {
|
24
24
|
'application'=>{
|
25
|
-
|
25
|
+
# Force the encoding to UTF-8 on 1.9 since the value may be ASCII-8BIT, which marshals as an encoded bytestream, not a String.
|
26
|
+
'root'=>"#{root.respond_to?(:force_encoding) ? root.force_encoding('UTF-8') : root}",
|
26
27
|
},
|
27
28
|
}
|
28
29
|
|
@@ -76,13 +77,7 @@ module Capistrano
|
|
76
77
|
set( :bundle_flags, '' ) unless exists?( :bundle_flags )
|
77
78
|
|
78
79
|
namespace :deploy do
|
79
|
-
|
80
|
-
desc "Perform a deployment"
|
81
80
|
|
82
|
-
task :default do
|
83
|
-
update
|
84
|
-
end
|
85
|
-
|
86
81
|
desc "Restart Application"
|
87
82
|
task :restart do
|
88
83
|
run "touch #{jboss_home}/standalone/deployments/#{application}-knob.yml.dodeploy"
|
@@ -166,8 +161,8 @@ module Capistrano
|
|
166
161
|
|
167
162
|
end
|
168
163
|
|
169
|
-
before 'deploy:check',
|
170
|
-
after 'deploy:
|
164
|
+
before 'deploy:check', 'deploy:torquebox:check'
|
165
|
+
after 'deploy:create_symlink', 'deploy:torquebox:deployment_descriptor'
|
171
166
|
end
|
172
167
|
end
|
173
168
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: torquebox-capistrano-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.0.
|
5
|
+
version: 2.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- The TorqueBox Team
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-04-16 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jruby-openssl
|
@@ -67,11 +67,11 @@ extra_rdoc_files: []
|
|
67
67
|
|
68
68
|
files:
|
69
69
|
- licenses/lgpl-2.1.txt
|
70
|
-
- lib/torquebox-capistrano-support.rb
|
71
70
|
- lib/org.torquebox.capistrano-support.rb
|
71
|
+
- lib/torquebox-capistrano-support.rb
|
72
72
|
- lib/torquebox/capistrano/recipes.rb
|
73
|
-
- spec/recipes_spec.rb
|
74
73
|
- spec/spec_helper.rb
|
74
|
+
- spec/recipes_spec.rb
|
75
75
|
homepage: http://torquebox.org/
|
76
76
|
licenses:
|
77
77
|
- lgpl
|