eventmachine-tail 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/emtail CHANGED
File without changes
data/bin/rtail CHANGED
File without changes
@@ -354,6 +354,8 @@ class EventMachine::FileTail
354
354
  def read_file_metadata(&block)
355
355
  begin
356
356
  filestat = File.stat(@path)
357
+ rescue Errno::ENOENT
358
+ raise
357
359
  rescue => e
358
360
  @logger.debug("File stat on '#{@path}' failed")
359
361
  on_exception e
@@ -44,7 +44,7 @@ class EventMachine::FileGlobWatch
44
44
  end # def initialize
45
45
 
46
46
  # This method may be called to stop watching
47
- #
47
+ # TODO(sissel): make 'stop' stop all active watches, too?
48
48
  public
49
49
  def stop
50
50
  @find_files_interval.cancel if @find_files_interval
metadata CHANGED
@@ -1,94 +1,77 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: eventmachine-tail
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.4
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 6
9
- - 3
10
- version: 0.6.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jordan Sissel
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-29 00:00:00 -07:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-10-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: eventmachine
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- description: Add file 'tail' implemented with EventMachine. Also includes a 'glob watch' class for watching a directory pattern for new matches, like /var/log/*.log
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: Add file 'tail' implemented with EventMachine. Also includes a 'glob
31
+ watch' class for watching a directory pattern for new matches, like /var/log/*.log
36
32
  email: jls@semicomplete.com
37
- executables:
33
+ executables:
38
34
  - rtail
39
35
  - emtail
40
36
  extensions: []
41
-
42
37
  extra_rdoc_files: []
43
-
44
- files:
45
- - lib/em/filetail.rb
46
- - lib/em/globwatcher.rb
38
+ files:
47
39
  - lib/eventmachine-tail.rb
48
- - samples/glob-tail.rb
40
+ - lib/em/globwatcher.rb
41
+ - lib/em/filetail.rb
42
+ - samples/tail.rb
49
43
  - samples/globwatch.rb
50
44
  - samples/tail-with-block.rb
51
- - samples/tail.rb
52
- - test/alltests.rb
45
+ - samples/glob-tail.rb
46
+ - test/test_filetail.rb
53
47
  - test/test_glob.rb
54
48
  - test/testcase_helpers.rb
55
- - test/test_filetail.rb
56
- - bin/rtail
49
+ - test/alltests.rb
57
50
  - bin/emtail
58
- has_rdoc: true
51
+ - bin/rtail
59
52
  homepage: http://code.google.com/p/semicomplete/wiki/EventMachineTail
60
53
  licenses: []
61
-
62
54
  post_install_message:
63
55
  rdoc_options: []
64
-
65
- require_paths:
56
+ require_paths:
66
57
  - lib
67
58
  - lib
68
- required_ruby_version: !ruby/object:Gem::Requirement
59
+ required_ruby_version: !ruby/object:Gem::Requirement
69
60
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
77
- required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
66
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- hash: 3
83
- segments:
84
- - 0
85
- version: "0"
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
86
71
  requirements: []
87
-
88
72
  rubyforge_project:
89
- rubygems_version: 1.6.2
73
+ rubygems_version: 1.8.24
90
74
  signing_key:
91
75
  specification_version: 3
92
76
  summary: eventmachine tail - a file tail implementation with glob support
93
77
  test_files: []
94
-