ruby_ngrams 0.0.4 → 0.0.5

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/README.rdoc +5 -1
  2. data/bin/ruby_ngrams +2 -5
  3. metadata +3 -3
data/README.rdoc CHANGED
@@ -67,7 +67,11 @@ to produce n-grams from a string.
67
67
 
68
68
  = Usage
69
69
 
70
- ./ruby_ngrams --
70
+ You can simply run the executable and provide input via STDIN.
71
+ ruby_ngrams
72
+
73
+ You can also provide input via one or more filenames
74
+ ruby_ngrams [FILES]
71
75
 
72
76
  = Dependencies
73
77
 
data/bin/ruby_ngrams CHANGED
@@ -49,9 +49,6 @@ class App
49
49
 
50
50
  end
51
51
 
52
-
53
- if __FILE__ == $0
54
- app = App.new(ARGV, __FILE__)
55
- app.run
56
- end
52
+ app = App.new(ARGV, __FILE__)
53
+ app.run
57
54
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Martin Velez
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-11-29 00:00:00 -08:00
17
+ date: 2011-11-30 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency