po_to_json 1.1.0 → 2.0.0

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: 580672c796de4ad6759584e1ed20fde3a4bea5016067ecbad6ba08367e512363
4
- data.tar.gz: 7508945b8c57ca22fd291dd11cc1950791d06360c75ef9fd65f91e61db3b53a7
3
+ metadata.gz: ab57440da3785238977fb3246d8305688f0a490e151059a19ecc136b9b041f2a
4
+ data.tar.gz: b6584d675e28cab73dba69d901ba0a43697ca60666860777759d47de15f0a8a1
5
5
  SHA512:
6
- metadata.gz: 46ec013b340a9f79c31cd35b15578b6ab248ccbb6d75121f01104cc403e209a6d9117e60b3f0b44f1988029039cd542ac365573e2273249fd37215664edd5ec2
7
- data.tar.gz: 3f08e94fe99a9a42cec783fdd1c3b39e994de47285dbb0bfe2b9252144acdbeda69f20ee9cace55c125acc1b9c627d8ce677c4c5d89e6b89e71f78726f426202
6
+ metadata.gz: 6f42bc6cc2b01fda254d2fe09bbbc881955778f06a0b3d3d580dea4ff823dde3e2a2a88275b3acffc18de647dc5429ece8d9cd9efa7499d0875d1d483e871687
7
+ data.tar.gz: fbacac7f8a161137973a406b20e6df11748542b8017295e7673091ee752c2c41a711e7c76717e859b049ddcfec7d0648f122be924877df1dfaed53ccadf7eff3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.0](https://github.com/webhippie/po_to_json/releases/tag/v2.0.0) - 2023-07-18
4
+
5
+ * Fix escape double quote in msgid (@chaomao)
6
+
3
7
  ## [1.1.0](https://github.com/webhippie/po_to_json/releases/tag/v1.0.1) - 2023-04-28
4
8
 
5
9
  * Optionally remove var keyword to use a global (@illiatdesdindes)
data/README.md CHANGED
@@ -16,7 +16,7 @@ look at the [wokflow][workflow].
16
16
  ## Installation
17
17
 
18
18
  ```ruby
19
- gem "po_to_json", "~> 0.2"
19
+ gem "po_to_json", "~> 2.0"
20
20
  ```
21
21
 
22
22
  ## Versioning
@@ -33,7 +33,7 @@ gem using the [Pessimistic Version Constraint][pvc] with two digits of precision
33
33
  For example:
34
34
 
35
35
  ```ruby
36
- spec.add_dependency "po_to_json", "~> 0.2"
36
+ spec.add_dependency "po_to_json", "~> 2.0"
37
37
  ```
38
38
 
39
39
  ## Usage
@@ -24,8 +24,8 @@
24
24
 
25
25
  class PoToJson
26
26
  class Version
27
- MAJOR = 1
28
- MINOR = 1
27
+ MAJOR = 2
28
+ MINOR = 0
29
29
  PATCH = 0
30
30
 
31
31
  PRE = nil
data/lib/po_to_json.rb CHANGED
@@ -168,7 +168,7 @@ class PoToJson
168
168
 
169
169
  def push_buffer(value, key = nil)
170
170
  value = $1 if value =~ /^"(.*)"/
171
- value.gsub(/\\"/, "\"")
171
+ value.gsub!(/\\"/, "\"")
172
172
 
173
173
  if key.nil?
174
174
  buffer[lastkey] = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: po_to_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Boerger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-04-28 00:00:00.000000000 Z
12
+ date: 2023-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler