torquebox-capistrano-support 2.0.0.cr1 → 2.0.0

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.
@@ -83,41 +83,46 @@ module Capistrano
83
83
  update
84
84
  end
85
85
 
86
- desc "Start TorqueBox Server"
87
- task :start do
88
- puts "Starting TorqueBox AS"
89
- case ( jboss_control_style )
90
- when :initd
91
- run "#{jboss_init_script} start"
92
- when :binscripts
93
- run "nohup #{jboss_home}/bin/standalone.sh -b #{jboss_bind_address} < /dev/null > /dev/null 2>&1 &"
94
- end
86
+ desc "Restart Application"
87
+ task :restart do
88
+ run "touch #{jboss_home}/standalone/deployments/#{application}-knob.yml.dodeploy"
95
89
  end
96
-
97
- desc "Stop TorqueBox Server"
98
- task :stop do
99
- puts "Stopping TorqueBox AS"
100
- case ( jboss_control_style )
101
- when :initd
102
- run "JBOSS_HOME=#{jboss_home} #{jboss_init_script} stop"
103
- when :binscripts
104
- run "#{jboss_home}/bin/jboss-cli.sh --connect :shutdown"
90
+
91
+ namespace :torquebox do
92
+
93
+ desc "Start TorqueBox Server"
94
+ task :start do
95
+ puts "Starting TorqueBox AS"
96
+ case ( jboss_control_style )
97
+ when :initd
98
+ run "#{jboss_init_script} start"
99
+ when :binscripts
100
+ run "nohup #{jboss_home}/bin/standalone.sh -b #{jboss_bind_address} < /dev/null > /dev/null 2>&1 &"
101
+ end
105
102
  end
106
- end
107
103
 
108
- desc "Restart TorqueBox Server"
109
- task :restart do
110
- case ( jboss_control_style )
111
- when :initd
112
- puts "Restarting TorqueBox AS"
113
- puts "JBOSS_HOME=#{jboss_home} #{jboss_init_script} restart"
114
- when :binscripts
115
- run "JBOSS_HOME=#{jboss_home} #{jboss_init_script} stop"
116
- run "nohup #{jboss_home}/bin/standalone.sh -bpublic=#{jboss_bind_address} < /dev/null > /dev/null 2>&1 &"
104
+ desc "Stop TorqueBox Server"
105
+ task :stop do
106
+ puts "Stopping TorqueBox AS"
107
+ case ( jboss_control_style )
108
+ when :initd
109
+ run "JBOSS_HOME=#{jboss_home} #{jboss_init_script} stop"
110
+ when :binscripts
111
+ run "#{jboss_home}/bin/jboss-cli.sh --connect :shutdown"
112
+ end
117
113
  end
118
- end
119
114
 
120
- namespace :torquebox do
115
+ desc "Restart TorqueBox Server"
116
+ task :restart do
117
+ case ( jboss_control_style )
118
+ when :initd
119
+ puts "Restarting TorqueBox AS"
120
+ puts "JBOSS_HOME=#{jboss_home} #{jboss_init_script} restart"
121
+ when :binscripts
122
+ run "JBOSS_HOME=#{jboss_home} #{jboss_init_script} stop"
123
+ run "nohup #{jboss_home}/bin/standalone.sh -bpublic=#{jboss_bind_address} < /dev/null > /dev/null 2>&1 &"
124
+ end
125
+ end
121
126
 
122
127
  task :info do
123
128
  puts "torquebox_home.....#{torquebox_home}"
@@ -147,7 +152,6 @@ module Capistrano
147
152
  end
148
153
  cmd += " && echo '' >> #{dd_file}"
149
154
  run cmd
150
- run "touch #{dd_file}.dodeploy"
151
155
  end
152
156
  end
153
157
 
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquebox-capistrano-support
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 2.0.0.cr1
4
+ prerelease:
5
+ version: 2.0.0
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-03-02 00:00:00 Z
13
+ date: 2012-03-31 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jruby-openssl
@@ -70,9 +70,9 @@ files:
70
70
  - lib/torquebox-capistrano-support.rb
71
71
  - lib/org.torquebox.capistrano-support.rb
72
72
  - lib/torquebox/capistrano/recipes.rb
73
- - spec/spec_helper.rb
74
73
  - spec/recipes_spec.rb
75
- homepage: http://www.torquebox.org/torquebox-gems-parent/torquebox-capistrano-support/
74
+ - spec/spec_helper.rb
75
+ homepage: http://torquebox.org/
76
76
  licenses:
77
77
  - lgpl
78
78
  post_install_message:
@@ -89,9 +89,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  none: false
91
91
  requirements:
92
- - - ">"
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 1.3.1
94
+ version: "0"
95
95
  requirements: []
96
96
 
97
97
  rubyforge_project: