trinidad_init_services 1.1.0.pre2 → 1.1.0.pre3

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.
@@ -3,7 +3,7 @@ require 'trinidad'
3
3
 
4
4
  module Trinidad
5
5
  module Daemon
6
- VERSION = '1.1.0.pre2'
6
+ VERSION = '1.1.0.pre3'
7
7
 
8
8
  def init
9
9
  end
@@ -76,8 +76,9 @@ module Trinidad
76
76
  end
77
77
 
78
78
  def configure_windows_service
79
+ srv_path = prunsrv_path
79
80
  command = %Q{//IS//Trinidad --DisplayName="#{@trinidad_name}" \
80
- --Install="#{prunsrv_path}" --Jvm=auto --StartMode=jvm --StopMode=jvm \
81
+ --Install="#{srv_path}" --Jvm=auto --StartMode=jvm --StopMode=jvm \
81
82
  --StartClass=com.msp.procrun.JRubyService --StartMethod=start \
82
83
  --StartParams="#{@trinidad_daemon_path};#{@trinidad_options.join(";")}" \
83
84
  --StopClass=com.msp.procrun.JRubyService --StopMethod=stop --Classpath="#{@classpath.join(";")}" \
@@ -85,7 +86,7 @@ module Trinidad
85
86
  --LogPrefix="#{@trinidad_name.downcase.gsub(/\W/,'')}" \
86
87
  ++JvmOptions="#{@jruby_opts.join(";")}"
87
88
  }
88
- system "#{prunsrv} #{command}"
89
+ system "#{srv_path} #{command}"
89
90
  end
90
91
 
91
92
  private
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'trinidad_init_services'
16
- s.version = '1.1.0.pre2'
17
- s.date = '2011-10-03'
16
+ s.version = '1.1.0.pre3'
17
+ s.date = '2011-11-03'
18
18
  s.rubyforge_project = 'trinidad_init_services'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: trinidad_init_services
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.1.0.pre2
5
+ version: 1.1.0.pre3
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Calavera
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-03 00:00:00 +02:00
14
- default_executable: trinidad_daemon_install
13
+ date: 2011-11-03 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: trinidad
@@ -49,7 +48,6 @@ files:
49
48
  - trinidad-libs/prunsrv_amd64.exe
50
49
  - trinidad-libs/prunsrv_ia64.exe
51
50
  - trinidad_init_services.gemspec
52
- has_rdoc: true
53
51
  homepage: http://github.com/calavera/trinidad_daemon
54
52
  licenses: []
55
53
 
@@ -84,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
82
  requirements: []
85
83
 
86
84
  rubyforge_project: trinidad_init_services
87
- rubygems_version: 1.5.1
85
+ rubygems_version: 1.8.9
88
86
  signing_key:
89
87
  specification_version: 2
90
88
  summary: Trinidad init service scripts based on Apache Commons Daemon