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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e41696a27269d2fbae863d0a7e5eeecbf49d9de
4
- data.tar.gz: 6227672aa45710e2c2056f480b2169fddb2a7b52
3
+ metadata.gz: 22d07414fffc462e553023ab0cd516f4aeae1151
4
+ data.tar.gz: e19c1ad2ee39648ac63ce2651c0810f8aaf07bc1
5
5
  SHA512:
6
- metadata.gz: d15716b3ee954106647c42ec8787fda0bba2c2ab51bf2ddee4b5bfd77f1442b4595e18a453b6b3416a4607c80a6cd21ba580c65c4471777da3d5eea16aad4910
7
- data.tar.gz: 9e931f7de590e5d55ba0f59bf4cbfe090f564ce2e16829d9529274b35a25d0c3238bc9b469038f34440d5628116c6d154a9442d150a1102f82f7cc3e5395f34a
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
@@ -1,5 +1,5 @@
1
1
  module Tcl
2
2
  module Msgcat
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
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.1
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-22 00:00:00.000000000 Z
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json