win32-service 0.8.6 → 0.8.7
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.
- checksums.yaml +4 -4
- data/CHANGES +306 -301
- data/MANIFEST +18 -18
- data/README +77 -77
- data/Rakefile +101 -101
- data/doc/daemon.txt +157 -157
- data/doc/service.txt +363 -363
- data/examples/demo_daemon.rb +95 -95
- data/examples/demo_daemon_ctl.rb +122 -122
- data/examples/demo_services.rb +30 -30
- data/lib/win32/daemon.rb +364 -364
- data/lib/win32/service.rb +1567 -1567
- data/lib/win32/windows/constants.rb +143 -143
- data/lib/win32/windows/functions.rb +75 -75
- data/lib/win32/windows/helper.rb +41 -41
- data/lib/win32/windows/structs.rb +130 -121
- data/test/test_win32_daemon.rb +58 -58
- data/test/test_win32_service.rb +437 -437
- data/test/test_win32_service_configure.rb +99 -99
- data/test/test_win32_service_create.rb +129 -129
- data/test/test_win32_service_info.rb +188 -188
- data/test/test_win32_service_status.rb +110 -110
- data/win32-service.gemspec +35 -35
- metadata +3 -3
data/win32-service.gemspec
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
|
3
|
-
Gem::Specification.new do |spec|
|
4
|
-
spec.name = 'win32-service'
|
5
|
-
spec.version = '0.8.
|
6
|
-
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
7
|
-
spec.license = 'Artistic 2.0'
|
8
|
-
spec.email = 'djberg96@gmail.com'
|
9
|
-
spec.homepage = 'http://github.com/djberg96/win32-service'
|
10
|
-
spec.summary = 'An interface for MS Windows services'
|
11
|
-
spec.test_files = Dir['test/test*.rb']
|
12
|
-
|
13
|
-
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
14
|
-
|
15
|
-
spec.extra_rdoc_files = [
|
16
|
-
'CHANGES',
|
17
|
-
'README',
|
18
|
-
'MANIFEST',
|
19
|
-
'doc/service.txt',
|
20
|
-
'doc/daemon.txt'
|
21
|
-
]
|
22
|
-
|
23
|
-
spec.add_dependency('ffi')
|
24
|
-
spec.add_development_dependency('test-unit')
|
25
|
-
spec.add_development_dependency('rake')
|
26
|
-
|
27
|
-
spec.description = <<-EOF
|
28
|
-
The win32-service library provides a Ruby interface to services on
|
29
|
-
MS Windows. You can create new services, or control, configure and
|
30
|
-
inspect existing services.
|
31
|
-
|
32
|
-
In addition, you can create a pure Ruby service by using the Daemon
|
33
|
-
class that is included as part of the library.
|
34
|
-
EOF
|
35
|
-
end
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'win32-service'
|
5
|
+
spec.version = '0.8.7'
|
6
|
+
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
7
|
+
spec.license = 'Artistic 2.0'
|
8
|
+
spec.email = 'djberg96@gmail.com'
|
9
|
+
spec.homepage = 'http://github.com/djberg96/win32-service'
|
10
|
+
spec.summary = 'An interface for MS Windows services'
|
11
|
+
spec.test_files = Dir['test/test*.rb']
|
12
|
+
|
13
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
14
|
+
|
15
|
+
spec.extra_rdoc_files = [
|
16
|
+
'CHANGES',
|
17
|
+
'README',
|
18
|
+
'MANIFEST',
|
19
|
+
'doc/service.txt',
|
20
|
+
'doc/daemon.txt'
|
21
|
+
]
|
22
|
+
|
23
|
+
spec.add_dependency('ffi')
|
24
|
+
spec.add_development_dependency('test-unit')
|
25
|
+
spec.add_development_dependency('rake')
|
26
|
+
|
27
|
+
spec.description = <<-EOF
|
28
|
+
The win32-service library provides a Ruby interface to services on
|
29
|
+
MS Windows. You can create new services, or control, configure and
|
30
|
+
inspect existing services.
|
31
|
+
|
32
|
+
In addition, you can create a pure Ruby service by using the Daemon
|
33
|
+
class that is included as part of the library.
|
34
|
+
EOF
|
35
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.4.6
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: An interface for MS Windows services
|