cambium 1.2.3 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +8 -3
  3. data/.ruby-version +1 -0
  4. data/README.md +301 -0
  5. data/Rakefile +20 -1
  6. data/app/assets/javascripts/cambium/admin/application.js.coffee +1 -0
  7. data/app/assets/javascripts/cambium/admin/routers/router.js.coffee +8 -17
  8. data/app/assets/javascripts/cambium/admin/templates/image_cropper.jst.ejs +20 -0
  9. data/app/assets/javascripts/cambium/admin/templates/modal.jst.ejs +3 -0
  10. data/app/assets/javascripts/cambium/admin/views/editor.js.coffee +14 -0
  11. data/app/assets/javascripts/cambium/admin/views/image_cropper.js.coffee +27 -0
  12. data/app/assets/javascripts/cambium/admin/views/keyboard_shortcuts.js.coffee +17 -0
  13. data/app/assets/javascripts/cambium/admin/views/media_picker.js.coffee +38 -0
  14. data/app/assets/stylesheets/cambium/admin/application.scss +4 -0
  15. data/app/assets/stylesheets/cambium/admin/partials/_globals.scss +14 -0
  16. data/app/assets/stylesheets/cambium/admin/partials/components.scss +5 -4
  17. data/app/assets/stylesheets/cambium/admin/partials/forms.scss +95 -2
  18. data/app/assets/stylesheets/cambium/admin/partials/modal.scss +40 -0
  19. data/app/assets/stylesheets/cambium/admin/partials/pagination.scss +28 -0
  20. data/app/assets/stylesheets/cambium/admin/partials/tables.scss +18 -27
  21. data/app/assets/stylesheets/cambium/admin/partials/tiles.scss +57 -0
  22. data/app/controllers/cambium/admin/documents_controller.rb +11 -0
  23. data/app/controllers/cambium/admin/pages_controller.rb +15 -0
  24. data/app/controllers/cambium/admin/settings_controller.rb +32 -0
  25. data/app/controllers/cambium/admin_controller.rb +21 -9
  26. data/app/controllers/cambium/pages_controller.rb +17 -0
  27. data/app/helpers/cambium/cambium_helper.rb +148 -116
  28. data/app/models/cambium/document.rb +59 -0
  29. data/app/models/cambium/page.rb +84 -0
  30. data/app/models/cambium/page_template.rb +85 -0
  31. data/app/models/cambium/setting.rb +40 -0
  32. data/app/models/concerns/publishable.rb +0 -21
  33. data/app/views/cambium/admin/documents/index.html.erb +21 -0
  34. data/app/views/cambium/admin/pages/edit.html.erb +16 -0
  35. data/app/views/cambium/admin/paper_trail/versions/_version.html.erb +1 -1
  36. data/app/views/cambium/admin/search/index.html.erb +2 -1
  37. data/app/views/cambium/admin/settings/index.html.erb +15 -0
  38. data/app/views/cambium/pages/home_missing.html.erb +2 -0
  39. data/app/views/layouts/admin.html.erb +1 -1
  40. data/app/views/pages/default.html.erb +13 -0
  41. data/bin/rails +12 -0
  42. data/cambium.gemspec +9 -3
  43. data/config/routes.rb +12 -0
  44. data/db/migrate/20160107161039_create_cambium_pages.rb +19 -0
  45. data/db/migrate/20160108160638_create_cambium_documents.rb +11 -0
  46. data/db/migrate/20160108185904_create_cambium_settings.rb +10 -0
  47. data/db/migrate/20160111154240_add_is_home_to_pages.rb +5 -0
  48. data/db/migrate/20160125174822_add_page_path_to_pages.rb +5 -0
  49. data/db/migrate/20160205190935_add_upload_gravity_to_documents.rb +5 -0
  50. data/lib/cambium.rb +3 -0
  51. data/lib/cambium/engine.rb +21 -0
  52. data/lib/cambium/version.rb +1 -1
  53. data/lib/generators/cambium/admin_generator.rb +1 -1
  54. data/lib/generators/templates/config/admin/documents.yml +23 -0
  55. data/lib/generators/templates/config/admin/pages.yml +56 -0
  56. data/lib/generators/templates/config/admin/settings.yml +19 -0
  57. data/lib/generators/templates/config/admin/sidebar.yml +15 -0
  58. data/lib/generators/templates/config/initializers/assets.rb +3 -1
  59. data/spec/controllers/cambium/admin/documents_controller_spec.rb +7 -0
  60. data/spec/controllers/cambium/admin/pages_controller_spec.rb +7 -0
  61. data/spec/controllers/cambium/admin/settings_controller_spec.rb +7 -0
  62. data/spec/controllers/cambium/pages_controller_spec.rb +7 -0
  63. data/spec/dummy/README.rdoc +28 -0
  64. data/spec/dummy/Rakefile +6 -0
  65. data/spec/dummy/app/assets/images/.keep +0 -0
  66. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  67. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  68. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  69. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  70. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  71. data/spec/dummy/app/mailers/.keep +0 -0
  72. data/spec/dummy/app/models/.keep +0 -0
  73. data/spec/dummy/app/models/concerns/.keep +0 -0
  74. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  75. data/spec/dummy/bin/bundle +3 -0
  76. data/spec/dummy/bin/rails +4 -0
  77. data/spec/dummy/bin/rake +4 -0
  78. data/spec/dummy/bin/setup +29 -0
  79. data/spec/dummy/config.ru +4 -0
  80. data/spec/dummy/config/application.rb +32 -0
  81. data/spec/dummy/config/boot.rb +5 -0
  82. data/spec/dummy/config/database.yml +25 -0
  83. data/spec/dummy/config/environment.rb +5 -0
  84. data/spec/dummy/config/environments/development.rb +41 -0
  85. data/spec/dummy/config/environments/production.rb +79 -0
  86. data/spec/dummy/config/environments/test.rb +42 -0
  87. data/spec/dummy/config/initializers/assets.rb +11 -0
  88. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  89. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  90. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  91. data/spec/dummy/config/initializers/inflections.rb +16 -0
  92. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  93. data/spec/dummy/config/initializers/session_store.rb +3 -0
  94. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  95. data/spec/dummy/config/locales/en.yml +23 -0
  96. data/spec/dummy/config/routes.rb +4 -0
  97. data/spec/dummy/config/secrets.yml +22 -0
  98. data/spec/dummy/lib/assets/.keep +0 -0
  99. data/spec/dummy/log/.keep +0 -0
  100. data/spec/dummy/public/404.html +67 -0
  101. data/spec/dummy/public/422.html +67 -0
  102. data/spec/dummy/public/500.html +66 -0
  103. data/spec/dummy/public/favicon.ico +0 -0
  104. data/spec/factories/cambium_documents.rb +7 -0
  105. data/spec/factories/cambium_pages.rb +6 -0
  106. data/spec/factories/cambium_settings.rb +7 -0
  107. data/spec/models/cambium/document_spec.rb +7 -0
  108. data/spec/models/cambium/page_spec.rb +7 -0
  109. data/spec/models/cambium/setting_spec.rb +7 -0
  110. data/spec/spec_helper.rb +18 -0
  111. metadata +219 -11
  112. data/test/controllers/cambium/admin/dashboard_controller_test.rb +0 -9
  113. data/test/controllers/cambium/admin/users_controller_test.rb +0 -9
  114. data/test/controllers/cambium/admin_controller_test.rb +0 -9
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
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>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :cambium_document, :class => 'Cambium::Document' do
3
+ title "MyString"
4
+ upload "MyString"
5
+ end
6
+
7
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :cambium_page, :class => 'Cambium::Page' do
3
+ title "MyString"
4
+ end
5
+
6
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :cambium_setting, :class => 'Cambium::Setting' do
3
+ key "MyString"
4
+ value "MyText"
5
+ end
6
+
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'rails_helper'
2
+
3
+ module Cambium
4
+ RSpec.describe Document, type: :model do
5
+ pending "add some examples to (or delete) #{__FILE__}"
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'rails_helper'
2
+
3
+ module Cambium
4
+ RSpec.describe Page, type: :model do
5
+ pending "add some examples to (or delete) #{__FILE__}"
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'rails_helper'
2
+
3
+ module Cambium
4
+ RSpec.describe Setting, type: :model do
5
+ pending "add some examples to (or delete) #{__FILE__}"
6
+ end
7
+ end
@@ -0,0 +1,18 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+ require 'factory_girl_rails'
7
+
8
+ Rails.backtrace_cleaner.remove_silencers!
9
+
10
+ # Load support files
11
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
12
+
13
+ RSpec.configure do |config|
14
+ config.mock_with :rspec
15
+ config.use_transactional_fixtures = true
16
+ config.infer_base_class_for_anonymous_controllers = false
17
+ config.order = "random"
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cambium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean C Davis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-04 00:00:00.000000000 Z
12
+ date: 2016-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -17,14 +17,70 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.6'
20
+ version: '1.10'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.6'
27
+ version: '1.10'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rspec-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: capybara
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: factory_girl_rails
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: ancestry
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
28
84
  - !ruby/object:Gem::Dependency
