triez 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/changes +5 -0
  3. data/ext/extconf.rb +5 -21
  4. data/lib/triez.rb +1 -1
  5. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c4c1f285ee9dcd875d44fe4378366cf77dadf9c
4
- data.tar.gz: 8b0347fc7f1c72994a4d5b71c895703e1ebbf7ff
3
+ metadata.gz: 2b3d21385a2a6b7b5aeda91e030da0f74ac7bf8f
4
+ data.tar.gz: d80373108f656e2c5c4405045ccda728cb3df669
5
5
  SHA512:
6
- metadata.gz: d21b1590e2daf5d03bdd36b3c1115c2e6f4ab24d8cfe8dabd7ad36d961d9db162876fdd8f13184e5f79c12fad286197350e05d52e36d879b5dd033a1e3f04d47
7
- data.tar.gz: fbca9f35f59697db205363023edc97b1a96d0b02824ec736cc84f224a4f9ec9b754f0e51fc217ad4038d7c9bb0e736c21adcfc66b4a9d958d1c756e98764cdba
6
+ metadata.gz: 2b93f09cde0f1d1eaa2a005ff9205ab3f28617261e62a93bf95813eb8504a2325244482778dcbd8d6c189fa5de26c5e3052992d54708912fd4613e4f97fd48fb
7
+ data.tar.gz: 65f19d791eddc2341ca74985cf319e152b523b0f35916066e339a6472114c8073442b6916698a3067c9aa00785ec403af2d504bf63d43b347862b3ca80ac7577
data/changes CHANGED
@@ -1,3 +1,8 @@
1
+ 1.0.5
2
+
3
+ 2016-12-16
4
+ fix sudo gem install in macOS Sierra
5
+
1
6
  1.0.4
2
7
 
3
8
  2014-09-15
@@ -8,25 +8,9 @@ create_makefile 'triez'
8
8
  # respect header changes
9
9
  headers = Dir.glob('*.{hpp,h}').join ' '
10
10
  File.open 'Makefile', 'a' do |f|
11
- f.puts "\n$(OBJS): #{headers}"
12
- end
13
-
14
- # build vendor lib
15
- def sh *xs
16
- puts xs.join(' ')
17
- system *xs
18
- end
19
-
20
- require "fileutils"
21
- include FileUtils
22
- build_dir = File.dirname(__FILE__) + '/build'
23
- mkdir_p build_dir
24
- cd build_dir
25
- unless File.exist?('libtries.a')
26
- cc = ENV['CC'] || RbConfig::CONFIG['CC']
27
- cc = [cc, '-O3', '-std=c99', '-Wall', '-pedantic', '-fPIC', '-c']
28
- ar = RbConfig::CONFIG['AR']
29
- ar = 'ar' unless File.exist?(ar)
30
- sh *cc, '-I..', *Dir.glob("../hat-trie/*.c")
31
- sh ar, '-r', 'libtries.a', *Dir.glob("*.o")
11
+ f.puts
12
+ f.puts "$(OBJS): #{headers}"
13
+ f.puts "$(DLLIB): build/libtries.a"
14
+ f.puts "build/libtries.a:"
15
+ f.puts "\tmkdir -p build && cd build && $(CC) -O3 -std=c99 -Wall -pedantic -fPIC -c -I.. ../hat-trie/*.c && $(AR) -r libtries.a *.o"
32
16
  end
@@ -1,7 +1,7 @@
1
1
  require_relative "../ext/triez"
2
2
 
3
3
  class Triez
4
- VERSION = '1.0.4'
4
+ VERSION = '1.0.5'
5
5
 
6
6
  private :_internal_set_type
7
7
  private :_internal_search
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triez
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zete Lui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-15 00:00:00.000000000 Z
11
+ date: 2016-12-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: fast, efficient, unicode aware HAT trie with prefix / suffix support.
14
14
  email:
@@ -17,13 +17,17 @@ extensions:
17
17
  - ext/extconf.rb
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - changes
21
20
  - copying
21
+ - changes
22
+ - readme.md
23
+ - lib/triez.rb
24
+ - test/triez_test.rb
25
+ - ext/triez.cc
22
26
  - ext/common.h
23
27
  - ext/extconf.rb
24
- - ext/hat-trie/COPYING
25
28
  - ext/hat-trie/ahtable.c
26
29
  - ext/hat-trie/ahtable.h
30
+ - ext/hat-trie/COPYING
27
31
  - ext/hat-trie/hat-trie.c
28
32
  - ext/hat-trie/hat-trie.h
29
33
  - ext/hat-trie/misc.c
@@ -31,10 +35,6 @@ files:
31
35
  - ext/hat-trie/murmurhash3.c
32
36
  - ext/hat-trie/murmurhash3.h
33
37
  - ext/hat-trie/pstdint.h
34
- - ext/triez.cc
35
- - lib/triez.rb
36
- - readme.md
37
- - test/triez_test.rb
38
38
  homepage: https://github.com/luikore/triez
39
39
  licenses: []
40
40
  metadata: {}
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.4.1
57
+ rubygems_version: 2.0.14.1
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: fast, efficient, unicode aware HAT trie with prefix / suffix support