nokogiri 1.6.8 → 1.6.8.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +14 -1
- data/Gemfile +0 -1
- data/Rakefile +0 -1
- data/build_all +1 -1
- data/ext/nokogiri/extconf.rb +15 -14
- data/lib/nokogiri/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aba1b02c58b5803189789642e2509a8c37f7c17
|
4
|
+
data.tar.gz: 27b7137433f9b0ad54bdc5818ca6bfaf94d41f55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c18fc20453e6fbc27da1d006224cc63106bf82db2e777373e8d9c9746cc70bb9ea4f801795f27d9be7d5136e98177751ed02e029fd0f4129494524b872682ae2
|
7
|
+
data.tar.gz: 9991ca8a13901c1ef526781107797a9be90ab18badfb0bcd39e312bd3cdadeaa9489b2b94a7e290a07f8503d44aea94c887fb93e4e45728ad71d8b1969bef7f8
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,4 +1,17 @@
|
|
1
|
-
=== 1.6.8 /
|
1
|
+
=== 1.6.8.1 / 2016-10-03
|
2
|
+
|
3
|
+
==== Dependency License Notes
|
4
|
+
|
5
|
+
Removes required dependency on the `pkg-config` gem. This dependency
|
6
|
+
was introduced in v1.6.8 and, because it's distributed under LGPL, was
|
7
|
+
objectionable to many Nokogiri users (#1488, #1496).
|
8
|
+
|
9
|
+
This version makes `pkg-config` an optional dependency. If it's
|
10
|
+
installed, it's used; but otherwise Nokogiri will attempt to work
|
11
|
+
around its absence.
|
12
|
+
|
13
|
+
|
14
|
+
=== 1.6.8 / 2016-06-06
|
2
15
|
|
3
16
|
==== Security Notes
|
4
17
|
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/build_all
CHANGED
data/ext/nokogiri/extconf.rb
CHANGED
@@ -106,27 +106,28 @@ def do_clean
|
|
106
106
|
exit! 0
|
107
107
|
end
|
108
108
|
|
109
|
-
# The gem version constraint in the Rakefile is not respected at install time.
|
110
|
-
# Keep this version in sync with the one in the Rakefile !
|
111
|
-
require 'rubygems'
|
112
|
-
gem 'pkg-config', '~> 1.1.7'
|
113
|
-
require 'pkg-config'
|
114
|
-
message "Using pkg-config version #{PKGConfig::VERSION}\n"
|
115
|
-
|
116
109
|
def package_config pkg, options={}
|
117
110
|
package = pkg_config(pkg)
|
118
111
|
return package if package
|
119
112
|
|
120
|
-
|
113
|
+
begin
|
114
|
+
require 'rubygems'
|
115
|
+
gem 'pkg-config', (gem_ver='~> 1.1.7')
|
116
|
+
require 'pkg-config' and message("Using pkg-config gem version #{PKGConfig::VERSION}\n")
|
117
|
+
rescue LoadError
|
118
|
+
message "pkg-config could not be used to find #{pkg}\nPlease install either `pkg-config` or the pkg-config gem per\n\n gem install pkg-config -v #{gem_ver.inspect}\n\n"
|
119
|
+
else
|
120
|
+
return nil unless PKGConfig.have_package(pkg)
|
121
121
|
|
122
|
-
|
123
|
-
|
124
|
-
|
122
|
+
cflags = PKGConfig.cflags(pkg)
|
123
|
+
ldflags = PKGConfig.libs_only_L(pkg)
|
124
|
+
libs = PKGConfig.libs_only_l(pkg)
|
125
125
|
|
126
|
-
|
127
|
-
|
126
|
+
Logging::message "PKGConfig package configuration for %s\n", pkg
|
127
|
+
Logging::message "cflags: %s\nldflags: %s\nlibs: %s\n\n", cflags, ldflags, libs
|
128
128
|
|
129
|
-
|
129
|
+
[cflags, ldflags, libs]
|
130
|
+
end
|
130
131
|
end
|
131
132
|
|
132
133
|
def nokogiri_try_compile
|
data/lib/nokogiri/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.8
|
4
|
+
version: 1.6.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2016-
|
15
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: mini_portile2
|
@@ -28,20 +28,6 @@ dependencies:
|
|
28
28
|
- - "~>"
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 2.1.0
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: pkg-config
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
requirements:
|
35
|
-
- - "~>"
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 1.1.7
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
requirements:
|
42
|
-
- - "~>"
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 1.1.7
|
45
31
|
- !ruby/object:Gem::Dependency
|
46
32
|
name: rdoc
|
47
33
|
requirement: !ruby/object:Gem::Requirement
|