ichiban 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ichiban/watcher.rb +6 -7
  2. metadata +3 -3
@@ -19,11 +19,10 @@ module Ichiban
19
19
  File.join(Ichiban.project_root, 'helpers'),
20
20
  File.join(Ichiban.project_root, 'scripts'),
21
21
  File.join(Ichiban.project_root, 'data'),
22
- File.join(Ichiban.project_root, 'webserver')
23
- )
24
- .ignore(/.listen_test$/)
25
- .latency(@options[:latency])
26
- .change do |modified, added, deleted|
22
+ File.join(Ichiban.project_root, 'webserver'),
23
+ ignore: /.listen_test$/,
24
+ latency: @options[:latency],
25
+ ) do |modified, added, deleted|
27
26
  (modified + added).uniq.each do |path|
28
27
  if file = Ichiban::ProjectFile.from_abs(path)
29
28
  @loader.change(file) # Tell the Loader that this file has changed
@@ -33,12 +32,12 @@ module Ichiban
33
32
  Ichiban.logger.exception(exc)
34
33
  end
35
34
  end
36
- end
35
+ end
37
36
  deleted.each do |path|
38
37
  Ichiban::Deleter.new.delete_dest(path)
39
38
  end
40
39
  end
41
- @listener.start(blocking)
40
+ @listener.start
42
41
  rescue Interrupt
43
42
  Ichiban.logger.out "Stopping watcher"
44
43
  exit 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ichiban
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 2.7.1
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 2.7.1
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: activesupport
64
64
  requirement: !ruby/object:Gem::Requirement