alchemy_cms 3.1.3 → 3.2.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +2 -2
  3. data/.hound.yml +2 -0
  4. data/.rubocop.yml +1063 -0
  5. data/.travis.yml +14 -10
  6. data/Gemfile +4 -7
  7. data/README.md +16 -8
  8. data/alchemy_cms.gemspec +8 -7
  9. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +10 -11
  10. data/app/assets/javascripts/alchemy/alchemy.js +1 -1
  11. data/app/assets/stylesheets/alchemy/{admin.css.scss → admin.scss} +1 -0
  12. data/app/assets/stylesheets/alchemy/{icon-font.css.scss → icon-font.scss} +0 -0
  13. data/app/assets/stylesheets/alchemy/{menubar.css.scss → menubar.scss} +0 -0
  14. data/app/assets/stylesheets/alchemy/{print.css.scss → print.scss} +0 -0
  15. data/app/assets/stylesheets/alchemy/selects.scss +0 -6
  16. data/app/controllers/alchemy/admin/contents_controller.rb +3 -4
  17. data/app/controllers/alchemy/admin/pictures_controller.rb +0 -2
  18. data/app/controllers/alchemy/api/contents_controller.rb +1 -1
  19. data/app/controllers/alchemy/api/elements_controller.rb +2 -2
  20. data/app/controllers/alchemy/api/pages_controller.rb +1 -1
  21. data/app/controllers/alchemy/elements_controller.rb +0 -6
  22. data/app/controllers/alchemy/pages_controller.rb +17 -13
  23. data/app/controllers/alchemy/pictures_controller.rb +1 -0
  24. data/app/helpers/alchemy/admin/navigation_helper.rb +1 -1
  25. data/app/models/alchemy/element.rb +41 -17
  26. data/app/models/alchemy/page/page_naming.rb +16 -29
  27. data/bin/alchemy +1 -1
  28. data/config/routes.rb +1 -2
  29. data/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -17
  30. data/lib/alchemy/capistrano.rb +3 -4
  31. data/lib/alchemy/controller_actions.rb +2 -1
  32. data/lib/alchemy/engine.rb +1 -0
  33. data/lib/alchemy/errors.rb +7 -0
  34. data/lib/alchemy/essence.rb +4 -4
  35. data/lib/alchemy/permissions.rb +1 -1
  36. data/lib/alchemy/shell.rb +26 -11
  37. data/lib/alchemy/test_support/controller_requests.rb +48 -12
  38. data/lib/alchemy/upgrader.rb +1 -0
  39. data/lib/alchemy/upgrader/three_point_one.rb +0 -1
  40. data/lib/alchemy/upgrader/three_point_two.rb +39 -0
  41. data/lib/alchemy/version.rb +1 -1
  42. data/lib/rails/templates/alchemy.rb +2 -2
  43. data/lib/tasks/alchemy/install.rake +2 -1
  44. data/spec/controllers/admin/attachments_controller_spec.rb +14 -14
  45. data/spec/controllers/admin/clipboard_controller_spec.rb +5 -5
  46. data/spec/controllers/admin/contents_controller_spec.rb +8 -14
  47. data/spec/controllers/admin/dashboard_controller_spec.rb +12 -12
  48. data/spec/controllers/admin/elements_controller_spec.rb +30 -31
  49. data/spec/controllers/admin/essence_files_controller_spec.rb +6 -6
  50. data/spec/controllers/admin/essence_pictures_controller_spec.rb +17 -17
  51. data/spec/controllers/admin/languages_controller_spec.rb +3 -3
  52. data/spec/controllers/admin/layoutpages_controller_spec.rb +3 -3
  53. data/spec/controllers/admin/pages_controller_spec.rb +48 -48
  54. data/spec/controllers/admin/pictures_controller_spec.rb +19 -19
  55. data/spec/controllers/admin/resources_controller_spec.rb +2 -2
  56. data/spec/controllers/admin/trash_controller_spec.rb +5 -5
  57. data/spec/controllers/alchemy/admin/tags_controller_spec.rb +5 -5
  58. data/spec/controllers/alchemy/api/contents_controller_spec.rb +46 -11
  59. data/spec/controllers/alchemy/api/elements_controller_spec.rb +42 -14
  60. data/spec/controllers/alchemy/api/pages_controller_spec.rb +26 -16
  61. data/spec/controllers/attachments_controller_spec.rb +7 -7
  62. data/spec/controllers/elements_controller_spec.rb +16 -19
  63. data/spec/controllers/messages_controller_spec.rb +15 -15
  64. data/spec/controllers/pages_controller_spec.rb +16 -25
  65. data/spec/controllers/pictures_controller_spec.rb +75 -49
  66. data/spec/dummy/Rakefile +1 -1
  67. data/spec/dummy/app/assets/stylesheets/application.css +5 -3
  68. data/spec/dummy/config/application.rb +11 -1
  69. data/spec/dummy/config/boot.rb +1 -1
  70. data/spec/dummy/config/environment.rb +1 -1
  71. data/spec/dummy/config/environments/development.rb +14 -2
  72. data/spec/dummy/config/environments/production.rb +18 -21
  73. data/spec/dummy/config/environments/test.rb +9 -4
  74. data/spec/dummy/config/initializers/assets.rb +11 -0
  75. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  76. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  77. data/spec/dummy/config/initializers/session_store.rb +1 -1
  78. data/spec/dummy/config/secrets.yml +22 -0
  79. data/spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb +380 -0
  80. data/spec/dummy/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb +5 -0
  81. data/spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb +5 -0
  82. data/spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb +5 -0
  83. data/spec/dummy/db/migrate/20150122213511_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +31 -0
  84. data/{db/migrate/20140107192720_add_missing_unique_indices_to_tags_and_taggings.rb → spec/dummy/db/migrate/20150122213512_add_missing_unique_indices.acts_as_taggable_on_engine.rb} +5 -6
  85. data/{db/migrate/20140701160159_add_taggings_counter_cache_to_tags.rb → spec/dummy/db/migrate/20150122213513_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb} +2 -1
  86. data/{db/migrate/20140701160225_add_missing_taggable_index.rb → spec/dummy/db/migrate/20150122213514_add_missing_taggable_index.acts_as_taggable_on_engine.rb} +1 -0
  87. data/spec/dummy/db/schema.rb +27 -31
  88. data/spec/dummy/public/404.html +20 -11
  89. data/spec/dummy/public/422.html +20 -11
  90. data/spec/dummy/public/500.html +19 -10
  91. data/spec/features/admin/page_creation_feature_spec.rb +2 -2
  92. data/spec/libraries/resource_spec.rb +1 -1
  93. data/spec/libraries/shell_spec.rb +2 -0
  94. data/spec/models/page_spec.rb +1 -13
  95. data/spec/spec_helper.rb +6 -4
  96. data/spec/support/rspec-activemodel-mocks_patch.rb +8 -0
  97. metadata +63 -56
  98. data/app/controllers/alchemy/contents_controller.rb +0 -18
  99. data/spec/controllers/contents_controller_spec.rb +0 -22
  100. data/spec/dummy/app/models/dummy_model.rb +0 -3
  101. data/spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -1
  102. data/spec/dummy/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb +0 -1
  103. data/spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb +0 -1
  104. data/spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb +0 -1
  105. data/spec/dummy/db/migrate/20140107192720_add_missing_unique_indices_to_tags_and_taggings.rb +0 -1
  106. data/spec/dummy/db/migrate/20140701160159_add_taggings_counter_cache_to_tags.rb +0 -1
  107. data/spec/dummy/db/migrate/20140701160225_add_missing_taggable_index.rb +0 -1
  108. data/spec/dummy/db/migrate/20150412103152_create_dummy_model.rb +0 -7
  109. data/spec/dummy/spec/javascripts +0 -1
  110. data/spec/models/dummy_model_spec.rb +0 -11
