china_ad_ip 0.1.2 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ecf6765356f92825ce5c9ac20b9ec4a938b200e
4
- data.tar.gz: b81278cdcfda229869b09851300719cd8737dd3b
3
+ metadata.gz: e2843375b1e8d8c3774555b89c6a013a1a3c72e6
4
+ data.tar.gz: 451511841770b5b769eaa81cfce5e69c3d0cbc7d
5
5
  SHA512:
6
- metadata.gz: e6c50969728a61346c0ae5c0aeb63e49a9a2583ebe2047ecd1122b1f836ba0474435f1e8cad8b6ff31b539a8aabd8ec9dd87e5f17406b4164d4bf15770782d3b
7
- data.tar.gz: 3799acf10481e495feba696f79df7ceef324c0ecf9b3b6d63e921761eca3eeec4b6be80e9437afbf6e6f158f95f75f1fbea1de08ba5232262f2514efaabc9e3f
6
+ metadata.gz: 877f77cb9f8d8fe03e4d811728a4d5d974ca379055d704e5c6395aaf85fcd2a9b0a7a66d9022de69bd8ddf261ea0d52ac8b58b49e93e793d6b6152f91f9e6846
7
+ data.tar.gz: b5dce2b00f9cc63b43cf0e7b59b28c2090e0e38691145f267ab988191d680c63c30a3e51447340b252c959b6b695c601f7ae2a14989c5cb43205a1c0f3430dfc
@@ -1,3 +1,3 @@
1
1
  module ChinaAdIp
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/china_ad_ip.rb CHANGED
@@ -9,10 +9,9 @@ module ChinaAdIp
9
9
  AUTHORS = ["suezhen <sz3001@gmail.com>"]
10
10
 
11
11
  extend FFI::Library
12
- ffi_lib "libbinarysearch.so"
12
+ ffi_lib File.join(File.expand_path("../",__FILE__), "libbinarysearch.so")
13
13
  attach_function :binarysearch, [:pointer,:long,:long], :long
14
14
 
15
-
16
15
  module LibC
17
16
  extend FFI::Library
18
17
  ffi_lib FFI::Library::LIBC
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: china_ad_ip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - suezhen