pkg-config 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +4 -0
- data/lib/pkg-config.rb +9 -2
- data/lib/pkg-config/version.rb +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a7c4ec331b2b0293a30e1d5497b09ca7b06da48
|
4
|
+
data.tar.gz: 66b5acb2cf69fd056d21e621ece1f7fcda559741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e101114e72022c6d1f7f2ab7c6ce0ad9543ec2d664f284bad719aadbe219e7c5b68f9f0d71679de73ad7f6cbaf767502fb10ddd1af1807165259e000a53b30
|
7
|
+
data.tar.gz: 64270b4fc5c89ab9171138715ec29cdb3aebf732bbea06c925538a243eee1ac967edd390eb41d26e46d394c4d2a7298e38dfaa158548c2ae7534596901e1ff48
|
data/NEWS
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2017 Kouhei Sutou <kou@cozmixng.org>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -21,7 +21,6 @@ end
|
|
21
21
|
|
22
22
|
require "rbconfig"
|
23
23
|
|
24
|
-
require 'mkmf'
|
25
24
|
require 'shellwords'
|
26
25
|
require 'English'
|
27
26
|
require 'pathname'
|
@@ -46,6 +45,14 @@ class PackageConfig
|
|
46
45
|
end
|
47
46
|
|
48
47
|
private
|
48
|
+
def with_config(config, default=nil)
|
49
|
+
if defined?(super)
|
50
|
+
super
|
51
|
+
else
|
52
|
+
default
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
49
56
|
def guess_native_pkg_config
|
50
57
|
pkg_config = with_config("pkg-config", ENV["PKG_CONFIG"] || "pkg-config")
|
51
58
|
pkg_config = Pathname.new(pkg_config)
|
data/lib/pkg-config/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2012-
|
1
|
+
# Copyright 2012-2016 Kouhei Sutou <kou@cozmixng.org>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -15,5 +15,5 @@
|
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
17
|
module PKGConfig
|
18
|
-
VERSION = "1.1.
|
18
|
+
VERSION = "1.1.8"
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pkg-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|
@@ -89,11 +89,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubyforge_project: cairo
|
92
|
-
rubygems_version: 2.
|
92
|
+
rubygems_version: 2.5.2
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: A pkg-config implementation for Ruby
|
96
96
|
test_files:
|
97
97
|
- test/run-test.rb
|
98
98
|
- test/test_pkg_config.rb
|
99
|
-
has_rdoc:
|