@@ -2,17 +2,23 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
5
6
  <style>
6
7
  body {
7
8
  background-color: #EFEFEF;
8
9
  color: #2E2F30;
9
10
  text-align: center;
10
11
  font-family: arial, sans-serif;
12
+ margin: 0;
11
13
  }
12
14
 
13
15
  div.dialog {
14
- width: 25em;
15
- margin: 4em auto 0 auto;
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
16
22
  border: 1px solid #CCC;
17
23
  border-right-color: #999;
18
24
  border-left-color: #999;
@@ -21,7 +27,8 @@
21
27
  border-top-left-radius: 9px;
22
28
  border-top-right-radius: 9px;
23
29
  background-color: white;
24
- padding: 7px 4em 0 4em;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
25
32
  }
26
33
 
27
34
  h1 {
@@ -30,19 +37,19 @@
30
37
  line-height: 1.5em;
31
38
  }
32
39
 
33
- body > p {
34
- width: 33em;
35
- margin: 0 auto 1em;
36
- padding: 1em 0;
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
37
43
  background-color: #F7F7F7;
38
44
  border: 1px solid #CCC;
39
45
  border-right-color: #999;
46
+ border-left-color: #999;
40
47
  border-bottom-color: #999;
41
48
  border-bottom-left-radius: 4px;
42
49
  border-bottom-right-radius: 4px;
43
50
  border-top-color: #DADADA;
44
51
  color: #666;
45
- box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
46
53
  }
