mini_suffix 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/CHANGELOG.md +5 -0
- data/lib/mini_suffix.rb +5 -1
- data/lib/mini_suffix/version.rb +1 -1
- data/vendor/libpsl.dylib +0 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3f65d0b7aa566e043a131ba8bec90b666a74e51
|
4
|
+
data.tar.gz: 9ecb681e664faabdc1aa12797fcb16e6d0456319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 285ba55404360a24fda9ccbfb80fa5116b77ec52e2ab2d5c2791129884f7db119d272fcff843b805438c7c1d10a247b9cb1fe617a91402bb3a2b4f19372a4698
|
7
|
+
data.tar.gz: a8df30f6c91c4e7fe1a19a123cab748241919337d76e4097a84cbf61d5d6c6b562da3bb9277d4f6cb2895a118fcc04be67c34031784e2c6d1c38fad32357c318
|
data/.gitmodules
ADDED
data/CHANGELOG.md
ADDED
data/lib/mini_suffix.rb
CHANGED
@@ -4,7 +4,11 @@ require 'ffi'
|
|
4
4
|
module MiniSuffix
|
5
5
|
extend FFI::Library
|
6
6
|
|
7
|
-
ffi_lib
|
7
|
+
ffi_lib [
|
8
|
+
File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.so'),
|
9
|
+
File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.dylib'),
|
10
|
+
]
|
11
|
+
|
8
12
|
attach_function :psl_builtin, [], :pointer
|
9
13
|
attach_function :psl_registrable_domain, [:pointer, :string], :string
|
10
14
|
attach_function :psl_get_version, [], :string
|
data/lib/mini_suffix/version.rb
CHANGED
data/vendor/libpsl.dylib
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_suffix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guo Xiang Tan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -74,8 +74,10 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- ".gitignore"
|
77
|
+
- ".gitmodules"
|
77
78
|
- ".rspec"
|
78
79
|
- ".travis.yml"
|
80
|
+
- CHANGELOG.md
|
79
81
|
- Gemfile
|
80
82
|
- LICENSE.txt
|
81
83
|
- README.md
|
@@ -86,6 +88,7 @@ files:
|
|
86
88
|
- lib/mini_suffix.rb
|
87
89
|
- lib/mini_suffix/version.rb
|
88
90
|
- mini_suffix.gemspec
|
91
|
+
- vendor/libpsl.dylib
|
89
92
|
- vendor/libpsl.so
|
90
93
|
homepage: https://github.com/discourse/mini_suffix
|
91
94
|
licenses:
|