spelly 0.0.2 → 0.0.3

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.
@@ -3,7 +3,8 @@ class Spelly
3
3
  attr_accessor :dict
4
4
 
5
5
  def initialize language
6
- path = "#{Gem.loaded_specs['spelly'].full_gem_path}/lib/dict"
6
+ path = File.expand_path("../lib/dict", File.dirname(__FILE__))
7
+ # path = "#{Gem.loaded_specs['spelly'].full_gem_path}/lib/dict"
7
8
  @dict = Hunspell.new(path, language)
8
9
  end
9
10
 
@@ -1,3 +1,3 @@
1
1
  class Spelly
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spelly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-05 00:00:00.000000000 Z
12
+ date: 2013-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hunspell-ffi
@@ -57,6 +57,8 @@ files:
57
57
  - Rakefile
58
58
  - lib/dict/en_GB.aff
59
59
  - lib/dict/en_GB.dic
60
+ - lib/dict/en_US.aff
61
+ - lib/dict/en_US.dic
60
62
  - lib/spelly.rb
61
63
  - lib/spelly/version.rb
62
64
  - spec/spelly_spec.rb