pkg-config 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +11 -0
- data/lib/pkg-config.rb +1 -1
- data/lib/pkg-config/version.rb +1 -1
- data/test/test_pkg_config.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4657b85e9f8971fcb4c962494770ad50f66f0517904e815f62a49b60bbced375
|
4
|
+
data.tar.gz: fcd422845f64d152fa196a94a62b0d3c0136f2ca9dd1ab6f3beacbe692994dfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba1320c3c3f5f51ae3b5b51cf665d58d7c9f2c7b4fb384b329917d381d6dfc0f8908bf6408ddee6617c39cd5d3e96da4d6acf444852cfd805a883e45b7f2c5cd
|
7
|
+
data.tar.gz: d05605e7648547cca52dbe9f0f474d84645b0d6905a7af766984c52818d346b23b5249cf20991f590430483dd65c2698fa9bee3d35430485d53b4be7e6490558
|
data/NEWS
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -335,7 +335,7 @@ class PackageConfig
|
|
335
335
|
|
336
336
|
def parse_requires(requires)
|
337
337
|
return [] if requires.nil?
|
338
|
-
requires_without_version = requires.gsub(/[<>]?=\s*[\d.]+\s*/, '')
|
338
|
+
requires_without_version = requires.gsub(/[<>]?=\s*[\d.a-zA-Z_-]+\s*/, '')
|
339
339
|
requires_without_version.split(/[,\s]+/)
|
340
340
|
end
|
341
341
|
|
data/lib/pkg-config/version.rb
CHANGED
data/test/test_pkg_config.rb
CHANGED
@@ -148,4 +148,15 @@ class PkgConfigTest < Test::Unit::TestCase
|
|
148
148
|
ensure
|
149
149
|
$configure_args = original_configure_args
|
150
150
|
end
|
151
|
+
|
152
|
+
sub_test_case("#parse_requires") do
|
153
|
+
def parse_requires(requires)
|
154
|
+
@cairo.__send__(:parse_requires, requires)
|
155
|
+
end
|
156
|
+
|
157
|
+
def test_broken_version
|
158
|
+
assert_equal(["fribidi"],
|
159
|
+
parse_requires("fribidi >= fribidi_required_dep"))
|
160
|
+
end
|
161
|
+
end
|
151
162
|
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.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|