47
54
  </style>
48
55
  </head>
@@ -50,8 +57,10 @@
50
57
  <body>
51
58
  <!-- This file lives in public/500.html -->
52
59
  <div class="dialog">
53
- <h1>We're sorry, but something went wrong.</h1>
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
54
64
  </div>
55
- <p>If you are the application owner check the logs for more information.</p>
56
65
  </body>
57
66
  </html>
@@ -30,8 +30,8 @@ module Alchemy
30
30
 
31
31
  it "the create page tab is visible by default" do
32
32
  within('#overlay_tabs') do
33
- expect(page).to have_selector('#create_page_tab', visible: true)
34
- expect(page).to have_selector('#paste_page_tab')
33
+ expect(find '#create_page_tab').to be_visible
34
+ expect(find '#paste_page_tab').to_not be_visible
35
35
  end
36
36
  end
37
37
 
@@ -310,7 +310,7 @@ module Alchemy
310
310
  it "should contain model_association from ActiveRecord::Reflections" do
311
311
  relation = resource.resource_relations[:location_id]
312
312
  expect(relation.keys).to include(:model_association)
313
- expect(relation[:model_association].class).to be(ActiveRecord::Reflection::AssociationReflection)
313
+ expect(relation[:model_association].class).to be(ActiveRecord::Reflection::BelongsToReflection)
314
314
  end
315
315
 
316
316
  it "adds '_id' to relation key" do
@@ -63,6 +63,8 @@ module Alchemy
63
63
  end
64
64
 
65
65
  describe '.log' do
66
+ before { Alchemy::Shell.verbose! }
67
+
66
68
  context 'if the message type is "skip"' do
67
69
  it "the output color should be yellow and cleared again" do
68
70
  expect(MyToDoList).to receive(:color).with(:yellow)
@@ -55,7 +55,7 @@ module Alchemy
55
55
  end
56
56
 
57
57
  context "with url_nesting set to true" do
58
- let(:other_parent) { FactoryGirl.create(:page, parent_id: Page.root.id, visible: true) }
58
+ let(:other_parent) { FactoryGirl.create(:page, parent_id: Page.root.id) }
59
59
 
60
60
  before do
61
61
  allow(Config).to receive(:get).and_return(true)
@@ -1333,18 +1333,6 @@ module Alchemy
1333
1333
  expect(contact.urlname).not_to match(/invisible/)
1334
1334
  end
1335
1335
 
1336
- context "with an invisible parent" do
1337
- before { parent.update_attribute(:visible, false) }
1338
-
1339
- it "does not change if set_urlname is called" do
1340
- expect { page.send(:set_urlname) }.not_to change { page.urlname }
1341
- end
1342
-
1343
- it "does not change if update_urlname! is called" do
1344
- expect { page.update_urlname! }.not_to change { page.urlname }
1345
- end
1346
- end
1347
-
1348
1336
  context "after changing page's urlname" do
1349
1337
  it "updates urlnames of descendants" do
1350
1338
  page
@@ -1,11 +1,11 @@
1
- require 'simplecov'
2
1
  if ENV['TRAVIS']
3
- require 'coveralls'
4
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
2
+ require "codeclimate-test-reporter"
3
+ CodeClimate::TestReporter.start
5
4
  else
5
+ require 'simplecov'
6
6
  SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
7
+ SimpleCov.start 'rails'
7
8
  end
8
- SimpleCov.start 'rails'
9
9
 
10
10
  # Configure Rails Environment
11
11
  ENV["RAILS_ENV"] = "test"
