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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59d59ab5544c845936e20b50acae103136de26d613208299721a656b9fc5fc3e
4
- data.tar.gz: 12033b104ff312b2efc709f21923ee52ab9547563d39967719ee881730c0f4f7
3
+ metadata.gz: 4657b85e9f8971fcb4c962494770ad50f66f0517904e815f62a49b60bbced375
4
+ data.tar.gz: fcd422845f64d152fa196a94a62b0d3c0136f2ca9dd1ab6f3beacbe692994dfc
5
5
  SHA512:
6
- metadata.gz: 27e9d30f51297788fcbfeabc56bda85f7737874f439fdca4298a3bf58687c027b29a87e7103a04158f84833d40b60062578a1348aaf95a8df7d9be8dc31abb40
7
- data.tar.gz: 2ab9249853fc16c5d5d768a991ec929625743fd13f50d812dd886a6ba7b4ff6871896538a4707ea77764310617f9a6b0e0048dbb3be318d3e6aaa31db3adcbab
6
+ metadata.gz: ba1320c3c3f5f51ae3b5b51cf665d58d7c9f2c7b4fb384b329917d381d6dfc0f8908bf6408ddee6617c39cd5d3e96da4d6acf444852cfd805a883e45b7f2c5cd
7
+ data.tar.gz: d05605e7648547cca52dbe9f0f474d84645b0d6905a7af766984c52818d346b23b5249cf20991f590430483dd65c2698fa9bee3d35430485d53b4be7e6490558
data/NEWS CHANGED
@@ -1,5 +1,16 @@
1
1
  = NEWS
2
2
 
3
+ == 1.3.7 - 2019-03-17
4
+
5
+ === Improvements
6
+
7
+ * Added support for alphabet and _ only version.
8
+ [GitHub#17][Reported by xiejiangzhi]
9
+
10
+ === Thanks
11
+
12
+ * xiejiangzhi
13
+
3
14
  == 1.3.6 - 2019-03-09
4
15
 
5
16
  === Improvements
@@ -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
 
@@ -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.3.6"
18
+ VERSION = "1.3.7"
19
19
  end
@@ -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.6
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-09 00:00:00.000000000 Z
11
+ date: 2019-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit