observr 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +1 -1
  3. data/lib/observr.rb +5 -5
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGYwNDY2YjY5OWRmYjBiYjFhMDM2ZmYxYTYyZWFiYTVmODY2MWQ1Yg==
4
+ OTRlNzQ3NGIyZmRmMjUzNmEwMzUwYTUxMzVlYzQ5ZmUzZTA2NTBmMw==
5
5
  data.tar.gz: !binary |-
6
- ZTUzMzdkYzM0NDBjZTAwOTA3ZTkzYmYwNGEwMDU5MjM3NWQ5ODViYw==
6
+ OTdmYzNmMzI1NjE2YWQxNmY0OTViNzA3YTE5YzY4YmM4MzdhZTgyOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjViMjA2YmVjMGE5OWRiZjY1ZWMzOTYxNzc0NWYyZmQxZTgxNTNmYjFmYThj
10
- YWMyOTRjYzJlYzM5ODc1M2NlZjE5ODM3YjE2M2Y3NTIyMjRkMGJjNThkYTkw
11
- NDY2OTZiMTIzYTI4NjRiNGJmMWM5ZTdlMmViNTg5ZDBiMjhhYmE=
9
+ YzI1YTQyODMyMDBiMGY3NGQ3ZTJiNWE2NTE0NTE2ZjQ3ZjQxMGZlYTg4N2Jk
10
+ NjA2NjcxNDA1MGE0YWZlMzAzYjQ0NjZlOGUzNzliOTQxMjRjNzI4MjRmNzRj
11
+ NmQ4ZmRjYjJhMjY3NzFjNmY2ZWU5YjUxMWJjYWNjNzNlZmIzZDM=
12
12
  data.tar.gz: !binary |-
13
- NmExZGIzMjRmMjk5MDdjOWUwOTk0ODZlYzhkMjFmZjZiOTY0NWIxOGY4NGNj
14
- YzgzMzE4MmNlYTM4NzY2NGIzMmNmNzIxNmE1MmM2NTIxZTA0OTcxZGRiZjU0
15
- NjRiYTIzZWQwNGQzYjhlZGMxMWRmM2Y5ZGNhN2IyYzc0NGY3ZjU=
13
+ OTNjYzk5NGNhMmE1YTk3NGZjODQ4MDhmYmQ0ZDgxNWZiYjcxNTRlZjYxMGNj
14
+ MTM5ZTJkMTg2ZWYwMzIzYjZhOWQ3OWJiMzI0NDE4NWE1YTg1YzEzZGM0Mzcx
15
+ ZjBmZmY3ZGU1MWZhZGM5ODdkYzI2MTQ2OTcyODY1YzRkNTMwZDU=
data/README.md CHANGED
@@ -109,7 +109,7 @@ Links
109
109
  [1]: http://github.com/kevinburke/observr/blob/master/specs.observr
110
110
  [2]: http://github.com/kevinburke/observr/blob/master/docs.observr
111
111
  [3]: http://github.com/kevinburke/observr/blob/master/gem.observr
112
- [4]: http://github.com/tarcieri/rev/
112
+ [4]: http://rev.rubyforge.org/rdoc/
113
113
  [5]: http://wiki.github.com/mynyml/observr
114
114
  [6]: http://github.com/mynyml/redgreen
115
115
  [7]: http://github.com/mynyml/phocus
@@ -14,12 +14,12 @@ require 'rbconfig'
14
14
  #
15
15
  $LOAD_PATH.unshift(File.dirname(__FILE__))
16
16
  module Observr
17
- VERSION = '1.0'
17
+ VERSION = '1.0.1'
18
18
 
19
19
  begin
20
- #require 'fsevent'
21
- #HAVE_FSE = true
22
- #rescue LoadError, RuntimeError
20
+ require 'fsevent'
21
+ HAVE_FSE = true
22
+ rescue LoadError, RuntimeError
23
23
  HAVE_FSE = false
24
24
  end
25
25
 
@@ -108,7 +108,7 @@ module Observr
108
108
  #
109
109
  def handler
110
110
  @handler ||=
111
- case ENV['HANDLER'] || Config::CONFIG['host_os']
111
+ case ENV['HANDLER'] || RbConfig::CONFIG['host_os']
112
112
  when /darwin|mach|osx|fsevents?/i
113
113
  if Observr::HAVE_FSE
114
114
  Observr::EventHandler::Darwin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: observr
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mynyml