pkg-config 1.5.8 → 1.5.9

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: 718c0829414803eaf6e4b4119eedbd5635f06490e432e02b8fecd1100e471409
4
- data.tar.gz: 00d55bbd4c8f935454a5a65a1f84a6183e04f87ed6621fb6b21145075e38b481
3
+ metadata.gz: 568c790e6c8520f9e99712aa1589824a4338b70a7c4f2de671ba5ad5aa6a96f2
4
+ data.tar.gz: 4e98a0c87e9449d3864f433ca38f48bfaad836567eee3f9d82d60263e4d2c640
5
5
  SHA512:
6
- metadata.gz: 5333ac54f4a4ff9d9013d4f61097032bd822d8b562144b5dd79a646106fe82d0c4ae32933ba6e570a14b10198d729c442d885b782e32ab490da4998bb7930c9c
7
- data.tar.gz: a31424703041ab85dabff217234d68dcf0d1e28418f7b6a3ec2173dfdba6cc3c565d68744adf4e8eae7140cf3775a01c180ab6667886ae7ed50c3fc465fedd5b
6
+ metadata.gz: e25b477c8c8ea1612547120a36e974a8aabf898c5dcf4fa5d4eb78b00db2ab805adc69870bcc00e2ba5a9ff10d35d4b913d6180c50fcde466ad75669afe79909
7
+ data.tar.gz: 6b774c150ea79e3d5c6122373cdf368e439ac54d15a18bae06d188a56062daaaf82f2a2b369ac0a41149d962cd4627cfe9efee771d010e772eee778e95642d00
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # NEWS
2
2
 
3
+ ## 1.5.9 - 2025-01-08
4
+
5
+ ### Improvements
6
+
7
+ * Added support for `.pc` that uses UTF-8.
8
+
3
9
  ## 1.5.8 - 2024-11-21
4
10
 
5
11
  ### Improvements
data/Rakefile CHANGED
@@ -35,3 +35,7 @@ desc "Run tests"
35
35
  task :test do
36
36
  ruby("test/run-test.rb")
37
37
  end
38
+
39
+ release_task = Rake.application["release"]
40
+ # We use Trusted Publishing.
41
+ release_task.prerequisites.delete("release:rubygem_push")
@@ -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.5.8"
18
+ VERSION = "1.5.9"
19
19
  end
data/lib/pkg-config.rb CHANGED
@@ -514,6 +514,9 @@ class PackageConfig
514
514
  @declarations = {}
515
515
  File.open(pc_path) do |input|
516
516
  input.each_line do |line|
517
+ if line.dup.force_encoding("UTF-8").valid_encoding?
518
+ line.force_encoding("UTF-8")
519
+ end
517
520
  line = line.gsub(/#.*/, "").strip
518
521
  next if line.empty?
519
522
  case line
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkg-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.8
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
10
+ date: 2025-01-08 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: test-unit
@@ -74,7 +73,6 @@ licenses:
74
73
  - LGPLv2+
75
74
  metadata:
76
75
  msys2_mingw_dependencies: pkg-config
77
- post_install_message:
78
76
  rdoc_options: []
79
77
  require_paths:
80
78
  - lib
@@ -89,8 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
87
  - !ruby/object:Gem::Version
90
88
  version: '0'
91
89
  requirements: []
92
- rubygems_version: 3.5.22
93
- signing_key:
90
+ rubygems_version: 3.6.2
94
91
  specification_version: 4
95
92
  summary: A pkg-config implementation for Ruby
96
93
  test_files: