remote_i18n 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,7 +109,7 @@ module RemoteI18n
109
109
  output = I18n.translate(i18n_path)
110
110
  path = output_root.join("#{name}.#{locale}.js")
111
111
 
112
- compiled_output = "if(this.T === null || this.T == undefined)this.T = {};this.T.#{name} = #{output.to_json}"
112
+ compiled_output = "if(this.T === null || this.T == undefined)this.T = {};this.T.#{name} = #{output.to_json};"
113
113
 
114
114
  FileUtils.mkdir_p File.dirname(path)
115
115
  File.open(path, "w+") { |f| f.write compiled_output }
@@ -2,7 +2,7 @@ module RemoteI18n
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
  STRING = [MAJOR, MINOR, PATCH].join(".")
7
7
  end
8
8
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{remote_i18n}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Julien Guimont"]
12
- s.date = %q{2011-01-14}
11
+ s.authors = [%q{Julien Guimont}]
12
+ s.date = %q{2011-10-26}
13
13
  s.description = %q{RemoteI18n helps developer export translated messages from a Rails server to a Javascript/HTML client application. More and more we need to use templates in javascript to create new HTML segments, but when you are building an I18n application you need to make sure that those segments contains the right language. This is what this project is for. For now it bundle the Rails translations into different javascript file ready for consumption.}
14
14
  s.email = %q{julien@porkepic.com}
15
15
  s.extra_rdoc_files = [
@@ -31,13 +31,12 @@ Gem::Specification.new do |s|
31
31
  "remote_i18n.gemspec"
32
32
  ]
33
33
  s.homepage = %q{http://github.com/juggy/remote_i18n}
34
- s.licenses = ["MIT"]
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.3.7}
34
+ s.licenses = [%q{MIT}]
35
+ s.require_paths = [%q{lib}]
36
+ s.rubygems_version = %q{1.8.6}
37
37
  s.summary = %q{I18n for Javascript with Rails}
38
38
 
39
39
  if s.respond_to? :specification_version then
40
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
41
40
  s.specification_version = 3
42
41
 
43
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,65 +1,51 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: remote_i18n
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Julien Guimont
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-01-14 00:00:00 -05:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- type: :development
23
- prerelease: false
12
+ date: 2011-10-26 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
24
15
  name: bundler
25
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70229051250340 !ruby/object:Gem::Requirement
26
17
  none: false
27
- requirements:
18
+ requirements:
28
19
  - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 23
31
- segments:
32
- - 1
33
- - 0
34
- - 0
20
+ - !ruby/object:Gem::Version
35
21
  version: 1.0.0
36
- requirement: *id001
37
- - !ruby/object:Gem::Dependency
38
22
  type: :development
39
23
  prerelease: false
24
+ version_requirements: *70229051250340
25
+ - !ruby/object:Gem::Dependency
40
26
  name: jeweler
41
- version_requirements: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &70229051249860 !ruby/object:Gem::Requirement
42
28
  none: false
43
- requirements:
29
+ requirements:
44
30
  - - ~>
45
- - !ruby/object:Gem::Version
46
- hash: 7
47
- segments:
48
- - 1
49
- - 5
50
- - 2
31
+ - !ruby/object:Gem::Version
51
32
  version: 1.5.2
52
- requirement: *id002
53
- description: RemoteI18n helps developer export translated messages from a Rails server to a Javascript/HTML client application. More and more we need to use templates in javascript to create new HTML segments, but when you are building an I18n application you need to make sure that those segments contains the right language. This is what this project is for. For now it bundle the Rails translations into different javascript file ready for consumption.
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70229051249860
36
+ description: RemoteI18n helps developer export translated messages from a Rails server
37
+ to a Javascript/HTML client application. More and more we need to use templates
38
+ in javascript to create new HTML segments, but when you are building an I18n application
39
+ you need to make sure that those segments contains the right language. This is what
40
+ this project is for. For now it bundle the Rails translations into different javascript
41
+ file ready for consumption.
54
42
  email: julien@porkepic.com
55
43
  executables: []
56
-
57
44
  extensions: []
58
-
59
- extra_rdoc_files:
45
+ extra_rdoc_files:
60
46
  - LICENSE.md
61
47
  - README.md
62
- files:
48
+ files:
63
49
  - Gemfile
64
50
  - Gemfile.lock
65
51
  - LICENSE.md
@@ -72,39 +58,32 @@ files:
72
58
  - lib/remote_i18n/tasks/remote_i18n.rake
73
59
  - lib/remote_i18n/version.rb
74
60
  - remote_i18n.gemspec
75
- has_rdoc: true
76
61
  homepage: http://github.com/juggy/remote_i18n
77
- licenses:
62
+ licenses:
78
63
  - MIT
79
64
  post_install_message:
80
65
  rdoc_options: []
81
-
82
- require_paths:
66
+ require_paths:
83
67
  - lib
84
- required_ruby_version: !ruby/object:Gem::Requirement
68
+ required_ruby_version: !ruby/object:Gem::Requirement
85
69
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ segments:
91
75
  - 0
92
- version: "0"
93
- required_rubygems_version: !ruby/object:Gem::Requirement
76
+ hash: 1485081404877913926
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
78
  none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: 3
99
- segments:
100
- - 0
101
- version: "0"
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
102
83
  requirements: []
103
-
104
84
  rubyforge_project:
105
- rubygems_version: 1.3.7
85
+ rubygems_version: 1.8.6
106
86
  signing_key:
107
87
  specification_version: 3
108
88
  summary: I18n for Javascript with Rails
109
89
  test_files: []
110
-