win32-changenotify 0.6.0 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07c45d703b303035e2b57bdf85bfea1f31b17cea
4
- data.tar.gz: a1804830a560e2aa35988900b95394558522fa59
3
+ metadata.gz: 27925f4c25bdd94463dfea23781f7bed7994b6ba
4
+ data.tar.gz: 6aa73d74a0d3f8990c18cb8c370e7c6cff62ebb9
5
5
  SHA512:
6
- metadata.gz: 9915924bc56a91d81437e64cab7bb495297683ee4cb6835c32806a689f7e57f1e705ccbacdc1cc6b657e731ec62d94338a4e243f4c0233b88b7a465d55b20a20
7
- data.tar.gz: 871f135bdd7f00971de340600904226f4e5af36c475ee3447401a36d4f8cabf335605c6d67ffa37373f9d54dda955e3a3eecf0ca8ce1eb8b08bcb9e7edf5729c
6
+ metadata.gz: 52edf1ed326ec8de4ea378c05f379505e4dc821ec26f0dbc25f83acca114f3a9028b66d89e9c6318f5cda5663015b51333c1719f6408079c7fd6f153ff598be7
7
+ data.tar.gz: 27b6875d877c3a044441d83743f781c2aa67121c0d97a4369170fe0f14ad8bc0d2027019e1543ecb828365e6d3e03557e4758d7fa0c7128d1f76a9ec33850771
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.6.1 - 21-Oct-2013
2
+ * Fixed INVALID_HANDLE_VALUE for 64-bit Ruby.
3
+
1
4
  == 0.6.0 - 16-Aug-2013
2
5
  * Converted code to FFI.
3
6
  * Updated dependencies in the gemspec, including ffi and win32-event.
@@ -16,7 +16,7 @@ module Win32
16
16
  extend Windows::Functions
17
17
 
18
18
  # The version of the win32-changenotify library
19
- VERSION = '0.6.0'
19
+ VERSION = '0.6.1'
20
20
 
21
21
  # Filter: Attribute changes
22
22
  ATTRIBUTES = FILE_NOTIFY_CHANGE_ATTRIBUTES
@@ -1,5 +1,9 @@
1
+ require 'ffi'
2
+
1
3
  module Windows
2
4
  module Constants
5
+ include FFI::Library
6
+
3
7
  FILE_ACTION_ADDED = 0x00000001
4
8
  FILE_ACTION_REMOVED = 0x00000002
5
9
  FILE_ACTION_MODIFIED = 0x00000003
@@ -23,6 +27,6 @@ module Windows
23
27
  FILE_FLAG_BACKUP_SEMANTICS = 0x02000000
24
28
  FILE_FLAG_OVERLAPPED = 0x40000000
25
29
 
26
- INVALID_HANDLE_VALUE = 0xFFFFFFFF
30
+ INVALID_HANDLE_VALUE = FFI::Pointer.new(-1).address
27
31
  end
28
32
  end
@@ -15,7 +15,7 @@ class TC_Win32_ChangeNotify < Test::Unit::TestCase
15
15
  end
16
16
 
17
17
  test "version constant is set to expected value" do
18
- assert_equal('0.6.0', ChangeNotify::VERSION)
18
+ assert_equal('0.6.1', ChangeNotify::VERSION)
19
19
  end
20
20
 
21
21
  test "path basic functionality" do
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'win32-changenotify'
5
- spec.version = '0.6.0'
5
+ spec.version = '0.6.1'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-changenotify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-16 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project: win32utils
112
- rubygems_version: 2.0.7
112
+ rubygems_version: 2.1.9
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: A way to monitor files and directories on MS Windows