wtails 0.0.5 → 0.0.6

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.
Files changed (3) hide show
  1. data/bin/wtails +4 -3
  2. data/lib/wtails/version.rb +1 -1
  3. metadata +3 -3
data/bin/wtails CHANGED
@@ -3,8 +3,11 @@
3
3
  require 'rubygems'
4
4
  require 'trollop'
5
5
 
6
+ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
7
+ require "wtails"
8
+
6
9
  opts = Trollop::options do
7
- version "wtails 0.1 (c) 2012 Naoyuki Hirayama"
10
+ version "wtails #{Wtails::VERSION} (c) 2012 Naoyuki Hirayama"
8
11
  banner <<-EOS
9
12
  Wtails is a web server acts like 'tail -f'.
10
13
 
@@ -20,8 +23,6 @@ end
20
23
 
21
24
  Trollop::die "need at least one filename" if ARGV.empty?
22
25
 
23
- $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
24
- require "wtails"
25
26
  begin
26
27
  Wtails.run(opts.to_hash, ARGV)
27
28
  rescue Errno::ENOENT => e
@@ -1,3 +1,3 @@
1
1
  module Wtails
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wtails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Naoyuki HIRAYAMA