fuel 0.3.27 → 0.3.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/app/assets/stylesheets/fuel/base/_layout.scss +5 -0
  4. data/app/assets/stylesheets/fuel/components/_application-icons.scss +0 -1
  5. data/app/assets/stylesheets/fuel/components/_card.scss +14 -0
  6. data/app/assets/stylesheets/fuel/components/_editor.scss +29 -68
  7. data/app/assets/stylesheets/fuel/components/_forms.scss +18 -1
  8. data/app/assets/stylesheets/fuel/components/_sliding-panel.scss +10 -0
  9. data/app/models/fuel/author.rb +9 -1
  10. data/app/models/fuel/post.rb +5 -1
  11. data/app/views/fuel/admin/posts/_editor.html.erb +3 -4
  12. data/app/views/fuel/admin/posts/_form.html.erb +23 -22
  13. data/app/views/fuel/admin/posts/_post_preview.html.erb +4 -4
  14. data/lib/fuel/version.rb +1 -1
  15. data/spec/controllers/fuel/admin/posts_controller_spec.rb +133 -0
  16. data/spec/controllers/fuel/posts_controller_spec.rb +53 -0
  17. data/spec/dummy/README.rdoc +28 -0
  18. data/spec/dummy/Rakefile +6 -0
  19. data/spec/dummy/app/assets/images/headshots/brendan.jpg +0 -0
  20. data/spec/dummy/app/assets/images/headshots/dave.jpg +0 -0
  21. data/spec/dummy/app/assets/images/headshots/jack.jpg +0 -0
  22. data/spec/dummy/app/assets/images/headshots/katie.jpg +0 -0
  23. data/spec/dummy/app/assets/images/headshots/kurt.jpg +0 -0
  24. data/spec/dummy/app/assets/images/headshots/monique.jpg +0 -0
  25. data/spec/dummy/app/assets/images/headshots/rocket.png +0 -0
  26. data/spec/dummy/app/assets/images/headshots/ryan.jpg +0 -0
  27. data/spec/dummy/app/assets/images/headshots/scott.jpg +0 -0
  28. data/spec/dummy/app/assets/images/headshots/tom.jpg +0 -0
  29. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  30. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  31. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  32. data/spec/dummy/app/helpers/application_helper.rb +3 -0
  33. data/spec/dummy/app/views/layouts/_header.html.erb +1 -0
  34. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  35. data/spec/dummy/bin/bundle +3 -0
  36. data/spec/dummy/bin/rails +4 -0
  37. data/spec/dummy/bin/rake +4 -0
  38. data/spec/dummy/config.ru +4 -0
  39. data/spec/dummy/config/application.rb +23 -0
  40. data/spec/dummy/config/boot.rb +5 -0
  41. data/spec/dummy/config/database.yml +25 -0
  42. data/spec/dummy/config/environment.rb +5 -0
  43. data/spec/dummy/config/environments/development.rb +29 -0
  44. data/spec/dummy/config/environments/production.rb +80 -0
  45. data/spec/dummy/config/environments/test.rb +36 -0
  46. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/spec/dummy/config/initializers/friendly_id.rb +88 -0
  49. data/spec/dummy/config/initializers/fuel.rb +45 -0
  50. data/spec/dummy/config/initializers/inflections.rb +16 -0
  51. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  52. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  53. data/spec/dummy/config/initializers/session_store.rb +3 -0
  54. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  55. data/spec/dummy/config/locales/en.yml +23 -0
  56. data/spec/dummy/config/routes.rb +6 -0
  57. data/spec/dummy/db/development.sqlite3 +0 -0
  58. data/spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb +16 -0
  59. data/spec/dummy/db/migrate/20150616184609_add_featured_image_field.fuel.rb +6 -0
  60. data/spec/dummy/db/migrate/20150616184610_add_teaser_to_posts.fuel.rb +6 -0
  61. data/spec/dummy/db/migrate/20150616184611_add_featured_image_to_posts.fuel.rb +11 -0
  62. data/spec/dummy/db/migrate/20150616184612_add_seo_fields_to_post.fuel.rb +7 -0
  63. data/spec/dummy/db/migrate/20150616184613_add_posted_at_to_posts.fuel.rb +6 -0
  64. data/spec/dummy/db/migrate/20150616184614_create_fuel_authors.fuel.rb +14 -0
  65. data/spec/dummy/db/migrate/20150616184615_add_author_id_to_posts.fuel.rb +6 -0
  66. data/spec/dummy/db/migrate/20150616184616_add_contact_methods_to_authors.fuel.rb +9 -0
  67. data/spec/dummy/db/migrate/20150616184617_add_published_at_to_fuel_posts.fuel.rb +6 -0
  68. data/spec/dummy/db/migrate/20150616184618_remove_posted_at_from_fuel_posts.fuel.rb +6 -0
  69. data/spec/dummy/db/migrate/20150616184619_add_start_date_to_authors.fuel.rb +6 -0
  70. data/spec/dummy/db/schema.rb +57 -0
  71. data/spec/dummy/db/test.sqlite3 +0 -0
  72. data/spec/dummy/lib/tasks/import_blog.rake +13 -0
  73. data/spec/dummy/log/development.log +0 -0
  74. data/spec/dummy/log/test.log +5441 -0
  75. data/spec/dummy/public/404.html +58 -0
  76. data/spec/dummy/public/422.html +58 -0
  77. data/spec/dummy/public/500.html +57 -0
  78. data/spec/dummy/public/favicon.ico +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/admin.css.sassc +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/application.css.scssc +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.sassc +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/014dac3985653ba3455824e5bdaf93bd +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/03ac2f751ed77389257433b768f934c3 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/05c5819ebb446d33153d21337d3a20ad +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/308795da63b7e95bd0f55cecedd62d94 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/3865b2b2d5132e0ea4ed29815b482dce +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/3a8a9a4ef7dd450b1cf686b461bb5245 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/3ebee12608c20315d8de4675220e3d04 +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/4498ae7c9df269c897e3280835f07167 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/5191f0a9c44f6502f1b23c4e717ea384 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/5562fe0dd779e67464c82bf5f677b926 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/70c9660e2c4d5e5a677d36620d59df7c +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/741e06bd7a3e5bc32d44a86b156237b4 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/78148fb54f92bb724386c0cbf866bf8b +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/7cb8cf7fca54a9d0c860db5e7a874fa9 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/89c5e5ef520aeb480b2c370cd95e4aa3 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/9501761eef62112c4a992aa52331b52f +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/970522fbbd63cf689683466c5196857f +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/9e6bbc6ad4182b36488ed894b2cf25af +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/9f4599bbfc23ec621d87974b1cb749e3 +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/9f6c8d6fbf570cfe1a06179461b0de2d +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/a97bc057d70e3604312a80f169e9e6e9 +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/bc12f5ee1ab1f3f41620171e56218d6f +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/bfa298bb2836528bc682672f2a549707 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/c0b400cdc41be57879274baf7d92b911 +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/c21e7a5dd39166b6f02a10131e7b60a5 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/c78d634ffc32ae4fadbe52ac7ca08aac +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/d7fb93600298f6787c9defd51a75aeb5 +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/d85f307de0f4da9bd598243e1f505804 +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/d9ff247d231468f7dc28844500bc20aa +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/f089ae120c22843da39b636bfc4b8e01 +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  119. data/spec/factories.rb +18 -0
  120. data/spec/fixtures/fuel/posts.yml +17 -0
  121. data/spec/helpers/fuel/posts_helper_test.rb +6 -0
  122. data/spec/integration/navigation_test.rb +10 -0
  123. data/spec/models/fuel/post_spec.rb +44 -0
  124. data/spec/spec_helper.rb +63 -0
  125. metadata +236 -7
  126. data/README.rdoc +0 -3
  127. data/test/fixtures/fuel/authors.yml +0 -11
  128. data/test/models/fuel/author_test.rb +0 -7
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = Fuel
2
-
3
- This project rocks and uses MIT-LICENSE.
@@ -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
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class Fuel::AuthorTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end