ffi-hunspell 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 57957bc047538f1b983ecef0573c50b6989ac7bf
4
- data.tar.gz: 173b95b98026f1988a4aeae6642afcf6135bfc67
2
+ SHA256:
3
+ metadata.gz: 29d0c7a4c75c7cc5f876e6486410f2b6b918660cd2b2be23154791f141997c0b
4
+ data.tar.gz: d8108f59f9f508b19be76969cebc5ee1aae2f5ff2591ce540778bec50cf13649
5
5
  SHA512:
6
- metadata.gz: aed5c80fb30d725cfdc62e10e150bb472b3f49c48552449fa31e3e904d52bc1818c16a96b730b47a731243dc04e85dd49de4d6077daa054dca534dcdd05abf64
7
- data.tar.gz: 543846a757f85d057cc5c24bc2cda27a8a6676b7863b1ed5ae494249bd734fc32f66fdd8bc46e64b9cc162cb29dff49f2746bdc0c296327287f89a9b882220c1
6
+ metadata.gz: b1c9cd2990898a108c8e60242ae5036de97edb26d819f47654d961bf63ab65947ac6ed60141c105c7673bf0f0a08c8345d31109e21e9239e25467ec0a96147e2
7
+ data.tar.gz: cd7e8f319039ffe1d946216c87ee504e293c260e5899505bd3f5a4adcf0c8826eabc2f3a16355a8f5c520db824057e88f564f8efccd89a3dfb9993d38bd3c355
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ doc
2
2
  pkg
3
3
  .bundle
4
4
  .yardoc
5
+ Gemfile.lock
@@ -1,13 +1,9 @@
1
1
  language: ruby
2
2
  before_install:
3
3
  - sudo apt-get install libhunspell-dev hunspell-en-us
4
- - gem install ffi rubygems-tasks rspec yard
4
+ - gem install bundler -v "~> 2.0"
5
5
  rvm:
6
- - 1.9.3
7
- - 2.3.0
6
+ - 2.5
7
+ - 2.6
8
8
  - jruby
9
- - rbx
10
- matrix:
11
- allow_failures:
12
- - rvm: rbx
13
- script: rake spec
9
+ script: bundle exec rake spec
@@ -1,3 +1,8 @@
1
+ ### 0.5.0 / 2019-10-24
2
+
3
+ * Added support for libhunspell-1.7 (@dorner).
4
+ * Added {FFI::Hunspell::VERSION}.
5
+
1
6
  ### 0.4.0 / 2017-04-21
2
7
 
3
8
  * Added support for libhunspell-1.6.
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org/'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'rake'
7
+ gem 'rubygems-tasks', '~> 0.1'
8
+ gem 'rspec', '~> 3.0'
9
+ gem 'yard', '~> 0.9'
10
+ gem 'kramdown'
11
+ end
data/Rakefile CHANGED
@@ -1,33 +1,19 @@
1
1
  require 'rubygems'
2
- require 'rake'
3
2
 
4
3
  begin
5
- require 'rubygems/tasks'
6
-
7
- Gem::Tasks.new
4
+ require 'bundler/setup'
8
5
  rescue LoadError => e
9
- warn e.message
10
- warn "Run `gem install rubygems-tasks` to install 'rubygems/tasks'."
6
+ abort e.message
11
7
  end
12
8
 
13
- begin
14
- require 'rspec/core/rake_task'
9
+ require 'rake'
10
+ require 'rubygems/tasks'
11
+ Gem::Tasks.new
15
12
 
16
- RSpec::Core::RakeTask.new
17
- rescue LoadError => e
18
- task :spec do
19
- abort "Please run `gem install rspec` to install RSpec."
20
- end
21
- end
13
+ require 'rspec/core/rake_task'
14
+ RSpec::Core::RakeTask.new
22
15
  task :test => :spec
23
16
  task :default => :spec
24
17
 
25
- begin
26
- require 'yard'
27
-
28
- YARD::Rake::YardocTask.new
29
- rescue LoadError => e
30
- task :yard do
31
- abort "Please run `gem install yard` to install YARD."
32
- end
33
- end
18
+ require 'yard'
19
+ YARD::Rake::YardocTask.new
@@ -1,5 +1,4 @@
1
1
  name: ffi-hunspell
2
- version: 0.4.0
3
2
  summary: FFI bindings for Hunspell
4
3
  description: Ruby FFI bindings for the Hunspell spell checker.
5
4
  license: MIT
@@ -8,7 +7,7 @@ email: postmodern.mod3@gmail.com
8
7
  homepage: https://github.com/postmodern/ffi-hunspell#readme
9
8
  has_yard: true
10
9
 
11
- requirements: libhunspell >= 1.2.0
10
+ requirements: libhunspell >= 1.2.0, <= 1.7.0
12
11
 
13
12
  required_ruby_version: ">= 1.9.1"
14
13
 
@@ -16,6 +15,4 @@ dependencies:
16
15
  ffi: ~> 1.0
17
16
 
18
17
  development_dependencies:
19
- rubygems-tasks: ~> 0.1
20
- rspec: ~> 3.0
21
- yard: ~> 0.7
18
+ bundler: ~> 2.0
@@ -5,6 +5,7 @@ module FFI
5
5
  extend FFI::Library
6
6
 
7
7
  ffi_lib [
8
+ 'hunspell-1.7', 'libhunspell-1.7.so.0',
8
9
  'hunspell-1.6', 'libhunspell-1.6.so.0',
9
10
  'hunspell-1.5', 'libhunspell-1.5.so.0',
10
11
  'hunspell-1.4', 'libhunspell-1.4.so.0',
@@ -0,0 +1,7 @@
1
+ module FFI
2
+ module Hunspell
3
+ # ffi-hunspell versiont
4
+ # @since 0.5.0
5
+ VERSION = '0.5.0'
6
+ end
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-hunspell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-21 00:00:00.000000000 Z
11
+ date: 2019-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -25,47 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rubygems-tasks
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.1'
33
+ version: '2.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.1'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
55
- - !ruby/object:Gem::Dependency
56
- name: yard
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.7'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.7'
40
+ version: '2.0'
69
41
  description: Ruby FFI bindings for the Hunspell spell checker.
70
42
  email: postmodern.mod3@gmail.com
71
43
  executables: []
@@ -81,6 +53,7 @@ files:
81
53
  - ".travis.yml"
82
54
  - ".yardopts"
83
55
  - ChangeLog.md
56
+ - Gemfile
84
57
  - LICENSE.txt
85
58
  - README.md
86
59
  - Rakefile
@@ -89,6 +62,7 @@ files:
89
62
  - lib/ffi/hunspell.rb
90
63
  - lib/ffi/hunspell/dictionary.rb
91
64
  - lib/ffi/hunspell/hunspell.rb
65
+ - lib/ffi/hunspell/version.rb
92
66
  - spec/dictionary_spec.rb
93
67
  - spec/hunspell_spec.rb
94
68
  - spec/spec_helper.rb
@@ -111,9 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
85
  - !ruby/object:Gem::Version
112
86
  version: '0'
113
87
  requirements:
114
- - libhunspell >= 1.2.0
115
- rubyforge_project:
116
- rubygems_version: 2.5.2
88
+ - libhunspell >= 1.2.0, <= 1.7.0
89
+ rubygems_version: 3.0.3
117
90
  signing_key:
118
91
  specification_version: 4
119
92
  summary: FFI bindings for Hunspell