pkg-config 1.4.4 → 1.4.5

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: 58f40c4efe4e315db21fe3ce7c7e259d4224d1734972cf461296ccc02f8c66db
4
- data.tar.gz: 31e2395b16ace3ccc5aeed7dd6882496345fc9a3d23eb49082b4875f78face11
3
+ metadata.gz: c534d5c0df96e67e72a0571920884897446ee0f744a16396826c97556bad064d
4
+ data.tar.gz: 3f98e05ee7a23b4e849caf6fe122b9efd25da4dd905cbe12bd2885333c679156
5
5
  SHA512:
6
- metadata.gz: 61e27036ff20e04388cab0f72f0a035bfd830aff868df6a1fd25bb68a885709c858ef0acce9b829b7924e307e8c768692e4e589c5c06efc3d7d866902900917a
7
- data.tar.gz: 83747ac073b00b669671e64255a039190e947b1ad0c52770677d85d3ae6624968cd2ee975d0fcfdac1e31341bf2748a7bbe430d0a9502312248478e2249206e7
6
+ metadata.gz: a1974ba13aa57590a7608a0baded10dd18f22dde4a0c242c81d1adba0dd1809bd2ec03fa3fdb03e57bb63acc94957a14da856b048baf4aa41eca38a98e37d61e
7
+ data.tar.gz: 40383987f314bacb2e8e9d39fca02bd0f9f4b60c1670fc7270e9757f6836bbd2c84001f07329882ef0713381e91054bf10bd06edea51b0fdb8e0eb3f97481ab4
data/NEWS CHANGED
@@ -1,12 +1,23 @@
1
1
  = NEWS
2
2
 
3
+ == 1.4.5 - 2021-02-04
4
+
5
+ === Improvements
6
+
7
+ * Added support for macOS 11.2.
8
+ [Reported by Ludovic Moutury][GitHub:rcairo/rcairo#69]
9
+
10
+ === Thanks
11
+
12
+ * Ludovic Moutury
13
+
3
14
  == 1.4.4 - 2020-09-23
4
15
 
5
16
  === Fixes
6
17
 
7
18
  * Fixed a bug that NoMethodError instead of
8
19
  PackageConfig::NotFoundError is raised.
9
- [Fixed by kojix2][GitHub#21]
20
+ [GitHub#21][Fixed by kojix2]
10
21
 
11
22
  === Thanks
12
23
 
data/lib/pkg-config.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2008-2020 Sutou Kouhei <kou@cozmixng.org>
1
+ # Copyright 2008-2021 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
@@ -485,7 +485,11 @@ class PackageConfig
485
485
  homebrew_repository_candidates << Pathname(homebrew_repository)
486
486
  end
487
487
  homebrew_repository_candidates.uniq.each do |candidate|
488
- path = candidate + "Library/Homebrew/os/mac/pkgconfig/#{mac_os_version}"
488
+ pkgconfig_base_path = candidate + "Library/Homebrew/os/mac/pkgconfig"
489
+ path = pkgconfig_base_path + mac_os_version
490
+ unless path.exist?
491
+ path = pkgconfig_base_path + mac_os_version.gsub(/\.\d+\z/, "")
492
+ end
489
493
  paths << path.to_s if path.exist?
490
494
  end
491
495
  end
@@ -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.4"
18
+ VERSION = "1.4.5"
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.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-22 00:00:00.000000000 Z
11
+ date: 2021-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
- rubygems_version: 3.2.0.rc.1
92
+ rubygems_version: 3.3.0.dev
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: A pkg-config implementation for Ruby