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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29f6393de42025a5ef006dfbb9432e3fcf4082c9
4
- data.tar.gz: 1d441cbcc162fcfc0cd8cf13fa39fea66518e230
3
+ metadata.gz: 7aba1b02c58b5803189789642e2509a8c37f7c17
4
+ data.tar.gz: 27b7137433f9b0ad54bdc5818ca6bfaf94d41f55
5
5
  SHA512:
6
- metadata.gz: 339827f075e801032aa1583486a0753567939ce5430e6a58e026c412930cc3f2fe6a8e4e0d76fa84820f9e645f633f28d62081d2cb5eac9ed7aec03effe7a98e
7
- data.tar.gz: 5fa461a4c9db3450e4bb8646cd2fcdd18020547cb6bc9f7d29f88fc7d518b6eae89a935c82de207427c513fe1aac01e54e3fb95c1737332c4a8bd03f26963040
6
+ metadata.gz: c18fc20453e6fbc27da1d006224cc63106bf82db2e777373e8d9c9746cc70bb9ea4f801795f27d9be7d5136e98177751ed02e029fd0f4129494524b872682ae2
7
+ data.tar.gz: 9991ca8a13901c1ef526781107797a9be90ab18badfb0bcd39e312bd3cdadeaa9489b2b94a7e290a07f8503d44aea94c887fb93e4e45728ad71d8b1969bef7f8
@@ -1,4 +1,17 @@
1
- === 1.6.8 / unreleased
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
@@ -5,7 +5,6 @@
5
5
  source "https://rubygems.org/"
6
6
 
7
7
  gem "mini_portile2", "~>2.1.0"
8
- gem "pkg-config", "~>1.1.7"
9
8
 
10
9
  gem "rdoc", "~>4.0", :group => [:development, :test]
11
10
  gem "hoe-bundler", "~>1.2.0", :group => [:development, :test]
data/Rakefile CHANGED
@@ -128,7 +128,6 @@ HOE = Hoe.spec 'nokogiri' do
128
128
  unless java?
129
129
  self.extra_deps += [
130
130
  ["mini_portile2", "~> 2.1.0"], # keep version in sync with extconf.rb
131
- ["pkg-config", "~> 1.1.7"], # keep version in sync with extconf.rb
132
131
  ]
133
132
  end
134
133
 
data/build_all CHANGED
@@ -16,7 +16,7 @@ else
16
16
  fi
17
17
 
18
18
  set -o errexit
19
- set -x
19
+ #set -x
20
20
 
21
21
  rm -rf tmp pkg
22
22
  bundle exec rake clean clobber
@@ -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
- return nil unless PKGConfig.have_package(pkg)
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
- cflags = PKGConfig.cflags(pkg)
123
- ldflags = PKGConfig.libs_only_L(pkg)
124
- libs = PKGConfig.libs_only_l(pkg)
122
+ cflags = PKGConfig.cflags(pkg)
123
+ ldflags = PKGConfig.libs_only_L(pkg)
124
+ libs = PKGConfig.libs_only_l(pkg)
125
125
 
126
- Logging::message "PKGConfig package configuration for %s\n", pkg
127
- Logging::message "cflags: %s\nldflags: %s\nlibs: %s\n\n", cflags, ldflags, libs
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
- [cflags, ldflags, libs]
129
+ [cflags, ldflags, libs]
130
+ end
130
131
  end
131
132
 
132
133
  def nokogiri_try_compile
@@ -1,6 +1,6 @@
1
1
  module Nokogiri
2
2
  # The version of Nokogiri you are using
3
- VERSION = '1.6.8'
3
+ VERSION = '1.6.8.1'
4
4
 
5
5
  class VersionInfo # :nodoc:
6
6
  def jruby?
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-06-06 00:00:00.000000000 Z
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