interpret 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. data/.gitignore +11 -0
  2. data/Gemfile +4 -0
  3. data/Rakefile +2 -0
  4. data/app/controllers/interpret/base_controller.rb +10 -0
  5. data/app/controllers/interpret/search_controller.rb +7 -0
  6. data/app/controllers/interpret/tools_controller.rb +39 -0
  7. data/app/controllers/interpret/translations_controller.rb +47 -0
  8. data/app/models/interpret/translation.rb +257 -0
  9. data/app/sweepers/interpret/base_sweeper.rb +14 -0
  10. data/app/sweepers/interpret/translation_sweeper.rb +14 -0
  11. data/app/views/interpret/search/index.html.erb +29 -0
  12. data/app/views/interpret/search/perform.html.erb +38 -0
  13. data/app/views/interpret/tools/index.html.erb +38 -0
  14. data/app/views/interpret/translations/_form.html.erb +5 -0
  15. data/app/views/interpret/translations/_listing.html.erb +22 -0
  16. data/app/views/interpret/translations/edit.html.erb +5 -0
  17. data/app/views/interpret/translations/index.html.erb +28 -0
  18. data/app/views/layouts/interpret.html.erb +41 -0
  19. data/config/routes.rb +20 -0
  20. data/interpret.gemspec +30 -0
  21. data/lib/generators/interpret/migration_generator.rb +25 -0
  22. data/lib/generators/interpret/setup_generator.rb +21 -0
  23. data/lib/generators/interpret/templates/migration.rb +16 -0
  24. data/lib/generators/interpret/views_generator.rb +16 -0
  25. data/lib/interpret/capistrano.rb +15 -0
  26. data/lib/interpret/engine.rb +23 -0
  27. data/lib/interpret/helpers.rb +45 -0
  28. data/lib/interpret/lazy_hash.rb +21 -0
  29. data/lib/interpret/logger.rb +7 -0
  30. data/lib/interpret/version.rb +3 -0
  31. data/lib/interpret.rb +30 -0
  32. data/lib/tasks/interpret.rake +11 -0
  33. data/public/javascripts/jquery.purr.js +180 -0
  34. data/public/stylesheets/folder.png +0 -0
  35. data/public/stylesheets/interpret_style.css +542 -0
  36. data/test_app/Gemfile +11 -0
  37. data/test_app/README +256 -0
  38. data/test_app/Rakefile +7 -0
  39. data/test_app/app/controllers/application_controller.rb +3 -0
  40. data/test_app/app/controllers/pages_controller.rb +3 -0
  41. data/test_app/app/helpers/application_helper.rb +2 -0
  42. data/test_app/app/sweepers/page_sweeper.rb +12 -0
  43. data/test_app/app/views/layouts/application.html.erb +15 -0
  44. data/test_app/app/views/pages/contact.html.haml +8 -0
  45. data/test_app/app/views/pages/index.html.haml +9 -0
  46. data/test_app/config/application.rb +42 -0
  47. data/test_app/config/boot.rb +13 -0
  48. data/test_app/config/database.yml +23 -0
  49. data/test_app/config/environment.rb +5 -0
  50. data/test_app/config/environments/development.rb +27 -0
  51. data/test_app/config/environments/production.rb +51 -0
  52. data/test_app/config/environments/test.rb +35 -0
  53. data/test_app/config/initializers/backtrace_silencers.rb +7 -0
  54. data/test_app/config/initializers/inflections.rb +10 -0
  55. data/test_app/config/initializers/interpret.rb +2 -0
  56. data/test_app/config/initializers/mime_types.rb +5 -0
  57. data/test_app/config/initializers/secret_token.rb +7 -0
  58. data/test_app/config/initializers/session_store.rb +8 -0
  59. data/test_app/config/locales/ca.yml +6 -0
  60. data/test_app/config/locales/es.yml +48 -0
  61. data/test_app/config/routes.rb +4 -0
  62. data/test_app/config.ru +4 -0
  63. data/test_app/db/migrate/20110209185258_interpret_create_translations.rb +16 -0
  64. data/test_app/db/schema.rb +23 -0
  65. data/test_app/db/seeds.rb +0 -0
  66. data/test_app/lib/lazy_hash.rb +22 -0
  67. data/test_app/lib/tasks/.gitkeep +0 -0
  68. data/test_app/lib/tasks/setup.rake +19 -0
  69. data/test_app/public/404.html +26 -0
  70. data/test_app/public/422.html +26 -0
  71. data/test_app/public/500.html +26 -0
  72. data/test_app/public/favicon.ico +0 -0
  73. data/test_app/public/index.html +29 -0
  74. data/test_app/public/javascripts/application.js +2 -0
  75. data/test_app/public/javascripts/best_in_place.js +456 -0
  76. data/test_app/public/javascripts/controls.js +965 -0
  77. data/test_app/public/javascripts/dragdrop.js +974 -0
  78. data/test_app/public/javascripts/effects.js +1123 -0
  79. data/test_app/public/javascripts/jquery.purr.js +180 -0
  80. data/test_app/public/javascripts/prototype.js +6001 -0
  81. data/test_app/public/javascripts/rails.js +134 -0
  82. data/test_app/public/robots.txt +5 -0
  83. data/test_app/public/stylesheets/.gitkeep +0 -0
  84. data/test_app/public/stylesheets/folder.png +0 -0
  85. data/test_app/public/stylesheets/interpret_style.css +530 -0
  86. data/test_app/script/rails +6 -0
  87. data/test_app/vendor/plugins/.gitkeep +0 -0
  88. metadata +262 -0
