rb-inotify 0.9.7 → 0.9.8
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 +5 -13
- data/VERSION +1 -1
- data/lib/rb-inotify.rb +1 -1
- data/lib/rb-inotify/event.rb +1 -1
- data/lib/rb-inotify/native.rb +4 -0
- data/lib/rb-inotify/notifier.rb +5 -1
- data/rb-inotify.gemspec +4 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NjNiOGM3MzlhZWRiMWM3NzQyMTRjZTFiYzgwNGQyOTFlOTBkOTVlOQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b8bfbc849234644754ef17ee3c69eb44712c59a6
|
4
|
+
data.tar.gz: fb589b6683906a14828beda595056d5ce5a129fe
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
Yzg4YjY0ZjdmZDExYTY4MDBmMDNjNjAyYTIzYTAzNTdhMDc0YWVmMTlkNzcy
|
11
|
-
NmNmNTYyNWE4YTAwN2Y1NmQ0YjAwZmJjNDQ1MWViYzc4NTdmN2Y=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
M2UwMjc1M2EyZTYyM2FmZDZlYjE2OTYzNzQ3MmUyOGY5MmUyOTc5MDliNGUz
|
14
|
-
ZDYxYzdlNzdhNWQ4ZjU0ZjE2NzhiMjc5MzNhMzFkN2E4YTNiMWM3ZjI4OWJk
|
15
|
-
YjZlMTQ4ZDBlNGI3ZWRmYTNlMDNhYzFiYzgwMWFiNWVkZmQyMzU=
|
6
|
+
metadata.gz: d7e8ae116d90c6ff2dd1e56dc9ad132f05833f67a2629284759f1086a7fc7eeb28a0193d82edd061b8c7c245d3193da41ce3c015030df52199fb3bde0ef2ad62
|
7
|
+
data.tar.gz: 1fc4a3584ece0192eb2a90e061bf9eb7274e6e746373dd01942c17f16b728935461f6fce894346a9c61aee68dd2abfb0c35c1c4766fe7353e7ff0e9c0306d272
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.8
|
data/lib/rb-inotify.rb
CHANGED
data/lib/rb-inotify/event.rb
CHANGED
data/lib/rb-inotify/native.rb
CHANGED
data/lib/rb-inotify/notifier.rb
CHANGED
@@ -195,7 +195,11 @@ module INotify
|
|
195
195
|
d = File.join(path, base)
|
196
196
|
binary_d = d.respond_to?(:force_encoding) ? d.dup.force_encoding('BINARY') : d
|
197
197
|
next if binary_d =~ /\/\.\.?$/ # Current or parent directory
|
198
|
-
|
198
|
+
next if RECURSIVE_BLACKLIST.include?(d)
|
199
|
+
next if flags.include?(:dont_follow) && File.symlink?(d)
|
200
|
+
next if !File.directory?(d)
|
201
|
+
|
202
|
+
watch(d, *flags, &callback)
|
199
203
|
end
|
200
204
|
|
201
205
|
dir.close
|
data/rb-inotify.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rb-inotify 0.9.
|
5
|
+
# stub: rb-inotify 0.9.8 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rb-inotify"
|
9
|
-
s.version = "0.9.
|
9
|
+
s.version = "0.9.8"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Nathan Weizenbaum"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2017-01-26"
|
15
15
|
s.description = "A Ruby wrapper for Linux's inotify, using FFI"
|
16
16
|
s.email = "nex342@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
33
33
|
"rb-inotify.gemspec"
|
34
34
|
]
|
35
35
|
s.homepage = "http://github.com/nex3/rb-inotify"
|
36
|
-
s.rubygems_version = "2.4.
|
36
|
+
s.rubygems_version = "2.4.8"
|
37
37
|
s.summary = "A Ruby wrapper for Linux's inotify, using FFI"
|
38
38
|
|
39
39
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb-inotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.5.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.5.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: yard
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.4.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.4.0
|
41
41
|
description: A Ruby wrapper for Linux's inotify, using FFI
|
@@ -45,7 +45,7 @@ extensions: []
|
|
45
45
|
extra_rdoc_files:
|
46
46
|
- README.md
|
47
47
|
files:
|
48
|
-
- .yardopts
|
48
|
+
- ".yardopts"
|
49
49
|
- MIT-LICENSE
|
50
50
|
- README.md
|
51
51
|
- Rakefile
|
@@ -67,17 +67,17 @@ require_paths:
|
|
67
67
|
- lib
|
68
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.4.
|
80
|
+
rubygems_version: 2.4.8
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: A Ruby wrapper for Linux's inotify, using FFI
|