29
85
  name: bones-rails
30
86
  requirement: !ruby/object:Gem::Requirement
@@ -39,6 +95,20 @@ dependencies:
39
95
  - - ">="
40
96
  - !ruby/object:Gem::Version
41
97
  version: 1.1.3
98
+ - !ruby/object:Gem::Dependency
99
+ name: dragonfly
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
42
112
  - !ruby/object:Gem::Dependency
43
113
  name: kaminari
44
114
  requirement: !ruby/object:Gem::Requirement
@@ -139,6 +209,20 @@ dependencies:
139
209
  version: '0'
140
210
  - !ruby/object:Gem::Dependency
141
211
  name: superslug
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - "~>"
215
+ - !ruby/object:Gem::Version
216
+ version: 1.3.0
217
+ type: :runtime
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: 1.3.0
224
+ - !ruby/object:Gem::Dependency
225
+ name: trumbowyg_rails
142
226
  requirement: !ruby/object:Gem::Requirement
143
227
  requirements:
144
228
  - - ">="
@@ -160,6 +244,7 @@ extensions: []
160
244
  extra_rdoc_files: []
161
245
  files:
162
246
  - ".gitignore"
247
+ - ".ruby-version"
163
248
  - Gemfile
164
249
  - LICENSE.txt
165
250
  - README.md
