triez 0.2 → 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.
Files changed (3) hide show
  1. data/ext/extconf.rb +1 -1
  2. data/lib/triez.rb +1 -1
  3. metadata +1 -1
data/ext/extconf.rb CHANGED
@@ -23,7 +23,7 @@ mkdir_p build_dir
23
23
  cd build_dir
24
24
  unless File.exist?('libtries.a')
25
25
  cc = ENV['CC'] || RbConfig::CONFIG['CC']
26
- cc = [cc, '-O3', '-std=c99', '-Wall', '-pedantic', '-c']
26
+ cc = [cc, '-O3', '-std=c99', '-Wall', '-pedantic', '-fPIC', '-c']
27
27
  ar = RbConfig::CONFIG['AR']
28
28
  ar = 'ar' unless File.exist?(ar)
29
29
  sh *cc, '-I..', *Dir.glob("../hat-trie/*.c")
data/lib/triez.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require_relative "../ext/triez"
2
2
 
3
3
  class Triez
4
- VERSION = '0.2'
4
+ VERSION = '0.3'
5
5
 
6
6
  private :_internal_set_type
7
7
  private :_internal_search
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triez
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: