pkg-config 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56f761ee856442aa5a1cab954113684151dffb48a87069862a7600ae549ae583
4
- data.tar.gz: c005ee17fbd0499d8a4f28c6cae27d670e0ef891e69f63fcf5aef42dc07e5a0b
3
+ metadata.gz: c2c16e146d0ccf624f6d0bb159f794819283d0a03473faa688464c85529c76a8
4
+ data.tar.gz: 7bf14f8e591acf8eaae6ac8859499e1bb193e098d3f1ae6fd73027992433a87e
5
5
  SHA512:
6
- metadata.gz: fe85cafd6e90bcc5722631dc59e40e86944d8e0fe3603e55560a5ece0eea63bdbe9a631a44a80c7b116a562b7ec6445fa5a17a64f15b8c54ac1e41b282edfeca
7
- data.tar.gz: 91e6dbeaa6205cabe300c12cfa6f93088145d79c3dffc7d30f3ed9868fe943fa22e0dcde683d7ed2e4d7df1f1d29939abe0763ae1f82bc273d17efb766021be4
6
+ metadata.gz: 78855df890fe391b08d049034817b8df3e238bbf584fe206dbea89c035ef3bc09651bc233c0623b09750f425afeeef0339fec0eca22555775e7f76a0bd3afdcc
7
+ data.tar.gz: d1baeaa40e6e8334c8b90dce84b8d53e5709164e983e267728897124f07f700051539b3cf5c347d1107c799535aa7a1aa860a9cd3fba1937147acfae05ffe585
data/NEWS CHANGED
@@ -1,5 +1,11 @@
1
1
  = NEWS
2
2
 
3
+ == 1.4.8 - 2022-07-30
4
+
5
+ === Improvements
6
+
7
+ * Added support for showing found package version.
8
+
3
9
  == 1.4.7 - 2022-01-16
4
10
 
5
11
  === Improvements
@@ -1,4 +1,4 @@
1
- # Copyright 2012-2021 Sutou Kouhei <kou@cozmixng.org>
1
+ # Copyright 2012-2022 Sutou Kouhei <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.4.7"
18
+ VERSION = "1.4.8"
19
19
  end
data/lib/pkg-config.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2008-2021 Sutou Kouhei <kou@cozmixng.org>
1
+ # Copyright 2008-2022 Sutou Kouhei <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
@@ -598,8 +598,12 @@ module PKGConfig
598
598
  message << " version (>= #{major}.#{minor}.#{micro})"
599
599
  end
600
600
  major ||= 0
601
- enough_version = checking_for(checking_message(message)) do
602
- check_version?(pkg, major, minor, micro)
601
+ enough_version = checking_for(checking_message(message), "%s") do
602
+ if check_version?(pkg, major, minor, micro)
603
+ "yes (#{modversion(pkg)})"
604
+ else
605
+ "no"
606
+ end
603
607
  end
604
608
  if enough_version
605
609
  libraries = libs_only_l(pkg)
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.4.7
4
+ version: 1.4.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: 2022-01-16 00:00:00.000000000 Z
11
+ date: 2022-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit