listen 2.8.3 → 2.8.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c41f2fe5cb60a1128a34a6df435da8325c245a31
4
- data.tar.gz: ae4b18a4f893dcb9f2dea2065e75fd7d0af88335
3
+ metadata.gz: 12793c4773ab97a1c6dae6b24118a9dd6cdb65c5
4
+ data.tar.gz: 40934da6856ee4f074b7487bbf9b733d7c352c71
5
5
  SHA512:
6
- metadata.gz: f3e6697f836c76a4dd24cf9440d8426563da850c58d7c1a698197d674879df4f7370a42b96c456842f942a321ea06fc201ac9d1d5d4511568bf06e8eb1d26463
7
- data.tar.gz: 6659d1b8a8bc42c43e79993551bd3cd16ce89916292fe2400260d94c0e3bf1c60a31bbbd1397e1b09ef4841053abb342210337b9f56832e614ea5bd411d2b29c
6
+ metadata.gz: df21cae8514eecb194d12f3a01adb142bbc60bd8548b41821292c951607b54d73ff36b8b9590978afabbcfb0fe17f9e2d0155727cbfc8923eba7a65c177b8237
7
+ data.tar.gz: b10c7d7068c590686d3d2081960b2145484b9aea2ef4143b5b73df2a0bd37bdf0a403ea764963446af44a63e01b3e82de74a341df2c3123c711253829db36712
@@ -10,9 +10,6 @@ matrix:
10
10
  allow_failures:
11
11
  - rvm: jruby
12
12
  - rvm: rbx-2
13
- notifications:
14
- recipients:
15
- - thibaud@thibaud.gg
16
13
  os:
17
14
  - linux
18
15
  - osx
data/README.md CHANGED
@@ -168,7 +168,7 @@ debug: true # Enable Celluloid logger
168
168
  # default: false
169
169
 
170
170
  polling_fallback_message: 'custom message' # Set a custom polling fallback message (or disable it with false)
171
- # default: "Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback."
171
+ # default: "Listen will be polling for changes. Learn more at https://github.com/guard/listen#listen-adapters."
172
172
  ```
173
173
 
174
174
  Also, setting the environment variable `LISTEN_GEM_DEBUGGING=1` does the same as `debug: true` above.
@@ -222,6 +222,10 @@ end
222
222
 
223
223
  ```
224
224
 
225
+ ### Getting the [polling fallback message](#options)?
226
+
227
+ Please visit the [installation section of the Listen WIKI](https://github.com/guard/listen/wiki#installation) for more information and options for potential fixes.
228
+
225
229
  ### Issues and troubleshooting
226
230
 
227
231
  *NOTE: without providing the output after setting the `LISTEN_GEM_DEBUGGING=1` environment variable, it can be almost impossible to guess why listen is not working as expected.*
@@ -9,7 +9,7 @@ module Listen
9
9
  module Adapter
10
10
  OPTIMIZED_ADAPTERS = [Darwin, Linux, BSD, Windows]
11
11
  POLLING_FALLBACK_MESSAGE = 'Listen will be polling for changes.'\
12
- 'Learn more at https://github.com/guard/listen#polling-fallback.'
12
+ 'Learn more at https://github.com/guard/listen#listen-adapters.'
13
13
 
14
14
  def self.select(options = {})
15
15
  _log :debug, 'Adapter: considering TCP ...'
@@ -32,6 +32,20 @@ module Listen
32
32
  | \.swpx
33
33
  | ^4913
34
34
 
35
+ # Sed temporary files - but without actual words, like 'sedatives'
36
+ | (?:^
37
+ sed
38
+
39
+ (?:
40
+ [a-zA-Z0-9]{0}[A-Z]{1}[a-zA-Z0-9]{5} |
41
+ [a-zA-Z0-9]{1}[A-Z]{1}[a-zA-Z0-9]{4} |
42
+ [a-zA-Z0-9]{2}[A-Z]{1}[a-zA-Z0-9]{3} |
43
+ [a-zA-Z0-9]{3}[A-Z]{1}[a-zA-Z0-9]{2} |
44
+ [a-zA-Z0-9]{4}[A-Z]{1}[a-zA-Z0-9]{1} |
45
+ [a-zA-Z0-9]{5}[A-Z]{1}[a-zA-Z0-9]{0}
46
+ )
47
+ )
48
+
35
49
  # other files
36
50
  | \.DS_Store
37
51
  | \.tmp
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '2.8.3'
2
+ VERSION = '2.8.4'
3
3
  end
@@ -34,11 +34,25 @@ describe Listen::Silencer do
34
34
  # Vim swap files
35
35
  ignored += %w(foo.swp foo.swx foo.swpx 4913)
36
36
 
37
+ # sed temp files
38
+ ignored += %w(sedq7eVAR sed86w1kB)
39
+
37
40
  ignored.each do |path|
38
41
  it { should_not accept(:file, path) }
39
42
  end
40
43
 
41
- %w(foo.tmpl file.new file54321.new a.swf 14913 49131).each do |path|
44
+ %w(
45
+ foo.tmpl file.new file54321.new a.swf 14913 49131
46
+
47
+ sed_ABCDE
48
+ sedabcdefg
49
+ .sedq7eVAR
50
+ foo.sedq7eVAR
51
+ sedatives
52
+ sediments
53
+ sedan2014
54
+
55
+ ).each do |path|
42
56
  it { should accept(:file, path) }
43
57
  end
44
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.3
4
+ version: 2.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-27 00:00:00.000000000 Z
11
+ date: 2014-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid