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 CHANGED
@@ -1 +1,21 @@
1
- h1. Tess.
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
- puts Tess::Servant.fetch_synonym(word) if @opts[:synonym].nil? or
13
- @opts[:synonym]
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
@@ -1,3 +1,3 @@
1
1
  module Tess
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
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
data/Gemfile.lock DELETED
@@ -1,16 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- tess (0.0.1)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- nokogiri (1.4.4.1-x86-mingw32)
10
-
11
- PLATFORMS
12
- x86-mingw32
13
-
14
- DEPENDENCIES
15
- nokogiri
16
- tess!