win32-service 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/README +2 -0
- data/lib/win32/daemon.rb +1 -1
- data/lib/win32/service.rb +2 -5
- data/test/test_win32_daemon.rb +1 -1
- data/test/test_win32_service.rb +1 -1
- data/win32-service.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c52768b016ef3a9947a0ca64496067ec76ae75a
|
4
|
+
data.tar.gz: 79a37c086022643af8f1691b8d49682976aa6f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7346088e3cba19b598f03a2e736dac8ef90f16e07adb52f0a16702ec700d1513877ae3ed3cf3eb7def02d26efdab0d98c4578a66a51dd33b3a4c2a53204c7c82
|
7
|
+
data.tar.gz: ca96bdc251b1ea198d1b5ebe045a6425e15def41f32daad345d1a4c12904d8d1775f3cbb36e14ba2e9474166d9aeecf24046473b53325cde9275e907f184a004
|
data/CHANGES
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 0.8.2 - 13-Aug-2013
|
2
|
+
* Fixed a bug in the Service.start method where it was not handling arguments
|
3
|
+
properly. Thanks go to Sean Karlage for the spot.
|
4
|
+
|
1
5
|
== 0.8.1 - 2-Aug-2013
|
2
6
|
* Fixed the failure actions code for the Service#configure method
|
3
7
|
so that it is also using FFI.
|
data/README
CHANGED
@@ -37,6 +37,8 @@
|
|
37
37
|
in a begin/end block and send error messages to a file. That should give a
|
38
38
|
good clue as to the nature of the problem. The most probable culprits are:
|
39
39
|
|
40
|
+
* You forgot to require 'win32/daemon' in your Daemon code.
|
41
|
+
|
40
42
|
* You've tried to require a library that's not in your $LOAD_PATH. Make sure
|
41
43
|
that your require statements are inside the begin/rescue block so that you can
|
42
44
|
easily find those mistakes.
|
data/lib/win32/daemon.rb
CHANGED
data/lib/win32/service.rb
CHANGED
@@ -17,7 +17,7 @@ module Win32
|
|
17
17
|
extend Windows::Functions
|
18
18
|
|
19
19
|
# The version of the win32-service library
|
20
|
-
VERSION = '0.8.
|
20
|
+
VERSION = '0.8.2'
|
21
21
|
|
22
22
|
# SCM security and access rights
|
23
23
|
|
@@ -702,13 +702,10 @@ module Win32
|
|
702
702
|
|
703
703
|
if args.empty?
|
704
704
|
args = nil
|
705
|
-
else
|
705
|
+
else
|
706
706
|
str_ptrs = []
|
707
707
|
num_args = args.size
|
708
708
|
|
709
|
-
# First arg must be service name
|
710
|
-
str_ptrs << FFI::MemoryPointer.from_string(service)
|
711
|
-
|
712
709
|
args.each{ |string|
|
713
710
|
str_ptrs << FFI::MemoryPointer.from_string(string)
|
714
711
|
}
|
data/test/test_win32_daemon.rb
CHANGED
data/test/test_win32_service.rb
CHANGED
data/win32-service.gemspec
CHANGED
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.2
|
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: 2013-08-
|
12
|
+
date: 2013-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|