win32-service 0.7.2-x86-mingw32
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.
- data/CHANGES +254 -0
- data/MANIFEST +19 -0
- data/README +71 -0
- data/Rakefile +179 -0
- data/doc/daemon.txt +157 -0
- data/doc/service.txt +364 -0
- data/examples/demo_daemon.rb +95 -0
- data/examples/demo_daemon_ctl.rb +122 -0
- data/examples/demo_services.rb +30 -0
- data/ext/win32/daemon.c +612 -0
- data/lib/win32/daemon.rb +5 -0
- data/lib/win32/ruby18/daemon.so +0 -0
- data/lib/win32/ruby19/daemon.so +0 -0
- data/lib/win32/service.rb +1641 -0
- data/test/test_win32_daemon.rb +61 -0
- data/test/test_win32_service.rb +409 -0
- data/test/test_win32_service_configure.rb +97 -0
- data/test/test_win32_service_create.rb +131 -0
- data/test/test_win32_service_info.rb +184 -0
- data/test/test_win32_service_status.rb +113 -0
- data/win32-service.gemspec +40 -0
- metadata +129 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'win32-service'
|
5
|
+
spec.version = '0.7.2'
|
6
|
+
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
7
|
+
spec.license = 'Artistic 2.0'
|
8
|
+
spec.email = 'djberg96@gmail.com'
|
9
|
+
spec.homepage = 'http://www.rubyforge.org/projects/win32utils'
|
10
|
+
spec.platform = Gem::Platform::RUBY
|
11
|
+
spec.summary = 'An interface for MS Windows services'
|
12
|
+
spec.test_files = Dir['test/test*.rb']
|
13
|
+
spec.extensions = ['ext/extconf.rb']
|
14
|
+
|
15
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
16
|
+
|
17
|
+
spec.extra_rdoc_files = [
|
18
|
+
'CHANGES',
|
19
|
+
'README',
|
20
|
+
'MANIFEST',
|
21
|
+
'doc/service.txt',
|
22
|
+
'doc/daemon.txt',
|
23
|
+
'ext/win32/daemon.c'
|
24
|
+
]
|
25
|
+
|
26
|
+
spec.rubyforge_project = 'win32utils'
|
27
|
+
spec.required_ruby_version = '>= 1.8.2'
|
28
|
+
|
29
|
+
spec.add_dependency('windows-pr', '>= 1.0.8')
|
30
|
+
spec.add_development_dependency('test-unit', '>= 2.1.0')
|
31
|
+
|
32
|
+
spec.description = <<-EOF
|
33
|
+
The win32-service library provides a Ruby interface to services on
|
34
|
+
MS Windows. You can create new services, or control, configure and
|
35
|
+
inspect existing services.
|
36
|
+
|
37
|
+
In addition, you can create a pure Ruby service by using the Daemon
|
38
|
+
class that is included as part of the library.
|
39
|
+
EOF
|
40
|
+
end
|
metadata
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: win32-service
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 2
|
10
|
+
version: 0.7.2
|
11
|
+
platform: x86-mingw32
|
12
|
+
authors:
|
13
|
+
- Daniel J. Berger
|
14
|
+
- Park Heesob
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2011-09-07 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: windows-pr
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
- 8
|
34
|
+
version: 1.0.8
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: test-unit
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 11
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 1
|
49
|
+
- 0
|
50
|
+
version: 2.1.0
|
51
|
+
type: :development
|
52
|
+
version_requirements: *id002
|
53
|
+
description: " The win32-service library provides a Ruby interface to services on\n MS Windows. You can create new services, or control, configure and\n inspect existing services.\n\n In addition, you can create a pure Ruby service by using the Daemon\n class that is included as part of the library.\n"
|
54
|
+
email: djberg96@gmail.com
|
55
|
+
executables: []
|
56
|
+
|
57
|
+
extensions: []
|
58
|
+
|
59
|
+
extra_rdoc_files:
|
60
|
+
- CHANGES
|
61
|
+
- README
|
62
|
+
- MANIFEST
|
63
|
+
- doc/service.txt
|
64
|
+
- doc/daemon.txt
|
65
|
+
- ext/win32/daemon.c
|
66
|
+
files:
|
67
|
+
- CHANGES
|
68
|
+
- doc/daemon.txt
|
69
|
+
- doc/service.txt
|
70
|
+
- examples/demo_daemon.rb
|
71
|
+
- examples/demo_daemon_ctl.rb
|
72
|
+
- examples/demo_services.rb
|
73
|
+
- lib/win32/daemon.rb
|
74
|
+
- lib/win32/ruby18/daemon.so
|
75
|
+
- lib/win32/ruby19/daemon.so
|
76
|
+
- lib/win32/service.rb
|
77
|
+
- MANIFEST
|
78
|
+
- Rakefile
|
79
|
+
- README
|
80
|
+
- test/test_win32_daemon.rb
|
81
|
+
- test/test_win32_service.rb
|
82
|
+
- test/test_win32_service_configure.rb
|
83
|
+
- test/test_win32_service_create.rb
|
84
|
+
- test/test_win32_service_info.rb
|
85
|
+
- test/test_win32_service_status.rb
|
86
|
+
- win32-service.gemspec
|
87
|
+
- ext/win32/daemon.c
|
88
|
+
homepage: http://www.rubyforge.org/projects/win32utils
|
89
|
+
licenses:
|
90
|
+
- Artistic 2.0
|
91
|
+
post_install_message:
|
92
|
+
rdoc_options: []
|
93
|
+
|
94
|
+
require_paths:
|
95
|
+
- lib
|
96
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 51
|
102
|
+
segments:
|
103
|
+
- 1
|
104
|
+
- 8
|
105
|
+
- 2
|
106
|
+
version: 1.8.2
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 3
|
113
|
+
segments:
|
114
|
+
- 0
|
115
|
+
version: "0"
|
116
|
+
requirements: []
|
117
|
+
|
118
|
+
rubyforge_project: win32utils
|
119
|
+
rubygems_version: 1.8.10
|
120
|
+
signing_key:
|
121
|
+
specification_version: 3
|
122
|
+
summary: An interface for MS Windows services
|
123
|
+
test_files:
|
124
|
+
- test/test_win32_daemon.rb
|
125
|
+
- test/test_win32_service.rb
|
126
|
+
- test/test_win32_service_configure.rb
|
127
|
+
- test/test_win32_service_create.rb
|
128
|
+
- test/test_win32_service_info.rb
|
129
|
+
- test/test_win32_service_status.rb
|