constructor-pages 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{pages/app → app}/assets/images/constructor_pages/arrow_down.png +0 -0
- data/{pages/app → app}/assets/images/constructor_pages/arrow_up.png +0 -0
- data/{pages/app → app}/assets/images/constructor_pages/information.png +0 -0
- data/{pages/app → app}/assets/images/constructor_pages/page_white_edit.png +0 -0
- data/{pages/app → app}/assets/images/constructor_pages/photos.png +0 -0
- data/{pages/app → app}/assets/javascripts/constructor_pages/ajax_pages.js +0 -0
- data/{pages/app → app}/assets/javascripts/constructor_pages/jquery.history.js +0 -0
- data/{pages/app → app}/controllers/constructor_pages/application_controller.rb +0 -0
- data/{pages/app → app}/controllers/constructor_pages/fields_controller.rb +0 -0
- data/{pages/app → app}/controllers/constructor_pages/pages_controller.rb +0 -0
- data/{pages/app → app}/controllers/constructor_pages/templates_controller.rb +0 -0
- data/{pages/app → app}/helpers/constructor_pages/code_name_uniq.rb +0 -0
- data/{pages/app → app}/helpers/constructor_pages/fields_helper.rb +0 -0
- data/{pages/app → app}/helpers/constructor_pages/pages_helper.rb +0 -0
- data/{pages/app → app}/helpers/constructor_pages/templates_helper.rb +0 -0
- data/{pages/app → app}/helpers/constructor_pages/treeview_helper.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/field.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/page.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/template.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/boolean_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/date_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/float_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/html_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/image_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/integer_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/string_type.rb +0 -0
- data/{pages/app → app}/models/constructor_pages/types/text_type.rb +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/_form.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/edit.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/new.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_boolean.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_date.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_float.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_html.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_image.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_integer.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_string.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/fields/types/_text.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/_breadcrumbs.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/_form.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/_menu.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/_submenu.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/edit.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/index.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/new.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/pages/show.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/partials/_arrow_buttons.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/templates/_form.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/templates/edit.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/templates/index.haml +0 -0
- data/{pages/app → app}/views/constructor_pages/templates/new.haml +0 -0
- data/{pages/config → config}/initializers/dragonfly.rb +0 -0
- data/{pages/config → config}/locales/en.yml +0 -0
- data/{pages/config → config}/locales/fr.yml +0 -0
- data/{pages/config → config}/locales/ru.yml +0 -0
- data/config/routes.rb +26 -4
- data/{pages/constructor-pages.gemspec → constructor-pages.gemspec} +0 -1
- data/{pages/db → db}/migrate/10_create_html_types.rb +0 -0
- data/{pages/db → db}/migrate/11_create_image_types.rb +0 -0
- data/{pages/db → db}/migrate/12_add_default_template.rb +0 -0
- data/{pages/db → db}/migrate/1_create_pages.rb +0 -0
- data/{pages/db → db}/migrate/2_create_templates.rb +0 -0
- data/{pages/db → db}/migrate/3_create_fields.rb +0 -0
- data/{pages/db → db}/migrate/4_create_string_types.rb +0 -0
- data/{pages/db → db}/migrate/5_create_float_types.rb +0 -0
- data/{pages/db → db}/migrate/6_create_boolean_types.rb +0 -0
- data/{pages/db → db}/migrate/7_create_integer_types.rb +0 -0
- data/{pages/db → db}/migrate/8_create_text_types.rb +0 -0
- data/{pages/db → db}/migrate/9_create_date_types.rb +0 -0
- data/{pages/lib → lib}/constructor-pages.rb +0 -0
- data/{pages/lib → lib}/constructor_pages/engine.rb +0 -0
- data/{pages/spec → spec}/features/constructor_pages/fields_spec.rb +0 -0
- data/{pages/spec → spec}/features/constructor_pages/pages_spec.rb +0 -0
- data/{pages/spec → spec}/features/constructor_pages/templates_spec.rb +0 -0
- data/{pages/spec → spec}/helpers/constructor_pages/.keep +0 -0
- data/{pages/spec → spec}/models/constructor_pages/field_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/page_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/template_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/boolean_type_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/date_type_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/float_type_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/html_type_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/integer_type_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/string_type_spec.rb +0 -0
- data/{pages/spec → spec}/models/constructor_pages/types/text_type_spec.rb +0 -0
- data/{pages/spec → spec}/routing/constructor_pages/.keep +0 -0
- metadata +106 -397
- data/.gitignore +0 -14
- data/.rspec +0 -2
- data/.travis.yml +0 -13
- data/.yardopts +0 -9
- data/Gemfile +0 -31
- data/Guardfile +0 -15
- data/LICENSE.md +0 -7
- data/README.md +0 -35
- data/Rakefile +0 -19
- data/bin/rails +0 -8
- data/config.ru +0 -4
- data/constructor-cms.gemspec +0 -26
- data/core/app/assets/images/constructor_core/glyphicons-halflings-white.png +0 -0
- data/core/app/assets/images/constructor_core/glyphicons-halflings.png +0 -0
- data/core/app/assets/images/constructor_core/minus.gif +0 -0
- data/core/app/assets/images/constructor_core/plus.gif +0 -0
- data/core/app/assets/images/constructor_core/rss.png +0 -0
- data/core/app/assets/images/constructor_core/treeview-black-line.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-black.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-default-line.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-default.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-famfamfam-line.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-famfamfam.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-gray-line.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-gray.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-red-line.gif +0 -0
- data/core/app/assets/images/constructor_core/treeview-red.gif +0 -0
- data/core/app/assets/images/constructor_core/twitter.png +0 -0
- data/core/app/assets/images/constructor_core/widgets.png +0 -0
- data/core/app/assets/javascripts/constructor_core/application.js.coffee +0 -52
- data/core/app/assets/javascripts/constructor_core/bootstrap.js +0 -2276
- data/core/app/assets/javascripts/constructor_core/jquery.cookie.js +0 -92
- data/core/app/assets/javascripts/constructor_core/jquery_bundle.js.coffee +0 -3
- data/core/app/assets/javascripts/constructor_core/keys_snippet.js +0 -33
- data/core/app/assets/javascripts/constructor_core/retina.js +0 -148
- data/core/app/assets/javascripts/constructor_core/urlify.js +0 -82
- data/core/app/assets/stylesheets/constructor_core/application.css.scss +0 -3
- data/core/app/assets/stylesheets/constructor_core/main.css.scss +0 -229
- data/core/app/controllers/constructor_core/application_controller.rb +0 -32
- data/core/app/controllers/constructor_core/sessions_controller.rb +0 -15
- data/core/app/controllers/constructor_core/users_controller.rb +0 -24
- data/core/app/helpers/constructor_core/application_helper.rb +0 -9
- data/core/app/models/constructor_core/user.rb +0 -7
- data/core/app/views/constructor_core/devise/confirmations/new.html.haml +0 -10
- data/core/app/views/constructor_core/devise/mailer/confirmation_instructions.html.haml +0 -5
- data/core/app/views/constructor_core/devise/mailer/reset_password_instructions.html.haml +0 -7
- data/core/app/views/constructor_core/devise/mailer/unlock_instructions.html.haml +0 -5
- data/core/app/views/constructor_core/devise/passwords/edit.html.haml +0 -21
- data/core/app/views/constructor_core/devise/passwords/new.html.haml +0 -13
- data/core/app/views/constructor_core/devise/registrations/edit.html.haml +0 -28
- data/core/app/views/constructor_core/devise/registrations/new.html.haml +0 -20
- data/core/app/views/constructor_core/devise/shared/_links.html.haml +0 -19
- data/core/app/views/constructor_core/devise/unlocks/new.html.haml +0 -9
- data/core/app/views/constructor_core/sessions/new.html.haml +0 -22
- data/core/app/views/constructor_core/users/profile.haml +0 -16
- data/core/app/views/layouts/constructor_core/application_core.haml +0 -95
- data/core/config/environments/production.rb +0 -3
- data/core/config/initializers/devise.rb +0 -15
- data/core/config/locales/devise.en.yml +0 -56
- data/core/config/locales/devise.fr.yml +0 -74
- data/core/config/locales/devise.ru.yml +0 -52
- data/core/config/locales/en.yml +0 -15
- data/core/config/locales/fr.yml +0 -15
- data/core/config/locales/ru.yml +0 -27
- data/core/config/routes.rb +0 -18
- data/core/constructor-core.gemspec +0 -24
- data/core/db/migrate/1_devise_users.rb +0 -24
- data/core/db/migrate/2_add_default_user.rb +0 -9
- data/core/lib/constructor-core.rb +0 -25
- data/core/lib/constructor_core/engine.rb +0 -6
- data/core/lib/constructor_core/version.rb +0 -3
- data/core/vendor/assets/javascripts/.gitkeep +0 -0
- data/core/vendor/assets/javascripts/ckeditor/ckeditor.js +0 -913
- data/core/vendor/assets/javascripts/ckeditor/config.js +0 -38
- data/core/vendor/assets/javascripts/ckeditor/lang/en.js +0 -5
- data/core/vendor/assets/javascripts/ckeditor/lang/ru.js +0 -5
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -7
- data/core/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/core/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/core/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -24
- data/core/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -43
- data/core/vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -8
- data/core/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -36
- data/core/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -31
- data/core/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +0 -28
- data/core/vendor/assets/javascripts/ckeditor/plugins/scayt/README.md +0 -25
- data/core/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -20
- data/core/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
- data/core/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
- data/core/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -21
- data/core/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -16
- data/core/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +0 -84
- data/core/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -10
- data/core/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/core/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/core/vendor/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
- data/core/vendor/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
- data/core/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/core/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/core/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
- data/core/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -11
- data/core/vendor/assets/javascripts/ckeditor/styles.js +0 -111
- data/core/vendor/assets/stylesheets/.gitkeep +0 -0
- data/core/vendor/assets/stylesheets/ckeditor/contents.css +0 -103
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/dialog.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/dialog_ie.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/dialog_ie7.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/dialog_ie8.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/dialog_opera.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/editor.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/editor_gecko.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/editor_ie.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/editor_ie7.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/editor_ie8.css +0 -5
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/icons.png +0 -0
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/images/arrow.png +0 -0
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/images/close.png +0 -0
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/images/mini.png +0 -0
- data/core/vendor/assets/stylesheets/ckeditor/skins/moono/readme.md +0 -51
- data/lib/constructor-cms.rb +0 -3
- data/lib/constructor-cms/engine.rb +0 -6
- data/pages/config/routes.rb +0 -26
- data/pages/public/hello.txt +0 -1
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/javascripts/application.js +0 -15
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/html_templates/page.haml +0 -1
- data/spec/dummy/app/views/layouts/application.haml +0 -10
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -23
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -29
- data/spec/dummy/config/environments/production.rb +0 -80
- data/spec/dummy/config/environments/test.rb +0 -36
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/routes.rb +0 -3
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/lib/tasks/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +0 -58
- data/spec/dummy/public/422.html +0 -58
- data/spec/dummy/public/500.html +0 -57
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/spec_helper.rb +0 -46
- data/tasks/constructor-cms_tasks.rake +0 -15
data/spec/dummy/public/422.html
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<style>
|
6
|
-
body {
|
7
|
-
background-color: #EFEFEF;
|
8
|
-
color: #2E2F30;
|
9
|
-
text-align: center;
|
10
|
-
font-family: arial, sans-serif;
|
11
|
-
}
|
12
|
-
|
13
|
-
div.dialog {
|
14
|
-
width: 25em;
|
15
|
-
margin: 4em auto 0 auto;
|
16
|
-
border: 1px solid #CCC;
|
17
|
-
border-right-color: #999;
|
18
|
-
border-left-color: #999;
|
19
|
-
border-bottom-color: #BBB;
|
20
|
-
border-top: #B00100 solid 4px;
|
21
|
-
border-top-left-radius: 9px;
|
22
|
-
border-top-right-radius: 9px;
|
23
|
-
background-color: white;
|
24
|
-
padding: 7px 4em 0 4em;
|
25
|
-
}
|
26
|
-
|
27
|
-
h1 {
|
28
|
-
font-size: 100%;
|
29
|
-
color: #730E15;
|
30
|
-
line-height: 1.5em;
|
31
|
-
}
|
32
|
-
|
33
|
-
body > p {
|
34
|
-
width: 33em;
|
35
|
-
margin: 0 auto 1em;
|
36
|
-
padding: 1em 0;
|
37
|
-
background-color: #F7F7F7;
|
38
|
-
border: 1px solid #CCC;
|
39
|
-
border-right-color: #999;
|
40
|
-
border-bottom-color: #999;
|
41
|
-
border-bottom-left-radius: 4px;
|
42
|
-
border-bottom-right-radius: 4px;
|
43
|
-
border-top-color: #DADADA;
|
44
|
-
color: #666;
|
45
|
-
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
-
}
|
47
|
-
</style>
|
48
|
-
</head>
|
49
|
-
|
50
|
-
<body>
|
51
|
-
<!-- This file lives in public/422.html -->
|
52
|
-
<div class="dialog">
|
53
|
-
<h1>The change you wanted was rejected.</h1>
|
54
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
-
</div>
|
56
|
-
<p>If you are the application owner check the logs for more information.</p>
|
57
|
-
</body>
|
58
|
-
</html>
|
data/spec/dummy/public/500.html
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style>
|
6
|
-
body {
|
7
|
-
background-color: #EFEFEF;
|
8
|
-
color: #2E2F30;
|
9
|
-
text-align: center;
|
10
|
-
font-family: arial, sans-serif;
|
11
|
-
}
|
12
|
-
|
13
|
-
div.dialog {
|
14
|
-
width: 25em;
|
15
|
-
margin: 4em auto 0 auto;
|
16
|
-
border: 1px solid #CCC;
|
17
|
-
border-right-color: #999;
|
18
|
-
border-left-color: #999;
|
19
|
-
border-bottom-color: #BBB;
|
20
|
-
border-top: #B00100 solid 4px;
|
21
|
-
border-top-left-radius: 9px;
|
22
|
-
border-top-right-radius: 9px;
|
23
|
-
background-color: white;
|
24
|
-
padding: 7px 4em 0 4em;
|
25
|
-
}
|
26
|
-
|
27
|
-
h1 {
|
28
|
-
font-size: 100%;
|
29
|
-
color: #730E15;
|
30
|
-
line-height: 1.5em;
|
31
|
-
}
|
32
|
-
|
33
|
-
body > p {
|
34
|
-
width: 33em;
|
35
|
-
margin: 0 auto 1em;
|
36
|
-
padding: 1em 0;
|
37
|
-
background-color: #F7F7F7;
|
38
|
-
border: 1px solid #CCC;
|
39
|
-
border-right-color: #999;
|
40
|
-
border-bottom-color: #999;
|
41
|
-
border-bottom-left-radius: 4px;
|
42
|
-
border-bottom-right-radius: 4px;
|
43
|
-
border-top-color: #DADADA;
|
44
|
-
color: #666;
|
45
|
-
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
-
}
|
47
|
-
</style>
|
48
|
-
</head>
|
49
|
-
|
50
|
-
<body>
|
51
|
-
<!-- This file lives in public/500.html -->
|
52
|
-
<div class="dialog">
|
53
|
-
<h1>We're sorry, but something went wrong.</h1>
|
54
|
-
</div>
|
55
|
-
<p>If you are the application owner check the logs for more information.</p>
|
56
|
-
</body>
|
57
|
-
</html>
|
File without changes
|
data/spec/spec_helper.rb
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] ||= 'test'
|
2
|
-
|
3
|
-
require 'simplecov'
|
4
|
-
require 'coveralls'
|
5
|
-
|
6
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
7
|
-
SimpleCov::Formatter::HTMLFormatter,
|
8
|
-
Coveralls::SimpleCov::Formatter
|
9
|
-
]
|
10
|
-
|
11
|
-
SimpleCov.start 'rails'
|
12
|
-
|
13
|
-
ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') unless defined?(ENGINE_RAILS_ROOT)
|
14
|
-
|
15
|
-
require File.expand_path("../dummy/config/environment", __FILE__)
|
16
|
-
|
17
|
-
require 'rspec/rails'
|
18
|
-
require 'capybara/rails'
|
19
|
-
require 'capybara/rspec'
|
20
|
-
require 'database_cleaner'
|
21
|
-
|
22
|
-
include Warden::Test::Helpers
|
23
|
-
Warden.test_mode!
|
24
|
-
|
25
|
-
Rails.backtrace_cleaner.remove_silencers!
|
26
|
-
|
27
|
-
Dir[File.join(ENGINE_RAILS_ROOT, 'spec/support/**/*.rb')].each {|f| require f}
|
28
|
-
|
29
|
-
RSpec.configure do |config|
|
30
|
-
config.use_transactional_fixtures = false
|
31
|
-
|
32
|
-
config.before(:suite) do
|
33
|
-
DatabaseCleaner.strategy = :transaction
|
34
|
-
DatabaseCleaner.clean_with(:truncation)
|
35
|
-
end
|
36
|
-
|
37
|
-
config.before(:each) do
|
38
|
-
DatabaseCleaner.start
|
39
|
-
end
|
40
|
-
|
41
|
-
config.after(:each) do
|
42
|
-
DatabaseCleaner.clean
|
43
|
-
end
|
44
|
-
|
45
|
-
config.mock_with :rspec
|
46
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
namespace :all do
|
2
|
-
desc 'Build gems into the pkg directory'
|
3
|
-
task :build do
|
4
|
-
sh 'rake build'
|
5
|
-
|
6
|
-
%w{core pages}.each do |engine|
|
7
|
-
sh "gem build #{engine}/constructor-#{engine}.gemspec && mv constructor-#{engine}-#{ConstructorCore::VERSION}.gem pkg/"
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
desc 'Push all gems to Rubygems'
|
12
|
-
task :push do
|
13
|
-
sh "for i in pkg/*#{ConstructorCore::VERSION}.gem; do gem push $i; done"
|
14
|
-
end
|
15
|
-
end
|