po_to_json 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/po_to_json.rb +2 -2
  2. metadata +10 -5
data/lib/po_to_json.rb CHANGED
@@ -30,8 +30,8 @@ class PoToJson
30
30
  @parsed['']['plural_forms'] ||= @parsed['']['Plural-Forms']
31
31
 
32
32
  jed_json = {
33
- domain: 'app',
34
- locale_data: { app: @parsed }
33
+ :domain => 'app',
34
+ :locale_data => { :app => @parsed }
35
35
  }
36
36
 
37
37
  if opts[:pretty]
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: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-17 00:00:00.000000000 Z
13
+ date: 2013-05-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
17
- requirement: &70258116707580 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,12 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70258116707580
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
26
31
  description: Convert gettext PO files to json to use in your javascript app, based
27
32
  po2json.pl (by DuckDuckGo, Inc. http://duckduckgo.com/, Torsten Raudssus <torsten@raudss.us>.)
28
33
  email: nubis@woobiz.com.ar
@@ -53,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
58
  version: '0'
54
59
  requirements: []
55
60
  rubyforge_project:
56
- rubygems_version: 1.8.15
61
+ rubygems_version: 1.8.23
57
62
  signing_key:
58
63
  specification_version: 3
59
64
  summary: Convert gettext PO files to json