tidy_ffi 1.0.0 → 1.0.1

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
- SHA1:
3
- metadata.gz: 123c2a780a9a4311ea7b66f9a804c786fbb7445b
4
- data.tar.gz: 73b1ea18bbc3ecd854a5769fb64df10647f08699
2
+ SHA256:
3
+ metadata.gz: 4d073b2cbdce80a19a33055f8910589a3b7841e7ffcf9ec27aafec4ea59b16bc
4
+ data.tar.gz: e4aa9a170bff9541231109e29001b41729199ff63cddc0c779c70751fe292230
5
5
  SHA512:
6
- metadata.gz: e20d9eded9df09f72d11cc1266537ca091ae64ae42559f335bf1acf10bc67f6b5aff9831f43b83e8ac78580755d178b72a2229a027fe154e8a168d1b26b24492
7
- data.tar.gz: '068cc633af949e870860d5744d09fdd30dc64a5605c9f4d2bea2c4376dc20fcf25fcf38ce4ee31315a3d58ebd5554029c06a82a6820259aea042d7000a93be46'
6
+ metadata.gz: 4bce33000dd9c85a1fa4a3f83efdfc2d312bba2f21ccae213cca220695dd3433269a91b739e2bcc5eb3698ffc18fba2539ea887b54903333cff945c66dc2016b
7
+ data.tar.gz: ff9399989fafa44d46771d3b3bfeb70f6f99bf89541e8eaf81b262a4bf204a3e992fdbc0f614e7f9b60e907a873387acc7a6d216cfb7381ba3cd5ea620d033fe
@@ -3,21 +3,11 @@ before_install:
3
3
  - sudo apt-get update -qq
4
4
  - sudo apt-get install -qq libtidy-dev
5
5
  rvm:
6
- - 1.8.7
7
- - 1.9.3
8
6
  - 2.1
9
7
  - 2.2
10
- - 2.3.1
11
- - 2.4.5
12
- - 2.5.3
8
+ - 2.3
9
+ - 2.4
10
+ - 2.5
13
11
  - 2.6
14
- - jruby-9.2.5.0
15
- - ree
16
- - ruby-head
17
- - jruby-head
18
- matrix:
19
- allow_failures:
20
- - rvm: ree
21
- - rvm: ruby-head
22
- - rvm: jruby-head
23
- fast_finish: true
12
+ - 2.7
13
+ - jruby
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v1.0.1. Support Debian buster (and official ruby image) without development packages installed (thanks to Rodrigo Rosenfeld Rosas (@rosenfeld))
1
2
  v1.0.0. Support Debian buster by delegating library lookup to FFI gem (thanks to Laurent Arnoud (@spk))
2
3
  v0.1.6. Relax version constraint of the FFI gem dependency
3
4
  v0.1.5. Fix JRuby issues.
@@ -4,8 +4,22 @@
4
4
  class TidyFFI::LibTidy #:nodoc:
5
5
  extend FFI::Library
6
6
 
7
- LIB_NAME = 'tidy'.freeze
8
- PATHS = Array([LIB_NAME] + Dir['/{opt,usr}/{,local/}lib{,64}/libtidy{,-*}.{dylib,so*}']).freeze
7
+ # Set paths to lib tidy library.
8
+ #
9
+ # There are 3 things to note here:
10
+ #
11
+ # 1. The best way to set the path is just specify tidy, that works if development
12
+ # packages are installed.
13
+ #
14
+ # 2. https://github.com/ffi/ffi/wiki/Loading-Libraries#linux-packages says that
15
+ # to support systems without development packages, by specifying the specific
16
+ # version. If it doesn't work on your system, please consider adding it here,
17
+ # and dropping the old versions, when become obsolete
18
+ #
19
+ # 3. Absolute paths (looking in a bunch of directories). I consider this
20
+ # deprecated way of setting the path. If you ever change the major version
21
+ # please remove it
22
+ PATHS = Array(['tidy', 'tidy.so.5deb1'] + Dir['/{opt,usr}/{,local/}lib{,64}/libtidy{,-*}.{dylib,so*}']).freeze
9
23
  begin
10
24
  ffi_lib(TidyFFI.library_path || PATHS)
11
25
  rescue LoadError
@@ -1,3 +1,3 @@
1
1
  module TidyFFI
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
@@ -11,8 +11,6 @@ Gem::Specification.new do |s|
11
11
  s.email = %q{libc@libc.st}
12
12
  s.homepage = %q{http://github.com/libc/tidy_ffi}
13
13
 
14
- s.rubyforge_project = %q{tidy-ffi}
15
-
16
14
  s.files = `git ls-files`.split("\n")
17
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tidy_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Pimenov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -69,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubyforge_project: tidy-ffi
73
- rubygems_version: 2.6.13
72
+ rubygems_version: 3.1.2
74
73
  signing_key:
75
74
  specification_version: 4
76
75
  summary: Tidy library interface via FFI