rb-fsevent-legacy 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,10 @@
1
1
  require "rb-fsevent-legacy/version"
2
2
 
3
- module FSEvent
3
+ if defined? FSEvent
4
+ Object.send :remove_const, :FSEvent
5
+ end
6
+
7
+ class FSEvent
4
8
  require "rb-fsevent-legacy/stream"
5
9
  require "rb-fsevent-legacy/event"
6
10
  require "rb-fsevent-legacy/fs_native_stream"
@@ -1,4 +1,4 @@
1
- module FSEvent
1
+ class FSEvent
2
2
  class Event
3
3
  #an ACTUAL filesystem event
4
4
  attr_accessor :event_path, :event_flags, :event_id
@@ -1,4 +1,4 @@
1
- module FSEvent
1
+ class FSEvent
2
2
  class Stream
3
3
  class << self
4
4
  def running?
@@ -1,3 +1,3 @@
1
- module FSEvent
2
- VERSION = "0.1.0"
1
+ class FSEvent
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-fsevent-legacy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stephen Prater