paginas 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/paginas.js +5 -0
- data/app/controllers/paginas/application_controller.rb +3 -1
- data/app/controllers/paginas/categories_controller.rb +43 -0
- data/app/controllers/paginas/pages_controller.rb +10 -15
- data/app/helpers/paginas/application_helper.rb +41 -0
- data/app/helpers/paginas/categories_helper.rb +4 -0
- data/app/helpers/paginas/pages_helper.rb +0 -0
- data/app/models/paginas/category.rb +5 -0
- data/app/models/paginas/page.rb +1 -0
- data/app/views/paginas/categories/_form.html.erb +25 -0
- data/app/views/paginas/categories/edit.html.erb +6 -0
- data/app/views/paginas/categories/index.html.erb +31 -0
- data/app/views/paginas/categories/new.html.erb +5 -0
- data/app/views/paginas/categories/show.html.erb +18 -0
- data/app/views/paginas/pages/_form.html.erb +8 -0
- data/app/views/paginas/pages/display.html.erb +1 -1
- data/app/views/paginas/pages/featured.html.erb +1 -1
- data/app/views/paginas/pages/index.html.erb +2 -0
- data/app/views/paginas/pages/show.html.erb +2 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20150212133316_create_paginas_pages.rb +1 -1
- data/db/migrate/20150213135047_add_show_title_to_paginas_pages.rb +5 -0
- data/db/migrate/20150213154421_create_paginas_categories.rb +10 -0
- data/db/migrate/20150213155126_add_ref_to_paginas_pages.rb +5 -0
- data/lib/generators/paginas/views_generator.rb +2 -1
- data/lib/paginas.rb +0 -1
- data/lib/paginas/version.rb +1 -1
- data/test/controllers/paginas/categories_controller_test.rb +51 -0
- data/test/dummy/app/views/layouts/application.html.erb +2 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +15 -4
- data/test/dummy/log/development.log +7107 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0 +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- data/test/dummy2/README.rdoc +28 -0
- data/test/dummy2/Rakefile +6 -0
- data/test/dummy2/app/assets/javascripts/application.js +14 -0
- data/test/dummy2/app/assets/stylesheets/application.css +15 -0
- data/test/dummy2/app/controllers/application_controller.rb +5 -0
- data/test/dummy2/app/controllers/categories_controller.rb +2 -0
- data/test/dummy2/app/controllers/pages_controller.rb +2 -0
- data/test/dummy2/app/helpers/application_helper.rb +2 -0
- data/test/dummy2/app/views/layouts/application.html.erb +16 -0
- data/test/dummy2/app/views/paginas/categories/_form.html.erb +25 -0
- data/test/dummy2/app/views/paginas/categories/edit.html.erb +6 -0
- data/test/dummy2/app/views/paginas/categories/index.html.erb +31 -0
- data/test/dummy2/app/views/paginas/categories/new.html.erb +5 -0
- data/test/dummy2/app/views/paginas/categories/show.html.erb +18 -0
- data/test/{dummy → dummy2}/app/views/paginas/pages/_form.html.erb +8 -0
- data/test/dummy2/app/views/paginas/pages/display.html.erb +2 -0
- data/test/{dummy → dummy2}/app/views/paginas/pages/edit.html.erb +0 -0
- data/test/{dummy → dummy2}/app/views/paginas/pages/featured.html.erb +1 -1
- data/test/{dummy → dummy2}/app/views/paginas/pages/index.html.erb +2 -0
- data/test/{dummy → dummy2}/app/views/paginas/pages/new.html.erb +0 -0
- data/test/{dummy → dummy2}/app/views/paginas/pages/show.html.erb +2 -0
- data/{app → test/dummy2/app}/views/paginas/shared/keep +0 -0
- data/test/dummy2/bin/bundle +3 -0
- data/test/dummy2/bin/rails +4 -0
- data/test/dummy2/bin/rake +4 -0
- data/test/dummy2/bin/setup +29 -0
- data/test/dummy2/categories/_form.html.erb +38 -0
- data/test/dummy2/categories/display.html.erb +2 -0
- data/test/dummy2/categories/edit.html.erb +6 -0
- data/test/dummy2/categories/featured.html.erb +5 -0
- data/test/dummy2/categories/index.html.erb +31 -0
- data/test/dummy2/categories/new.html.erb +5 -0
- data/test/dummy2/categories/show.html.erb +10 -0
- data/test/dummy2/config.ru +4 -0
- data/test/dummy2/config/application.rb +26 -0
- data/test/dummy2/config/boot.rb +5 -0
- data/test/dummy2/config/database.yml +25 -0
- data/test/dummy2/config/environment.rb +5 -0
- data/test/dummy2/config/environments/development.rb +41 -0
- data/test/dummy2/config/environments/production.rb +79 -0
- data/test/dummy2/config/environments/test.rb +42 -0
- data/test/dummy2/config/initializers/assets.rb +11 -0
- data/test/dummy2/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy2/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy2/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy2/config/initializers/inflections.rb +16 -0
- data/test/dummy2/config/initializers/mime_types.rb +4 -0
- data/test/dummy2/config/initializers/session_store.rb +3 -0
- data/test/dummy2/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy2/config/locales/en.yml +23 -0
- data/test/dummy2/config/routes.rb +4 -0
- data/test/dummy2/config/secrets.yml +22 -0
- data/test/dummy2/db/development.sqlite3 +0 -0
- data/test/dummy2/db/schema.rb +35 -0
- data/test/dummy2/log/development.log +8474 -0
- data/test/dummy2/public/404.html +67 -0
- data/test/dummy2/public/422.html +67 -0
- data/test/dummy2/public/500.html +66 -0
- data/test/dummy2/public/favicon.ico +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/005bd567a7d66421fbef453fe21291ef +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/0af4c8229b96d670ece643ab86d847fc +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/0b561bb0f5e27b0811d8f78da0b0a961 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/0d13d323f5ada0f6982ed7004e7b7956 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/0d47ad626385700d816d2237b60e4405 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/0ee8d3e5b36596acfcc7aac1e2c53afb +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/0f9097e7e4fe024b14ad4ae2a74ac107 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/1551e0fd7a443780df1664ebdeb18ac1 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/1a00a5d48b33b4f7efca9b6bbdd63bcd +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/21011cd5ad02024ed642796a38699cb5 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/2335821218ad3f7fb88a7e033bd928d3 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/2a6137c114f81313e7f4d24aabf5f742 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/31007be9c9b15ceb79a3575e593f1666 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/34c30def6edca7cd4ccc028324e69732 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/3ccca1a97ac09ec192a60c94fa00adb3 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/3f9f0b85e5027ef9cabe4fc1f96b9a67 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/41485660f2da3e5246495eca44b5d586 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/43a987fa7ec0cbb1e8a6bd5e3a4e4b8d +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/479d3bb4bd6dcf93c1f6fd7fc4e8f484 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/4ccd723c93040294ae2c7d4bdd241927 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/5549bda2a1379ba359a508ac6eef4fed +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/591767e1239aceceb8eae71f91d40c2c +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/5ca1d924e33e6d2326ea666473d1b957 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/614d6dfbd87dfef1f5409cdf648b4ef8 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/6870a0f5e39c9a385cd7d42d1eacc23a +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/68a9c8d9374226e8006a035b0fdc68d6 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/68d83dd802c75113a5e2d20da57bb19f +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/6aff79b1163157bafd663772e01e02b9 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/6ff1394e29e0bf6efa5e2aaaa5599857 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/74e2e79aaabf24d2f9c9c0db1a848506 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/7796585c12a75e75f99a2ce3d64f3685 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/79f273cae0828923dde1ef8c2398a097 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/7e4eb3e4ae47796be38b017098742457 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/8591abf6e2c5e4c2c9a5d9cba884191d +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/85c1359d66fb12cd68b8606117cd98ba +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/8f19f695aa102b3306cd7bc524877aaf +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/9245581aa4bb65f432f558fab76a6394 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/a056f25be69aad65535c6119795b97a7 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/a0a7a60c30730860ddb157961fa79cc6 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/a4f760a14b35ee198d29bdc6657a6d61 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/a868a2b2a5302aeed2e5608d656d5ff4 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/a9cc70badbab7d39abf8d96de550f53d +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/abc2c4b52cfa5dec5d6d5f5bac7f7d7f +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/b0d1d14e7cf764cbc39a931d8dd3f2de +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/b265df7d299afb2b854d0d677f534b64 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/bac590af4a9c32bd96a7954f161597fd +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/c2a90a25a0d9740bacd317b21a773000 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/cb0b8f15d2f703e80dad62daa69e27b1 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/cd5ec00cd445991e3f11ed6c5736cb63 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/cd7fd8f917317ac993444f56a0dd0259 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/cfa9226df92e47e7f6cb7b5668b8bad2 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/d05c052069448c7d8dce96727613e470 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/d3ae97f3eebfface2dbfa809fff4cb9f +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/da017253c0d60d236728d78f022cd203 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/e6081e190935ce01a7b64d0bcc7a8912 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/ec454ae07815a55a5b9bb5d5eb9de78b +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/f0089f75e018e7d19b6fe81ab885cd8e +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/f5afae3a18a58341a8853b2f935b2b5e +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/f760d05f8aef4eb68d32f2a6aee2cb7d +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/fd1680f1ef8200c9748a7ad805cd4c75 +0 -0
- data/test/dummy2/tmp/cache/assets/development/sprockets/fd3186407a9ce29b3b8f07f85f2dede0 +0 -0
- data/test/fixtures/paginas/categories.yml +9 -0
- data/test/models/paginas/category_test.rb +9 -0
- metadata +323 -19
- data/app/assets/javascripts/paginas/pages.js +0 -2
- data/app/assets/stylesheets/paginas/pages.css +0 -4
- data/test/dummy/app/views/paginas/pages/display.html.erb +0 -2
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.