watchcat 0.3.0-x64-mingw-ucrt

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8983688d6c542c9f7ac71faa0c2d7a09898ca099e06f5c83fbb778331dd4ba5f
4
+ data.tar.gz: 5b9d3abd0d85e454772bddcfbb6900d39ae96483d565ccfd8e9bbe9844042055
5
+ SHA512:
6
+ metadata.gz: a6dd54bb0d8c7240860c064786f83c515c73dc0348b1280a4bfd1625e7da8f40b19fb15853870ac0afd8b94b34a06498c67595e231f4092a1caa2d2f44fed2c0
7
+ data.tar.gz: f34cc8e97640c88518e85ffb9fab3c523c66082428113161ccb01cbf92d9c6db55f915ec5587539ba97a1b401ef0d4d1623d2ff59a3004b75729f3549c5b78df
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## 0.3.0
2
+
3
+ * Support Windows
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in watchcat.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,84 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ watchcat (0.3.0)
5
+ rb_sys
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ cgi (0.5.0)
11
+ date (3.4.1)
12
+ debug (1.11.0)
13
+ irb (~> 1.10)
14
+ reline (>= 0.3.8)
15
+ erb (4.0.4)
16
+ cgi (>= 0.3.3)
17
+ ffi (1.17.1-arm64-darwin)
18
+ ffi (1.17.1-x64-mingw-ucrt)
19
+ ffi (1.17.1-x86_64-darwin)
20
+ ffi (1.17.1-x86_64-linux-gnu)
21
+ io-console (0.8.0)
22
+ irb (1.15.2)
23
+ pp (>= 0.6.0)
24
+ rdoc (>= 4.0.0)
25
+ reline (>= 0.4.2)
26
+ listen (3.9.0)
27
+ rb-fsevent (~> 0.10, >= 0.10.3)
28
+ rb-inotify (~> 0.9, >= 0.9.10)
29
+ minitest (5.25.5)
30
+ minitest-retry (0.2.5)
31
+ minitest (>= 5.0)
32
+ nokogiri (1.18.1-arm64-darwin)
33
+ racc (~> 1.4)
34
+ nokogiri (1.18.1-x64-mingw-ucrt)
35
+ racc (~> 1.4)
36
+ nokogiri (1.18.1-x86_64-darwin)
37
+ racc (~> 1.4)
38
+ nokogiri (1.18.1-x86_64-linux-gnu)
39
+ racc (~> 1.4)
40
+ pp (0.6.2)
41
+ prettyprint
42
+ prettyprint (0.2.0)
43
+ psych (5.2.6)
44
+ date
45
+ stringio
46
+ racc (1.8.1)
47
+ rake (13.3.0)
48
+ rake-compiler (1.3.0)
49
+ rake
50
+ rake-compiler-dock (1.9.1)
51
+ rb-fsevent (0.11.2)
52
+ rb-inotify (0.11.1)
53
+ ffi (~> 1.0)
54
+ rb_sys (0.9.117)
55
+ rake-compiler-dock (= 1.9.1)
56
+ rdoc (6.14.1)
57
+ erb
58
+ psych (>= 4.0.0)
59
+ reline (0.6.1)
60
+ io-console (~> 0.5)
61
+ ruby_memcheck (3.0.1)
62
+ nokogiri
63
+ stringio (3.1.7)
64
+
65
+ PLATFORMS
66
+ arm64-darwin-22
67
+ arm64-darwin-23
68
+ x64-mingw-ucrt
69
+ x86_64-darwin-19
70
+ x86_64-darwin-20
71
+ x86_64-linux
72
+
73
+ DEPENDENCIES
74
+ debug
75
+ listen
76
+ minitest
77
+ minitest-retry
78
+ rake
79
+ rake-compiler
80
+ ruby_memcheck
81
+ watchcat!
82
+
83
+ BUNDLED WITH
84
+ 2.6.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Yuji Yaginuma
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,103 @@
1
+ # Watchcat
2
+
3
+ Simple filesystem notification library for Ruby.
4
+
5
+ ## How
6
+
7
+ This gem uses [Notify](https://github.com/notify-rs/notify) to get notifications.
8
+
9
+ ## Platforms
10
+
11
+ This gem supports Linux and macOS. Due to the using `fork`, this doesn't support Windows now.
12
+
13
+ ## Installation
14
+
15
+ Install the gem and add to the application's Gemfile by executing:
16
+
17
+ $ bundle add watchcat
18
+
19
+ If bundler is not being used to manage dependencies, install the gem by executing:
20
+
21
+ $ gem install watchcat
22
+
23
+ ## Usage
24
+
25
+ Please specify a filename or directory and callback block to `Watchcat.watch`. The callback will call when the specified file or directory is changed.
26
+
27
+ ```ruby
28
+ require "watchcat"
29
+
30
+ Watchcat.watch("/tmp/test") do |e|
31
+ pp e.paths, e.kind
32
+ end
33
+
34
+ sleep
35
+ ```
36
+
37
+ The value that is passed to the callback holds the paths that changed and the file change event. For example, if a file is created under the `/tmp/test`, you will get the following output.
38
+
39
+ ```
40
+ ["/tmp/test/a.txt"]
41
+ #<Watchcat::EventKind:0x00007f84be7161d8 @access=nil, @create=#<Watchcat::CreateKind:0x00007f84b99eaa08 @kind="file">, @modify=nil, @remove=nil>
42
+ ["/tmp/test/a.txt"]
43
+ #<Watchcat::EventKind:0x00007f84be7159b8
44
+ @access=nil,
45
+ @create=nil,
46
+ @modify=#<Watchcat::ModifyKind:0x00007f84be715968 @data_change=nil, @kind="metadata", @metadata=#<Watchcat::MetadataKind:0x00007f84b99e7a60 @kind=nil>, @rename=nil>,
47
+ @remove=nil>
48
+ ["/tmp/test/a.txt"]
49
+ #<Watchcat::EventKind:0x00007f84be714dd8
50
+ @access=#<Watchcat::AccessKind:0x00007f84b99e3708 @access_mode=#<Watchcat::AccessMode:0x00007f84b99e3640 @mode="write">, @kind="close">,
51
+ @create=nil,
52
+ @modify=nil,
53
+ @remove=nil>
54
+ ```
55
+
56
+ You can know what event is happened with `Watchcat::EventKind`. For example, what a file is changed or not, you can check with `Watchcat::EventKind#modify?`. Seed the following example for details.
57
+
58
+ ```ruby
59
+ require "watchcat"
60
+
61
+ Watchcat.watch("/tmp/target") do |e|
62
+ if e.kind.create?
63
+ if e.kind.create.file?
64
+ puts "'#{e.paths[0]}'(File) is added."
65
+ elsif e.kind.create.folder?
66
+ puts "'#{e.paths[0]}'(Folder) is added."
67
+ end
68
+ elsif e.kind.modify?
69
+ if e.kind.modify.data_change?
70
+ puts "'#{e.paths[0]}' is updated."
71
+ end
72
+ elsif e.kind.remove?
73
+ if e.kind.remove.file?
74
+ puts "'#{e.paths[0]}'(File) is removed."
75
+ elsif e.kind.remove.folder?
76
+ puts "'#{e.paths[0]}'(Folder) is removed."
77
+ end
78
+ end
79
+ end
80
+
81
+ sleep
82
+ ```
83
+
84
+
85
+ **CAUTION** The `watchcat` doesn't normalize the events. So the result might change per the platform.
86
+
87
+
88
+ ### Options
89
+
90
+ | Name | Description | Default |
91
+ | -------------------------- | -----------------------------------------| ----------------- |
92
+ | **recursive** | Watch a directory recursively or not. | `true` |
93
+ | **force_polling** | Force to use a polling to watch. | `false` |
94
+ | **debounce** | Debounce events for the same file. | `-1` |
95
+
96
+
97
+ ## Contributing
98
+
99
+ Bug reports and pull requests are welcome on GitHub at https://github.com/y-yagi/watchcat.
100
+
101
+ ## License
102
+
103
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rake/testtask"
4
+ require "rb_sys/extensiontask"
5
+ require "bundler/gem_tasks"
6
+ require "minitest/test_task"
7
+ require "ruby_memcheck"
8
+
9
+ task default: :test
10
+
11
+ GEMSPEC = Gem::Specification.load("watchcat.gemspec")
12
+ RbSys::ExtensionTask.new("watchcat", GEMSPEC) do |ext|
13
+ ext.lib_dir = "lib/watchcat"
14
+ end
15
+
16
+ test_config = lambda do |t|
17
+ t.libs << "test"
18
+ t.libs << "lib"
19
+ t.deps << :compile
20
+ t.test_files = FileList[File.expand_path("test/**/*_test.rb", __dir__)]
21
+ t.warning = true
22
+ t.verbose = true
23
+ end
24
+
25
+ Rake::TestTask.new(&test_config)
26
+ namespace :test do
27
+ RubyMemcheck::TestTask.new(:valgrind, &test_config)
28
+ end
29
+
30
+ Minitest::TestTask.create(:unit_test) do |t|
31
+ t.libs << "test"
32
+ t.libs << "lib"
33
+ t.warning = false
34
+ t.test_globs = ["test/**/*_test.rb"]
35
+ end
36
+
37
+ task :default => :test
38
+
39
+ task console: :compile do
40
+ ruby "bin/console"
41
+ end
42
+
43
+ task example: :compile do
44
+ ruby "bin/example"
45
+ end
@@ -0,0 +1 @@
1
+ target
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,63 @@
1
+ require "watchcat/kind"
2
+
3
+ module Watchcat
4
+ class Event
5
+ attr_reader :kind, :paths, :raw_kind, :event
6
+
7
+ def initialize(kinds, paths, raw_kind)
8
+ @paths = paths
9
+ @raw_kind = raw_kind
10
+ build_kind(kinds)
11
+ end
12
+
13
+ def deconstruct_keys(_keys)
14
+ { paths: @paths, event: @event }
15
+ end
16
+
17
+ private
18
+
19
+ def build_kind(kinds)
20
+ @kind = Watchcat::EventKind.new
21
+ @event = kinds.shift
22
+ if event
23
+ @kind.public_send("#{event}=", Object.const_get("Watchcat::#{event.capitalize}Kind").new)
24
+ send("build_#{event}_kind", kinds)
25
+ else
26
+ @kind.any = Watchcat::AnyKind.new
27
+ if File.directory?(@paths.first)
28
+ @kind.any.kind = "folder"
29
+ else
30
+ @kind.any.kind = "file"
31
+ end
32
+ end
33
+ end
34
+
35
+ def build_access_kind(kinds)
36
+ @kind.access.kind = kinds.shift
37
+
38
+ if @kind.access.open? || @kind.access.close?
39
+ @kind.access.access_mode = Watchcat::AccessMode.new(kinds.shift)
40
+ end
41
+ end
42
+
43
+ def build_create_kind(kinds)
44
+ @kind.create.kind = kinds.shift
45
+ end
46
+
47
+ def build_modify_kind(kinds)
48
+ @kind.modify.kind = kinds.shift
49
+
50
+ if @kind.modify.data_change?
51
+ @kind.modify.data_change = Watchcat::DataChange.new(kinds.shift)
52
+ elsif @kind.modify.metadata?
53
+ @kind.modify.metadata = Watchcat::MetadataKind.new(kinds.shift)
54
+ elsif @kind.modify.rename?
55
+ @kind.modify.rename = Watchcat::RenameMode.new(kinds.shift)
56
+ end
57
+ end
58
+
59
+ def build_remove_kind(kinds)
60
+ @kind.remove.kind = kinds.shift
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,63 @@
1
+ require_relative "event"
2
+
3
+ module Watchcat
4
+ class Executor
5
+ def initialize(paths, recursive:, force_polling:, poll_interval:, wait_until_startup:, ignore_remove:, debounce:, block:)
6
+ @paths = paths
7
+ @recursive = recursive
8
+ @force_polling = force_polling
9
+ @poll_interval = poll_interval
10
+ @wait_until_startup = wait_until_startup
11
+ @ignore_remove = ignore_remove
12
+ @debounce = debounce
13
+ @block = block
14
+ @watcher = Watchcat::Watcher.new
15
+ @watch_thread = nil
16
+ @stop_requested = false
17
+ end
18
+
19
+ def start
20
+ # Always start watching in a background thread to avoid blocking
21
+ @watch_thread = Thread.new do
22
+ Thread.current.name = "watchcat-watcher"
23
+ start_watching
24
+ end
25
+
26
+ # If wait_until_startup is true, give the thread a moment to start
27
+ if @wait_until_startup
28
+ sleep 0.1
29
+ end
30
+
31
+ at_exit do
32
+ stop
33
+ end
34
+ end
35
+
36
+ def stop
37
+ @stop_requested = true
38
+ @watcher.close
39
+ if @watch_thread && @watch_thread.alive?
40
+ @watch_thread.join(1) # Wait up to 1 second for thread to finish
41
+ end
42
+ end
43
+
44
+ private
45
+
46
+ def start_watching
47
+ @watcher.watch(
48
+ @paths,
49
+ recursive: @recursive,
50
+ force_polling: @force_polling,
51
+ poll_interval: @poll_interval,
52
+ ignore_remove: @ignore_remove,
53
+ debounce: @debounce
54
+ ) do |kind, paths, raw_kind|
55
+ break if @stop_requested
56
+
57
+ # Create an event object and call the block
58
+ event = Watchcat::Event.new(kind, paths, raw_kind)
59
+ @block.call(event)
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,200 @@
1
+ require "forwardable"
2
+
3
+ module Watchcat
4
+ class EventKind
5
+ attr_accessor :access, :create, :modify, :remove, :any
6
+
7
+ def initialize
8
+ @access, @create, @modify, @remove, @any = nil, nil, nil, nil,nil
9
+ end
10
+
11
+ def access?
12
+ !@access.nil?
13
+ end
14
+
15
+ def create?
16
+ !@create.nil?
17
+ end
18
+
19
+ def modify?
20
+ !@modify.nil?
21
+ end
22
+
23
+ def remove?
24
+ !@remove.nil?
25
+ end
26
+
27
+ def any?
28
+ !@any.nil?
29
+ end
30
+ end
31
+
32
+ class AccessKind
33
+ extend Forwardable
34
+
35
+ attr_accessor :kind, :access_mode
36
+ delegate [:excute_mode?, :read_mode?, :write_mode?] => :@access_mode
37
+
38
+ def initialize
39
+ @kind, @access_mode = nil, nil
40
+ end
41
+
42
+ def read?
43
+ @kind == "read"
44
+ end
45
+
46
+ def open?
47
+ @kind == "open"
48
+ end
49
+
50
+ def close?
51
+ @kind == "close"
52
+ end
53
+ end
54
+
55
+ class CreateKind
56
+ attr_accessor :kind
57
+
58
+ def file?
59
+ @kind == "file"
60
+ end
61
+
62
+ def folder?
63
+ @kind == "folder"
64
+ end
65
+ end
66
+
67
+ class ModifyKind
68
+ extend Forwardable
69
+
70
+ attr_accessor :kind, :data_change, :metadata, :rename
71
+ delegate [:size?, :content?] => :@data_change
72
+ delegate [:access_time?, :write_time?, :permission?, :ownership?, :extended?] => :@metadata
73
+ delegate [:from?, :to?, :both?] => :@rename
74
+
75
+ def initialize
76
+ @kind, @data_change, @metadata, @rename = nil, nil, nil, nil
77
+ end
78
+
79
+ def data_change?
80
+ @kind == "data_change"
81
+ end
82
+
83
+ def metadata?
84
+ @kind == "metadata"
85
+ end
86
+
87
+ def rename?
88
+ @kind == "rename"
89
+ end
90
+ end
91
+
92
+ class RemoveKind
93
+ attr_accessor :kind
94
+
95
+ def file?
96
+ @kind == "file"
97
+ end
98
+
99
+ def folder?
100
+ @kind == "folder"
101
+ end
102
+ end
103
+
104
+ class AnyKind
105
+ attr_accessor :kind
106
+
107
+ def file?
108
+ @kind == "file"
109
+ end
110
+
111
+ def folder?
112
+ @kind == "folder"
113
+ end
114
+ end
115
+
116
+
117
+ class AccessMode
118
+ attr_accessor :mode
119
+
120
+ def initialize(mode)
121
+ @mode = mode
122
+ end
123
+
124
+ def execute_mode?
125
+ @mode == "execute"
126
+ end
127
+
128
+ def read_mode?
129
+ @mode == "read"
130
+ end
131
+
132
+ def write_mode?
133
+ @mode == "write"
134
+ end
135
+ end
136
+
137
+ class DataChange
138
+ attr_accessor :kind
139
+
140
+ def initialize(kind)
141
+ @kind = kind
142
+ end
143
+
144
+ def size?
145
+ @kind == "size"
146
+ end
147
+
148
+ def content?
149
+ @kind == "content"
150
+ end
151
+ end
152
+
153
+ class MetadataKind
154
+ attr_accessor :kind
155
+
156
+ def initialize(kind)
157
+ @kind = kind
158
+ end
159
+
160
+ def access_time?
161
+ @kind == "access_time"
162
+ end
163
+
164
+ def write_time?
165
+ @kind == "write_time"
166
+ end
167
+
168
+ def permission?
169
+ @kind == "permission"
170
+ end
171
+
172
+ def ownership?
173
+ @kind == "ownership"
174
+ end
175
+
176
+ def extended?
177
+ @kind == "extended"
178
+ end
179
+ end
180
+
181
+ class RenameMode
182
+ attr_accessor :mode
183
+
184
+ def initialize(mode)
185
+ @mode = mode
186
+ end
187
+
188
+ def from?
189
+ @mode == "from"
190
+ end
191
+
192
+ def to?
193
+ @mode == "to"
194
+ end
195
+
196
+ def both?
197
+ @mode == "both"
198
+ end
199
+ end
200
+ end
@@ -0,0 +1,3 @@
1
+ module Watchcat
2
+ VERSION = "0.3.0"
3
+ end
data/lib/watchcat.rb ADDED
@@ -0,0 +1,37 @@
1
+ require_relative "watchcat/version"
2
+ require_relative "watchcat/executor"
3
+
4
+ begin
5
+ require "watchcat/#{RUBY_VERSION.to_f}/watchcat"
6
+ rescue LoadError
7
+ require "watchcat/watchcat"
8
+ end
9
+
10
+ module Watchcat
11
+ class << self
12
+ def watch(
13
+ paths,
14
+ recursive: true,
15
+ force_polling: false,
16
+ poll_interval: nil,
17
+ wait_until_startup: false,
18
+ ignore_remove: false,
19
+ debounce: -1,
20
+ &block
21
+ )
22
+ w =
23
+ Watchcat::Executor.new(
24
+ Array(paths),
25
+ recursive: recursive,
26
+ force_polling: force_polling,
27
+ poll_interval: poll_interval,
28
+ wait_until_startup: wait_until_startup,
29
+ ignore_remove: ignore_remove,
30
+ debounce: debounce,
31
+ block: block
32
+ )
33
+ w.start
34
+ w
35
+ end
36
+ end
37
+ end
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: watchcat
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: x64-mingw-ucrt
6
+ authors:
7
+ - Yuji Yaginuma
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2025-08-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: debug
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest-retry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake-compiler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ruby_memcheck
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: listen
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description:
112
+ email:
113
+ - yuuji.yaginuma@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - CHANGELOG.md
119
+ - Gemfile
120
+ - Gemfile.lock
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - ext/watchcat/.gitignore
125
+ - lib/watchcat.rb
126
+ - lib/watchcat/3.1/watchcat.so
127
+ - lib/watchcat/3.2/watchcat.so
128
+ - lib/watchcat/3.3/watchcat.so
129
+ - lib/watchcat/3.4/watchcat.so
130
+ - lib/watchcat/event.rb
131
+ - lib/watchcat/executor.rb
132
+ - lib/watchcat/kind.rb
133
+ - lib/watchcat/version.rb
134
+ homepage: https://github.com/y-yagi/watchcat
135
+ licenses:
136
+ - MIT
137
+ metadata:
138
+ homepage_uri: https://github.com/y-yagi/watchcat
139
+ rubygems_mfa_required: 'true'
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '3.1'
149
+ - - "<"
150
+ - !ruby/object:Gem::Version
151
+ version: 3.5.dev
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ requirements: []
158
+ rubygems_version: 3.5.23
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Simple filesystem notification library for Ruby.
162
+ test_files: []