@@ -27,6 +27,7 @@ require 'alchemy/test_support/factories'
27
27
 
28
28
  require_relative "support/hint_examples.rb"
29
29
  require_relative "support/transformation_examples.rb"
30
+ require_relative "support/rspec-activemodel-mocks_patch.rb"
30
31
 
31
32
  ActionMailer::Base.delivery_method = :test
32
33
  ActionMailer::Base.perform_deliveries = true
@@ -60,6 +61,7 @@ RSpec.configure do |config|
60
61
  # Make sure the database is clean and ready for test
61
62
  config.before(:suite) do
62
63
  DatabaseCleaner.clean_with(:truncation)
64
+ Alchemy::Shell.silence!
63
65
  Alchemy::Seeder.seed!
64
66
  end
65
67
 
@@ -0,0 +1,8 @@
1
+ # Manually applied the patch from https://github.com/jdelStrother/rspec-activemodel-mocks/commit/1211c347c5a574739616ccadf4b3b54686f9051f
2
+ if Gem.loaded_specs['rspec-activemodel-mocks'].version.to_s != "1.0.1"
3
+ raise "RSpec-ActiveModel-Mocks version has changed, please check if the behaviour has already been fixed: https://github.com/rspec/rspec-activemodel-mocks/pull/10
4
+ If so, this patch might be obsolete-"
5
+ end
6
+ RSpec::ActiveModel::Mocks::Mocks::ActiveRecordInstanceMethods.class_eval do
7
+ alias_method :_read_attribute, :[]
8
+ end
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.3
4
+ version: 3.2.0.beta
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: 2016-01-21 00:00:00.000000000 Z
15
+ date: 2015-04-02 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: actionpack-page_caching
@@ -32,22 +32,16 @@ dependencies:
32
32
  name: active_model_serializers
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - ">="
36
- - !ruby/object:Gem::Version
37
- version: 0.8.1
38
- - - "<"
35
+ - - "~>"
39
36
  - !ruby/object:Gem::Version
40
- version: 0.9.1
37
+ version: '0.9'
41
38
  type: :runtime
42
39
  prerelease: false
43
40
  version_requirements: !ruby/object:Gem::Requirement
44
41
  requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 0.8.1
48
- - - "<"
42
+ - - "~>"
49
43
  - !ruby/object:Gem::Version
50
- version: 0.9.1
44
+ version: '0.9'
51
45
  - !ruby/object:Gem::Dependency
52
46
  name: acts_as_list
53
47
  requirement: !ruby/object:Gem::Requirement
@@ -97,9 +91,6 @@ dependencies:
97
91
  - - "~>"
98
92
  - !ruby/object:Gem::Version
99
93
  version: '1.9'
100
- - - "<"
101
- - !ruby/object:Gem::Version
102
- version: 1.13.0
103
94
  type: :runtime
104
95
  prerelease: false
105
96
  version_requirements: !ruby/object:Gem::Requirement
@@ -107,9 +98,6 @@ dependencies:
107
98
  - - "~>"
108
99
  - !ruby/object:Gem::Version
109
100
  version: '1.9'
110
- - - "<"
111
- - !ruby/object:Gem::Version
112
- version: 1.13.0
113
101
  - !ruby/object:Gem::Dependency
114
102
  name: coffee-rails
115
103
  requirement: !ruby/object:Gem::Requirement
@@ -130,14 +118,20 @@ dependencies:
130
118
  requirements:
131
119
  - - "~>"
132
120
  - !ruby/object:Gem::Version
133
- version: '1.1'
121
+ version: '2.0'
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 2.0.4
134
125
  type: :runtime
135
126
  prerelease: false
136
127
  version_requirements: !ruby/object:Gem::Requirement
137
128
  requirements:
138
129
  - - "~>"
139
130
  - !ruby/object:Gem::Version
140
- version: '1.1'
131
+ version: '2.0'
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 2.0.4
141
135
  - !ruby/object:Gem::Dependency
142
136
  name: dragonfly
143
137
  requirement: !ruby/object:Gem::Requirement
@@ -158,14 +152,14 @@ dependencies:
158
152
  requirements:
159
153
  - - "~>"
160
154
  - !ruby/object:Gem::Version
161
- version: 3.1.0
155
+ version: 4.0.3
162
156
  type: :runtime
163
157
  prerelease: false
