listen 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afd301f84bf913264ea3af28d934ec246847cb7a
4
- data.tar.gz: 8aec6a1af30a9788fe4d4180c3817a54d9b3af7a
3
+ metadata.gz: c83fc5197518ce26c9de43ff1289e8c5c3ee7f7b
4
+ data.tar.gz: d54ba768d057a1ed6023208b7382732b6a7509b8
5
5
  SHA512:
6
- metadata.gz: a513b31d4fe0ae7ca0d4e7e8016834fe5a34073e39ddb3c31a726b1f503b0f88c58fd71a48de7fff40a2f78f31d4081e3d61b29a16be5b8dd39a663afb9f69de
7
- data.tar.gz: 4a06cbebcf8a92f1fe2447edd0fbfa5949490f94f002eebeae548d0defe17aa2e4219e22bc3c07e2b93be5f0e03d99361d3d027aa924da8da38b083dd34f0991
6
+ metadata.gz: 1f1b592df753ac3a2b69cc8a79cea9c966669fba3e1384b61b101d989464dda234d9ef9334007212b017b316eeadafcc5ed4195bb838ae42dcf287e50a584aeb
7
+ data.tar.gz: e0489b648d6d2b4c5ed0d2b06b232d4b46edba3ea715b15b383da262e3bb8124b59f9c30d0f6af6ca05467156852aacd61ae2d5dfca1ed998cfe7c42aa8689b6
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## IMPORTANT: [Ruby 2.1 is officially outdated and unsupported!](https://www.ruby-lang.org/en/news/2016/03/30/ruby-2-1-9-released/) Please upgrade to Ruby 2.2 before installing Listen!
2
+
3
+ ### (To install for older versions, update Bundler to a prerelease version: `gem install bundler --pre` and Bundler should correctly resolve to an earlier gems for your given Ruby version).
4
+
1
5
  :exclamation: Listen is currently accepting more maintainers. Please [read this](https://github.com/guard/guard/wiki/Maintainers) if you're interested in joining the team.
2
6
 
3
7
  # Listen
@@ -13,7 +17,7 @@ The Listen gem listens to file modifications and notifies you about the changes.
13
17
  * You can watch multiple directories.
14
18
  * Regexp-patterns for ignoring paths for more accuracy and speed
15
19
  * Increased change detection accuracy on OS X HFS and VFAT volumes.
16
- * Tested on MRI Ruby environments (2.2+ only) via [Travis CI](https://travis-ci.org/guard/listen),
20
+ * Tested on selected Ruby environments via [Travis CI](https://travis-ci.org/guard/listen). (See [.travis.yml](https:///github.com/guard/listen/master/.travis.yml) for supported/tested Ruby Versions),
17
21
 
18
22
  ## Issues / limitations
19
23
 
@@ -4,6 +4,11 @@ require 'listen/listener'
4
4
 
5
5
  require 'listen/internals/thread_pool'
6
6
 
7
+ # Show warnings about vulnerabilities, bugs and outdated Rubies, since previous
8
+ # versions aren't tested or officially supported.
9
+ require 'ruby_dep/warning'
10
+ RubyDep::Warning.new.show_warnings
11
+
7
12
  # Always set up logging by default first time file is required
8
13
  #
9
14
  # NOTE: If you need to clear the logger completely, do so *after*
@@ -19,6 +19,7 @@ require 'listen/listener/config'
19
19
 
20
20
  module Listen
21
21
  class Listener
22
+ # TODO: move the state machine's methods private
22
23
  include Listen::FSM
23
24
 
24
25
  # Initializes the directories listener.
@@ -63,11 +64,11 @@ module Listen
63
64
 
64
65
  state :initializing, to: :backend_started
65
66
 
66
- state :backend_started, to: [:frontend_ready] do
67
+ state :backend_started, to: [:frontend_ready, :stopped] do
67
68
  backend.start
68
69
  end
69
70
 
70
- state :frontend_ready, to: [:processing_events] do
71
+ state :frontend_ready, to: [:processing_events, :stopped] do
71
72
  processor.setup
72
73
  end
73
74
 
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '3.1.1'.freeze
2
+ VERSION = '3.1.2'.freeze
3
3
  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: 3.1.1
4
+ version: 3.1.2
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: 2016-04-23 00:00:00.000000000 Z
11
+ date: 2016-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb-fsevent
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.9.7
41
+ - !ruby/object:Gem::Dependency
42
+ name: ruby_dep
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -109,6 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
123
  - - "~>"
110
124
  - !ruby/object:Gem::Version
111
125
  version: '2.2'
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: 2.2.4
112
129
  required_rubygems_version: !ruby/object:Gem::Requirement
113
130
  requirements:
114
131
  - - ">="
@@ -116,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
133
  version: '0'
117
134
  requirements: []
118
135
  rubyforge_project:
119
- rubygems_version: 2.4.8
136
+ rubygems_version: 2.4.5.1
120
137
  signing_key:
121
138
  specification_version: 4
122
139
  summary: Listen to file modifications