ruby-stemmer 0.9.0 → 0.9.1

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.
Files changed (4) hide show
  1. data/README.rdoc +2 -2
  2. data/VERSION +1 -1
  3. data/ext/lingua/extconf.rb +8 -0
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -3,10 +3,10 @@
3
3
  Ruby-Stemmer exposes SnowBall API to Ruby.
4
4
 
5
5
  This package includes libstemmer_c library released under BSD licence
6
- and available for free [here]{http://snowball.tartarus.org/dist/libstemmer_c.tgz}.
6
+ and available for free {here}[http://snowball.tartarus.org/dist/libstemmer_c.tgz].
7
7
 
8
8
  Support for latin language is also included and it has been generated with the snowball compiler using
9
- {schinke contribution}[http://snowball.tartarus.org/otherapps/schinke/intro.html]
9
+ {schinke contribution}[http://snowball.tartarus.org/otherapps/schinke/intro.html].
10
10
 
11
11
  For more details about libstemmer_c please visit the {SnowBall website}[http://snowball.tartarus.org].
12
12
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.1
@@ -7,8 +7,10 @@ LIBSTEMMER = File.join(ROOT, 'libstemmer_c')
7
7
  # build libstemmer_c
8
8
  # FreeBSD make is gmake
9
9
  make= (RUBY_PLATFORM =~ /freebsd/)? 'gmake' : 'make'
10
+
10
11
  # MacOS architecture mess up
11
12
  if RUBY_PLATFORM =~ /darwin/
13
+ # see: #issue/3, #issue/5
12
14
  begin
13
15
  ENV['ARCHFLAGS']= "-arch " + %x[file #{File.expand_path(File.join(Config::CONFIG['bindir'], Config::CONFIG['RUBY_INSTALL_NAME']))}].strip!.match(/executable (.+)$/)[1] unless ENV['ARCHFLAGS'].nil?
14
16
  rescue
@@ -16,6 +18,12 @@ if RUBY_PLATFORM =~ /darwin/
16
18
  $stderr << "Please specify one using $ARCHFLAGS environment variable.\n"
17
19
  exit
18
20
  end
21
+ # see: #issue/9, #issue/6
22
+ # see: man compat
23
+ if ENV['COMMAND_MODE'] == 'legacy'
24
+ $stdout << "Setting compat mode to unix2003\n."
25
+ ENV['COMMAND_MODE']= 'unix2003'
26
+ end
19
27
  end
20
28
 
21
29
  # make libstemmer_c. unless we're cross-compiling.
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ruby-stemmer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.0
5
+ version: 0.9.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Aurelian Oancea
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-03-12 00:00:00 +01:00
14
+ date: 2011-03-13 00:00:00 +01:00
15
15
  default_executable:
16
16
  dependencies: []
17
17