164
158
  version_requirements: !ruby/object:Gem::Requirement
165
159
  requirements:
166
160
  - - "~>"
167
161
  - !ruby/object:Gem::Version
168
- version: 3.1.0
162
+ version: 4.0.3
169
163
  - !ruby/object:Gem::Dependency
170
164
  name: jquery-ui-rails
171
165
  requirement: !ruby/object:Gem::Requirement
@@ -228,20 +222,20 @@ dependencies:
228
222
  requirements:
229
223
  - - ">="
230
224
  - !ruby/object:Gem::Version
231
- version: '4.0'
225
+ version: 4.2.0
232
226
  - - "<"
233
227
  - !ruby/object:Gem::Version
234
- version: '4.2'
228
+ version: '5.0'
235
229
  type: :runtime
236
230
  prerelease: false
237
231
  version_requirements: !ruby/object:Gem::Requirement
238
232
  requirements:
239
233
  - - ">="
240
234
  - !ruby/object:Gem::Version
241
- version: '4.0'
235
+ version: 4.2.0
242
236
  - - "<"
243
237
  - !ruby/object:Gem::Version
244
- version: '4.2'
238
+ version: '5.0'
245
239
  - !ruby/object:Gem::Dependency
246
240
  name: request_store
247
241
  requirement: !ruby/object:Gem::Requirement
@@ -256,20 +250,34 @@ dependencies:
256
250
  - - "~>"
257
251
  - !ruby/object:Gem::Version
258
252
  version: 1.1.0
253
+ - !ruby/object:Gem::Dependency
254
+ name: responders
255
+ requirement: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
258
+ - !ruby/object:Gem::Version
259
+ version: '2.0'
260
+ type: :runtime
261
+ prerelease: false
262
+ version_requirements: !ruby/object:Gem::Requirement
263
+ requirements:
264
+ - - "~>"
265
+ - !ruby/object:Gem::Version
266
+ version: '2.0'
259
267
  - !ruby/object:Gem::Dependency
260
268
  name: sass-rails
261
269
  requirement: !ruby/object:Gem::Requirement
262
270
  requirements:
263
271
  - - "~>"
264
272
  - !ruby/object:Gem::Version
265
- version: '4.0'
273
+ version: '5.0'
266
274
  type: :runtime
267
275
  prerelease: false
268
276
  version_requirements: !ruby/object:Gem::Requirement
269
277
  requirements:
270
278
  - - "~>"
271
279
  - !ruby/object:Gem::Version
272
- version: '4.0'
280
+ version: '5.0'
273
281
  - !ruby/object:Gem::Dependency
274
282
  name: sassy-buttons
275
283
  requirement: !ruby/object:Gem::Requirement
@@ -454,7 +462,9 @@ extra_rdoc_files: []
454
462
  files:
455
463
  - ".editorconfig"
456
464
  - ".gitignore"
465
+ - ".hound.yml"
457
466
  - ".rspec"
467
+ - ".rubocop.yml"
458
468
  - ".teatro.yml"
459
469
  - ".travis.yml"
460
470
  - ".yardopts"
@@ -517,7 +527,7 @@ files:
517
527
  - app/assets/stylesheets/alchemy/_extends.scss
518
528
  - app/assets/stylesheets/alchemy/_mixins.scss
519
529
  - app/assets/stylesheets/alchemy/_variables.scss
520
- - app/assets/stylesheets/alchemy/admin.css.scss
530
+ - app/assets/stylesheets/alchemy/admin.scss
521
531
  - app/assets/stylesheets/alchemy/archive.scss
522
532
  - app/assets/stylesheets/alchemy/base.scss
523
533
  - app/assets/stylesheets/alchemy/buttons.scss
@@ -530,14 +540,14 @@ files:
530
540
  - app/assets/stylesheets/alchemy/form_fields.scss
531
541
  - app/assets/stylesheets/alchemy/forms.scss
532
542
  - app/assets/stylesheets/alchemy/frame.scss
533
- - app/assets/stylesheets/alchemy/icon-font.css.scss
543
+ - app/assets/stylesheets/alchemy/icon-font.scss
534
544
  - app/assets/stylesheets/alchemy/icons.scss
535
545
  - app/assets/stylesheets/alchemy/jquery-ui.scss
