mongrel_service 0.4.beta2 → 0.4.beta3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,11 @@
1
- === 0.4.beta1 / 2010-01-01
1
+ === 0.4.beta3 / 2010-03-07
2
+
3
+ * Bugfixes:
4
+ * Enable the service display name to contain spaces [sinclair]
5
+ * Use a regex for more realible determination of service existance [sinclair]
6
+ Closes GH-1
7
+
8
+ === 0.4.beta2 / 2010-01-01
2
9
 
3
10
  * Enhancements:
4
11
  * Removed win32-service dependency, making mongrel_service more portable
data/README.txt CHANGED
@@ -13,7 +13,6 @@ Use the following commands to get more help:
13
13
 
14
14
  service::install --help
15
15
  service::remove --help
16
- service::update --help
17
16
 
18
17
  == AUTHOR
19
18
 
@@ -9,7 +9,7 @@ module ServiceManager
9
9
  def self.create(service_name, display_name, binary_path_name)
10
10
  cmd = ['create']
11
11
  cmd << service_name
12
- cmd << "DisplayName=" << display_name
12
+ cmd << "DisplayName=" << display_name.inspect
13
13
  cmd << "binPath=" << binary_path_name.inspect
14
14
  status, out = sc(*cmd)
15
15
  raise CreateError.new(out) unless status == 0
@@ -19,7 +19,7 @@ module ServiceManager
19
19
 
20
20
  def self.exist?(service_name)
21
21
  status, out = sc('query', service_name)
22
- status == 0
22
+ out =~ /#{service_name}/i
23
23
  end
24
24
 
25
25
  def self.open(service_name)
@@ -6,7 +6,7 @@ task :gem => [:compile]
6
6
 
7
7
  HOE = Hoe.spec 'mongrel_service' do
8
8
  self.rubyforge_name = "mongrel"
9
- self.version = '0.4.beta2'
9
+ self.version = '0.4.beta3'
10
10
 
11
11
  developer 'Luis Lavena', 'luislavena@gmail.com'
12
12
 
@@ -39,7 +39,7 @@ project_task :all_tests do
39
39
 
40
40
  library 'testly'
41
41
 
42
- source 'native/console_process.bas'
42
+ source 'src/mongrel_service/console_process.bas'
43
43
 
44
44
  option options
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongrel_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.beta2
4
+ version: 0.4.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Lavena
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-01 00:00:00 -03:00
12
+ date: 2010-03-07 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,6 +32,26 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.1.5
34
34
  version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: rubyforge
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 2.0.4
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: gemcutter
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 0.4.1
54
+ version:
35
55
  - !ruby/object:Gem::Dependency
36
56
  name: hoe
37
57
  type: :development
@@ -40,7 +60,7 @@ dependencies:
40
60
  requirements:
41
61
  - - ">="
42
62
  - !ruby/object:Gem::Version
43
- version: 2.4.0
63
+ version: 2.5.0
44
64
  version:
45
65
  description: |-
46
66
  This plugin offer native win32 services for rails.