listen 0.5.2 → 0.5.3

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.
@@ -1,3 +1,10 @@
1
+ ## 0.5.3 - October 3, 2012
2
+
3
+ ### Bug fixes
4
+
5
+ - [#65] Fix ruby warning in adapter.rb. (fixed by [@vongruenigen][])
6
+ - [#64] ENXIO raised when hashing UNIX domain socket file. (fixed by [@sunaku][])
7
+
1
8
  ## 0.5.2 - Septemper 23, 2012
2
9
 
3
10
  ### Bug fix
@@ -154,7 +161,11 @@
154
161
  [#27]: https://github.com/guard/listen/issues/27
155
162
  [#28]: https://github.com/guard/listen/issues/28
156
163
  [#32]: https://github.com/guard/listen/issues/32
157
- [#39]: https://github.com/guard/listen/issues/39
164
+ [#41]: https://github.com/guard/listen/issues/41
165
+ [#61]: https://github.com/guard/listen/issues/61
166
+ [#62]: https://github.com/guard/listen/issues/62
167
+ [#64]: https://github.com/guard/listen/issues/64
168
+ [#65]: https://github.com/guard/listen/issues/65
158
169
  [@Maher4Ever]: https://github.com/Maher4Ever
159
170
  [@dkubb]: https://github.com/dkubb
160
171
  [@ebroder]: https://github.com/ebroder
@@ -168,6 +179,8 @@
168
179
  [@nex3]: https://github.com/nex3
169
180
  [@rymai]: https://github.com/rymai
170
181
  [@scottdavis]: https://github.com/scottdavis
182
+ [@sunaku]: https://github.com/sunaku
171
183
  [@textgoeshere]: https://github.com/textgoeshere
172
184
  [@thibaudgg]: https://github.com/thibaudgg
185
+ [@vongruenigen]: https://github.com/vongruenigen
173
186
  [WDM]: https://github.com/Maher4Ever/wdm
@@ -166,7 +166,7 @@ module Listen
166
166
  def self.works?(directory, options = {})
167
167
  work = false
168
168
  test_file = "#{directory}/.listen_test"
169
- callback = lambda { |changed_dirs, options| work = true }
169
+ callback = lambda { |*| work = true }
170
170
  adapter = self.new(directory, options, &callback)
171
171
  adapter.start(false)
172
172
 
@@ -282,7 +282,7 @@ module Listen
282
282
  #
283
283
  def sha1_checksum(path)
284
284
  Digest::SHA1.file(path).to_s
285
- rescue Errno::EACCES, Errno::ENOENT
285
+ rescue Errno::EACCES, Errno::ENOENT, Errno::ENXIO
286
286
  nil
287
287
  end
288
288
 
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-23 00:00:00.000000000 Z
13
+ date: 2012-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler