file-tail 1.0.1 → 1.0.2

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.
data/CHANGES CHANGED
@@ -1,9 +1,11 @@
1
+ 2007-04-19 * 1.0.2 * make_doc.rb was missing from the source archive. Thanks to
2
+ Rick Ohnemus <rick.ohnemus@systemware.com> for reporting it.
1
3
  2007-04-19 * 1.0.1 * Bugfix: File::Tail::Logfile#open with block, now closes
2
4
  the file like File#open does. Found by Alex Doan
3
5
  <alex.doan@wachovia.com>, ruby-talk:248383.
4
6
  2007-03-30 * 1.0.0 * Bugfix: David.Barzilay@swisscom.com reported, that file
5
7
  tails may skip some log file lines, after rotating it. I
6
- think, І fixed that problem.
8
+ think, that I fixed that problem.
7
9
  I added a after_reopen callback as well, that is called
8
10
  after reopening of the tailed file has occured.
9
11
  * Removed rewind/wind methods even earlier than planned: I
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ include Config
7
7
 
8
8
  PKG_NAME = 'file-tail'
9
9
  PKG_VERSION = File.read('VERSION').chomp
10
- PKG_FILES = FileList["**/*"].exclude(/pkg|coverage|doc/)
10
+ PKG_FILES = FileList["**/*"].exclude(/^(pkg|coverage|doc)/)
11
11
 
12
12
  desc "Installing library"
13
13
  task :install do
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -1,7 +1,7 @@
1
1
  class File
2
2
  module Tail
3
3
  # File::Tail version
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
6
6
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
7
7
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $outdir = 'doc/'
4
+ puts "Creating documentation in '#$outdir'."
5
+ system "rdoc -t File::Tail -m File::Tail -o #$outdir #{Dir['lib/**/*.rb'] * ' '}"
6
+ # vim: set et sw=2 ts=2:
metadata CHANGED
@@ -1,9 +1,9 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: file-tail
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.1
6
+ version: 1.0.2
7
7
  date: 2007-04-19 00:00:00 +02:00
8
8
  summary: File::Tail for Ruby
9
9
  require_paths:
@@ -25,7 +25,6 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
- post_install_message:
29
28
  authors:
30
29
  - Florian Frank
31
30
  files:
@@ -37,13 +36,14 @@ files:
37
36
  - Rakefile
38
37
  - examples
39
38
  - lib
39
+ - make_doc.rb
40
40
  - CHANGES
41
41
  - tests/test_file-tail.rb
42
42
  - examples/pager.rb
43
43
  - examples/tail.rb
44
44
  - lib/file
45
- - lib/file/tail.rb
46
45
  - lib/file/tail
46
+ - lib/file/tail.rb
47
47
  - lib/file/tail/version.rb
48
48
  test_files:
49
49
  - tests/test_file-tail.rb