metadata ADDED
@@ -0,0 +1,262 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: interpret
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
11
+ platform: ruby
12
+ authors:
13
+ - Roger Campos
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-14 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 1
30
+ segments:
31
+ - 3
32
+ - 0
33
+ - 3
34
+ version: 3.0.3
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: i18n
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 11
46
+ segments:
47
+ - 0
48
+ - 5
49
+ - 0
50
+ version: 0.5.0
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: i18n-active_record
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
64
+ version: "0"
65
+ type: :runtime
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: ya2yaml
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 103
76
+ segments:
77
+ - 0
78
+ - 30
79
+ - 0
80
+ version: 0.30.0
81
+ type: :runtime
82
+ version_requirements: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ name: will_paginate
85
+ prerelease: false
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ hash: -1876988247
92
+ segments:
93
+ - 3
94
+ - 0
95
+ - pre2
96
+ version: 3.0.pre2
97
+ type: :runtime
98
+ version_requirements: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ name: best_in_place
101
+ prerelease: false
102
+ requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ hash: 21
108
+ segments:
109
+ - 0
110
+ - 1
111
+ - 7
112
+ version: 0.1.7
113
+ type: :runtime
114
+ version_requirements: *id006
115
+ - !ruby/object:Gem::Dependency
116
+ name: rspec-rails
117
+ prerelease: false
118
+ requirement: &id007 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ hash: 9
124
+ segments:
125
+ - 2
126
+ - 5
127
+ version: "2.5"
128
+ type: :development
129
+ version_requirements: *id007
130
+ description: Manage your app translations with an i18n active_record backend
131
+ email:
132
+ - roger@itnig.net
133
+ executables: []
134
+
135
+ extensions: []
136
+
137
+ extra_rdoc_files: []
138
+
139
+ files:
140
+ - .gitignore
141
+ - Gemfile
142
+ - Rakefile
143
+ - app/controllers/interpret/base_controller.rb
144
+ - app/controllers/interpret/search_controller.rb
145
+ - app/controllers/interpret/tools_controller.rb
146
+ - app/controllers/interpret/translations_controller.rb
147
+ - app/models/interpret/translation.rb
148
+ - app/sweepers/interpret/base_sweeper.rb
149
+ - app/sweepers/interpret/translation_sweeper.rb
150
+ - app/views/interpret/search/index.html.erb
151
+ - app/views/interpret/search/perform.html.erb
152
+ - app/views/interpret/tools/index.html.erb
153
+ - app/views/interpret/translations/_form.html.erb
154
+ - app/views/interpret/translations/_listing.html.erb
155
+ - app/views/interpret/translations/edit.html.erb
156
+ - app/views/interpret/translations/index.html.erb
157
+ - app/views/layouts/interpret.html.erb
158
+ - config/routes.rb
159
+ - interpret.gemspec
160
+ - lib/generators/interpret/migration_generator.rb
161
+ - lib/generators/interpret/setup_generator.rb
162
+ - lib/generators/interpret/templates/migration.rb
163
+ - lib/generators/interpret/views_generator.rb
164
+ - lib/interpret.rb
165
+ - lib/interpret/capistrano.rb
166
+ - lib/interpret/engine.rb
167
+ - lib/interpret/helpers.rb
168
+ - lib/interpret/lazy_hash.rb
169
+ - lib/interpret/logger.rb
170
+ - lib/interpret/version.rb
171
+ - lib/tasks/interpret.rake
172
+ - public/javascripts/jquery.purr.js
173
+ - public/stylesheets/folder.png
174
+ - public/stylesheets/interpret_style.css
175
+ - test_app/Gemfile
176
+ - test_app/README
177
+ - test_app/Rakefile
178
+ - test_app/app/controllers/application_controller.rb
179
+ - test_app/app/controllers/pages_controller.rb
180
+ - test_app/app/helpers/application_helper.rb
181
+ - test_app/app/sweepers/page_sweeper.rb
182
+ - test_app/app/views/layouts/application.html.erb
183
+ - test_app/app/views/pages/contact.html.haml
184
+ - test_app/app/views/pages/index.html.haml
185
+ - test_app/config.ru
186
+ - test_app/config/application.rb
187
+ - test_app/config/boot.rb
188
+ - test_app/config/database.yml
189
+ - test_app/config/environment.rb
190
+ - test_app/config/environments/development.rb
191
+ - test_app/config/environments/production.rb
192
+ - test_app/config/environments/test.rb
193
+ - test_app/config/initializers/backtrace_silencers.rb
194
+ - test_app/config/initializers/inflections.rb
195
+ - test_app/config/initializers/interpret.rb
196
+ - test_app/config/initializers/mime_types.rb
197
+ - test_app/config/initializers/secret_token.rb
198
+ - test_app/config/initializers/session_store.rb
199
+ - test_app/config/locales/ca.yml
200
+ - test_app/config/locales/es.yml
201
+ - test_app/config/routes.rb
202
+ - test_app/db/migrate/20110209185258_interpret_create_translations.rb
203
+ - test_app/db/schema.rb
204
+ - test_app/db/seeds.rb
205
+ - test_app/lib/lazy_hash.rb
206
+ - test_app/lib/tasks/.gitkeep
207
+ - test_app/lib/tasks/setup.rake
208
+ - test_app/public/404.html
209
+ - test_app/public/422.html
210
+ - test_app/public/500.html
211
+ - test_app/public/favicon.ico
212
+ - test_app/public/index.html
213
+ - test_app/public/javascripts/application.js
214
+ - test_app/public/javascripts/best_in_place.js
215
+ - test_app/public/javascripts/controls.js
216
+ - test_app/public/javascripts/dragdrop.js
217
+ - test_app/public/javascripts/effects.js
218
+ - test_app/public/javascripts/jquery.purr.js
219
+ - test_app/public/javascripts/prototype.js
220
+ - test_app/public/javascripts/rails.js
221
+ - test_app/public/robots.txt
222
+ - test_app/public/stylesheets/.gitkeep
223
+ - test_app/public/stylesheets/folder.png
224
+ - test_app/public/stylesheets/interpret_style.css
225
+ - test_app/script/rails
226
+ - test_app/vendor/plugins/.gitkeep
227
+ has_rdoc: true
228
+ homepage: https://github.com/rogercampos/interpret
229
+ licenses: []
230
+
231
+ post_install_message:
232
+ rdoc_options: []
233
+
234
+ require_paths:
235
+ - lib
236
+ required_ruby_version: !ruby/object:Gem::Requirement
237
+ none: false
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ hash: 3
242
+ segments:
243
+ - 0
244
+ version: "0"
245
+ required_rubygems_version: !ruby/object:Gem::Requirement
246
+ none: false
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ hash: 3
251
+ segments:
252
+ - 0
253
+ version: "0"
254
+ requirements: []
255
+
256
+ rubyforge_project: interpret
257
+ rubygems_version: 1.3.7
258
+ signing_key:
259
+ specification_version: 3
260
+ summary: Manage your app translations with an i18n active_record backend
261
+ test_files: []
262
+