alchemy_cms 3.1.0.rc3 → 3.1.0
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.
- checksums.yaml +4 -4
- data/Gemfile +6 -2
- data/README.md +11 -17
- data/app/controllers/alchemy/admin/pages_controller.rb +3 -1
- data/db/migrate/20130827094554_alchemy_two_point_six.rb +82 -0
- data/lib/alchemy/auth_accessors.rb +7 -3
- data/lib/alchemy/version.rb +1 -1
- data/spec/controllers/admin/pages_controller_spec.rb +398 -379
- data/spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb +82 -0
- data/spec/spec_helper.rb +2 -3
- metadata +4 -4
@@ -310,6 +310,88 @@ class AlchemyTwoPointSix < ActiveRecord::Migration
|
|
310
310
|
t.string "name"
|
311
311
|
end
|
312
312
|
end
|
313
|
+
end
|
314
|
+
|
315
|
+
def down
|
316
|
+
if table_exists?('alchemy_attachments')
|
317
|
+
drop_table "alchemy_attachments"
|
318
|
+
end
|
319
|
+
|
320
|
+
if table_exists?('alchemy_cells')
|
321
|
+
drop_table "alchemy_cells"
|
322
|
+
end
|
323
|
+
|
324
|
+
if table_exists?('alchemy_contents')
|
325
|
+
drop_table "alchemy_contents"
|
326
|
+
end
|
327
|
+
|
328
|
+
if table_exists?('alchemy_elements')
|
329
|
+
drop_table "alchemy_elements"
|
330
|
+
end
|
331
|
+
|
332
|
+
if table_exists?('alchemy_elements_alchemy_pages')
|
333
|
+
drop_table "alchemy_elements_alchemy_pages"
|
334
|
+
end
|
335
|
+
|
336
|
+
if table_exists?('alchemy_essence_booleans')
|
337
|
+
drop_table "alchemy_essence_booleans"
|
338
|
+
end
|
339
|
+
|
340
|
+
if table_exists?('alchemy_essence_dates')
|
341
|
+
drop_table "alchemy_essence_dates"
|
342
|
+
end
|
343
|
+
|
344
|
+
if table_exists?('alchemy_essence_files')
|
345
|
+
drop_table "alchemy_essence_files"
|
346
|
+
end
|
347
|
+
|
348
|
+
if table_exists?('alchemy_essence_htmls')
|
349
|
+
drop_table "alchemy_essence_htmls"
|
350
|
+
end
|
351
|
+
|
352
|
+
if table_exists?('alchemy_essence_links')
|
353
|
+
drop_table "alchemy_essence_links"
|
354
|
+
end
|
355
|
+
|
356
|
+
if table_exists?('alchemy_essence_pictures')
|
357
|
+
drop_table "alchemy_essence_pictures"
|
358
|
+
end
|
359
|
+
|
360
|
+
if table_exists?('alchemy_essence_richtexts')
|
361
|
+
drop_table "alchemy_essence_richtexts"
|
362
|
+
end
|
363
|
+
|
364
|
+
if table_exists?('alchemy_essence_selects')
|
365
|
+
drop_table "alchemy_essence_selects"
|
366
|
+
end
|
367
|
+
|
368
|
+
if table_exists?('alchemy_essence_texts')
|
369
|
+
drop_table "alchemy_essence_texts"
|
370
|
+
end
|
371
|
+
|
372
|
+
if table_exists?('alchemy_folded_pages')
|
373
|
+
drop_table "alchemy_folded_pages"
|
374
|
+
end
|
375
|
+
|
376
|
+
if table_exists?('alchemy_languages')
|
377
|
+
drop_table "alchemy_languages"
|
378
|
+
end
|
379
|
+
|
380
|
+
if table_exists?('alchemy_legacy_page_urls')
|
381
|
+
drop_table "alchemy_legacy_page_urls"
|
382
|
+
end
|
383
|
+
|
384
|
+
if table_exists?('alchemy_pages')
|
385
|
+
drop_table "alchemy_pages"
|
386
|
+
end
|
387
|
+
|
388
|
+
if table_exists?('alchemy_pictures')
|
389
|
+
drop_table "alchemy_pictures"
|
390
|
+
end
|
391
|
+
|
392
|
+
if table_exists?('alchemy_sites')
|
393
|
+
drop_table "alchemy_sites"
|
394
|
+
end
|
313
395
|
|
314
396
|
end
|
315
397
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-02-
|
15
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: actionpack-page_caching
|
@@ -1212,9 +1212,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1212
1212
|
version: 1.9.3
|
1213
1213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1214
1214
|
requirements:
|
1215
|
-
- - "
|
1215
|
+
- - ">="
|
1216
1216
|
- !ruby/object:Gem::Version
|
1217
|
-
version:
|
1217
|
+
version: '0'
|
1218
1218
|
requirements:
|
1219
1219
|
- ImageMagick (libmagick), v6.6 or greater.
|
1220
1220
|
rubyforge_project:
|