tcl-msgcat 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/tcl/msgcat.rb +1 -1
- data/lib/tcl/msgcat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22d07414fffc462e553023ab0cd516f4aeae1151
|
4
|
+
data.tar.gz: e19c1ad2ee39648ac63ce2651c0810f8aaf07bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9573fc0b7816c13413a978f6366e0af8bc21d062091692527970e5e1b7942bb6501a90636ed175c3bb54d112503d28c6dcaafe37c30db11ea751f95b637c1779
|
7
|
+
data.tar.gz: b8ce3d43fc87e4bf26bdcdfe40f473b0fe4bfe976eca5f319e033557ec44dce389488d2b701711597586a25fe9ebca4edf4afc3a0646cbffbfca10f6d2996dd8
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Tcl::Msgcat
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/tcl-msgcat.svg)](http://badge.fury.io/rb/tcl-msgcat)
|
4
|
+
|
3
5
|
Library for parsing, rendering and merging TCL msgcat (read i18n) files.
|
4
6
|
|
5
7
|
TCL msgcat files are yuk, and a legacy format. Unfortunately some of us are stuck with systems that still use these files
|
data/lib/tcl/msgcat.rb
CHANGED
@@ -58,7 +58,7 @@ module Tcl
|
|
58
58
|
dst = File.basename(src, ".json")+".msg"
|
59
59
|
print "Compiling #{src} to #{target}/#{dst}... "
|
60
60
|
begin
|
61
|
-
File.write("#{target}/#{dst}") {|f| f.write render(src) }
|
61
|
+
File.write("#{target}/#{dst}", "w") {|f| f.write render(src) }
|
62
62
|
puts "done"
|
63
63
|
rescue ArgumentError => e
|
64
64
|
puts e.message
|
data/lib/tcl/msgcat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tcl-msgcat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert McLeod
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|