tcl-msgcat 1.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: be4b96c3cc4b7b3dc399e0c66882623e888ee087
4
- data.tar.gz: 317497d8d0e58a1d2755e187e2179abd31c8cb3d
3
+ metadata.gz: ea2d16b4a4a9127c6a116c074cafbc4496f425db
4
+ data.tar.gz: 90ac55780dcf31a2299464fbe26b29f753971879
5
5
  SHA512:
6
- metadata.gz: b330d8ae54aa23d480fcf744d936574b04ccb50db2665c671c29421fe3fbecd630ca691195f24641a3df93f65efb05628be64b83bb4aed7b1ce44e7e31ab992f
7
- data.tar.gz: 9447c6c2834895c966199dd6b76a0af0ae2710e27a03423df7ea8a275eede53ff465248d284b21cef795b9cb2dcedb073714fa6956551b56130f1356a026fe94
6
+ metadata.gz: 001298e40cc8567322db506cbb5f8f0540ab6ff7f41ac36d8b4b82e5a61c5356ab36650d6f773a8d5bc0aee27ce835584a156045b66927de503ae277cea243f0
7
+ data.tar.gz: b9e2554419b0dc8d48db580881cb7535d11efa2842114fdaafd3b93c0f4b189807093fee427a47989655a88d6ed3fb2bfd99709427cca4e7ae80825378cdce73
@@ -12,7 +12,7 @@ module Tcl
12
12
  end
13
13
 
14
14
  def to_json(pretty=true)
15
- @msgs.to_json
15
+ pretty ? JSON.pretty_generate(@msgs) : @msgs.to_json
16
16
  end
17
17
 
18
18
  def self.load(file)
@@ -1,5 +1,5 @@
1
1
  module Tcl
2
2
  module Msgcat
3
- VERSION = "1.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcl-msgcat
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert McLeod