@@ -167,9 +252,15 @@ files:
167
252
  - app/assets/javascripts/cambium/admin/application.js.coffee
168
253
  - app/assets/javascripts/cambium/admin/routers/router.js.coffee
169
254
  - app/assets/javascripts/cambium/admin/templates/.keep
255
+ - app/assets/javascripts/cambium/admin/templates/image_cropper.jst.ejs
256
+ - app/assets/javascripts/cambium/admin/templates/modal.jst.ejs
170
257
  - app/assets/javascripts/cambium/admin/users.js
171
258
  - app/assets/javascripts/cambium/admin/views/default_helpers.js.coffee
172
259
  - app/assets/javascripts/cambium/admin/views/dropdown_menu.js.coffee
260
+ - app/assets/javascripts/cambium/admin/views/editor.js.coffee
261
+ - app/assets/javascripts/cambium/admin/views/image_cropper.js.coffee
262
+ - app/assets/javascripts/cambium/admin/views/keyboard_shortcuts.js.coffee
263
+ - app/assets/javascripts/cambium/admin/views/media_picker.js.coffee
173
264
  - app/assets/javascripts/cambium/admin/views/pickadate.js.coffee
174
265
  - app/assets/stylesheets/admin/admin.scss
175
266
  - app/assets/stylesheets/cambium/admin/application.scss
@@ -191,18 +282,29 @@ files:
191
282
  - app/assets/stylesheets/cambium/admin/partials/dashboard.scss
192
283
  - app/assets/stylesheets/cambium/admin/partials/forms.scss
193
284
  - app/assets/stylesheets/cambium/admin/partials/header.scss
285
+ - app/assets/stylesheets/cambium/admin/partials/modal.scss
194
286
  - app/assets/stylesheets/cambium/admin/partials/page_title.scss
287
+ - app/assets/stylesheets/cambium/admin/partials/pagination.scss
195
288
  - app/assets/stylesheets/cambium/admin/partials/sidebar.scss
196
289
  - app/assets/stylesheets/cambium/admin/partials/tables.scss
290
+ - app/assets/stylesheets/cambium/admin/partials/tiles.scss
197
291
  - app/assets/stylesheets/cambium/admin/partials/typography.scss
198
292
  - app/assets/stylesheets/cambium/admin/partials/wireframe.scss
199
293
  - app/assets/stylesheets/cambium/admin/users.css
200
294
  - app/controllers/cambium/admin/dashboard_controller.rb
295
+ - app/controllers/cambium/admin/documents_controller.rb
296
+ - app/controllers/cambium/admin/pages_controller.rb
201
297
  - app/controllers/cambium/admin/search_controller.rb
298
+ - app/controllers/cambium/admin/settings_controller.rb
202
299
  - app/controllers/cambium/admin/users_controller.rb
203
300
  - app/controllers/cambium/admin_controller.rb
204
301
  - app/controllers/cambium/base_controller.rb
302
+ - app/controllers/cambium/pages_controller.rb
205
303
  - app/helpers/cambium/cambium_helper.rb
