fuel 0.3.27 → 0.3.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/assets/stylesheets/fuel/base/_layout.scss +5 -0
- data/app/assets/stylesheets/fuel/components/_application-icons.scss +0 -1
- data/app/assets/stylesheets/fuel/components/_card.scss +14 -0
- data/app/assets/stylesheets/fuel/components/_editor.scss +29 -68
- data/app/assets/stylesheets/fuel/components/_forms.scss +18 -1
- data/app/assets/stylesheets/fuel/components/_sliding-panel.scss +10 -0
- data/app/models/fuel/author.rb +9 -1
- data/app/models/fuel/post.rb +5 -1
- data/app/views/fuel/admin/posts/_editor.html.erb +3 -4
- data/app/views/fuel/admin/posts/_form.html.erb +23 -22
- data/app/views/fuel/admin/posts/_post_preview.html.erb +4 -4
- data/lib/fuel/version.rb +1 -1
- data/spec/controllers/fuel/admin/posts_controller_spec.rb +133 -0
- data/spec/controllers/fuel/posts_controller_spec.rb +53 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/headshots/brendan.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/dave.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/jack.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/katie.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/kurt.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/monique.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/rocket.png +0 -0
- data/spec/dummy/app/assets/images/headshots/ryan.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/scott.jpg +0 -0
- data/spec/dummy/app/assets/images/headshots/tom.jpg +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +3 -0
- data/spec/dummy/app/views/layouts/_header.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/friendly_id.rb +88 -0
- data/spec/dummy/config/initializers/fuel.rb +45 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +6 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb +16 -0
- data/spec/dummy/db/migrate/20150616184609_add_featured_image_field.fuel.rb +6 -0
- data/spec/dummy/db/migrate/20150616184610_add_teaser_to_posts.fuel.rb +6 -0
- data/spec/dummy/db/migrate/20150616184611_add_featured_image_to_posts.fuel.rb +11 -0
- data/spec/dummy/db/migrate/20150616184612_add_seo_fields_to_post.fuel.rb +7 -0
- data/spec/dummy/db/migrate/20150616184613_add_posted_at_to_posts.fuel.rb +6 -0
- data/spec/dummy/db/migrate/20150616184614_create_fuel_authors.fuel.rb +14 -0
- data/spec/dummy/db/migrate/20150616184615_add_author_id_to_posts.fuel.rb +6 -0
- data/spec/dummy/db/migrate/20150616184616_add_contact_methods_to_authors.fuel.rb +9 -0
- data/spec/dummy/db/migrate/20150616184617_add_published_at_to_fuel_posts.fuel.rb +6 -0
- data/spec/dummy/db/migrate/20150616184618_remove_posted_at_from_fuel_posts.fuel.rb +6 -0
- data/spec/dummy/db/migrate/20150616184619_add_start_date_to_authors.fuel.rb +6 -0
- data/spec/dummy/db/schema.rb +57 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/tasks/import_blog.rake +13 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +5441 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/admin.css.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/014dac3985653ba3455824e5bdaf93bd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/03ac2f751ed77389257433b768f934c3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/05c5819ebb446d33153d21337d3a20ad +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/308795da63b7e95bd0f55cecedd62d94 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3865b2b2d5132e0ea4ed29815b482dce +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3a8a9a4ef7dd450b1cf686b461bb5245 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3ebee12608c20315d8de4675220e3d04 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4498ae7c9df269c897e3280835f07167 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5191f0a9c44f6502f1b23c4e717ea384 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5562fe0dd779e67464c82bf5f677b926 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/70c9660e2c4d5e5a677d36620d59df7c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/741e06bd7a3e5bc32d44a86b156237b4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/78148fb54f92bb724386c0cbf866bf8b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7cb8cf7fca54a9d0c860db5e7a874fa9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/89c5e5ef520aeb480b2c370cd95e4aa3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9501761eef62112c4a992aa52331b52f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/970522fbbd63cf689683466c5196857f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9e6bbc6ad4182b36488ed894b2cf25af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9f4599bbfc23ec621d87974b1cb749e3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9f6c8d6fbf570cfe1a06179461b0de2d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a97bc057d70e3604312a80f169e9e6e9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bc12f5ee1ab1f3f41620171e56218d6f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bfa298bb2836528bc682672f2a549707 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c0b400cdc41be57879274baf7d92b911 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c21e7a5dd39166b6f02a10131e7b60a5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c78d634ffc32ae4fadbe52ac7ca08aac +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d7fb93600298f6787c9defd51a75aeb5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d85f307de0f4da9bd598243e1f505804 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d9ff247d231468f7dc28844500bc20aa +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f089ae120c22843da39b636bfc4b8e01 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/factories.rb +18 -0
- data/spec/fixtures/fuel/posts.yml +17 -0
- data/spec/helpers/fuel/posts_helper_test.rb +6 -0
- data/spec/integration/navigation_test.rb +10 -0
- data/spec/models/fuel/post_spec.rb +44 -0
- data/spec/spec_helper.rb +63 -0
- metadata +236 -7
- data/README.rdoc +0 -3
- data/test/fixtures/fuel/authors.yml +0 -11
- data/test/models/fuel/author_test.rb +0 -7
data/README.rdoc
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
-
|
3
|
-
# This model initially had no columns defined. If you add columns to the
|
4
|
-
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
-
# below each fixture, per the syntax in the comments below
|
6
|
-
#
|
7
|
-
one: {}
|
8
|
-
# column: value
|
9
|
-
#
|
10
|
-
two: {}
|
11
|
-
# column: value
|