ruby-stemmer 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -35,7 +35,7 @@ For more details about libstemmer_c please visit the {SnowBall website}[http://s
35
35
  config.gem 'ruby-stemmer', :version => '>=0.6.2', :lib => 'lingua/stemmer'
36
36
 
37
37
  # Rails3: -- Gemfile
38
- gem 'ruby-stemmer', '>=0.8.3', :lib => 'lingua/stemmer'
38
+ gem 'ruby-stemmer', '>=0.8.3', :require => 'lingua/stemmer'
39
39
 
40
40
  === More details
41
41
 
data/Rakefile CHANGED
@@ -1,28 +1,28 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
 
4
- begin
5
- require 'jeweler'
6
- JEWLER = Jeweler::Tasks.new do |gem|
7
- gem.name = "ruby-stemmer"
8
- gem.version = File.read(File.expand_path(File.join(File.dirname(__FILE__),"VERSION"))).strip!
9
- gem.summary = %Q{Expose libstemmer_c to Ruby.}
10
- gem.description = %Q{Expose the bundled libstemmer_c library to Ruby.}
11
- gem.email = "oancea@gmail.com"
12
- gem.homepage = "http://github.com/aurelian/ruby-stemmer"
13
- gem.authors = ["Aurelian Oancea", "Yury Korolev"]
14
- gem.extensions = ["ext/lingua/extconf.rb"]
15
- gem.rubyforge_project = "ruby-stemmer"
16
- gem.files = FileList['lib/**/*.rb', 'README.rdoc', 'MIT-LICENSE', 'VERSION', 'Rakefile', 'libstemmer_c/**/*', 'ext/**/*', 'test/**/*']
17
- %w(ext/lingua/*.so ext/lingua/*.bundle ext/lingua/Makefile ext/lingua/mkmf.log ext/lingua/*.o libstemmer_c/**/*.o libstemmer_c/stemwords).each do | f |
18
- gem.files.exclude f
19
- end
4
+ gem 'rake-compiler', '~>0.7'
5
+ require 'rake/extensiontask'
6
+
7
+ require 'jeweler'
8
+ $jeweler = Jeweler::Tasks.new do |gem|
9
+ gem.name = "ruby-stemmer"
10
+ gem.version = File.read(File.expand_path(File.join(File.dirname(__FILE__),"VERSION"))).strip!
11
+ gem.summary = %Q{Expose libstemmer_c to Ruby.}
12
+ gem.description = %Q{Expose the bundled libstemmer_c library to Ruby.}
13
+ gem.email = "oancea@gmail.com"
14
+ gem.homepage = "http://github.com/aurelian/ruby-stemmer"
15
+ gem.authors = ["Aurelian Oancea", "Yury Korolev"]
16
+ gem.extensions = ["ext/lingua/extconf.rb"]
17
+ gem.rubyforge_project = "ruby-stemmer"
18
+ gem.files = FileList['lib/**/*.rb', 'README.rdoc', 'MIT-LICENSE', 'VERSION', 'Rakefile', 'libstemmer_c/**/*', 'ext/**/*', 'test/**/*']
19
+ %w(ext/lingua/*.so ext/lingua/*.bundle ext/lingua/Makefile ext/lingua/mkmf.log ext/lingua/*.o libstemmer_c/**/*.o libstemmer_c/stemwords).each do | f |
20
+ gem.files.exclude f
20
21
  end
21
- Jeweler::GemcutterTasks.new
22
- rescue LoadError
23
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
24
22
  end
25
23
 
24
+ Jeweler::GemcutterTasks.new
25
+
26
26
  require 'rake/testtask'
27
27
  Rake::TestTask.new(:test) do |test|
28
28
  test.libs << 'lib' << 'test'
@@ -47,19 +47,17 @@ task :test => :check_dependencies
47
47
 
48
48
  task :default => :test
49
49
 
50
- gem 'rake-compiler', '>= 0.4.1'
51
- require "rake/extensiontask"
52
-
53
50
  CLOBBER.include("libstemmer_c/**/*.o")
54
51
 
55
- Rake::ExtensionTask.new(JEWLER.gemspec.name, JEWLER.gemspec) do |ext|
52
+ Rake::ExtensionTask.new('ruby-stemmer', $jeweler.jeweler.gemspec) do |ext|
56
53
  ext.lib_dir = File.join(*['lib', 'lingua', ENV['FAT_DIR']].compact)
57
54
  ext.ext_dir = File.join 'ext', 'lingua'
58
55
  ext.cross_compile = true
56
+ ext.cross_platform = ['i686-mswin32']
59
57
  ext.name = 'stemmer_native'
60
58
  end
61
59
 
62
- require 'rake/rdoctask'
60
+ require 'rdoc/task'
63
61
  Rake::RDocTask.new do |rdoc|
64
62
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
65
63
  rdoc.rdoc_dir = 'rdoc'
data/TODO ADDED
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
@@ -1,7 +1,8 @@
1
1
  include mkinc.mak
2
2
 
3
- AR=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-ar
4
- CC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc
3
+ AR=i686-w64-mingw32-ar
4
+ CC=i686-w64-mingw32-gcc
5
+ LD=i686-w64-mingw32-ld
5
6
 
6
7
  CFLAGS=-Iinclude
7
8
 
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-stemmer
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 63
4
5
  prerelease:
5
- version: 0.9.1
6
+ segments:
7
+ - 0
8
+ - 9
9
+ - 2
10
+ version: 0.9.2
6
11
  platform: ruby
7
12
  authors:
8
13
  - Aurelian Oancea
@@ -11,8 +16,7 @@ autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
18
 
14
- date: 2011-03-13 00:00:00 +01:00
15
- default_executable:
19
+ date: 2011-11-03 00:00:00 Z
16
20
  dependencies: []
17
21
 
18
22
  description: Expose the bundled libstemmer_c library to Ruby.
@@ -23,6 +27,7 @@ extensions:
23
27
  - ext/lingua/extconf.rb
24
28
  extra_rdoc_files:
25
29
  - README.rdoc
30
+ - TODO
26
31
  files:
27
32
  - MIT-LICENSE
28
33
  - README.rdoc
@@ -117,7 +122,7 @@ files:
117
122
  - libstemmer_c/src_c/stem_UTF_8_turkish.h
118
123
  - test/helper.rb
119
124
  - test/lingua/test_stemmer.rb
120
- has_rdoc: true
125
+ - TODO
121
126
  homepage: http://github.com/aurelian/ruby-stemmer
122
127
  licenses: []
123
128
 
@@ -131,20 +136,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
136
  requirements:
132
137
  - - ">="
133
138
  - !ruby/object:Gem::Version
139
+ hash: 3
140
+ segments:
141
+ - 0
134
142
  version: "0"
135
143
  required_rubygems_version: !ruby/object:Gem::Requirement
136
144
  none: false
137
145
  requirements:
138
146
  - - ">="
139
147
  - !ruby/object:Gem::Version
148
+ hash: 3
149
+ segments:
150
+ - 0
140
151
  version: "0"
141
152
  requirements: []
142
153
 
143
154
  rubyforge_project: ruby-stemmer
144
- rubygems_version: 1.6.2
155
+ rubygems_version: 1.8.11
145
156
  signing_key:
146
157
  specification_version: 3
147
158
  summary: Expose libstemmer_c to Ruby.
148
- test_files:
149
- - test/helper.rb
150
- - test/lingua/test_stemmer.rb
159
+ test_files: []
160
+