304
+ - app/models/cambium/document.rb
305
+ - app/models/cambium/page.rb
306
+ - app/models/cambium/page_template.rb
307
+ - app/models/cambium/setting.rb
206
308
  - app/models/concerns/idx.rb
207
309
  - app/models/concerns/image_cropper.rb
208
310
  - app/models/concerns/publishable.rb
@@ -214,14 +316,26 @@ files:
214
316
  - app/views/cambium/admin/_sidebar.html.erb
215
317
  - app/views/cambium/admin/_status.html.erb
216
318
  - app/views/cambium/admin/dashboard/show.html.erb
319
+ - app/views/cambium/admin/documents/index.html.erb
217
320
  - app/views/cambium/admin/edit.html.erb
218
321
  - app/views/cambium/admin/index.html.erb
219
322
  - app/views/cambium/admin/new.html.erb
323
+ - app/views/cambium/admin/pages/edit.html.erb
220
324
  - app/views/cambium/admin/paper_trail/versions/_version.html.erb
221
325
  - app/views/cambium/admin/search/index.html.erb
326
+ - app/views/cambium/admin/settings/index.html.erb
327
+ - app/views/cambium/pages/home_missing.html.erb
222
328
  - app/views/layouts/admin.html.erb
329
+ - app/views/pages/default.html.erb
330
+ - bin/rails
223
331
  - cambium.gemspec
224
332
  - config/routes.rb
333
+ - db/migrate/20160107161039_create_cambium_pages.rb
334
+ - db/migrate/20160108160638_create_cambium_documents.rb
335
+ - db/migrate/20160108185904_create_cambium_settings.rb
336
+ - db/migrate/20160111154240_add_is_home_to_pages.rb
337
+ - db/migrate/20160125174822_add_page_path_to_pages.rb
338
+ - db/migrate/20160205190935_add_upload_gravity_to_documents.rb
225
339
  - lib/cambium.rb
226
340
  - lib/cambium/configuration.rb
227
341
  - lib/cambium/engine.rb
@@ -248,6 +362,9 @@ files:
248
362
  - lib/generators/templates/app/views/home/index.html.erb
249
363
  - lib/generators/templates/app/views/layouts/application.html.erb
250
364
  - lib/generators/templates/config/admin/controller.yml.erb
365
+ - lib/generators/templates/config/admin/documents.yml
366
+ - lib/generators/templates/config/admin/pages.yml
367
+ - lib/generators/templates/config/admin/settings.yml
251
368
  - lib/generators/templates/config/admin/sidebar.yml
252
369
  - lib/generators/templates/config/admin/users.yml
253
370
  - lib/generators/templates/config/application.rb
@@ -265,9 +382,58 @@ files:
265
382
  - lib/kaminari/helpers/tag.rb
266
383
  - lib/tasks/db.rake
267
384
  - lib/tasks/rename.rake
268
- - test/controllers/cambium/admin/dashboard_controller_test.rb
269
- - test/controllers/cambium/admin/users_controller_test.rb
270
- - test/controllers/cambium/admin_controller_test.rb
385
+ - spec/controllers/cambium/admin/documents_controller_spec.rb
386
+ - spec/controllers/cambium/admin/pages_controller_spec.rb
387
+ - spec/controllers/cambium/admin/settings_controller_spec.rb
388
+ - spec/controllers/cambium/pages_controller_spec.rb
389
+ - spec/dummy/README.rdoc
390
+ - spec/dummy/Rakefile
391
+ - spec/dummy/app/assets/images/.keep
392
+ - spec/dummy/app/assets/javascripts/application.js
393
+ - spec/dummy/app/assets/stylesheets/application.css
394
+ - spec/dummy/app/controllers/application_controller.rb
395
+ - spec/dummy/app/controllers/concerns/.keep
396
+ - spec/dummy/app/helpers/application_helper.rb
397
+ - spec/dummy/app/mailers/.keep
398
+ - spec/dummy/app/models/.keep
399
+ - spec/dummy/app/models/concerns/.keep
400
+ - spec/dummy/app/views/layouts/application.html.erb
401
+ - spec/dummy/bin/bundle
402
+ - spec/dummy/bin/rails
403
+ - spec/dummy/bin/rake
404
+ - spec/dummy/bin/setup
405
+ - spec/dummy/config.ru
406
+ - spec/dummy/config/application.rb
407
+ - spec/dummy/config/boot.rb
408
+ - spec/dummy/config/database.yml
409
+ - spec/dummy/config/environment.rb
410
+ - spec/dummy/config/environments/development.rb
411
+ - spec/dummy/config/environments/production.rb
412
+ - spec/dummy/config/environments/test.rb
413
+ - spec/dummy/config/initializers/assets.rb
414
+ - spec/dummy/config/initializers/backtrace_silencers.rb
415
+ - spec/dummy/config/initializers/cookies_serializer.rb
416
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
417
+ - spec/dummy/config/initializers/inflections.rb
418
+ - spec/dummy/config/initializers/mime_types.rb
419
+ - spec/dummy/config/initializers/session_store.rb
420
+ - spec/dummy/config/initializers/wrap_parameters.rb
421
+ - spec/dummy/config/locales/en.yml
422
+ - spec/dummy/config/routes.rb
423
+ - spec/dummy/config/secrets.yml
424
+ - spec/dummy/lib/assets/.keep
425
+ - spec/dummy/log/.keep
426
+ - spec/dummy/public/404.html
427
+ - spec/dummy/public/422.html
428
+ - spec/dummy/public/500.html
429
+ - spec/dummy/public/favicon.ico
430
+ - spec/factories/cambium_documents.rb
431
+ - spec/factories/cambium_pages.rb
432
+ - spec/factories/cambium_settings.rb
433
+ - spec/models/cambium/document_spec.rb
434
+ - spec/models/cambium/page_spec.rb
435
+ - spec/models/cambium/setting_spec.rb
436
+ - spec/spec_helper.rb
271
437
  - vendor/assets/javascripts/modernizr.js