536
- - app/assets/stylesheets/alchemy/menubar.css.scss
546
+ - app/assets/stylesheets/alchemy/menubar.scss
537
547
  - app/assets/stylesheets/alchemy/modules.scss
538
548
  - app/assets/stylesheets/alchemy/notices.scss
539
549
  - app/assets/stylesheets/alchemy/pagination.scss
540
- - app/assets/stylesheets/alchemy/print.css.scss
550
+ - app/assets/stylesheets/alchemy/print.scss
541
551
  - app/assets/stylesheets/alchemy/search.scss
542
552
  - app/assets/stylesheets/alchemy/selects.scss
543
553
  - app/assets/stylesheets/alchemy/sitemap.scss
@@ -584,7 +594,6 @@ files:
584
594
  - app/controllers/alchemy/api/pages_controller.rb
585
595
  - app/controllers/alchemy/attachments_controller.rb
586
596
  - app/controllers/alchemy/base_controller.rb
587
- - app/controllers/alchemy/contents_controller.rb
588
597
  - app/controllers/alchemy/elements_controller.rb
589
598
  - app/controllers/alchemy/messages_controller.rb
590
599
  - app/controllers/alchemy/pages_controller.rb
@@ -874,9 +883,6 @@ files:
874
883
  - db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb
875
884
  - db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb
876
885
  - db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb
877
- - db/migrate/20140107192720_add_missing_unique_indices_to_tags_and_taggings.rb
878
- - db/migrate/20140701160159_add_taggings_counter_cache_to_tags.rb
879
- - db/migrate/20140701160225_add_missing_taggable_index.rb
880
886
  - lib/alchemy/auth_accessors.rb
881
887
  - lib/alchemy/cache_digests/template_tracker.rb
882
888
  - lib/alchemy/capistrano.rb
@@ -913,6 +919,7 @@ files:
913
919
  - lib/alchemy/touching.rb
914
920
  - lib/alchemy/upgrader.rb
915
921
  - lib/alchemy/upgrader/three_point_one.rb
922
+ - lib/alchemy/upgrader/three_point_two.rb
916
923
  - lib/alchemy/upgrader/three_point_zero.rb
917
924
  - lib/alchemy/userstamp.rb
918
925
  - lib/alchemy/version.rb
@@ -979,7 +986,6 @@ files:
979
986
  - spec/controllers/alchemy/api/pages_controller_spec.rb
980
987
  - spec/controllers/attachments_controller_spec.rb
981
988
  - spec/controllers/base_controller_spec.rb
982
- - spec/controllers/contents_controller_spec.rb
983
989
  - spec/controllers/elements_controller_spec.rb
984
990
  - spec/controllers/messages_controller_spec.rb
985
991
  - spec/controllers/pages_controller_spec.rb
@@ -993,7 +999,6 @@ files:
993
999
  - spec/dummy/app/helpers/application_helper.rb
994
1000
  - spec/dummy/app/mailers/.gitkeep
995
1001
  - spec/dummy/app/models/ability.rb
996
- - spec/dummy/app/models/dummy_model.rb
997
1002
  - spec/dummy/app/models/dummy_user.rb
998
1003
  - spec/dummy/app/models/event.rb
999
1004
  - spec/dummy/app/models/location.rb
@@ -1020,7 +1025,9 @@ files:
1020
1025
  - spec/dummy/config/environments/production.rb
1021
1026
  - spec/dummy/config/environments/test.rb
1022
1027
  - spec/dummy/config/initializers/alchemy.rb
1028
+ - spec/dummy/config/initializers/assets.rb
1023
1029
  - spec/dummy/config/initializers/backtrace_silencers.rb
1030
+ - spec/dummy/config/initializers/cookies_serializer.rb
1024
1031
  - spec/dummy/config/initializers/filter_parameter_logging.rb
1025
1032
  - spec/dummy/config/initializers/inflections.rb
1026
1033
  - spec/dummy/config/initializers/mime_types.rb
@@ -1028,6 +1035,7 @@ files:
1028
1035
  - spec/dummy/config/initializers/session_store.rb
1029
1036
  - spec/dummy/config/initializers/wrap_parameters.rb
1030
1037
  - spec/dummy/config/routes.rb
1038
+ - spec/dummy/config/secrets.yml
1031
1039
  - spec/dummy/db/migrate/20121026104128_create_events.rb
