mini_suffix 0.2.0 → 0.3.0

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: 8c9753ad4c5fc2d428fce5dc022182b816637b66
4
- data.tar.gz: 43e70563d3ad1012efbae071a5a09390fa73b789
3
+ metadata.gz: c3f65d0b7aa566e043a131ba8bec90b666a74e51
4
+ data.tar.gz: 9ecb681e664faabdc1aa12797fcb16e6d0456319
5
5
  SHA512:
6
- metadata.gz: 3c0600ae5252f3f60e4e86f3580b488a6bda58478e958952e4c570ef7fdc3548afcb66bb648516580030d3227f91f8728fadf5ee531143cd6dfebb9900fb73a0
7
- data.tar.gz: e969205c1df79a4c5ddf9c97b2f4eb9f47fac53b70ae95af6c8d0c89b8c0801be7ecdcc2d912de24472c48d5943a237a5ea6dc4994d9207b3a4dabf542e5a618
6
+ metadata.gz: 285ba55404360a24fda9ccbfb80fa5116b77ec52e2ab2d5c2791129884f7db119d272fcff843b805438c7c1d10a247b9cb1fe617a91402bb3a2b4f19372a4698
7
+ data.tar.gz: a8df30f6c91c4e7fe1a19a123cab748241919337d76e4097a84cbf61d5d6c6b562da3bb9277d4f6cb2895a118fcc04be67c34031784e2c6d1c38fad32357c318
@@ -0,0 +1,3 @@
1
+ [submodule "libpsl"]
2
+ path = libpsl
3
+ url = https://github.com/rockdaboot/libpsl.git
@@ -0,0 +1,5 @@
1
+ # 0.3.0
2
+
3
+ * Add libpsl shared library for osx support.
4
+
5
+ *tgxworld*
@@ -4,7 +4,11 @@ require 'ffi'
4
4
  module MiniSuffix
5
5
  extend FFI::Library
6
6
 
7
- ffi_lib File.join(File.dirname(File.expand_path('..', __FILE__)), 'vendor/libpsl.so')
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
@@ -1,3 +1,3 @@
1
1
  module MiniSuffix
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.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-29 00:00:00.000000000 Z
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: