words 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,8 +1,8 @@
1
- # Words - A fast, easy to use interface to WordNet® with cross ruby distribution compatability. #
1
+ # Words - A fast, easy to use interface to WordNet® with cross ruby distribution compatibility. #
2
2
 
3
3
  ## About ##
4
4
 
5
- Words implements a fast interface to [Wordnet®](http://wordnet.princeton.edu) which provides both a pure ruby and an FFI powered backend over the same easy-to-use API. The FFI backend makes use of [Tokyo Cabinet](http://1978th.net/tokyocabinet/) and the FFI interface, [rufus-tokyo](http://github.com/jmettraux/rufus-tokyo), to provide cross ruby distribution compatability and blistering speed. The pure ruby interface operates on a special ruby optimised index along with the basic dictionary files provided by WordNet®. I have attempted to provide ease of use in the form of a simple yet powerful api and installation is a sintch!
5
+ Words implements a fast interface to [Wordnet®](http://wordnet.princeton.edu) which provides both a pure ruby and an FFI powered backend over the same easy-to-use API. The FFI backend makes use of [Tokyo Cabinet](http://1978th.net/tokyocabinet/) and the FFI interface, [rufus-tokyo](http://github.com/jmettraux/rufus-tokyo), to provide cross ruby distribution compatibility and blistering speed. The pure ruby interface operates on a special ruby optimised index along with the basic dictionary files provided by WordNet®. I have attempted to provide ease of use in the form of a simple yet powerful api and installation is a sintch!
6
6
 
7
7
  * Version 0.2 Introduced Pure Ruby Backend
8
8
  * Version 0.3 Introduced Evocation Support (see examples & below) as developed by the [Wordnet® Evocation Project](http://wordnet.cs.princeton.edu/downloads/evocation/release-0.4/README.TXT)
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ begin
6
6
  require 'jeweler'
7
7
  Jeweler::Tasks.new do |gem|
8
8
  gem.name = "words"
9
- gem.summary = %Q{A Fast & Easy to use interface to WordNet® with cross ruby distribution compatability.}
9
+ gem.summary = %Q{A Fast & Easy to use interface to WordNet® with cross ruby distribution compatibility.}
10
10
  gem.description = %Q{Words, with both pure ruby & tokyo-cabinate backends, implements a fast interface to Wordnet® over the same easy-to-use API. The FFI backend makes use of Tokyo Cabinet and the FFI interface, rufus-tokyo, to provide cross ruby distribution compatability and blistering speed. The pure ruby interface operates on a special ruby optimised index along with the basic dictionary files provided by WordNet®. I have attempted to provide ease of use in the form of a simple yet powerful api and installation is a sintch!}
11
11
  gem.email = "roja@arbia.co.uk"
12
12
  gem.homepage = "http://github.com/roja/words"
@@ -14,22 +14,21 @@ begin
14
14
  gem.executables = [ "build_wordnet" ]
15
15
  gem.default_executable = "build_wordnet"
16
16
  gem.rubyforge_project = 'words'
17
- gem.add_development_dependency "rspec", ">= 1.2.9"
17
+ gem.add_development_dependency "rspec", ">= 2.11.0"
18
18
  end
19
19
  Jeweler::GemcutterTasks.new
20
20
  rescue LoadError
21
21
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
22
22
  end
23
23
 
24
- require 'spec/rake/spectask'
25
- Spec::Rake::SpecTask.new(:spec) do |spec|
26
- spec.libs << 'lib' << 'spec'
27
- spec.spec_files = FileList['spec/**/*_spec.rb']
24
+ require 'rspec/core/rake_task'
25
+ RSpec::Core::RakeTask.new(:spec) do |spec|
26
+ spec.pattern = 'spec/**/*_spec.rb'
28
27
  end
29
28
 
30
29
  begin
31
30
  require 'rcov'
32
- Spec::Rake::SpecTask.new(:rcov) do |spec|
31
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
33
32
  spec.libs << 'lib' << 'spec'
34
33
  spec.pattern = 'spec/**/*_spec.rb'
35
34
  spec.rcov = true
@@ -44,7 +43,7 @@ task :spec => :check_dependencies
44
43
 
45
44
  task :default => :spec
46
45
 
47
- require 'rake/rdoctask'
46
+ require 'rdoc/task'
48
47
  Rake::RDocTask.new do |rdoc|
49
48
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
50
49
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
data/bin/build_wordnet CHANGED
@@ -60,11 +60,6 @@ if !opts[:build_tokyo] && !opts[:build_tokyo_with_evocations] && !opts[:build_pu
60
60
  end
61
61
  puts "Verbose mode enabled" if (VERBOSE = !opts[:quiet])
62
62
 
63
- pp "Options:", opts
64
-
65
- exit
66
-
67
-
68
63
  require 'rufus-tokyo' if opts[:build_tokyo] || opts[:build_tokyo_with_evocations]
69
64
 
70
65
  gem_path = Pathname.new "#{File.dirname(__FILE__)}/.."
data/words.gemspec CHANGED
@@ -1,62 +1,57 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{words}
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roja Buck"]
12
- s.date = %q{2010-06-20}
12
+ s.date = %q{2012-09-22}
13
13
  s.default_executable = %q{build_wordnet}
14
14
  s.description = %q{Words, with both pure ruby & tokyo-cabinate backends, implements a fast interface to Wordnet® over the same easy-to-use API. The FFI backend makes use of Tokyo Cabinet and the FFI interface, rufus-tokyo, to provide cross ruby distribution compatability and blistering speed. The pure ruby interface operates on a special ruby optimised index along with the basic dictionary files provided by WordNet®. I have attempted to provide ease of use in the form of a simple yet powerful api and installation is a sintch!}
15
15
  s.email = %q{roja@arbia.co.uk}
16
16
  s.executables = ["build_wordnet"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE",
19
- "README.markdown"
19
+ "README.markdown"
20
20
  ]
21
21
  s.files = [
22
- ".gitignore",
23
- "LICENSE",
24
- "README.markdown",
25
- "Rakefile",
26
- "VERSION",
27
- "bin/build_wordnet",
28
- "examples.rb",
29
- "lib/evocations.rb",
30
- "lib/homographs.rb",
31
- "lib/relation.rb",
32
- "lib/synset.rb",
33
- "lib/wordnet_connectors/pure_wordnet_connection.rb",
34
- "lib/wordnet_connectors/tokyo_wordnet_connection.rb",
35
- "lib/words.rb",
36
- "spec/words_spec.rb",
37
- "words.gemspec"
22
+ "LICENSE",
23
+ "README.markdown",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "bin/build_wordnet",
27
+ "examples.rb",
28
+ "lib/evocations.rb",
29
+ "lib/homographs.rb",
30
+ "lib/relation.rb",
31
+ "lib/synset.rb",
32
+ "lib/wordnet_connectors/pure_wordnet_connection.rb",
33
+ "lib/wordnet_connectors/tokyo_wordnet_connection.rb",
34
+ "lib/words.rb",
35
+ "spec/words_spec.rb",
36
+ "words.gemspec"
38
37
  ]
39
38
  s.homepage = %q{http://github.com/roja/words}
40
- s.rdoc_options = ["--charset=UTF-8"]
41
39
  s.require_paths = ["lib"]
42
40
  s.rubyforge_project = %q{words}
43
41
  s.rubygems_version = %q{1.3.6}
44
- s.summary = %q{A Fast & Easy to use interface to WordNet® with cross ruby distribution compatability.}
45
- s.test_files = [
46
- "spec/words_spec.rb"
47
- ]
42
+ s.summary = %q{A Fast & Easy to use interface to WordNet® with cross ruby distribution compatibility.}
48
43
 
49
44
  if s.respond_to? :specification_version then
50
45
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
51
46
  s.specification_version = 3
52
47
 
53
48
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
54
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
49
+ s.add_development_dependency(%q<rspec>, [">= 2.11.0"])
55
50
  else
56
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
51
+ s.add_dependency(%q<rspec>, [">= 2.11.0"])
57
52
  end
58
53
  else
59
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
54
+ s.add_dependency(%q<rspec>, [">= 2.11.0"])
60
55
  end
61
56
  end
62
57
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 4
9
- version: 0.4.4
8
+ - 5
9
+ version: 0.4.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roja Buck
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-20 00:00:00 +01:00
17
+ date: 2012-09-22 00:00:00 +01:00
18
18
  default_executable: build_wordnet
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -25,10 +25,10 @@ dependencies:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  segments:
28
- - 1
29
28
  - 2
30
- - 9
31
- version: 1.2.9
29
+ - 11
30
+ - 0
31
+ version: 2.11.0
32
32
  type: :development
33
33
  version_requirements: *id001
34
34
  description: "Words, with both pure ruby & tokyo-cabinate backends, implements a fast interface to Wordnet\xC2\xAE over the same easy-to-use API. The FFI backend makes use of Tokyo Cabinet and the FFI interface, rufus-tokyo, to provide cross ruby distribution compatability and blistering speed. The pure ruby interface operates on a special ruby optimised index along with the basic dictionary files provided by WordNet\xC2\xAE. I have attempted to provide ease of use in the form of a simple yet powerful api and installation is a sintch!"
@@ -41,7 +41,6 @@ extra_rdoc_files:
41
41
  - LICENSE
42
42
  - README.markdown
43
43
  files:
44
- - .gitignore
45
44
  - LICENSE
46
45
  - README.markdown
47
46
  - Rakefile
@@ -62,8 +61,8 @@ homepage: http://github.com/roja/words
62
61
  licenses: []
63
62
 
64
63
  post_install_message:
65
- rdoc_options:
66
- - --charset=UTF-8
64
+ rdoc_options: []
65
+
67
66
  require_paths:
68
67
  - lib
69
68
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -86,6 +85,6 @@ rubyforge_project: words
86
85
  rubygems_version: 1.3.6
87
86
  signing_key:
88
87
  specification_version: 3
89
- summary: "A Fast & Easy to use interface to WordNet\xC2\xAE with cross ruby distribution compatability."
90
- test_files:
91
- - spec/words_spec.rb
88
+ summary: "A Fast & Easy to use interface to WordNet\xC2\xAE with cross ruby distribution compatibility."
89
+ test_files: []
90
+
data/.gitignore DELETED
@@ -1,25 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## Netbeans
22
- nbproject
23
-
24
- ## PROJECT::SPECIFIC
25
- data