rubygems-requirements-system 0.1.2 → 0.1.3

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: 8983a82a4286b4991c0b50470b4a19d518b943a1507bddaf2942c9adb8cb6426
4
- data.tar.gz: 3795392e6f8f41fd623851e1df0464e00379a2e93987f951076c93e86f079a36
3
+ metadata.gz: a5df5e519aeace78d1dd3458027a2ac8f035b01b603a1e802c24d95397b59a09
4
+ data.tar.gz: 4abb564599ef2b88a7a4de12650abfd440f7151b314f8613de9159fc64d8d297
5
5
  SHA512:
6
- metadata.gz: 4eb08d8b22664f846335544748dc0db9b50ac0146c3c49e077542ccc36d3ed6401f0be2e547dfbfeb4561a9e86077486f24224f689f9746b3ec2d801f0217815
7
- data.tar.gz: 29012e76f40aaf145987ff502c7f08255715847e22c72eb31cc7725f9d4b9369fd310d2eccabfd04e75b412e90c02fb87f673cfa089b0fb3f1c4b41da340e955
6
+ metadata.gz: fa69897a8464203ea3171e68d34ab2bda417262941e53d7fdf4110f04196041fb92f6bcb313f944e9b6adc0af72807255da8576cf59e4c53d74d49654fc4b600
7
+ data.tar.gz: 9e589167215ee1d51f773fa4130e11b59624d76a643b4e87a3f380524004cd1092f9b4d0c2dabe390e76bb57d1f97146f16efb3ce84b4e90e7faa77eea31d9a5
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 0.1.3 - 2025-09-03
4
+
5
+ ### Improvements
6
+
7
+ * Updated bundled `pkg-config` gem to 1.6.4.
8
+
3
9
  ## 0.1.2 - 2025-08-27
4
10
 
5
11
  ### Improvements
@@ -19,7 +19,7 @@ require "rbconfig"
19
19
  require "shellwords"
20
20
 
21
21
  module PKGConfig
22
- VERSION = "1.6.3"
22
+ VERSION = "1.6.4"
23
23
 
24
24
  @@paths = []
25
25
  @@override_variables = {}
@@ -637,13 +637,18 @@ class PackageConfig
637
637
  @variables = {}
638
638
  @declarations = {}
639
639
  File.open(pc_path) do |input|
640
+ current_line = +""
640
641
  input.each_line do |line|
641
642
  if line.dup.force_encoding("UTF-8").valid_encoding?
642
643
  line.force_encoding("UTF-8")
643
644
  end
644
645
  line = line.gsub(/#.*/, "").strip
645
- next if line.empty?
646
- case line
646
+ if line.end_with?("\\")
647
+ current_line += line[0..-2]
648
+ next
649
+ end
650
+ current_line += line
651
+ case current_line
647
652
  when /^(#{IDENTIFIER_RE})\s*=\s*/
648
653
  match = Regexp.last_match
649
654
  @variables[match[1]] = match.post_match.strip
@@ -651,6 +656,7 @@ class PackageConfig
651
656
  match = Regexp.last_match
652
657
  @declarations[match[1]] = match.post_match.strip
653
658
  end
659
+ current_line = +""
654
660
  end
655
661
  end
656
662
  end
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module RubyGemsRequirementsSystem
17
- VERSION = "0.1.2"
17
+ VERSION = "0.1.3"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-requirements-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutou Kouhei