constructor-core 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/{core/app → app}/assets/images/constructor_core/glyphicons-halflings-white.png +0 -0
- data/{core/app → app}/assets/images/constructor_core/glyphicons-halflings.png +0 -0
- data/{core/app → app}/assets/images/constructor_core/minus.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/plus.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/rss.png +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-black-line.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-black.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-default-line.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-default.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-famfamfam-line.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-famfamfam.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-gray-line.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-gray.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-red-line.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/treeview-red.gif +0 -0
- data/{core/app → app}/assets/images/constructor_core/twitter.png +0 -0
- data/{core/app → app}/assets/images/constructor_core/widgets.png +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/application.js.coffee +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/bootstrap.js +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/jquery.cookie.js +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/jquery_bundle.js.coffee +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/keys_snippet.js +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/retina.js +0 -0
- data/{core/app → app}/assets/javascripts/constructor_core/urlify.js +0 -0
- data/{core/app → app}/assets/stylesheets/constructor_core/application.css.scss +0 -0
- data/{core/app → app}/assets/stylesheets/constructor_core/main.css.scss +0 -0
- data/{core/app → app}/controllers/constructor_core/application_controller.rb +0 -0
- data/{core/app → app}/controllers/constructor_core/sessions_controller.rb +0 -0
- data/{core/app → app}/controllers/constructor_core/users_controller.rb +0 -0
- data/{core/app → app}/helpers/constructor_core/application_helper.rb +0 -0
- data/{core/app → app}/models/constructor_core/user.rb +0 -0
- data/{core/app → app}/views/constructor_core/devise/confirmations/new.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/mailer/confirmation_instructions.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/mailer/reset_password_instructions.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/mailer/unlock_instructions.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/passwords/edit.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/passwords/new.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/registrations/edit.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/registrations/new.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/shared/_links.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/devise/unlocks/new.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/sessions/new.html.haml +0 -0
- data/{core/app → app}/views/constructor_core/users/profile.haml +0 -0
- data/{core/app → app}/views/layouts/constructor_core/application_core.haml +0 -0
- data/{core/config → config}/environments/production.rb +0 -0
- data/{core/config → config}/initializers/devise.rb +0 -0
- data/{core/config → config}/locales/devise.en.yml +0 -0
- data/{core/config → config}/locales/devise.fr.yml +0 -0
- data/{core/config → config}/locales/devise.ru.yml +0 -0
- data/{core/config → config}/locales/en.yml +0 -0
- data/{core/config → config}/locales/fr.yml +0 -0
- data/{core/config → config}/locales/ru.yml +0 -0
- data/config/routes.rb +17 -3
- data/{core/constructor-core.gemspec → constructor-core.gemspec} +0 -1
- data/{core/db → db}/migrate/1_devise_users.rb +0 -0
- data/{core/db → db}/migrate/2_add_default_user.rb +0 -0
- data/{core/lib → lib}/constructor-core.rb +0 -0
- data/{core/lib → lib}/constructor_core/engine.rb +0 -0
- data/{core/lib → lib}/constructor_core/version.rb +1 -1
- data/{core/vendor → vendor}/assets/javascripts/.gitkeep +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/ckeditor.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/config.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/lang/en.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/lang/ru.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/scayt/README.md +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/templates/templates/default.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -0
- data/{core/vendor → vendor}/assets/javascripts/ckeditor/styles.js +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/.gitkeep +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/contents.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/dialog.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/dialog_ie.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/dialog_ie7.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/dialog_ie8.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/dialog_opera.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/editor.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/editor_gecko.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/editor_ie.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/editor_ie7.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/editor_ie8.css +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/icons.png +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/images/arrow.png +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/images/close.png +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/images/mini.png +0 -0
- data/{core/vendor → vendor}/assets/stylesheets/ckeditor/skins/moono/readme.md +0 -0
- metadata +211 -396
- 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/config/routes.rb +0 -18
- data/lib/constructor-cms.rb +0 -3
- data/lib/constructor-cms/engine.rb +0 -6
- data/pages/app/assets/images/constructor_pages/arrow_down.png +0 -0
- data/pages/app/assets/images/constructor_pages/arrow_up.png +0 -0
- data/pages/app/assets/images/constructor_pages/information.png +0 -0
- data/pages/app/assets/images/constructor_pages/page_white_edit.png +0 -0
- data/pages/app/assets/images/constructor_pages/photos.png +0 -0
- data/pages/app/assets/javascripts/constructor_pages/ajax_pages.js +0 -61
- data/pages/app/assets/javascripts/constructor_pages/jquery.history.js +0 -1
- data/pages/app/controllers/constructor_pages/application_controller.rb +0 -20
- data/pages/app/controllers/constructor_pages/fields_controller.rb +0 -70
- data/pages/app/controllers/constructor_pages/pages_controller.rb +0 -116
- data/pages/app/controllers/constructor_pages/templates_controller.rb +0 -62
- data/pages/app/helpers/constructor_pages/code_name_uniq.rb +0 -7
- data/pages/app/helpers/constructor_pages/fields_helper.rb +0 -18
- data/pages/app/helpers/constructor_pages/pages_helper.rb +0 -22
- data/pages/app/helpers/constructor_pages/templates_helper.rb +0 -13
- data/pages/app/helpers/constructor_pages/treeview_helper.rb +0 -33
- data/pages/app/models/constructor_pages/field.rb +0 -59
- data/pages/app/models/constructor_pages/page.rb +0 -171
- data/pages/app/models/constructor_pages/template.rb +0 -38
- data/pages/app/models/constructor_pages/types/boolean_type.rb +0 -11
- data/pages/app/models/constructor_pages/types/date_type.rb +0 -11
- data/pages/app/models/constructor_pages/types/float_type.rb +0 -11
- data/pages/app/models/constructor_pages/types/html_type.rb +0 -11
- data/pages/app/models/constructor_pages/types/image_type.rb +0 -19
- data/pages/app/models/constructor_pages/types/integer_type.rb +0 -11
- data/pages/app/models/constructor_pages/types/string_type.rb +0 -11
- data/pages/app/models/constructor_pages/types/text_type.rb +0 -11
- data/pages/app/views/constructor_pages/fields/_form.haml +0 -29
- data/pages/app/views/constructor_pages/fields/edit.haml +0 -6
- data/pages/app/views/constructor_pages/fields/new.haml +0 -6
- data/pages/app/views/constructor_pages/fields/types/_boolean.haml +0 -1
- data/pages/app/views/constructor_pages/fields/types/_date.haml +0 -1
- data/pages/app/views/constructor_pages/fields/types/_float.haml +0 -1
- data/pages/app/views/constructor_pages/fields/types/_html.haml +0 -1
- data/pages/app/views/constructor_pages/fields/types/_image.haml +0 -7
- data/pages/app/views/constructor_pages/fields/types/_integer.haml +0 -1
- data/pages/app/views/constructor_pages/fields/types/_string.haml +0 -1
- data/pages/app/views/constructor_pages/fields/types/_text.haml +0 -1
- data/pages/app/views/constructor_pages/pages/_breadcrumbs.haml +0 -7
- data/pages/app/views/constructor_pages/pages/_form.haml +0 -98
- data/pages/app/views/constructor_pages/pages/_menu.haml +0 -8
- data/pages/app/views/constructor_pages/pages/_submenu.haml +0 -6
- data/pages/app/views/constructor_pages/pages/edit.haml +0 -6
- data/pages/app/views/constructor_pages/pages/index.haml +0 -42
- data/pages/app/views/constructor_pages/pages/new.haml +0 -6
- data/pages/app/views/constructor_pages/pages/show.haml +0 -5
- data/pages/app/views/constructor_pages/partials/_arrow_buttons.haml +0 -6
- data/pages/app/views/constructor_pages/templates/_form.haml +0 -53
- data/pages/app/views/constructor_pages/templates/edit.haml +0 -6
- data/pages/app/views/constructor_pages/templates/index.haml +0 -24
- data/pages/app/views/constructor_pages/templates/new.haml +0 -6
- data/pages/config/initializers/dragonfly.rb +0 -9
- data/pages/config/locales/en.yml +0 -65
- data/pages/config/locales/fr.yml +0 -65
- data/pages/config/locales/ru.yml +0 -100
- data/pages/config/routes.rb +0 -26
- data/pages/constructor-pages.gemspec +0 -31
- data/pages/db/migrate/10_create_html_types.rb +0 -15
- data/pages/db/migrate/11_create_image_types.rb +0 -16
- data/pages/db/migrate/12_add_default_template.rb +0 -13
- data/pages/db/migrate/1_create_pages.rb +0 -27
- data/pages/db/migrate/2_create_templates.rb +0 -18
- data/pages/db/migrate/3_create_fields.rb +0 -17
- data/pages/db/migrate/4_create_string_types.rb +0 -15
- data/pages/db/migrate/5_create_float_types.rb +0 -15
- data/pages/db/migrate/6_create_boolean_types.rb +0 -15
- data/pages/db/migrate/7_create_integer_types.rb +0 -15
- data/pages/db/migrate/8_create_text_types.rb +0 -15
- data/pages/db/migrate/9_create_date_types.rb +0 -15
- data/pages/lib/constructor-pages.rb +0 -6
- data/pages/lib/constructor_pages/engine.rb +0 -6
- data/pages/public/hello.txt +0 -1
- data/pages/spec/features/constructor_pages/fields_spec.rb +0 -217
- data/pages/spec/features/constructor_pages/pages_spec.rb +0 -313
- data/pages/spec/features/constructor_pages/templates_spec.rb +0 -267
- data/pages/spec/helpers/constructor_pages/.keep +0 -0
- data/pages/spec/models/constructor_pages/field_spec.rb +0 -135
- data/pages/spec/models/constructor_pages/page_spec.rb +0 -420
- data/pages/spec/models/constructor_pages/template_spec.rb +0 -34
- data/pages/spec/models/constructor_pages/types/boolean_type_spec.rb +0 -21
- data/pages/spec/models/constructor_pages/types/date_type_spec.rb +0 -21
- data/pages/spec/models/constructor_pages/types/float_type_spec.rb +0 -21
- data/pages/spec/models/constructor_pages/types/html_type_spec.rb +0 -63
- data/pages/spec/models/constructor_pages/types/integer_type_spec.rb +0 -24
- data/pages/spec/models/constructor_pages/types/string_type_spec.rb +0 -21
- data/pages/spec/models/constructor_pages/types/text_type_spec.rb +0 -63
- data/pages/spec/routing/constructor_pages/.keep +0 -0
- 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
@@ -1,34 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
describe Template do
|
7
|
-
before :each do
|
8
|
-
Template.delete_all
|
9
|
-
end
|
10
|
-
|
11
|
-
it 'should be valid' do
|
12
|
-
_template = Template.create name: 'Page template', code_name: 'page_template'
|
13
|
-
_template.valid?.should be_true
|
14
|
-
end
|
15
|
-
|
16
|
-
it 'should be uniqueness with Page' do
|
17
|
-
_template = Template.create name: 'Page', code_name: 'get_field_value'
|
18
|
-
_template.valid?.should be_false
|
19
|
-
end
|
20
|
-
|
21
|
-
describe '#child' do
|
22
|
-
it 'should return child corresponding child_id or children first' do
|
23
|
-
_brand = Template.create name: 'Brand', code_name: 'brand'
|
24
|
-
_series = Template.create name: 'Series', code_name: 'series', parent: _brand
|
25
|
-
_brand.reload
|
26
|
-
|
27
|
-
_brand.child.should == _series
|
28
|
-
_brand.child_id = _brand.id
|
29
|
-
|
30
|
-
_brand.child.should == _brand
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'Boolean type' do
|
8
|
-
it 'should contain boolean type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Available', code_name: 'available', template: _template, type_value: 'boolean'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_boolean = BooleanType.create value: true, field: _field, page: _page
|
14
|
-
_boolean.value.should == true
|
15
|
-
_boolean.update value: 0
|
16
|
-
_boolean.reload
|
17
|
-
_boolean.value.should == false
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'Date type' do
|
8
|
-
it 'should contain date type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Update date', code_name: 'update_date', template: _template, type_value: 'date'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_date = DateType.create value: Time.now, field: _field, page: _page
|
14
|
-
_date.value.should == Date.today
|
15
|
-
_date.update value: '2013-05-07'
|
16
|
-
_date.reload
|
17
|
-
_date.value.should == Date.parse('2013-05-07')
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'Float type' do
|
8
|
-
it 'should contain float type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Price', code_name: 'price', template: _template, type_value: 'float'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_float = FloatType.create value: 10.54, field: _field, page: _page
|
14
|
-
_float.value.should == 10.54
|
15
|
-
_float.update value: '1000.543'
|
16
|
-
_float.reload
|
17
|
-
_float.value.should == 1000.543
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'Html type' do
|
8
|
-
it 'should contain text type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Long description', code_name: 'long_description', template: _template, type_value: 'html'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_html = HtmlType.create value: 'This is long description', field: _field, page: _page
|
14
|
-
_html.value.should == 'This is long description'
|
15
|
-
_html.update value: <<EOL
|
16
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae neque id arcu condimentum viverra et congue felis. Proin mollis tortor orci. Mauris viverra tincidunt nibh, pulvinar aliquet erat vestibulum id. Praesent dui nisl, vehicula vel magna sit amet, dictum feugiat turpis. Donec euismod tellus a arcu fringilla lacinia laoreet vitae risus. Phasellus consectetur consequat erat sed congue. Nam facilisis convallis sapien, et placerat nunc cursus id. Sed interdum dui et mi tristique posuere. Sed nibh purus, laoreet ac venenatis in, condimentum in urna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nulla sed arcu non enim condimentum accumsan. Etiam rutrum dapibus purus, non vehicula neque ornare eget.
|
17
|
-
Mauris eu urna suscipit, rhoncus mi eget, euismod diam. Fusce pellentesque, orci a laoreet viverra, magna ipsum porta odio, at fermentum felis quam vel velit. Ut non aliquet urna. Ut lacus odio, varius sed erat in, molestie ultricies odio. Sed iaculis, felis id euismod ornare, ligula massa lobortis orci, nec egestas mi nunc pharetra risus. Quisque vel est nec leo congue scelerisque. Vivamus vel nisl et justo pulvinar consequat. In vel dapibus diam. Aliquam interdum felis non sagittis feugiat.
|
18
|
-
Quisque faucibus massa ac odio vehicula rutrum. Phasellus vel gravida mauris, ac dictum nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed dictum ultrices vulputate. Etiam a lacus eu nibh vulputate laoreet viverra id augue. Aliquam vulputate, mauris non vestibulum imperdiet, nulla eros dignissim enim, ut pretium velit eros vitae erat. Phasellus lacus urna, blandit non tortor et, convallis cursus elit. In hac habitasse platea dictumst.
|
19
|
-
Donec posuere nulla sed lectus congue, in scelerisque tortor fermentum. In ut diam quam. Nulla leo lectus, fringilla id fermentum commodo, laoreet et justo. Curabitur sagittis justo facilisis odio varius, non feugiat felis dapibus. Pellentesque condimentum turpis non mi egestas varius sed nec felis. Nullam sit amet est elementum nisi iaculis congue ut posuere elit. Pellentesque a dolor turpis. Donec venenatis, enim id venenatis placerat, augue metus rutrum arcu, in varius dui leo sit amet purus. Integer non purus pellentesque, vestibulum nunc ac, laoreet sapien. Proin ut lacus at eros mattis sagittis. Duis sit amet ante odio.
|
20
|
-
Donec porttitor porta consectetur. Pellentesque nec erat eu arcu interdum vehicula ut eu dolor. Fusce varius velit nisl, a lacinia lectus gravida a. Aenean sollicitudin, enim nec iaculis eleifend, magna leo facilisis nisl, at sagittis odio arcu ac mi. Etiam hendrerit in tellus et aliquam. Phasellus nec nunc et quam dignissim euismod. Phasellus faucibus congue elit, sed adipiscing justo. Proin eu posuere lectus, vitae lacinia lectus. Aenean nec elit ante. Proin eget sollicitudin nulla. Ut luctus tellus a arcu imperdiet, id ullamcorper ante elementum.
|
21
|
-
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Maecenas porta odio eu ullamcorper ornare. Etiam pretium risus faucibus, lacinia lorem a, luctus magna. Vestibulum sed ipsum odio. Cras non rutrum lorem. Sed nec dolor auctor, scelerisque dui sed, venenatis erat. Nullam viverra neque id lacus molestie consequat. Ut porta, dolor et bibendum ullamcorper, nibh dolor tincidunt mauris, a pretium eros nunc vitae tortor.
|
22
|
-
In at diam lectus. Suspendisse felis lorem, rhoncus porta venenatis non, dignissim id nunc. Nulla lobortis adipiscing turpis, sed porta ligula aliquam ac. Aliquam odio erat, pellentesque sit amet odio ut, ornare elementum sapien. Nunc a varius nunc. Ut sit amet elit ac augue eleifend cursus. Curabitur et lectus eros. Donec vitae accumsan purus. Suspendisse non tempus libero, pretium imperdiet elit.
|
23
|
-
Nam ut massa commodo, convallis metus suscipit, tristique risus. Curabitur in enim blandit, porta eros eget, lobortis nunc. Nam ultrices est orci. Duis feugiat ipsum a scelerisque vulputate. Quisque enim nunc, iaculis quis convallis pretium, tincidunt vel enim. Praesent sollicitudin orci lobortis ipsum tempor, in vulputate leo adipiscing. Phasellus eu pulvinar ante. Nam auctor quam risus, eget porta nisi tempus vel. Suspendisse tristique quam purus, vitae blandit libero luctus nec. Ut nulla ligula, blandit non odio ut, hendrerit posuere tellus. Curabitur erat arcu, interdum nec consequat in, porta fermentum libero. Nam eros justo, aliquam sed tincidunt nec, congue eget dolor. Donec adipiscing non mauris sodales lacinia. Vestibulum id arcu sapien. Aliquam lacinia urna sed lobortis egestas.
|
24
|
-
Nulla elit tellus, pretium eget magna a, tincidunt rhoncus lorem. Nunc rhoncus ullamcorper mi ut semper. Fusce eleifend lacus ut nisi accumsan vulputate. Donec eget mauris quis urna eleifend placerat id id orci. Etiam tempor, neque sed pellentesque volutpat, eros mi accumsan ligula, ut convallis dui risus sit amet tellus. Suspendisse consectetur tempus sodales. Morbi id elit mi. In semper sit amet risus in tempor. Suspendisse molestie augue erat, vitae malesuada justo lobortis et. Quisque tincidunt, arcu mollis lacinia fringilla, felis justo tempor purus, ac adipiscing odio mauris eu arcu. Phasellus id lectus quis nunc sollicitudin pellentesque vel fringilla augue. Pellentesque molestie augue a ipsum lacinia ullamcorper. Sed fermentum dapibus lacus non pharetra.
|
25
|
-
Integer orci nibh, porta ut pulvinar et, consectetur vulputate massa. Nulla varius leo purus, vitae fermentum ante ornare sed. Quisque sed laoreet odio. Nulla gravida eu risus ac accumsan. Curabitur iaculis sem eleifend ipsum ullamcorper venenatis. Aenean sed lacus aliquet, pellentesque libero sit amet, porttitor mauris. Maecenas aliquet quam a leo gravida sollicitudin. Suspendisse sit amet dolor aliquam, rutrum neque eget, eleifend nisl. Sed varius tempor quam, nec pulvinar ante sagittis ac. Curabitur vel luctus velit. Cras faucibus ligula quis augue dictum, ultricies scelerisque magna posuere. Praesent eget vestibulum neque, mollis hendrerit ligula. Pellentesque lacus justo, posuere ac tincidunt dictum, vulputate in lectus.
|
26
|
-
Integer scelerisque, est ut pellentesque euismod, dui nisi tristique arcu, a congue nulla neque sit amet arcu. Nam in porta nisl, vel rutrum dui. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus sit amet eros augue. Donec at massa eget neque iaculis viverra. Aenean posuere placerat porttitor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec ut vestibulum neque. Nulla tincidunt aliquam sagittis. Cras placerat placerat ipsum nec interdum. Nullam hendrerit augue in sem bibendum malesuada. Integer vel purus non enim dapibus lobortis nec at ligula. Proin turpis leo, condimentum non rutrum at, varius at elit. Nullam sollicitudin non quam at dictum. Morbi sapien lorem, tempus non sem sed, sodales tempus leo.
|
27
|
-
Phasellus ligula lorem, porttitor ac felis eget, fringilla consectetur arcu. Integer molestie nulla dui, vitae convallis dui vehicula suscipit. Proin aliquet eleifend leo ac scelerisque. Cras convallis cursus libero, nec adipiscing libero placerat at. Ut eget sem eu eros mollis varius. Sed feugiat libero ac posuere vehicula. Maecenas ipsum nisl, tincidunt eget molestie nec, consectetur at quam. Cras fringilla tincidunt mi, quis hendrerit lorem semper sed. Fusce est urna, fringilla non erat ut, sollicitudin scelerisque nisl. Nullam ultricies in massa blandit consequat.
|
28
|
-
Donec vitae sagittis eros, et feugiat eros. Duis et condimentum dolor, fermentum imperdiet neque. Aenean dignissim fermentum gravida. Integer ac interdum sapien, in placerat risus. Vivamus sodales hendrerit dolor, quis semper diam porta molestie. Integer vitae nisi sollicitudin, porta orci tincidunt, tempor nibh. Nam elementum adipiscing diam, ut pharetra lectus tristique quis.
|
29
|
-
Mauris arcu mauris, pulvinar vitae tortor vitae, aliquet porta tellus. Pellentesque vel venenatis enim. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean iaculis pellentesque arcu, et consequat quam tincidunt et. Vivamus et malesuada neque. Donec tincidunt ligula ipsum, vitae commodo purus elementum at. Vestibulum aliquet vestibulum nibh eget iaculis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum scelerisque rhoncus augue, quis vestibulum nulla sollicitudin eget. Proin eget pretium nibh, sit amet laoreet orci. Curabitur metus tellus, ultrices ac feugiat eu, facilisis et nisl. Ut facilisis rhoncus purus. Suspendisse tempus at arcu eu accumsan. Quisque nec lacinia lacus. Maecenas risus risus, sagittis eget augue pellentesque, accumsan posuere ante. Sed nisi est, rutrum vitae vestibulum a, cursus at nibh.
|
30
|
-
Nunc nec dolor vulputate, luctus urna sit amet, fringilla risus. Nunc porttitor, mauris lacinia faucibus fringilla, metus nulla vestibulum metus, sit amet scelerisque justo nisi eu purus. Etiam laoreet pulvinar risus, ut ornare orci dictum tempus. Aenean ac placerat turpis. Nulla consectetur purus massa, quis ullamcorper eros ultricies nec. Curabitur commodo velit augue, vel rhoncus justo posuere in. Curabitur in sem convallis nibh consequat interdum. Mauris velit purus, luctus quis diam quis, placerat suscipit tellus. Fusce varius, erat eget rutrum accumsan, orci dui tincidunt turpis, at sollicitudin tellus nulla eu metus. Integer pulvinar tempus pulvinar.
|
31
|
-
Quisque id augue ut nibh scelerisque dignissim. Morbi quis dui non felis consectetur vestibulum vitae quis est. Pellentesque in viverra tortor, et ultrices ligula. Donec vitae lorem massa. Curabitur urna est, tempor nec felis sit amet, eleifend aliquam diam. Curabitur adipiscing metus lacus, quis mollis augue tincidunt id. Nulla id vulputate est. Morbi eu tortor vel tellus semper lacinia non et sapien.
|
32
|
-
Ut euismod enim non mi eleifend mollis. Mauris at elit sollicitudin, placerat mauris eget, ultricies elit. Ut tincidunt pretium nisi vitae tincidunt. Sed neque ante, ornare at massa in, consequat placerat elit. Suspendisse vulputate aliquam magna non viverra. Proin malesuada commodo sem, et ultricies metus accumsan et. Integer nec lorem sapien. Ut auctor ipsum sed velit hendrerit dictum. Mauris vel ipsum et eros hendrerit porttitor. Curabitur et fringilla libero, eget faucibus dui. Sed vitae odio interdum urna euismod tempor et quis augue. Phasellus egestas nec dolor eget viverra. Aenean aliquam sapien a volutpat convallis. Morbi vestibulum suscipit lectus, ac suscipit ante sodales nec.
|
33
|
-
Aliquam blandit justo at nibh tincidunt bibendum. Fusce mi nunc, mattis in pulvinar ac, accumsan eget turpis. Donec pellentesque mauris eget metus cursus placerat eget at urna. Aenean augue risus, vestibulum id nisl et, feugiat posuere sem. Cras pharetra felis sed luctus bibendum. Curabitur posuere tincidunt mi in ullamcorper. Praesent nec egestas nisi. Nunc porta enim sed viverra posuere. In varius ipsum non turpis ultricies, quis consequat lorem volutpat. Aenean dui eros, semper a urna vitae, aliquam congue ligula. Nullam nec venenatis nisi, eget pellentesque diam. Morbi laoreet feugiat massa, eget aliquet nisi aliquam eu. Nunc rutrum magna nulla, eget vestibulum ipsum dapibus ac. In consequat erat quis felis dapibus egestas. Quisque eget faucibus quam. Sed convallis lorem felis, sit amet sodales tellus eleifend non.
|
34
|
-
Praesent velit est, faucibus vitae mollis consequat, sagittis ut nisl. In eu fringilla orci, sed tristique lorem. Aliquam adipiscing posuere neque vitae auctor. Praesent vulputate quam at nisi elementum aliquam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean tempus tristique lorem imperdiet varius. Donec sagittis, massa quis lobortis convallis, mauris quam commodo sapien, eget ornare dolor tellus vel elit. Pellentesque eros nulla, ornare id magna a, sodales tincidunt nisi. Morbi ut pellentesque nisl. Etiam interdum urna in tellus egestas rutrum.
|
35
|
-
Sed tortor mauris, bibendum a lacus in, laoreet dignissim mauris. Suspendisse eu libero eget dolor rutrum pharetra. Nulla dictum tellus eu elementum pretium. Nulla lacinia vestibulum quam eget molestie. Etiam fermentum imperdiet fermentum. Morbi vulputate nibh ac pulvinar tempor. Sed pulvinar gravida risus eget varius.
|
36
|
-
EOL
|
37
|
-
_html.reload
|
38
|
-
_html.value.should == <<EOL
|
39
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae neque id arcu condimentum viverra et congue felis. Proin mollis tortor orci. Mauris viverra tincidunt nibh, pulvinar aliquet erat vestibulum id. Praesent dui nisl, vehicula vel magna sit amet, dictum feugiat turpis. Donec euismod tellus a arcu fringilla lacinia laoreet vitae risus. Phasellus consectetur consequat erat sed congue. Nam facilisis convallis sapien, et placerat nunc cursus id. Sed interdum dui et mi tristique posuere. Sed nibh purus, laoreet ac venenatis in, condimentum in urna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nulla sed arcu non enim condimentum accumsan. Etiam rutrum dapibus purus, non vehicula neque ornare eget.
|
40
|
-
Mauris eu urna suscipit, rhoncus mi eget, euismod diam. Fusce pellentesque, orci a laoreet viverra, magna ipsum porta odio, at fermentum felis quam vel velit. Ut non aliquet urna. Ut lacus odio, varius sed erat in, molestie ultricies odio. Sed iaculis, felis id euismod ornare, ligula massa lobortis orci, nec egestas mi nunc pharetra risus. Quisque vel est nec leo congue scelerisque. Vivamus vel nisl et justo pulvinar consequat. In vel dapibus diam. Aliquam interdum felis non sagittis feugiat.
|
41
|
-
Quisque faucibus massa ac odio vehicula rutrum. Phasellus vel gravida mauris, ac dictum nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed dictum ultrices vulputate. Etiam a lacus eu nibh vulputate laoreet viverra id augue. Aliquam vulputate, mauris non vestibulum imperdiet, nulla eros dignissim enim, ut pretium velit eros vitae erat. Phasellus lacus urna, blandit non tortor et, convallis cursus elit. In hac habitasse platea dictumst.
|
42
|
-
Donec posuere nulla sed lectus congue, in scelerisque tortor fermentum. In ut diam quam. Nulla leo lectus, fringilla id fermentum commodo, laoreet et justo. Curabitur sagittis justo facilisis odio varius, non feugiat felis dapibus. Pellentesque condimentum turpis non mi egestas varius sed nec felis. Nullam sit amet est elementum nisi iaculis congue ut posuere elit. Pellentesque a dolor turpis. Donec venenatis, enim id venenatis placerat, augue metus rutrum arcu, in varius dui leo sit amet purus. Integer non purus pellentesque, vestibulum nunc ac, laoreet sapien. Proin ut lacus at eros mattis sagittis. Duis sit amet ante odio.
|
43
|
-
Donec porttitor porta consectetur. Pellentesque nec erat eu arcu interdum vehicula ut eu dolor. Fusce varius velit nisl, a lacinia lectus gravida a. Aenean sollicitudin, enim nec iaculis eleifend, magna leo facilisis nisl, at sagittis odio arcu ac mi. Etiam hendrerit in tellus et aliquam. Phasellus nec nunc et quam dignissim euismod. Phasellus faucibus congue elit, sed adipiscing justo. Proin eu posuere lectus, vitae lacinia lectus. Aenean nec elit ante. Proin eget sollicitudin nulla. Ut luctus tellus a arcu imperdiet, id ullamcorper ante elementum.
|
44
|
-
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Maecenas porta odio eu ullamcorper ornare. Etiam pretium risus faucibus, lacinia lorem a, luctus magna. Vestibulum sed ipsum odio. Cras non rutrum lorem. Sed nec dolor auctor, scelerisque dui sed, venenatis erat. Nullam viverra neque id lacus molestie consequat. Ut porta, dolor et bibendum ullamcorper, nibh dolor tincidunt mauris, a pretium eros nunc vitae tortor.
|
45
|
-
In at diam lectus. Suspendisse felis lorem, rhoncus porta venenatis non, dignissim id nunc. Nulla lobortis adipiscing turpis, sed porta ligula aliquam ac. Aliquam odio erat, pellentesque sit amet odio ut, ornare elementum sapien. Nunc a varius nunc. Ut sit amet elit ac augue eleifend cursus. Curabitur et lectus eros. Donec vitae accumsan purus. Suspendisse non tempus libero, pretium imperdiet elit.
|
46
|
-
Nam ut massa commodo, convallis metus suscipit, tristique risus. Curabitur in enim blandit, porta eros eget, lobortis nunc. Nam ultrices est orci. Duis feugiat ipsum a scelerisque vulputate. Quisque enim nunc, iaculis quis convallis pretium, tincidunt vel enim. Praesent sollicitudin orci lobortis ipsum tempor, in vulputate leo adipiscing. Phasellus eu pulvinar ante. Nam auctor quam risus, eget porta nisi tempus vel. Suspendisse tristique quam purus, vitae blandit libero luctus nec. Ut nulla ligula, blandit non odio ut, hendrerit posuere tellus. Curabitur erat arcu, interdum nec consequat in, porta fermentum libero. Nam eros justo, aliquam sed tincidunt nec, congue eget dolor. Donec adipiscing non mauris sodales lacinia. Vestibulum id arcu sapien. Aliquam lacinia urna sed lobortis egestas.
|
47
|
-
Nulla elit tellus, pretium eget magna a, tincidunt rhoncus lorem. Nunc rhoncus ullamcorper mi ut semper. Fusce eleifend lacus ut nisi accumsan vulputate. Donec eget mauris quis urna eleifend placerat id id orci. Etiam tempor, neque sed pellentesque volutpat, eros mi accumsan ligula, ut convallis dui risus sit amet tellus. Suspendisse consectetur tempus sodales. Morbi id elit mi. In semper sit amet risus in tempor. Suspendisse molestie augue erat, vitae malesuada justo lobortis et. Quisque tincidunt, arcu mollis lacinia fringilla, felis justo tempor purus, ac adipiscing odio mauris eu arcu. Phasellus id lectus quis nunc sollicitudin pellentesque vel fringilla augue. Pellentesque molestie augue a ipsum lacinia ullamcorper. Sed fermentum dapibus lacus non pharetra.
|
48
|
-
Integer orci nibh, porta ut pulvinar et, consectetur vulputate massa. Nulla varius leo purus, vitae fermentum ante ornare sed. Quisque sed laoreet odio. Nulla gravida eu risus ac accumsan. Curabitur iaculis sem eleifend ipsum ullamcorper venenatis. Aenean sed lacus aliquet, pellentesque libero sit amet, porttitor mauris. Maecenas aliquet quam a leo gravida sollicitudin. Suspendisse sit amet dolor aliquam, rutrum neque eget, eleifend nisl. Sed varius tempor quam, nec pulvinar ante sagittis ac. Curabitur vel luctus velit. Cras faucibus ligula quis augue dictum, ultricies scelerisque magna posuere. Praesent eget vestibulum neque, mollis hendrerit ligula. Pellentesque lacus justo, posuere ac tincidunt dictum, vulputate in lectus.
|
49
|
-
Integer scelerisque, est ut pellentesque euismod, dui nisi tristique arcu, a congue nulla neque sit amet arcu. Nam in porta nisl, vel rutrum dui. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus sit amet eros augue. Donec at massa eget neque iaculis viverra. Aenean posuere placerat porttitor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec ut vestibulum neque. Nulla tincidunt aliquam sagittis. Cras placerat placerat ipsum nec interdum. Nullam hendrerit augue in sem bibendum malesuada. Integer vel purus non enim dapibus lobortis nec at ligula. Proin turpis leo, condimentum non rutrum at, varius at elit. Nullam sollicitudin non quam at dictum. Morbi sapien lorem, tempus non sem sed, sodales tempus leo.
|
50
|
-
Phasellus ligula lorem, porttitor ac felis eget, fringilla consectetur arcu. Integer molestie nulla dui, vitae convallis dui vehicula suscipit. Proin aliquet eleifend leo ac scelerisque. Cras convallis cursus libero, nec adipiscing libero placerat at. Ut eget sem eu eros mollis varius. Sed feugiat libero ac posuere vehicula. Maecenas ipsum nisl, tincidunt eget molestie nec, consectetur at quam. Cras fringilla tincidunt mi, quis hendrerit lorem semper sed. Fusce est urna, fringilla non erat ut, sollicitudin scelerisque nisl. Nullam ultricies in massa blandit consequat.
|
51
|
-
Donec vitae sagittis eros, et feugiat eros. Duis et condimentum dolor, fermentum imperdiet neque. Aenean dignissim fermentum gravida. Integer ac interdum sapien, in placerat risus. Vivamus sodales hendrerit dolor, quis semper diam porta molestie. Integer vitae nisi sollicitudin, porta orci tincidunt, tempor nibh. Nam elementum adipiscing diam, ut pharetra lectus tristique quis.
|
52
|
-
Mauris arcu mauris, pulvinar vitae tortor vitae, aliquet porta tellus. Pellentesque vel venenatis enim. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean iaculis pellentesque arcu, et consequat quam tincidunt et. Vivamus et malesuada neque. Donec tincidunt ligula ipsum, vitae commodo purus elementum at. Vestibulum aliquet vestibulum nibh eget iaculis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum scelerisque rhoncus augue, quis vestibulum nulla sollicitudin eget. Proin eget pretium nibh, sit amet laoreet orci. Curabitur metus tellus, ultrices ac feugiat eu, facilisis et nisl. Ut facilisis rhoncus purus. Suspendisse tempus at arcu eu accumsan. Quisque nec lacinia lacus. Maecenas risus risus, sagittis eget augue pellentesque, accumsan posuere ante. Sed nisi est, rutrum vitae vestibulum a, cursus at nibh.
|
53
|
-
Nunc nec dolor vulputate, luctus urna sit amet, fringilla risus. Nunc porttitor, mauris lacinia faucibus fringilla, metus nulla vestibulum metus, sit amet scelerisque justo nisi eu purus. Etiam laoreet pulvinar risus, ut ornare orci dictum tempus. Aenean ac placerat turpis. Nulla consectetur purus massa, quis ullamcorper eros ultricies nec. Curabitur commodo velit augue, vel rhoncus justo posuere in. Curabitur in sem convallis nibh consequat interdum. Mauris velit purus, luctus quis diam quis, placerat suscipit tellus. Fusce varius, erat eget rutrum accumsan, orci dui tincidunt turpis, at sollicitudin tellus nulla eu metus. Integer pulvinar tempus pulvinar.
|
54
|
-
Quisque id augue ut nibh scelerisque dignissim. Morbi quis dui non felis consectetur vestibulum vitae quis est. Pellentesque in viverra tortor, et ultrices ligula. Donec vitae lorem massa. Curabitur urna est, tempor nec felis sit amet, eleifend aliquam diam. Curabitur adipiscing metus lacus, quis mollis augue tincidunt id. Nulla id vulputate est. Morbi eu tortor vel tellus semper lacinia non et sapien.
|
55
|
-
Ut euismod enim non mi eleifend mollis. Mauris at elit sollicitudin, placerat mauris eget, ultricies elit. Ut tincidunt pretium nisi vitae tincidunt. Sed neque ante, ornare at massa in, consequat placerat elit. Suspendisse vulputate aliquam magna non viverra. Proin malesuada commodo sem, et ultricies metus accumsan et. Integer nec lorem sapien. Ut auctor ipsum sed velit hendrerit dictum. Mauris vel ipsum et eros hendrerit porttitor. Curabitur et fringilla libero, eget faucibus dui. Sed vitae odio interdum urna euismod tempor et quis augue. Phasellus egestas nec dolor eget viverra. Aenean aliquam sapien a volutpat convallis. Morbi vestibulum suscipit lectus, ac suscipit ante sodales nec.
|
56
|
-
Aliquam blandit justo at nibh tincidunt bibendum. Fusce mi nunc, mattis in pulvinar ac, accumsan eget turpis. Donec pellentesque mauris eget metus cursus placerat eget at urna. Aenean augue risus, vestibulum id nisl et, feugiat posuere sem. Cras pharetra felis sed luctus bibendum. Curabitur posuere tincidunt mi in ullamcorper. Praesent nec egestas nisi. Nunc porta enim sed viverra posuere. In varius ipsum non turpis ultricies, quis consequat lorem volutpat. Aenean dui eros, semper a urna vitae, aliquam congue ligula. Nullam nec venenatis nisi, eget pellentesque diam. Morbi laoreet feugiat massa, eget aliquet nisi aliquam eu. Nunc rutrum magna nulla, eget vestibulum ipsum dapibus ac. In consequat erat quis felis dapibus egestas. Quisque eget faucibus quam. Sed convallis lorem felis, sit amet sodales tellus eleifend non.
|
57
|
-
Praesent velit est, faucibus vitae mollis consequat, sagittis ut nisl. In eu fringilla orci, sed tristique lorem. Aliquam adipiscing posuere neque vitae auctor. Praesent vulputate quam at nisi elementum aliquam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean tempus tristique lorem imperdiet varius. Donec sagittis, massa quis lobortis convallis, mauris quam commodo sapien, eget ornare dolor tellus vel elit. Pellentesque eros nulla, ornare id magna a, sodales tincidunt nisi. Morbi ut pellentesque nisl. Etiam interdum urna in tellus egestas rutrum.
|
58
|
-
Sed tortor mauris, bibendum a lacus in, laoreet dignissim mauris. Suspendisse eu libero eget dolor rutrum pharetra. Nulla dictum tellus eu elementum pretium. Nulla lacinia vestibulum quam eget molestie. Etiam fermentum imperdiet fermentum. Morbi vulputate nibh ac pulvinar tempor. Sed pulvinar gravida risus eget varius.
|
59
|
-
EOL
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'Integer type' do
|
8
|
-
it 'should contain integer type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Amount', code_name: 'amount', template: _template, type_value: 'integer'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_integer = IntegerType.create value: 10, field: _field, page: _page
|
14
|
-
_integer.value.should == 10
|
15
|
-
_integer.update value: 50.123
|
16
|
-
_integer.reload
|
17
|
-
_integer.value.should == 50
|
18
|
-
_integer.update value: '1000'
|
19
|
-
_integer.reload
|
20
|
-
_integer.value.should == 1000
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'String type' do
|
8
|
-
it 'should contain string type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Short description', code_name: 'short_description', template: _template, type_value: 'string'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_string = StringType.create value: 'This is short description', field: _field, page: _page
|
14
|
-
_string.value.should == 'This is short description'
|
15
|
-
_string.update value: 1000
|
16
|
-
_string.reload
|
17
|
-
_string.value.should == '1000'
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
module ConstructorPages
|
6
|
-
module Types
|
7
|
-
describe 'Text type' do
|
8
|
-
it 'should contain text type values' do
|
9
|
-
Template.delete_all
|
10
|
-
_template = Template.create name: 'Product', code_name: 'product'
|
11
|
-
_field = Field.create name: 'Long description', code_name: 'long_description', template: _template, type_value: 'text'
|
12
|
-
_page = Page.create name: 'TV', template: _template
|
13
|
-
_text = TextType.create value: 'This is long description', field: _field, page: _page
|
14
|
-
_text.value.should == 'This is long description'
|
15
|
-
_text.update value: <<EOL
|
16
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae neque id arcu condimentum viverra et congue felis. Proin mollis tortor orci. Mauris viverra tincidunt nibh, pulvinar aliquet erat vestibulum id. Praesent dui nisl, vehicula vel magna sit amet, dictum feugiat turpis. Donec euismod tellus a arcu fringilla lacinia laoreet vitae risus. Phasellus consectetur consequat erat sed congue. Nam facilisis convallis sapien, et placerat nunc cursus id. Sed interdum dui et mi tristique posuere. Sed nibh purus, laoreet ac venenatis in, condimentum in urna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nulla sed arcu non enim condimentum accumsan. Etiam rutrum dapibus purus, non vehicula neque ornare eget.
|
17
|
-
Mauris eu urna suscipit, rhoncus mi eget, euismod diam. Fusce pellentesque, orci a laoreet viverra, magna ipsum porta odio, at fermentum felis quam vel velit. Ut non aliquet urna. Ut lacus odio, varius sed erat in, molestie ultricies odio. Sed iaculis, felis id euismod ornare, ligula massa lobortis orci, nec egestas mi nunc pharetra risus. Quisque vel est nec leo congue scelerisque. Vivamus vel nisl et justo pulvinar consequat. In vel dapibus diam. Aliquam interdum felis non sagittis feugiat.
|
18
|
-
Quisque faucibus massa ac odio vehicula rutrum. Phasellus vel gravida mauris, ac dictum nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed dictum ultrices vulputate. Etiam a lacus eu nibh vulputate laoreet viverra id augue. Aliquam vulputate, mauris non vestibulum imperdiet, nulla eros dignissim enim, ut pretium velit eros vitae erat. Phasellus lacus urna, blandit non tortor et, convallis cursus elit. In hac habitasse platea dictumst.
|
19
|
-
Donec posuere nulla sed lectus congue, in scelerisque tortor fermentum. In ut diam quam. Nulla leo lectus, fringilla id fermentum commodo, laoreet et justo. Curabitur sagittis justo facilisis odio varius, non feugiat felis dapibus. Pellentesque condimentum turpis non mi egestas varius sed nec felis. Nullam sit amet est elementum nisi iaculis congue ut posuere elit. Pellentesque a dolor turpis. Donec venenatis, enim id venenatis placerat, augue metus rutrum arcu, in varius dui leo sit amet purus. Integer non purus pellentesque, vestibulum nunc ac, laoreet sapien. Proin ut lacus at eros mattis sagittis. Duis sit amet ante odio.
|
20
|
-
Donec porttitor porta consectetur. Pellentesque nec erat eu arcu interdum vehicula ut eu dolor. Fusce varius velit nisl, a lacinia lectus gravida a. Aenean sollicitudin, enim nec iaculis eleifend, magna leo facilisis nisl, at sagittis odio arcu ac mi. Etiam hendrerit in tellus et aliquam. Phasellus nec nunc et quam dignissim euismod. Phasellus faucibus congue elit, sed adipiscing justo. Proin eu posuere lectus, vitae lacinia lectus. Aenean nec elit ante. Proin eget sollicitudin nulla. Ut luctus tellus a arcu imperdiet, id ullamcorper ante elementum.
|
21
|
-
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Maecenas porta odio eu ullamcorper ornare. Etiam pretium risus faucibus, lacinia lorem a, luctus magna. Vestibulum sed ipsum odio. Cras non rutrum lorem. Sed nec dolor auctor, scelerisque dui sed, venenatis erat. Nullam viverra neque id lacus molestie consequat. Ut porta, dolor et bibendum ullamcorper, nibh dolor tincidunt mauris, a pretium eros nunc vitae tortor.
|
22
|
-
In at diam lectus. Suspendisse felis lorem, rhoncus porta venenatis non, dignissim id nunc. Nulla lobortis adipiscing turpis, sed porta ligula aliquam ac. Aliquam odio erat, pellentesque sit amet odio ut, ornare elementum sapien. Nunc a varius nunc. Ut sit amet elit ac augue eleifend cursus. Curabitur et lectus eros. Donec vitae accumsan purus. Suspendisse non tempus libero, pretium imperdiet elit.
|
23
|
-
Nam ut massa commodo, convallis metus suscipit, tristique risus. Curabitur in enim blandit, porta eros eget, lobortis nunc. Nam ultrices est orci. Duis feugiat ipsum a scelerisque vulputate. Quisque enim nunc, iaculis quis convallis pretium, tincidunt vel enim. Praesent sollicitudin orci lobortis ipsum tempor, in vulputate leo adipiscing. Phasellus eu pulvinar ante. Nam auctor quam risus, eget porta nisi tempus vel. Suspendisse tristique quam purus, vitae blandit libero luctus nec. Ut nulla ligula, blandit non odio ut, hendrerit posuere tellus. Curabitur erat arcu, interdum nec consequat in, porta fermentum libero. Nam eros justo, aliquam sed tincidunt nec, congue eget dolor. Donec adipiscing non mauris sodales lacinia. Vestibulum id arcu sapien. Aliquam lacinia urna sed lobortis egestas.
|
24
|
-
Nulla elit tellus, pretium eget magna a, tincidunt rhoncus lorem. Nunc rhoncus ullamcorper mi ut semper. Fusce eleifend lacus ut nisi accumsan vulputate. Donec eget mauris quis urna eleifend placerat id id orci. Etiam tempor, neque sed pellentesque volutpat, eros mi accumsan ligula, ut convallis dui risus sit amet tellus. Suspendisse consectetur tempus sodales. Morbi id elit mi. In semper sit amet risus in tempor. Suspendisse molestie augue erat, vitae malesuada justo lobortis et. Quisque tincidunt, arcu mollis lacinia fringilla, felis justo tempor purus, ac adipiscing odio mauris eu arcu. Phasellus id lectus quis nunc sollicitudin pellentesque vel fringilla augue. Pellentesque molestie augue a ipsum lacinia ullamcorper. Sed fermentum dapibus lacus non pharetra.
|
25
|
-
Integer orci nibh, porta ut pulvinar et, consectetur vulputate massa. Nulla varius leo purus, vitae fermentum ante ornare sed. Quisque sed laoreet odio. Nulla gravida eu risus ac accumsan. Curabitur iaculis sem eleifend ipsum ullamcorper venenatis. Aenean sed lacus aliquet, pellentesque libero sit amet, porttitor mauris. Maecenas aliquet quam a leo gravida sollicitudin. Suspendisse sit amet dolor aliquam, rutrum neque eget, eleifend nisl. Sed varius tempor quam, nec pulvinar ante sagittis ac. Curabitur vel luctus velit. Cras faucibus ligula quis augue dictum, ultricies scelerisque magna posuere. Praesent eget vestibulum neque, mollis hendrerit ligula. Pellentesque lacus justo, posuere ac tincidunt dictum, vulputate in lectus.
|
26
|
-
Integer scelerisque, est ut pellentesque euismod, dui nisi tristique arcu, a congue nulla neque sit amet arcu. Nam in porta nisl, vel rutrum dui. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus sit amet eros augue. Donec at massa eget neque iaculis viverra. Aenean posuere placerat porttitor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec ut vestibulum neque. Nulla tincidunt aliquam sagittis. Cras placerat placerat ipsum nec interdum. Nullam hendrerit augue in sem bibendum malesuada. Integer vel purus non enim dapibus lobortis nec at ligula. Proin turpis leo, condimentum non rutrum at, varius at elit. Nullam sollicitudin non quam at dictum. Morbi sapien lorem, tempus non sem sed, sodales tempus leo.
|
27
|
-
Phasellus ligula lorem, porttitor ac felis eget, fringilla consectetur arcu. Integer molestie nulla dui, vitae convallis dui vehicula suscipit. Proin aliquet eleifend leo ac scelerisque. Cras convallis cursus libero, nec adipiscing libero placerat at. Ut eget sem eu eros mollis varius. Sed feugiat libero ac posuere vehicula. Maecenas ipsum nisl, tincidunt eget molestie nec, consectetur at quam. Cras fringilla tincidunt mi, quis hendrerit lorem semper sed. Fusce est urna, fringilla non erat ut, sollicitudin scelerisque nisl. Nullam ultricies in massa blandit consequat.
|
28
|
-
Donec vitae sagittis eros, et feugiat eros. Duis et condimentum dolor, fermentum imperdiet neque. Aenean dignissim fermentum gravida. Integer ac interdum sapien, in placerat risus. Vivamus sodales hendrerit dolor, quis semper diam porta molestie. Integer vitae nisi sollicitudin, porta orci tincidunt, tempor nibh. Nam elementum adipiscing diam, ut pharetra lectus tristique quis.
|
29
|
-
Mauris arcu mauris, pulvinar vitae tortor vitae, aliquet porta tellus. Pellentesque vel venenatis enim. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean iaculis pellentesque arcu, et consequat quam tincidunt et. Vivamus et malesuada neque. Donec tincidunt ligula ipsum, vitae commodo purus elementum at. Vestibulum aliquet vestibulum nibh eget iaculis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum scelerisque rhoncus augue, quis vestibulum nulla sollicitudin eget. Proin eget pretium nibh, sit amet laoreet orci. Curabitur metus tellus, ultrices ac feugiat eu, facilisis et nisl. Ut facilisis rhoncus purus. Suspendisse tempus at arcu eu accumsan. Quisque nec lacinia lacus. Maecenas risus risus, sagittis eget augue pellentesque, accumsan posuere ante. Sed nisi est, rutrum vitae vestibulum a, cursus at nibh.
|
30
|
-
Nunc nec dolor vulputate, luctus urna sit amet, fringilla risus. Nunc porttitor, mauris lacinia faucibus fringilla, metus nulla vestibulum metus, sit amet scelerisque justo nisi eu purus. Etiam laoreet pulvinar risus, ut ornare orci dictum tempus. Aenean ac placerat turpis. Nulla consectetur purus massa, quis ullamcorper eros ultricies nec. Curabitur commodo velit augue, vel rhoncus justo posuere in. Curabitur in sem convallis nibh consequat interdum. Mauris velit purus, luctus quis diam quis, placerat suscipit tellus. Fusce varius, erat eget rutrum accumsan, orci dui tincidunt turpis, at sollicitudin tellus nulla eu metus. Integer pulvinar tempus pulvinar.
|
31
|
-
Quisque id augue ut nibh scelerisque dignissim. Morbi quis dui non felis consectetur vestibulum vitae quis est. Pellentesque in viverra tortor, et ultrices ligula. Donec vitae lorem massa. Curabitur urna est, tempor nec felis sit amet, eleifend aliquam diam. Curabitur adipiscing metus lacus, quis mollis augue tincidunt id. Nulla id vulputate est. Morbi eu tortor vel tellus semper lacinia non et sapien.
|
32
|
-
Ut euismod enim non mi eleifend mollis. Mauris at elit sollicitudin, placerat mauris eget, ultricies elit. Ut tincidunt pretium nisi vitae tincidunt. Sed neque ante, ornare at massa in, consequat placerat elit. Suspendisse vulputate aliquam magna non viverra. Proin malesuada commodo sem, et ultricies metus accumsan et. Integer nec lorem sapien. Ut auctor ipsum sed velit hendrerit dictum. Mauris vel ipsum et eros hendrerit porttitor. Curabitur et fringilla libero, eget faucibus dui. Sed vitae odio interdum urna euismod tempor et quis augue. Phasellus egestas nec dolor eget viverra. Aenean aliquam sapien a volutpat convallis. Morbi vestibulum suscipit lectus, ac suscipit ante sodales nec.
|
33
|
-
Aliquam blandit justo at nibh tincidunt bibendum. Fusce mi nunc, mattis in pulvinar ac, accumsan eget turpis. Donec pellentesque mauris eget metus cursus placerat eget at urna. Aenean augue risus, vestibulum id nisl et, feugiat posuere sem. Cras pharetra felis sed luctus bibendum. Curabitur posuere tincidunt mi in ullamcorper. Praesent nec egestas nisi. Nunc porta enim sed viverra posuere. In varius ipsum non turpis ultricies, quis consequat lorem volutpat. Aenean dui eros, semper a urna vitae, aliquam congue ligula. Nullam nec venenatis nisi, eget pellentesque diam. Morbi laoreet feugiat massa, eget aliquet nisi aliquam eu. Nunc rutrum magna nulla, eget vestibulum ipsum dapibus ac. In consequat erat quis felis dapibus egestas. Quisque eget faucibus quam. Sed convallis lorem felis, sit amet sodales tellus eleifend non.
|
34
|
-
Praesent velit est, faucibus vitae mollis consequat, sagittis ut nisl. In eu fringilla orci, sed tristique lorem. Aliquam adipiscing posuere neque vitae auctor. Praesent vulputate quam at nisi elementum aliquam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean tempus tristique lorem imperdiet varius. Donec sagittis, massa quis lobortis convallis, mauris quam commodo sapien, eget ornare dolor tellus vel elit. Pellentesque eros nulla, ornare id magna a, sodales tincidunt nisi. Morbi ut pellentesque nisl. Etiam interdum urna in tellus egestas rutrum.
|
35
|
-
Sed tortor mauris, bibendum a lacus in, laoreet dignissim mauris. Suspendisse eu libero eget dolor rutrum pharetra. Nulla dictum tellus eu elementum pretium. Nulla lacinia vestibulum quam eget molestie. Etiam fermentum imperdiet fermentum. Morbi vulputate nibh ac pulvinar tempor. Sed pulvinar gravida risus eget varius.
|
36
|
-
EOL
|
37
|
-
_text.reload
|
38
|
-
_text.value.should == <<EOL
|
39
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vitae neque id arcu condimentum viverra et congue felis. Proin mollis tortor orci. Mauris viverra tincidunt nibh, pulvinar aliquet erat vestibulum id. Praesent dui nisl, vehicula vel magna sit amet, dictum feugiat turpis. Donec euismod tellus a arcu fringilla lacinia laoreet vitae risus. Phasellus consectetur consequat erat sed congue. Nam facilisis convallis sapien, et placerat nunc cursus id. Sed interdum dui et mi tristique posuere. Sed nibh purus, laoreet ac venenatis in, condimentum in urna. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nulla sed arcu non enim condimentum accumsan. Etiam rutrum dapibus purus, non vehicula neque ornare eget.
|
40
|
-
Mauris eu urna suscipit, rhoncus mi eget, euismod diam. Fusce pellentesque, orci a laoreet viverra, magna ipsum porta odio, at fermentum felis quam vel velit. Ut non aliquet urna. Ut lacus odio, varius sed erat in, molestie ultricies odio. Sed iaculis, felis id euismod ornare, ligula massa lobortis orci, nec egestas mi nunc pharetra risus. Quisque vel est nec leo congue scelerisque. Vivamus vel nisl et justo pulvinar consequat. In vel dapibus diam. Aliquam interdum felis non sagittis feugiat.
|
41
|
-
Quisque faucibus massa ac odio vehicula rutrum. Phasellus vel gravida mauris, ac dictum nisi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed dictum ultrices vulputate. Etiam a lacus eu nibh vulputate laoreet viverra id augue. Aliquam vulputate, mauris non vestibulum imperdiet, nulla eros dignissim enim, ut pretium velit eros vitae erat. Phasellus lacus urna, blandit non tortor et, convallis cursus elit. In hac habitasse platea dictumst.
|
42
|
-
Donec posuere nulla sed lectus congue, in scelerisque tortor fermentum. In ut diam quam. Nulla leo lectus, fringilla id fermentum commodo, laoreet et justo. Curabitur sagittis justo facilisis odio varius, non feugiat felis dapibus. Pellentesque condimentum turpis non mi egestas varius sed nec felis. Nullam sit amet est elementum nisi iaculis congue ut posuere elit. Pellentesque a dolor turpis. Donec venenatis, enim id venenatis placerat, augue metus rutrum arcu, in varius dui leo sit amet purus. Integer non purus pellentesque, vestibulum nunc ac, laoreet sapien. Proin ut lacus at eros mattis sagittis. Duis sit amet ante odio.
|
43
|
-
Donec porttitor porta consectetur. Pellentesque nec erat eu arcu interdum vehicula ut eu dolor. Fusce varius velit nisl, a lacinia lectus gravida a. Aenean sollicitudin, enim nec iaculis eleifend, magna leo facilisis nisl, at sagittis odio arcu ac mi. Etiam hendrerit in tellus et aliquam. Phasellus nec nunc et quam dignissim euismod. Phasellus faucibus congue elit, sed adipiscing justo. Proin eu posuere lectus, vitae lacinia lectus. Aenean nec elit ante. Proin eget sollicitudin nulla. Ut luctus tellus a arcu imperdiet, id ullamcorper ante elementum.
|
44
|
-
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Maecenas porta odio eu ullamcorper ornare. Etiam pretium risus faucibus, lacinia lorem a, luctus magna. Vestibulum sed ipsum odio. Cras non rutrum lorem. Sed nec dolor auctor, scelerisque dui sed, venenatis erat. Nullam viverra neque id lacus molestie consequat. Ut porta, dolor et bibendum ullamcorper, nibh dolor tincidunt mauris, a pretium eros nunc vitae tortor.
|
45
|
-
In at diam lectus. Suspendisse felis lorem, rhoncus porta venenatis non, dignissim id nunc. Nulla lobortis adipiscing turpis, sed porta ligula aliquam ac. Aliquam odio erat, pellentesque sit amet odio ut, ornare elementum sapien. Nunc a varius nunc. Ut sit amet elit ac augue eleifend cursus. Curabitur et lectus eros. Donec vitae accumsan purus. Suspendisse non tempus libero, pretium imperdiet elit.
|
46
|
-
Nam ut massa commodo, convallis metus suscipit, tristique risus. Curabitur in enim blandit, porta eros eget, lobortis nunc. Nam ultrices est orci. Duis feugiat ipsum a scelerisque vulputate. Quisque enim nunc, iaculis quis convallis pretium, tincidunt vel enim. Praesent sollicitudin orci lobortis ipsum tempor, in vulputate leo adipiscing. Phasellus eu pulvinar ante. Nam auctor quam risus, eget porta nisi tempus vel. Suspendisse tristique quam purus, vitae blandit libero luctus nec. Ut nulla ligula, blandit non odio ut, hendrerit posuere tellus. Curabitur erat arcu, interdum nec consequat in, porta fermentum libero. Nam eros justo, aliquam sed tincidunt nec, congue eget dolor. Donec adipiscing non mauris sodales lacinia. Vestibulum id arcu sapien. Aliquam lacinia urna sed lobortis egestas.
|
47
|
-
Nulla elit tellus, pretium eget magna a, tincidunt rhoncus lorem. Nunc rhoncus ullamcorper mi ut semper. Fusce eleifend lacus ut nisi accumsan vulputate. Donec eget mauris quis urna eleifend placerat id id orci. Etiam tempor, neque sed pellentesque volutpat, eros mi accumsan ligula, ut convallis dui risus sit amet tellus. Suspendisse consectetur tempus sodales. Morbi id elit mi. In semper sit amet risus in tempor. Suspendisse molestie augue erat, vitae malesuada justo lobortis et. Quisque tincidunt, arcu mollis lacinia fringilla, felis justo tempor purus, ac adipiscing odio mauris eu arcu. Phasellus id lectus quis nunc sollicitudin pellentesque vel fringilla augue. Pellentesque molestie augue a ipsum lacinia ullamcorper. Sed fermentum dapibus lacus non pharetra.
|
48
|
-
Integer orci nibh, porta ut pulvinar et, consectetur vulputate massa. Nulla varius leo purus, vitae fermentum ante ornare sed. Quisque sed laoreet odio. Nulla gravida eu risus ac accumsan. Curabitur iaculis sem eleifend ipsum ullamcorper venenatis. Aenean sed lacus aliquet, pellentesque libero sit amet, porttitor mauris. Maecenas aliquet quam a leo gravida sollicitudin. Suspendisse sit amet dolor aliquam, rutrum neque eget, eleifend nisl. Sed varius tempor quam, nec pulvinar ante sagittis ac. Curabitur vel luctus velit. Cras faucibus ligula quis augue dictum, ultricies scelerisque magna posuere. Praesent eget vestibulum neque, mollis hendrerit ligula. Pellentesque lacus justo, posuere ac tincidunt dictum, vulputate in lectus.
|
49
|
-
Integer scelerisque, est ut pellentesque euismod, dui nisi tristique arcu, a congue nulla neque sit amet arcu. Nam in porta nisl, vel rutrum dui. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus sit amet eros augue. Donec at massa eget neque iaculis viverra. Aenean posuere placerat porttitor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec ut vestibulum neque. Nulla tincidunt aliquam sagittis. Cras placerat placerat ipsum nec interdum. Nullam hendrerit augue in sem bibendum malesuada. Integer vel purus non enim dapibus lobortis nec at ligula. Proin turpis leo, condimentum non rutrum at, varius at elit. Nullam sollicitudin non quam at dictum. Morbi sapien lorem, tempus non sem sed, sodales tempus leo.
|
50
|
-
Phasellus ligula lorem, porttitor ac felis eget, fringilla consectetur arcu. Integer molestie nulla dui, vitae convallis dui vehicula suscipit. Proin aliquet eleifend leo ac scelerisque. Cras convallis cursus libero, nec adipiscing libero placerat at. Ut eget sem eu eros mollis varius. Sed feugiat libero ac posuere vehicula. Maecenas ipsum nisl, tincidunt eget molestie nec, consectetur at quam. Cras fringilla tincidunt mi, quis hendrerit lorem semper sed. Fusce est urna, fringilla non erat ut, sollicitudin scelerisque nisl. Nullam ultricies in massa blandit consequat.
|
51
|
-
Donec vitae sagittis eros, et feugiat eros. Duis et condimentum dolor, fermentum imperdiet neque. Aenean dignissim fermentum gravida. Integer ac interdum sapien, in placerat risus. Vivamus sodales hendrerit dolor, quis semper diam porta molestie. Integer vitae nisi sollicitudin, porta orci tincidunt, tempor nibh. Nam elementum adipiscing diam, ut pharetra lectus tristique quis.
|
52
|
-
Mauris arcu mauris, pulvinar vitae tortor vitae, aliquet porta tellus. Pellentesque vel venenatis enim. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean iaculis pellentesque arcu, et consequat quam tincidunt et. Vivamus et malesuada neque. Donec tincidunt ligula ipsum, vitae commodo purus elementum at. Vestibulum aliquet vestibulum nibh eget iaculis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum scelerisque rhoncus augue, quis vestibulum nulla sollicitudin eget. Proin eget pretium nibh, sit amet laoreet orci. Curabitur metus tellus, ultrices ac feugiat eu, facilisis et nisl. Ut facilisis rhoncus purus. Suspendisse tempus at arcu eu accumsan. Quisque nec lacinia lacus. Maecenas risus risus, sagittis eget augue pellentesque, accumsan posuere ante. Sed nisi est, rutrum vitae vestibulum a, cursus at nibh.
|
53
|
-
Nunc nec dolor vulputate, luctus urna sit amet, fringilla risus. Nunc porttitor, mauris lacinia faucibus fringilla, metus nulla vestibulum metus, sit amet scelerisque justo nisi eu purus. Etiam laoreet pulvinar risus, ut ornare orci dictum tempus. Aenean ac placerat turpis. Nulla consectetur purus massa, quis ullamcorper eros ultricies nec. Curabitur commodo velit augue, vel rhoncus justo posuere in. Curabitur in sem convallis nibh consequat interdum. Mauris velit purus, luctus quis diam quis, placerat suscipit tellus. Fusce varius, erat eget rutrum accumsan, orci dui tincidunt turpis, at sollicitudin tellus nulla eu metus. Integer pulvinar tempus pulvinar.
|
54
|
-
Quisque id augue ut nibh scelerisque dignissim. Morbi quis dui non felis consectetur vestibulum vitae quis est. Pellentesque in viverra tortor, et ultrices ligula. Donec vitae lorem massa. Curabitur urna est, tempor nec felis sit amet, eleifend aliquam diam. Curabitur adipiscing metus lacus, quis mollis augue tincidunt id. Nulla id vulputate est. Morbi eu tortor vel tellus semper lacinia non et sapien.
|
55
|
-
Ut euismod enim non mi eleifend mollis. Mauris at elit sollicitudin, placerat mauris eget, ultricies elit. Ut tincidunt pretium nisi vitae tincidunt. Sed neque ante, ornare at massa in, consequat placerat elit. Suspendisse vulputate aliquam magna non viverra. Proin malesuada commodo sem, et ultricies metus accumsan et. Integer nec lorem sapien. Ut auctor ipsum sed velit hendrerit dictum. Mauris vel ipsum et eros hendrerit porttitor. Curabitur et fringilla libero, eget faucibus dui. Sed vitae odio interdum urna euismod tempor et quis augue. Phasellus egestas nec dolor eget viverra. Aenean aliquam sapien a volutpat convallis. Morbi vestibulum suscipit lectus, ac suscipit ante sodales nec.
|
56
|
-
Aliquam blandit justo at nibh tincidunt bibendum. Fusce mi nunc, mattis in pulvinar ac, accumsan eget turpis. Donec pellentesque mauris eget metus cursus placerat eget at urna. Aenean augue risus, vestibulum id nisl et, feugiat posuere sem. Cras pharetra felis sed luctus bibendum. Curabitur posuere tincidunt mi in ullamcorper. Praesent nec egestas nisi. Nunc porta enim sed viverra posuere. In varius ipsum non turpis ultricies, quis consequat lorem volutpat. Aenean dui eros, semper a urna vitae, aliquam congue ligula. Nullam nec venenatis nisi, eget pellentesque diam. Morbi laoreet feugiat massa, eget aliquet nisi aliquam eu. Nunc rutrum magna nulla, eget vestibulum ipsum dapibus ac. In consequat erat quis felis dapibus egestas. Quisque eget faucibus quam. Sed convallis lorem felis, sit amet sodales tellus eleifend non.
|
57
|
-
Praesent velit est, faucibus vitae mollis consequat, sagittis ut nisl. In eu fringilla orci, sed tristique lorem. Aliquam adipiscing posuere neque vitae auctor. Praesent vulputate quam at nisi elementum aliquam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aenean tempus tristique lorem imperdiet varius. Donec sagittis, massa quis lobortis convallis, mauris quam commodo sapien, eget ornare dolor tellus vel elit. Pellentesque eros nulla, ornare id magna a, sodales tincidunt nisi. Morbi ut pellentesque nisl. Etiam interdum urna in tellus egestas rutrum.
|
58
|
-
Sed tortor mauris, bibendum a lacus in, laoreet dignissim mauris. Suspendisse eu libero eget dolor rutrum pharetra. Nulla dictum tellus eu elementum pretium. Nulla lacinia vestibulum quam eget molestie. Etiam fermentum imperdiet fermentum. Morbi vulputate nibh ac pulvinar tempor. Sed pulvinar gravida risus eget varius.
|
59
|
-
EOL
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
File without changes
|
data/spec/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
data/spec/dummy/Rakefile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// the compiled file.
|
9
|
-
//
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
12
|
-
//
|
13
|
-
//= require jquery
|
14
|
-
//= require jquery_ujs
|
15
|
-
//= require_tree .
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*= require_self
|
12
|
-
*= require_tree .
|
13
|
-
*/
|
File without changes
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
Hello world
|
data/spec/dummy/bin/bundle
DELETED
data/spec/dummy/bin/rails
DELETED
data/spec/dummy/bin/rake
DELETED
data/spec/dummy/config.ru
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require(*Rails.groups)
|
6
|
-
require "constructor-cms"
|
7
|
-
|
8
|
-
module Dummy
|
9
|
-
class Application < Rails::Application
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
11
|
-
# Application configuration should go into files in config/initializers
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
-
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
-
# config.i18n.default_locale = :de
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
data/spec/dummy/config/boot.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
development:
|
7
|
-
adapter: sqlite3
|
8
|
-
database: db/development.sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
# Warning: The database defined as "test" will be erased and
|
13
|
-
# re-generated from your development database when you run "rake".
|
14
|
-
# Do not set this db to the same as development or production.
|
15
|
-
test:
|
16
|
-
adapter: sqlite3
|
17
|
-
database: db/test.sqlite3
|
18
|
-
pool: 5
|
19
|
-
timeout: 5000
|
20
|
-
|
21
|
-
production:
|
22
|
-
adapter: sqlite3
|
23
|
-
database: db/production.sqlite3
|
24
|
-
pool: 5
|
25
|
-
timeout: 5000
|