radiant-globalize2-extension 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -3,7 +3,7 @@
3
3
  require 'globalize2/form_builder_extensions'
4
4
 
5
5
  class Globalize2Extension < Radiant::Extension
6
- version "0.2.4"
6
+ version "0.2.5"
7
7
  description "Translate content in Radiant CMS using the Globalize2 Rails plugin."
8
8
  url "http://blog.aissac.ro/radiant/globalize2-extension/"
9
9
 
@@ -73,7 +73,7 @@ module Globalize2
73
73
 
74
74
  def path_with_globalize
75
75
  unless parent || Globalize2Extension.locales.size <= 1
76
- '/' + Globalize2Extension.content_locale + path_without_globalize
76
+ '/' + Globalize2Extension.content_locale.to_s + path_without_globalize
77
77
  else
78
78
  path_without_globalize
79
79
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-globalize2-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Cristi Duma
@@ -40,22 +40,6 @@ dependencies:
40
40
  version: 0.9.1
41
41
  type: :runtime
42
42
  version_requirements: *id001
43
- - !ruby/object:Gem::Dependency
44
- name: i18n
45
- prerelease: false
46
- requirement: &id002 !ruby/object:Gem::Requirement
47
- none: false
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- hash: 13
52
- segments:
53
- - 0
54
- - 4
55
- - 1
56
- version: 0.4.1
57
- type: :runtime
58
- version_requirements: *id002
59
43
  description: This extension allows you to translate your Radiant content
60
44
  email: benny@gorilla-webdesign.be
61
45
  executables: []
@@ -347,7 +331,6 @@ files:
347
331
  - public/images/admin/zm.gif
348
332
  - public/images/admin/zw.gif
349
333
  - public/stylesheets/sass/admin/globalize2.sass
350
- - radiant-globalize2-extension.gemspec
351
334
  - readme.md
352
335
  - spec/controllers/admin/pages_controller_spec.rb
353
336
  - spec/controllers/site_controller_spec.rb
