tess 0.0.1 → 0.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/README.textile +21 -1
- data/lib/tess/runner.rb +2 -2
- data/lib/tess/version.rb +1 -1
- metadata +2 -5
- data/.gitignore +0 -0
- data/Gemfile.lock +0 -16
data/README.textile
CHANGED
|
@@ -1 +1,21 @@
|
|
|
1
|
-
h1.
|
|
1
|
+
h1. tess
|
|
2
|
+
|
|
3
|
+
tess enables you to lookup dictionary definitions and synonyms in the command line.
|
|
4
|
+
|
|
5
|
+
h1. Prerequisites
|
|
6
|
+
|
|
7
|
+
* nokogiri
|
|
8
|
+
|
|
9
|
+
h1. Installation
|
|
10
|
+
|
|
11
|
+
<pre>
|
|
12
|
+
gem install tess
|
|
13
|
+
</pre>
|
|
14
|
+
|
|
15
|
+
h1. Usage
|
|
16
|
+
|
|
17
|
+
<pre>
|
|
18
|
+
tess "hub" -s
|
|
19
|
+
</pre>
|
|
20
|
+
Only prints synonyms for "hub".
|
|
21
|
+
If you don't use any flags it will print both, definition and synonyms
|
data/lib/tess/runner.rb
CHANGED
|
@@ -9,8 +9,8 @@ module Tess
|
|
|
9
9
|
#word = gesucht
|
|
10
10
|
puts Tess::Servant.fetch_dict(word) if @opts[:dict].nil? or
|
|
11
11
|
@opts[:dict]
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
puts Tess::Servant.fetch_synonym(word) if @opts[:synonym].nil? or
|
|
13
|
+
@opts[:synonym]
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
data/lib/tess/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- nuttendorfer
|
|
@@ -28,9 +28,7 @@ extensions: []
|
|
|
28
28
|
extra_rdoc_files: []
|
|
29
29
|
|
|
30
30
|
files:
|
|
31
|
-
- .gitignore
|
|
32
31
|
- Gemfile
|
|
33
|
-
- Gemfile.lock
|
|
34
32
|
- README.textile
|
|
35
33
|
- Rakefile
|
|
36
34
|
- bin/tess
|
|
@@ -38,7 +36,6 @@ files:
|
|
|
38
36
|
- lib/tess/runner.rb
|
|
39
37
|
- lib/tess/servant.rb
|
|
40
38
|
- lib/tess/version.rb
|
|
41
|
-
- tess-0.0.1.gem
|
|
42
39
|
- tess.gemspec
|
|
43
40
|
has_rdoc: true
|
|
44
41
|
homepage: http://github.com/nuttendorfer/tess
|
data/.gitignore
DELETED
|
File without changes
|