1032
1040
  - spec/dummy/db/migrate/20130328101418_create_locations.rb
1033
1041
  - spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb
@@ -1035,10 +1043,10 @@ files:
1035
1043
  - spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb
1036
1044
  - spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb
1037
1045
  - spec/dummy/db/migrate/20131209225243_create_dummy_users.rb
1038
- - spec/dummy/db/migrate/20140107192720_add_missing_unique_indices_to_tags_and_taggings.rb
1039
- - spec/dummy/db/migrate/20140701160159_add_taggings_counter_cache_to_tags.rb
1040
- - spec/dummy/db/migrate/20140701160225_add_missing_taggable_index.rb
1041
- - spec/dummy/db/migrate/20150412103152_create_dummy_model.rb
1046
+ - spec/dummy/db/migrate/20150122213511_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb
1047
+ - spec/dummy/db/migrate/20150122213512_add_missing_unique_indices.acts_as_taggable_on_engine.rb
1048
+ - spec/dummy/db/migrate/20150122213513_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb
1049
+ - spec/dummy/db/migrate/20150122213514_add_missing_taggable_index.acts_as_taggable_on_engine.rb
1042
1050
  - spec/dummy/db/schema.rb
1043
1051
  - spec/dummy/db/seeds.rb
1044
1052
  - spec/dummy/lib/assets/.gitkeep
@@ -1046,7 +1054,6 @@ files:
1046
1054
  - spec/dummy/public/422.html
1047
1055
  - spec/dummy/public/500.html
1048
1056
  - spec/dummy/public/favicon.ico
1049
- - spec/dummy/spec/javascripts
1050
1057
  - spec/features/admin/dashboard_spec.rb
1051
1058
  - spec/features/admin/language_tree_feature_spec.rb
1052
1059
  - spec/features/admin/legacy_page_url_management_spec.rb
@@ -1112,7 +1119,6 @@ files:
1112
1119
  - spec/models/attachment_spec.rb
1113
1120
  - spec/models/cell_spec.rb
1114
1121
  - spec/models/content_spec.rb
1115
- - spec/models/dummy_model_spec.rb
1116
1122
  - spec/models/element_spec.rb
1117
1123
  - spec/models/essence_boolean_spec.rb
1118
1124
  - spec/models/essence_date_spec.rb
@@ -1135,6 +1141,7 @@ files:
1135
1141
  - spec/spec_helper.rb
1136
1142
  - spec/support/ci/install_phantomjs
1137
1143
  - spec/support/hint_examples.rb
1144
+ - spec/support/rspec-activemodel-mocks_patch.rb
1138
1145
  - spec/support/test_tweaks.rb
1139
1146
  - spec/support/transformation_examples.rb
1140
1147
  - spec/tasks/helpers_spec.rb
@@ -1219,16 +1226,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
1219
1226
  requirements:
1220
1227
  - - ">="
1221
1228
  - !ruby/object:Gem::Version
1222
- version: 1.9.3
1229
+ version: 2.0.0
1223
1230
  required_rubygems_version: !ruby/object:Gem::Requirement
1224
1231
  requirements:
1225
- - - ">="
1232
+ - - ">"
1226
1233
  - !ruby/object:Gem::Version
1227
- version: '0'
1234
+ version: 1.3.1
1228
1235
  requirements:
1229
1236
  - ImageMagick (libmagick), v6.6 or greater.
1230
1237
  rubyforge_project:
1231
- rubygems_version: 2.5.1
1238
+ rubygems_version: 2.4.3
1232
1239
  signing_key:
1233
1240
  specification_version: 4
1234
1241
  summary: A powerful, userfriendly and flexible CMS for Rails 4
@@ -1253,7 +1260,6 @@ test_files:
1253
1260
  - spec/controllers/alchemy/api/pages_controller_spec.rb
1254
1261
  - spec/controllers/attachments_controller_spec.rb
1255
1262
  - spec/controllers/base_controller_spec.rb
1256
- - spec/controllers/contents_controller_spec.rb
1257
1263
  - spec/controllers/elements_controller_spec.rb
1258
1264
  - spec/controllers/messages_controller_spec.rb
1259
1265
  - spec/controllers/pages_controller_spec.rb
@@ -1267,7 +1273,6 @@ test_files:
1267
1273
  - spec/dummy/app/helpers/application_helper.rb
