localeapp 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +4 -0
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/.travis.yml +7 -0
- data/Gemfile +2 -0
- data/README.textile +147 -0
- data/Rakefile +11 -0
- data/bin/localeapp +61 -0
- data/cucumber.yml +8 -0
- data/features/localeapp_binary.feature +116 -0
- data/features/step_definitions/cli_steps.rb +27 -0
- data/features/support/env.rb +21 -0
- data/features/support/hooks.rb +3 -0
- data/init.rb +1 -0
- data/lib/locale_app/api_call.rb +9 -0
- data/lib/locale_app/api_caller.rb +77 -0
- data/lib/locale_app/cli/install.rb +41 -0
- data/lib/locale_app/cli/pull.rb +34 -0
- data/lib/locale_app/cli/push.rb +49 -0
- data/lib/locale_app/cli/update.rb +19 -0
- data/lib/locale_app/configuration.rb +93 -0
- data/lib/locale_app/exception_handler.rb +21 -0
- data/lib/locale_app/key_checker.rb +43 -0
- data/lib/locale_app/missing_translations.rb +36 -0
- data/lib/locale_app/poller.rb +61 -0
- data/lib/locale_app/rails/2_3_translation_helper_monkeypatch.rb +36 -0
- data/lib/locale_app/rails/controller.rb +34 -0
- data/lib/locale_app/rails/flatten.rb +113 -0
- data/lib/locale_app/rails.rb +53 -0
- data/lib/locale_app/routes.rb +80 -0
- data/lib/locale_app/sender.rb +49 -0
- data/lib/locale_app/tasks/locale_app.rake +20 -0
- data/lib/locale_app/updater.rb +63 -0
- data/lib/locale_app/version.rb +3 -0
- data/lib/locale_app.rb +98 -0
- data/lib/localeapp.rb +1 -0
- data/localeapp.gemspec +35 -0
- data/run_ci +5 -0
- data/spec/fixtures/en.yml +6 -0
- data/spec/fixtures/es.yml +6 -0
- data/spec/locale_app/api_call_spec.rb +15 -0
- data/spec/locale_app/api_caller_spec.rb +157 -0
- data/spec/locale_app/cli/install_spec.rb +42 -0
- data/spec/locale_app/cli/pull_spec.rb +45 -0
- data/spec/locale_app/cli/push_spec.rb +30 -0
- data/spec/locale_app/cli/update_spec.rb +18 -0
- data/spec/locale_app/configuration_spec.rb +119 -0
- data/spec/locale_app/exception_handler_spec.rb +21 -0
- data/spec/locale_app/key_checker_spec.rb +19 -0
- data/spec/locale_app/missing_translations_spec.rb +28 -0
- data/spec/locale_app/poller_spec.rb +61 -0
- data/spec/locale_app/rails/controller_spec.rb +117 -0
- data/spec/locale_app/routes_spec.rb +134 -0
- data/spec/locale_app/sender_spec.rb +49 -0
- data/spec/locale_app/updater_spec.rb +89 -0
- data/spec/spec_helper.rb +24 -0
- data/spec/support/locale_app_integration_data.rb +33 -0
- data/spec/support/locale_app_synchronization_data.rb +21 -0
- metadata +300 -0
metadata
ADDED
@@ -0,0 +1,300 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: localeapp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Christopher Dell
|
14
|
+
- Chris McGrath
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2011-08-23 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: json
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rest-client
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: ya2yaml
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
type: :runtime
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: i18n
|
65
|
+
prerelease: false
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - "="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 11
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
- 5
|
75
|
+
- 0
|
76
|
+
version: 0.5.0
|
77
|
+
type: :development
|
78
|
+
version_requirements: *id004
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: rake
|
81
|
+
prerelease: false
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id005
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: rspec
|
95
|
+
prerelease: false
|
96
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - "="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 27
|
102
|
+
segments:
|
103
|
+
- 2
|
104
|
+
- 5
|
105
|
+
- 0
|
106
|
+
version: 2.5.0
|
107
|
+
type: :development
|
108
|
+
version_requirements: *id006
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: yard
|
111
|
+
prerelease: false
|
112
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - "="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
hash: 9
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
- 6
|
121
|
+
- 7
|
122
|
+
version: 0.6.7
|
123
|
+
type: :development
|
124
|
+
version_requirements: *id007
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: RedCloth
|
127
|
+
prerelease: false
|
128
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - "="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
hash: 57
|
134
|
+
segments:
|
135
|
+
- 4
|
136
|
+
- 2
|
137
|
+
- 7
|
138
|
+
version: 4.2.7
|
139
|
+
type: :development
|
140
|
+
version_requirements: *id008
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: aruba
|
143
|
+
prerelease: false
|
144
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - "="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
hash: 31
|
150
|
+
segments:
|
151
|
+
- 0
|
152
|
+
- 3
|
153
|
+
- 6
|
154
|
+
version: 0.3.6
|
155
|
+
type: :development
|
156
|
+
version_requirements: *id009
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: fakeweb
|
159
|
+
prerelease: false
|
160
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - "="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
hash: 27
|
166
|
+
segments:
|
167
|
+
- 1
|
168
|
+
- 3
|
169
|
+
- 0
|
170
|
+
version: 1.3.0
|
171
|
+
type: :development
|
172
|
+
version_requirements: *id010
|
173
|
+
description: Post any unfound translation keys to the Locale SaaS
|
174
|
+
email:
|
175
|
+
- chris@tigrish.com
|
176
|
+
- chris@octopod.info
|
177
|
+
executables:
|
178
|
+
- localeapp
|
179
|
+
extensions: []
|
180
|
+
|
181
|
+
extra_rdoc_files: []
|
182
|
+
|
183
|
+
files:
|
184
|
+
- .autotest
|
185
|
+
- .gitignore
|
186
|
+
- .rspec
|
187
|
+
- .rvmrc
|
188
|
+
- .travis.yml
|
189
|
+
- Gemfile
|
190
|
+
- README.textile
|
191
|
+
- Rakefile
|
192
|
+
- bin/localeapp
|
193
|
+
- cucumber.yml
|
194
|
+
- features/localeapp_binary.feature
|
195
|
+
- features/step_definitions/cli_steps.rb
|
196
|
+
- features/support/env.rb
|
197
|
+
- features/support/hooks.rb
|
198
|
+
- init.rb
|
199
|
+
- lib/locale_app.rb
|
200
|
+
- lib/locale_app/api_call.rb
|
201
|
+
- lib/locale_app/api_caller.rb
|
202
|
+
- lib/locale_app/cli/install.rb
|
203
|
+
- lib/locale_app/cli/pull.rb
|
204
|
+
- lib/locale_app/cli/push.rb
|
205
|
+
- lib/locale_app/cli/update.rb
|
206
|
+
- lib/locale_app/configuration.rb
|
207
|
+
- lib/locale_app/exception_handler.rb
|
208
|
+
- lib/locale_app/key_checker.rb
|
209
|
+
- lib/locale_app/missing_translations.rb
|
210
|
+
- lib/locale_app/poller.rb
|
211
|
+
- lib/locale_app/rails.rb
|
212
|
+
- lib/locale_app/rails/2_3_translation_helper_monkeypatch.rb
|
213
|
+
- lib/locale_app/rails/controller.rb
|
214
|
+
- lib/locale_app/rails/flatten.rb
|
215
|
+
- lib/locale_app/routes.rb
|
216
|
+
- lib/locale_app/sender.rb
|
217
|
+
- lib/locale_app/tasks/locale_app.rake
|
218
|
+
- lib/locale_app/updater.rb
|
219
|
+
- lib/locale_app/version.rb
|
220
|
+
- lib/localeapp.rb
|
221
|
+
- localeapp.gemspec
|
222
|
+
- run_ci
|
223
|
+
- spec/fixtures/en.yml
|
224
|
+
- spec/fixtures/es.yml
|
225
|
+
- spec/locale_app/api_call_spec.rb
|
226
|
+
- spec/locale_app/api_caller_spec.rb
|
227
|
+
- spec/locale_app/cli/install_spec.rb
|
228
|
+
- spec/locale_app/cli/pull_spec.rb
|
229
|
+
- spec/locale_app/cli/push_spec.rb
|
230
|
+
- spec/locale_app/cli/update_spec.rb
|
231
|
+
- spec/locale_app/configuration_spec.rb
|
232
|
+
- spec/locale_app/exception_handler_spec.rb
|
233
|
+
- spec/locale_app/key_checker_spec.rb
|
234
|
+
- spec/locale_app/missing_translations_spec.rb
|
235
|
+
- spec/locale_app/poller_spec.rb
|
236
|
+
- spec/locale_app/rails/controller_spec.rb
|
237
|
+
- spec/locale_app/routes_spec.rb
|
238
|
+
- spec/locale_app/sender_spec.rb
|
239
|
+
- spec/locale_app/updater_spec.rb
|
240
|
+
- spec/spec_helper.rb
|
241
|
+
- spec/support/locale_app_integration_data.rb
|
242
|
+
- spec/support/locale_app_synchronization_data.rb
|
243
|
+
homepage: http://rubygems.org/gems/localeapp
|
244
|
+
licenses: []
|
245
|
+
|
246
|
+
post_install_message:
|
247
|
+
rdoc_options: []
|
248
|
+
|
249
|
+
require_paths:
|
250
|
+
- lib
|
251
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
253
|
+
requirements:
|
254
|
+
- - ">="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
hash: 3
|
257
|
+
segments:
|
258
|
+
- 0
|
259
|
+
version: "0"
|
260
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
|
+
none: false
|
262
|
+
requirements:
|
263
|
+
- - ">="
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
hash: 3
|
266
|
+
segments:
|
267
|
+
- 0
|
268
|
+
version: "0"
|
269
|
+
requirements: []
|
270
|
+
|
271
|
+
rubyforge_project: localeapp
|
272
|
+
rubygems_version: 1.8.6
|
273
|
+
signing_key:
|
274
|
+
specification_version: 3
|
275
|
+
summary: Add missing translation keys to localeapp.com
|
276
|
+
test_files:
|
277
|
+
- features/localeapp_binary.feature
|
278
|
+
- features/step_definitions/cli_steps.rb
|
279
|
+
- features/support/env.rb
|
280
|
+
- features/support/hooks.rb
|
281
|
+
- spec/fixtures/en.yml
|
282
|
+
- spec/fixtures/es.yml
|
283
|
+
- spec/locale_app/api_call_spec.rb
|
284
|
+
- spec/locale_app/api_caller_spec.rb
|
285
|
+
- spec/locale_app/cli/install_spec.rb
|
286
|
+
- spec/locale_app/cli/pull_spec.rb
|
287
|
+
- spec/locale_app/cli/push_spec.rb
|
288
|
+
- spec/locale_app/cli/update_spec.rb
|
289
|
+
- spec/locale_app/configuration_spec.rb
|
290
|
+
- spec/locale_app/exception_handler_spec.rb
|
291
|
+
- spec/locale_app/key_checker_spec.rb
|
292
|
+
- spec/locale_app/missing_translations_spec.rb
|
293
|
+
- spec/locale_app/poller_spec.rb
|
294
|
+
- spec/locale_app/rails/controller_spec.rb
|
295
|
+
- spec/locale_app/routes_spec.rb
|
296
|
+
- spec/locale_app/sender_spec.rb
|
297
|
+
- spec/locale_app/updater_spec.rb
|
298
|
+
- spec/spec_helper.rb
|
299
|
+
- spec/support/locale_app_integration_data.rb
|
300
|
+
- spec/support/locale_app_synchronization_data.rb
|