apstrings 0.3.8 → 0.3.9

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
  SHA1:
3
- metadata.gz: a5484430ea8af15f7c1cee46c176d1208c32353a
4
- data.tar.gz: 69d503ac2b6c2eb39f0f9ec3bcf000485849b2a6
3
+ metadata.gz: e8313a8267e33645e6152ae28a07da0fc507d9ec
4
+ data.tar.gz: 0eb6d56353dc28281ce5c97648c7684539201204
5
5
  SHA512:
6
- metadata.gz: e6664b1c85584555a343ed344caf63a7086932d9ed09c4d88e9e8a13e20d5245748310bcc7bfd696a5fd31bb789d6e58660038096a6f053cc0aec0f1d9cdf8a8
7
- data.tar.gz: 2eaff8297a82c636ac6dd4139abefc6584e16c8334fdb84706d01c1078d1537881e19408c5b5df7a17674a47540ee2cb1bcdfc968a420d4a2c157dfba1566aec
6
+ metadata.gz: e7f3b8b8933279d2837fbf4f902314dc013b1ab6688ab7c9fddd31a32f8ca13ca473f67bb384b250dae92afc28a2b9f2535ec4f760d15382a03a4cd99f738eba
7
+ data.tar.gz: 546504d1ae99323e3b179aff4ff10baebf7e0044f08c99bcea28da01c30128fc457339b5ef1d81bd4c5766222c5db34dd5ad41585cbde5b722f4aeddf69c0f8f
@@ -43,7 +43,7 @@ module Apstrings
43
43
 
44
44
  def key_value_pair?
45
45
  #Bugfix: 支持 "Key text \" with \" " = "Value text \" with \" "; 格式
46
- !!(/^\s*"([^"]+)\S*\s*=/.match(content))
46
+ !!(/^\s*"([^"]+)[\S\s]*=/.match(content))
47
47
  end
48
48
 
49
49
  def cleaned_content
@@ -1,3 +1,3 @@
1
1
  module Apstrings
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apstrings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - JasonWorking