272
438
  - vendor/assets/stylesheets/normalize.scss
273
439
  homepage: ''
@@ -290,11 +456,53 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
456
  version: '0'
291
457
  requirements: []
292
458
  rubyforge_project:
293
- rubygems_version: 2.4.6
459
+ rubygems_version: 2.4.5.1
294
460
  signing_key:
295
461
  specification_version: 4
296
462
  summary: Rails generators to facilitate development.
297
463
  test_files:
298
- - test/controllers/cambium/admin/dashboard_controller_test.rb
299
- - test/controllers/cambium/admin/users_controller_test.rb
300
- - test/controllers/cambium/admin_controller_test.rb
464
+ - spec/controllers/cambium/admin/documents_controller_spec.rb
465
+ - spec/controllers/cambium/admin/pages_controller_spec.rb
466
+ - spec/controllers/cambium/admin/settings_controller_spec.rb
467
+ - spec/controllers/cambium/pages_controller_spec.rb
468
+ - spec/dummy/app/assets/javascripts/application.js
469
+ - spec/dummy/app/assets/stylesheets/application.css
470
+ - spec/dummy/app/controllers/application_controller.rb
471
+ - spec/dummy/app/helpers/application_helper.rb
472
+ - spec/dummy/app/views/layouts/application.html.erb
473
+ - spec/dummy/bin/bundle
474
+ - spec/dummy/bin/rails
475
+ - spec/dummy/bin/rake
476
+ - spec/dummy/bin/setup
477
+ - spec/dummy/config/application.rb
478
+ - spec/dummy/config/boot.rb
479
+ - spec/dummy/config/database.yml
480
+ - spec/dummy/config/environment.rb
481
+ - spec/dummy/config/environments/development.rb
482
+ - spec/dummy/config/environments/production.rb
483
+ - spec/dummy/config/environments/test.rb
484
+ - spec/dummy/config/initializers/assets.rb
485
+ - spec/dummy/config/initializers/backtrace_silencers.rb
486
+ - spec/dummy/config/initializers/cookies_serializer.rb
487
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
488
+ - spec/dummy/config/initializers/inflections.rb
489
+ - spec/dummy/config/initializers/mime_types.rb
490
+ - spec/dummy/config/initializers/session_store.rb
491
+ - spec/dummy/config/initializers/wrap_parameters.rb
492
+ - spec/dummy/config/locales/en.yml
493
+ - spec/dummy/config/routes.rb
494
+ - spec/dummy/config/secrets.yml
495
+ - spec/dummy/config.ru
496
+ - spec/dummy/public/404.html
497
+ - spec/dummy/public/422.html
498
+ - spec/dummy/public/500.html
499
+ - spec/dummy/public/favicon.ico
500
+ - spec/dummy/Rakefile
501
+ - spec/dummy/README.rdoc
502
+ - spec/factories/cambium_documents.rb
503
+ - spec/factories/cambium_pages.rb
504
+ - spec/factories/cambium_settings.rb
505
+ - spec/models/cambium/document_spec.rb
506
+ - spec/models/cambium/page_spec.rb
507
+ - spec/models/cambium/setting_spec.rb
508
+ - spec/spec_helper.rb