@@ -1,362 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{radiant-globalize2-extension}
8
- s.version = "0.2.4"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Cristi Duma", "Istvan Hoka", "Edmund Haselwanter", "Benny Degezelle", "Jerrod Blavos", "Simo Niemel\303\244", "Jan De Poorter"]
12
- s.date = %q{2011-03-31}
13
- s.description = %q{This extension allows you to translate your Radiant content}
14
- s.email = %q{benny@gorilla-webdesign.be}
15
- s.files = [
16
- "Rakefile",
17
- "VERSION",
18
- "app/views/admin/shared/_change_locale.html.haml",
19
- "app/views/admin/shared/_change_locale_admin.html.haml",
20
- "app/views/admin/shared/_globalize_td.html.haml",
21
- "app/views/admin/shared/_globalize_th.html.haml",
22
- "config/routes.rb",
23
- "cucumber.yml",
24
- "db/migrate/20090728084238_create_translation_tables.rb",
25
- "db/migrate/20090728114627_populate_translations.rb",
26
- "db/migrate/20090729085422_remove_translated_attributes.rb",
27
- "features/globalize_layouts.feature",
28
- "features/globalize_pages.feature",
29
- "features/globalize_snippets.feature",
30
- "features/step_definitions/admin_steps.rb",
31
- "features/step_definitions/webrat_steps.rb",
32
- "features/support/env.rb",
33
- "features/support/paths.rb",
34
- "globalize2_extension.rb",
35
- "lib/globalize2/compatibility/archive/archive_page_extensions.rb",
36
- "lib/globalize2/compatibility/copy_move/copy_move_model_extensions.rb",
37
- "lib/globalize2/compatibility/paginate/globalize_tags.rb",
38
- "lib/globalize2/compatibility/paginate/page_extensions.rb",
39
- "lib/globalize2/compatibility/vhost/page_extensions.rb",
40
- "lib/globalize2/form_builder_extensions.rb",
41
- "lib/globalize2/globalize_tags.rb",
42
- "lib/globalize2/globalized_fields_controller_extension.rb",
43
- "lib/globalize2/localized_content.rb",
44
- "lib/globalize2/page_extensions.rb",
45
- "lib/globalize2/page_part_extensions.rb",
46
- "lib/globalize2/pages_controller_extensions.rb",
47
- "lib/globalize2/site_controller_extensions.rb",
48
- "lib/tasks/globalize2_extension_tasks.rake",
49
- "public/images/admin/ad.gif",
50
- "public/images/admin/ae.gif",
51
- "public/images/admin/af.gif",
52
- "public/images/admin/ag.gif",
53
- "public/images/admin/ai.gif",
54
- "public/images/admin/al.gif",
55
- "public/images/admin/am.gif",
56
- "public/images/admin/an.gif",
57
- "public/images/admin/ao.gif",
58
- "public/images/admin/ar.gif",
59
- "public/images/admin/as.gif",
60
- "public/images/admin/at.gif",
61
- "public/images/admin/au.gif",
62
- "public/images/admin/aw.gif",
63
- "public/images/admin/ax.gif",
64
- "public/images/admin/az.gif",
65
- "public/images/admin/ba.gif",
66
- "public/images/admin/bb.gif",
67
- "public/images/admin/bd.gif",
68
- "public/images/admin/be.gif",
69
- "public/images/admin/bf.gif",
70
- "public/images/admin/bg.gif",
71
- "public/images/admin/bh.gif",
72
- "public/images/admin/bi.gif",
73
- "public/images/admin/bj.gif",
74
- "public/images/admin/bm.gif",
75
- "public/images/admin/bn.gif",
76
- "public/images/admin/bo.gif",
77
- "public/images/admin/br.gif",
78
- "public/images/admin/bs.gif",
79
- "public/images/admin/bt.gif",
80
- "public/images/admin/bv.gif",
81
- "public/images/admin/bw.gif",
82
- "public/images/admin/by.gif",
83
- "public/images/admin/bz.gif",
84
- "public/images/admin/ca.gif",
85
- "public/images/admin/catalonia.gif",
86
- "public/images/admin/cc.gif",
87
- "public/images/admin/cd.gif",
88
- "public/images/admin/cf.gif",
89
- "public/images/admin/cg.gif",
90
- "public/images/admin/ch.gif",
91
- "public/images/admin/ci.gif",
92
- "public/images/admin/ck.gif",
93
- "public/images/admin/cl.gif",
94
- "public/images/admin/cm.gif",
95
- "public/images/admin/cn.gif",
96
- "public/images/admin/co.gif",
97
- "public/images/admin/cr.gif",
98
- "public/images/admin/cs.gif",
99
- "public/images/admin/cu.gif",
100
- "public/images/admin/cv.gif",
101
- "public/images/admin/cx.gif",
102
- "public/images/admin/cy.gif",
103
- "public/images/admin/cz.gif",
104
- "public/images/admin/de.gif",
105
- "public/images/admin/dj.gif",
106
- "public/images/admin/dk.gif",
107
- "public/images/admin/dm.gif",
108
- "public/images/admin/do.gif",
109
- "public/images/admin/dz.gif",
110
- "public/images/admin/ec.gif",
111
- "public/images/admin/ee.gif",
112
- "public/images/admin/eg.gif",
113
- "public/images/admin/eh.gif",
114
- "public/images/admin/en.gif",
115
- "public/images/admin/england.gif",
116
- "public/images/admin/er.gif",
117
- "public/images/admin/es.gif",
118
- "public/images/admin/et.gif",
119
- "public/images/admin/europeanunion.gif",
120
- "public/images/admin/fam.gif",
121
- "public/images/admin/fi.gif",
122
- "public/images/admin/fj.gif",
123
- "public/images/admin/fk.gif",
124
- "public/images/admin/fm.gif",
125
- "public/images/admin/fo.gif",
126
- "public/images/admin/fr.gif",
127
- "public/images/admin/ga.gif",
128
- "public/images/admin/gb.gif",
129
- "public/images/admin/gd.gif",
130
- "public/images/admin/ge.gif",
131
- "public/images/admin/gf.gif",
132
- "public/images/admin/gh.gif",
133
- "public/images/admin/gi.gif",
134
- "public/images/admin/gl.gif",
135
- "public/images/admin/gm.gif",
136
- "public/images/admin/gn.gif",
137
- "public/images/admin/gp.gif",
138
- "public/images/admin/gq.gif",
139
- "public/images/admin/gr.gif",
140
- "public/images/admin/gs.gif",
141
- "public/images/admin/gt.gif",
142
- "public/images/admin/gu.gif",
143
- "public/images/admin/gw.gif",
144
- "public/images/admin/gy.gif",
145
- "public/images/admin/hk.gif",
146
- "public/images/admin/hm.gif",
147
- "public/images/admin/hn.gif",
148
- "public/images/admin/hr.gif",
149
- "public/images/admin/ht.gif",
150
- "public/images/admin/hu.gif",
151
- "public/images/admin/id.gif",
152
- "public/images/admin/ie.gif",
153
- "public/images/admin/il.gif",
154
- "public/images/admin/in.gif",
155
- "public/images/admin/io.gif",
156
- "public/images/admin/iq.gif",
157
- "public/images/admin/ir.gif",
158
- "public/images/admin/is.gif",
159
- "public/images/admin/it.gif",
160
- "public/images/admin/jm.gif",
161
- "public/images/admin/jo.gif",
162
- "public/images/admin/jp.gif",
163
- "public/images/admin/ke.gif",
164
- "public/images/admin/kg.gif",
165
- "public/images/admin/kh.gif",
166
- "public/images/admin/ki.gif",
167
- "public/images/admin/km.gif",
168
- "public/images/admin/kn.gif",
169
- "public/images/admin/kp.gif",
170
- "public/images/admin/kr.gif",
171
- "public/images/admin/kw.gif",
172
- "public/images/admin/ky.gif",
173
- "public/images/admin/kz.gif",
174
- "public/images/admin/la.gif",
175
- "public/images/admin/lb.gif",
176
- "public/images/admin/lc.gif",
177
- "public/images/admin/li.gif",
178
- "public/images/admin/lk.gif",
179
- "public/images/admin/lr.gif",
180
- "public/images/admin/ls.gif",
181
- "public/images/admin/lt.gif",
182
- "public/images/admin/lu.gif",
183
- "public/images/admin/lv.gif",
184
- "public/images/admin/ly.gif",
185
- "public/images/admin/ma.gif",
186
- "public/images/admin/mc.gif",
187
- "public/images/admin/md.gif",
188
- "public/images/admin/me.gif",
189
- "public/images/admin/mg.gif",
190
- "public/images/admin/mh.gif",
191
- "public/images/admin/mk.gif",
192
- "public/images/admin/ml.gif",
193
- "public/images/admin/mm.gif",
194
- "public/images/admin/mn.gif",
195
- "public/images/admin/mo.gif",
196
- "public/images/admin/mp.gif",
197
- "public/images/admin/mq.gif",
198
- "public/images/admin/mr.gif",
199
- "public/images/admin/ms.gif",
200
- "public/images/admin/mt.gif",
201
- "public/images/admin/mu.gif",
202
- "public/images/admin/mv.gif",
203
- "public/images/admin/mw.gif",
204
- "public/images/admin/mx.gif",
205
- "public/images/admin/my.gif",
206
- "public/images/admin/mz.gif",
207
- "public/images/admin/na.gif",
208
- "public/images/admin/nc.gif",
209
- "public/images/admin/ne.gif",
210
- "public/images/admin/nf.gif",
211
- "public/images/admin/ng.gif",
212
- "public/images/admin/ni.gif",
213
- "public/images/admin/nl.gif",
214
- "public/images/admin/no.gif",
215
- "public/images/admin/np.gif",
216
- "public/images/admin/nr.gif",
217
- "public/images/admin/nu.gif",
218
- "public/images/admin/nz.gif",
219
- "public/images/admin/om.gif",
220
- "public/images/admin/pa.gif",
221
- "public/images/admin/pe.gif",
222
- "public/images/admin/pf.gif",
223
- "public/images/admin/pg.gif",
224
- "public/images/admin/ph.gif",
225
- "public/images/admin/pk.gif",
226
- "public/images/admin/pl.gif",
227
- "public/images/admin/pm.gif",
228
- "public/images/admin/pn.gif",
229
- "public/images/admin/pr.gif",
230
- "public/images/admin/ps.gif",
231
- "public/images/admin/pt.gif",
232
- "public/images/admin/pw.gif",
233
- "public/images/admin/py.gif",
234
- "public/images/admin/qa.gif",
235
- "public/images/admin/re.gif",
236
- "public/images/admin/ro.gif",
237
- "public/images/admin/rs.gif",
238
- "public/images/admin/ru.gif",
239
- "public/images/admin/rw.gif",
240
- "public/images/admin/sa.gif",
241
- "public/images/admin/sb.gif",
242
- "public/images/admin/sc.gif",
243
- "public/images/admin/scotland.gif",
244
- "public/images/admin/sd.gif",
245
- "public/images/admin/se.gif",
246
- "public/images/admin/sg.gif",
247
- "public/images/admin/sh.gif",
248
- "public/images/admin/si.gif",
249
- "public/images/admin/sj.gif",
250
- "public/images/admin/sk.gif",
251
- "public/images/admin/sl.gif",
252
- "public/images/admin/sm.gif",
253
- "public/images/admin/sn.gif",
254
- "public/images/admin/so.gif",
255
- "public/images/admin/sr.gif",
256
- "public/images/admin/st.gif",
257
- "public/images/admin/sv.gif",
258
- "public/images/admin/sy.gif",
259
- "public/images/admin/sz.gif",
260
- "public/images/admin/tc.gif",
261
- "public/images/admin/td.gif",
262
- "public/images/admin/tf.gif",
263
- "public/images/admin/tg.gif",
264
- "public/images/admin/th.gif",
265
- "public/images/admin/tj.gif",
266
- "public/images/admin/tk.gif",
267
- "public/images/admin/tl.gif",
268
- "public/images/admin/tm.gif",
269
- "public/images/admin/tn.gif",
270
- "public/images/admin/to.gif",
271
- "public/images/admin/tr.gif",
272
- "public/images/admin/tt.gif",
273
- "public/images/admin/tv.gif",
274
- "public/images/admin/tw.gif",
275
- "public/images/admin/tz.gif",
276
- "public/images/admin/ua.gif",
277
- "public/images/admin/ug.gif",
278
- "public/images/admin/um.gif",
279
- "public/images/admin/us.gif",
280
- "public/images/admin/uy.gif",
281
- "public/images/admin/uz.gif",
282
- "public/images/admin/va.gif",
283
- "public/images/admin/vc.gif",
284
- "public/images/admin/ve.gif",
285
- "public/images/admin/vg.gif",
286
- "public/images/admin/vi.gif",
287
- "public/images/admin/vn.gif",
288
- "public/images/admin/vu.gif",
289
- "public/images/admin/wales.gif",
290
- "public/images/admin/wf.gif",
291
- "public/images/admin/ws.gif",
292
- "public/images/admin/ye.gif",
293
- "public/images/admin/yt.gif",
294
- "public/images/admin/za.gif",
295
- "public/images/admin/zm.gif",
296
- "public/images/admin/zw.gif",
297
- "public/stylesheets/sass/admin/globalize2.sass",
298
- "readme.md",
299
- "spec/controllers/admin/pages_controller_spec.rb",
300
- "spec/controllers/site_controller_spec.rb",
301
- "spec/factories.rb",
302
- "spec/models/globalize_tags_spec.rb",
303
- "spec/models/page_spec.rb",
304
- "spec/spec.opts",
305
- "spec/spec_helper.rb",
306
- "vendor/plugins/globalize2/.gitignore",
307
- "vendor/plugins/globalize2/LICENSE",
308
- "vendor/plugins/globalize2/README.textile",
309
- "vendor/plugins/globalize2/Rakefile",
310
- "vendor/plugins/globalize2/VERSION",
311
- "vendor/plugins/globalize2/generators/db_backend.rb",
312
- "vendor/plugins/globalize2/generators/templates/db_backend_migration.rb",
313
- "vendor/plugins/globalize2/globalize2.gemspec",
314
- "vendor/plugins/globalize2/init.rb",
315
- "vendor/plugins/globalize2/lib/globalize.rb",
316
- "vendor/plugins/globalize2/lib/globalize/active_record.rb",
317
- "vendor/plugins/globalize2/lib/globalize/active_record/adapter.rb",
318
- "vendor/plugins/globalize2/lib/globalize/active_record/attributes.rb",
319
- "vendor/plugins/globalize2/lib/globalize/active_record/migration.rb",
320
- "vendor/plugins/globalize2/lib/i18n/missing_translations_log_handler.rb",
321
- "vendor/plugins/globalize2/lib/i18n/missing_translations_raise_handler.rb",
322
- "vendor/plugins/globalize2/test/active_record/fallbacks_test.rb",
323
- "vendor/plugins/globalize2/test/active_record/migration_test.rb",
324
- "vendor/plugins/globalize2/test/active_record/sti_translated_test.rb",
325
- "vendor/plugins/globalize2/test/active_record/translates_test.rb",
326
- "vendor/plugins/globalize2/test/active_record/translation_class_test.rb",
327
- "vendor/plugins/globalize2/test/active_record/validation_tests.rb",
328
- "vendor/plugins/globalize2/test/active_record_test.rb",
329
- "vendor/plugins/globalize2/test/all.rb",
330
- "vendor/plugins/globalize2/test/data/models.rb",
331
- "vendor/plugins/globalize2/test/data/no_globalize_schema.rb",
332
- "vendor/plugins/globalize2/test/data/schema.rb",
333
- "vendor/plugins/globalize2/test/i18n/missing_translations_test.rb",
334
- "vendor/plugins/globalize2/test/test_helper.rb"
335
- ]
336
- s.homepage = %q{https://github.com/jomz/radiant-globalize2-extension}
337
- s.require_paths = ["lib"]
338
- s.rubygems_version = %q{1.3.7}
339
- s.summary = %q{Globalize2 extension for Radiant CMS}
340
- s.test_files = [
341
- "spec/controllers/admin/pages_controller_spec.rb",
342
- "spec/controllers/site_controller_spec.rb",
343
- "spec/factories.rb",
344
- "spec/models/globalize_tags_spec.rb",
345
- "spec/models/page_spec.rb",
346
- "spec/spec_helper.rb"
347
- ]
348
-
349
- if s.respond_to? :specification_version then
350
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
351
- s.specification_version = 3
352
-
353
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
354
- s.add_runtime_dependency(%q<radiant>, [">= 0.9.1"])
355
- else
356
- s.add_dependency(%q<radiant>, [">= 0.9.1"])
357
- end
358
- else
359
- s.add_dependency(%q<radiant>, [">= 0.9.1"])
360
- end
361
- end
362
-