1268
1274
  - spec/dummy/app/mailers/.gitkeep
1269
1275
  - spec/dummy/app/models/ability.rb
1270
- - spec/dummy/app/models/dummy_model.rb
1271
1276
  - spec/dummy/app/models/dummy_user.rb
1272
1277
  - spec/dummy/app/models/event.rb
1273
1278
  - spec/dummy/app/models/location.rb
@@ -1294,7 +1299,9 @@ test_files:
1294
1299
  - spec/dummy/config/environments/production.rb
1295
1300
  - spec/dummy/config/environments/test.rb
1296
1301
  - spec/dummy/config/initializers/alchemy.rb
1302
+ - spec/dummy/config/initializers/assets.rb
1297
1303
  - spec/dummy/config/initializers/backtrace_silencers.rb
1304
+ - spec/dummy/config/initializers/cookies_serializer.rb
1298
1305
  - spec/dummy/config/initializers/filter_parameter_logging.rb
1299
1306
  - spec/dummy/config/initializers/inflections.rb
1300
1307
  - spec/dummy/config/initializers/mime_types.rb
@@ -1302,6 +1309,7 @@ test_files:
1302
1309
  - spec/dummy/config/initializers/session_store.rb
1303
1310
  - spec/dummy/config/initializers/wrap_parameters.rb
1304
1311
  - spec/dummy/config/routes.rb
1312
+ - spec/dummy/config/secrets.yml
1305
1313
  - spec/dummy/db/migrate/20121026104128_create_events.rb
1306
1314
  - spec/dummy/db/migrate/20130328101418_create_locations.rb
1307
1315
  - spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb
@@ -1309,10 +1317,10 @@ test_files:
1309
1317
  - spec/dummy/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb
1310
1318
  - spec/dummy/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb
1311
1319
  - spec/dummy/db/migrate/20131209225243_create_dummy_users.rb
1312
- - spec/dummy/db/migrate/20140107192720_add_missing_unique_indices_to_tags_and_taggings.rb
1313
- - spec/dummy/db/migrate/20140701160159_add_taggings_counter_cache_to_tags.rb
1314
- - spec/dummy/db/migrate/20140701160225_add_missing_taggable_index.rb
1315
- - spec/dummy/db/migrate/20150412103152_create_dummy_model.rb
1320
+ - spec/dummy/db/migrate/20150122213511_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb
1321
+ - spec/dummy/db/migrate/20150122213512_add_missing_unique_indices.acts_as_taggable_on_engine.rb
1322
+ - spec/dummy/db/migrate/20150122213513_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb
1323
+ - spec/dummy/db/migrate/20150122213514_add_missing_taggable_index.acts_as_taggable_on_engine.rb
1316
1324
  - spec/dummy/db/schema.rb
1317
1325
  - spec/dummy/db/seeds.rb
1318
1326
  - spec/dummy/lib/assets/.gitkeep
@@ -1320,7 +1328,6 @@ test_files:
1320
1328
  - spec/dummy/public/422.html
1321
1329
  - spec/dummy/public/500.html
1322
1330
  - spec/dummy/public/favicon.ico
1323
- - spec/dummy/spec/javascripts
1324
1331
  - spec/features/admin/dashboard_spec.rb
1325
1332
  - spec/features/admin/language_tree_feature_spec.rb
1326
1333
  - spec/features/admin/legacy_page_url_management_spec.rb
@@ -1386,7 +1393,6 @@ test_files:
1386
1393
  - spec/models/attachment_spec.rb
1387
1394
  - spec/models/cell_spec.rb
1388
1395
  - spec/models/content_spec.rb
1389
- - spec/models/dummy_model_spec.rb
1390
1396
  - spec/models/element_spec.rb
1391
1397
  - spec/models/essence_boolean_spec.rb
1392
1398
  - spec/models/essence_date_spec.rb
@@ -1409,6 +1415,7 @@ test_files:
1409
1415
  - spec/spec_helper.rb
1410
1416
  - spec/support/ci/install_phantomjs
1411
1417
  - spec/support/hint_examples.rb
1418
+ - spec/support/rspec-activemodel-mocks_patch.rb
1412
1419
  - spec/support/test_tweaks.rb
1413
1420
  - spec/support/transformation_examples.rb
1414
1421
  - spec/tasks/helpers_spec.rb