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
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/404.html -->
52
+ <div class="dialog">
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
data/spec/factories.rb ADDED
@@ -0,0 +1,18 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :post, class: Fuel::Post do
4
+ title "This is a title"
5
+ author "Ryan Francis"
6
+ tag "Coding"
7
+ content "Some content for a blog post"
8
+ published true
9
+
10
+ factory :invalid_post do
11
+ title nil
12
+ end
13
+ factory :unpublished_post do
14
+ published false
15
+ end
16
+ end
17
+
18
+ end
@@ -0,0 +1,17 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ tag: MyString
5
+ author: MyString
6
+ content: MyText
7
+ title: MyString
8
+ slug: MyString
9
+ published: false
10
+
11
+ two:
12
+ tag: MyString
13
+ author: MyString
14
+ content: MyText
15
+ title: MyString
16
+ slug: MyString
17
+ published: false
@@ -0,0 +1,6 @@
1
+ require 'spec_helper'
2
+
3
+ module Fuel
4
+ class PostsHelperTest < ActionView::TestCase
5
+ end
6
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,44 @@
1
+ require 'spec_helper'
2
+
3
+ module Fuel
4
+ describe Post do
5
+ it "is valid with a title, author, tag, content, and published" do
6
+ post = build(:post)
7
+ expect(post).to be_valid
8
+ end
9
+
10
+ required_attributes = [:title, :author, :content]
11
+ required_attributes.each do |attr|
12
+ it "is invalid without a #{attr}" do
13
+ post = build(:post, attr => nil)
14
+ expect(post).to have(1).errors_on(attr)
15
+ end
16
+ it "is valid without a #{attr} when not published (i.e. saved as a draft)" do
17
+ post = build(:post, attr => nil, published: false)
18
+ expect(post).to have(0).errors_on(attr)
19
+ end
20
+ end
21
+
22
+ describe "Scope recent published posts" do
23
+ before(:each) do
24
+ @num_published_posts = 3
25
+ @num_published_posts.times do |post|
26
+ create(:post)
27
+ end
28
+ create(:unpublished_post)
29
+ @posts = Fuel::Post.recent_published_posts
30
+ end
31
+ it "returns an array of posts" do
32
+ expect(@posts.count).to be > (0)
33
+ end
34
+ it "only displays published posts" do
35
+ expect(@posts.count).to eq(@num_published_posts)
36
+ end
37
+ it "sorts the posts by created_at datetime" do
38
+ is_ordered = @posts[0].created_at > @posts[1].created_at && @posts[1].created_at > @posts[2].created_at
39
+ expect(is_ordered).to be_true
40
+ end
41
+ end
42
+
43
+ end
44
+ end
@@ -0,0 +1,63 @@
1
+ # require 'codeclimate_env.rb'
2
+ # require 'codeclimate-test-reporter'
3
+ # CodeClimate::TestReporter.start
4
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
5
+ ENV["RAILS_ENV"] ||= 'test'
6
+ require File.expand_path('../dummy/config/environment', __FILE__)
7
+ require 'rspec/rails'
8
+ require 'factory_girl'
9
+ require 'factories'
10
+ require 'database_cleaner'
11
+ require 'rspec/autorun'
12
+ include Fuel
13
+ ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
14
+
15
+ RSpec.configure do |config|
16
+ # ## Mock Framework
17
+ #
18
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
19
+ #
20
+ # config.mock_with :mocha
21
+ # config.mock_with :flexmock
22
+ # config.mock_with :rr
23
+
24
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
25
+ # config.fixture_path = "#{::Rails.root}/spec/fixtures"
26
+
27
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
28
+ # examples within a transaction, remove the following line or assign false
29
+ # instead of true.
30
+ config.use_transactional_fixtures = false
31
+
32
+ # If true, the base class of anonymous controllers will be inferred
33
+ # automatically. This will be the default behavior in future versions of
34
+ # rspec-rails.
35
+ # config.infer_base_class_for_anonymous_controllers = false
36
+
37
+ # Run specs in random order to surface order dependencies. If you find an
38
+ # order dependency and want to debug it, you can fix the order by providing
39
+ # the seed, which is printed after each run.
40
+ # --seed 1234
41
+ # config.order = "random"
42
+ config.include FactoryGirl::Syntax::Methods
43
+ config.before(:suite) do
44
+ DatabaseCleaner.clean_with(:truncation)
45
+ end
46
+
47
+ config.before(:each) do
48
+ DatabaseCleaner.strategy = :transaction
49
+ end
50
+
51
+ config.before(:each, :js => true) do
52
+ DatabaseCleaner.strategy = :truncation
53
+ end
54
+
55
+ config.before(:each) do
56
+ DatabaseCleaner.start
57
+ end
58
+
59
+ config.after(:each) do
60
+ DatabaseCleaner.clean
61
+ end
62
+
63
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.27
4
+ version: 0.3.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-29 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -290,6 +290,20 @@ dependencies:
290
290
  - - ">="
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: figaro
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
293
307
  description: Fuel's goal is to be a simple yet customizable blogging gem.
294
308
  email:
295
309
  - ryan.p.francis@gmail.com
@@ -298,7 +312,6 @@ extensions: []
298
312
  extra_rdoc_files: []
299
313
  files:
300
314
  - MIT-LICENSE
301
- - README.rdoc
302
315
  - Rakefile
303
316
  - app/assets/images/fuel/default-img.jpg
304
317
  - app/assets/images/fuel/icons/application-icons.svg
@@ -402,8 +415,116 @@ files:
402
415
  - lib/generators/templates/fuel.rb
403
416
  - lib/kaminari/helpers/tag.rb
404
417
  - lib/tasks/fuel_tasks.rake
405
- - test/fixtures/fuel/authors.yml
406
- - test/models/fuel/author_test.rb
418
+ - spec/controllers/fuel/admin/posts_controller_spec.rb
419
+ - spec/controllers/fuel/posts_controller_spec.rb
420
+ - spec/dummy/README.rdoc
421
+ - spec/dummy/Rakefile
422
+ - spec/dummy/app/assets/images/headshots/brendan.jpg
423
+ - spec/dummy/app/assets/images/headshots/dave.jpg
424
+ - spec/dummy/app/assets/images/headshots/jack.jpg
425
+ - spec/dummy/app/assets/images/headshots/katie.jpg
426
+ - spec/dummy/app/assets/images/headshots/kurt.jpg
427
+ - spec/dummy/app/assets/images/headshots/monique.jpg
428
+ - spec/dummy/app/assets/images/headshots/rocket.png
429
+ - spec/dummy/app/assets/images/headshots/ryan.jpg
430
+ - spec/dummy/app/assets/images/headshots/scott.jpg
431
+ - spec/dummy/app/assets/images/headshots/tom.jpg
432
+ - spec/dummy/app/assets/javascripts/application.js
433
+ - spec/dummy/app/assets/stylesheets/application.css
434
+ - spec/dummy/app/controllers/application_controller.rb
435
+ - spec/dummy/app/helpers/application_helper.rb
436
+ - spec/dummy/app/views/layouts/_header.html.erb
437
+ - spec/dummy/app/views/layouts/application.html.erb
438
+ - spec/dummy/bin/bundle
439
+ - spec/dummy/bin/rails
440
+ - spec/dummy/bin/rake
441
+ - spec/dummy/config.ru
442
+ - spec/dummy/config/application.rb
443
+ - spec/dummy/config/boot.rb
444
+ - spec/dummy/config/database.yml
445
+ - spec/dummy/config/environment.rb
446
+ - spec/dummy/config/environments/development.rb
447
+ - spec/dummy/config/environments/production.rb
448
+ - spec/dummy/config/environments/test.rb
449
+ - spec/dummy/config/initializers/backtrace_silencers.rb
450
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
451
+ - spec/dummy/config/initializers/friendly_id.rb
452
+ - spec/dummy/config/initializers/fuel.rb
453
+ - spec/dummy/config/initializers/inflections.rb
454
+ - spec/dummy/config/initializers/mime_types.rb
455
+ - spec/dummy/config/initializers/secret_token.rb
456
+ - spec/dummy/config/initializers/session_store.rb
457
+ - spec/dummy/config/initializers/wrap_parameters.rb
458
+ - spec/dummy/config/locales/en.yml
459
+ - spec/dummy/config/routes.rb
460
+ - spec/dummy/db/development.sqlite3
461
+ - spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
462
+ - spec/dummy/db/migrate/20150616184609_add_featured_image_field.fuel.rb
463
+ - spec/dummy/db/migrate/20150616184610_add_teaser_to_posts.fuel.rb
464
+ - spec/dummy/db/migrate/20150616184611_add_featured_image_to_posts.fuel.rb
465
+ - spec/dummy/db/migrate/20150616184612_add_seo_fields_to_post.fuel.rb
466
+ - spec/dummy/db/migrate/20150616184613_add_posted_at_to_posts.fuel.rb
467
+ - spec/dummy/db/migrate/20150616184614_create_fuel_authors.fuel.rb
468
+ - spec/dummy/db/migrate/20150616184615_add_author_id_to_posts.fuel.rb
469
+ - spec/dummy/db/migrate/20150616184616_add_contact_methods_to_authors.fuel.rb
470
+ - spec/dummy/db/migrate/20150616184617_add_published_at_to_fuel_posts.fuel.rb
471
+ - spec/dummy/db/migrate/20150616184618_remove_posted_at_from_fuel_posts.fuel.rb
472
+ - spec/dummy/db/migrate/20150616184619_add_start_date_to_authors.fuel.rb
473
+ - spec/dummy/db/schema.rb
474
+ - spec/dummy/db/test.sqlite3
475
+ - spec/dummy/lib/tasks/import_blog.rake
476
+ - spec/dummy/log/development.log
477
+ - spec/dummy/log/test.log
478
+ - spec/dummy/public/404.html
479
+ - spec/dummy/public/422.html
480
+ - spec/dummy/public/500.html
481
+ - spec/dummy/public/favicon.ico
482
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/admin.css.sassc
483
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/application.css.scssc
484
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.sassc
485
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.scssc
486
+ - spec/dummy/tmp/cache/assets/development/sprockets/014dac3985653ba3455824e5bdaf93bd
487
+ - spec/dummy/tmp/cache/assets/development/sprockets/03ac2f751ed77389257433b768f934c3
488
+ - spec/dummy/tmp/cache/assets/development/sprockets/05c5819ebb446d33153d21337d3a20ad
489
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
490
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
491
+ - spec/dummy/tmp/cache/assets/development/sprockets/308795da63b7e95bd0f55cecedd62d94
492
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
493
+ - spec/dummy/tmp/cache/assets/development/sprockets/3865b2b2d5132e0ea4ed29815b482dce
494
+ - spec/dummy/tmp/cache/assets/development/sprockets/3a8a9a4ef7dd450b1cf686b461bb5245
495
+ - spec/dummy/tmp/cache/assets/development/sprockets/3ebee12608c20315d8de4675220e3d04
496
+ - spec/dummy/tmp/cache/assets/development/sprockets/4498ae7c9df269c897e3280835f07167
497
+ - spec/dummy/tmp/cache/assets/development/sprockets/5191f0a9c44f6502f1b23c4e717ea384
498
+ - spec/dummy/tmp/cache/assets/development/sprockets/5562fe0dd779e67464c82bf5f677b926
499
+ - spec/dummy/tmp/cache/assets/development/sprockets/70c9660e2c4d5e5a677d36620d59df7c
500
+ - spec/dummy/tmp/cache/assets/development/sprockets/741e06bd7a3e5bc32d44a86b156237b4
501
+ - spec/dummy/tmp/cache/assets/development/sprockets/78148fb54f92bb724386c0cbf866bf8b
502
+ - spec/dummy/tmp/cache/assets/development/sprockets/7cb8cf7fca54a9d0c860db5e7a874fa9
503
+ - spec/dummy/tmp/cache/assets/development/sprockets/89c5e5ef520aeb480b2c370cd95e4aa3
504
+ - spec/dummy/tmp/cache/assets/development/sprockets/9501761eef62112c4a992aa52331b52f
505
+ - spec/dummy/tmp/cache/assets/development/sprockets/970522fbbd63cf689683466c5196857f
506
+ - spec/dummy/tmp/cache/assets/development/sprockets/9e6bbc6ad4182b36488ed894b2cf25af
507
+ - spec/dummy/tmp/cache/assets/development/sprockets/9f4599bbfc23ec621d87974b1cb749e3
508
+ - spec/dummy/tmp/cache/assets/development/sprockets/9f6c8d6fbf570cfe1a06179461b0de2d
509
+ - spec/dummy/tmp/cache/assets/development/sprockets/a97bc057d70e3604312a80f169e9e6e9
510
+ - spec/dummy/tmp/cache/assets/development/sprockets/bc12f5ee1ab1f3f41620171e56218d6f
511
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfa298bb2836528bc682672f2a549707
512
+ - spec/dummy/tmp/cache/assets/development/sprockets/c0b400cdc41be57879274baf7d92b911
513
+ - spec/dummy/tmp/cache/assets/development/sprockets/c21e7a5dd39166b6f02a10131e7b60a5
514
+ - spec/dummy/tmp/cache/assets/development/sprockets/c78d634ffc32ae4fadbe52ac7ca08aac
515
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
516
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
517
+ - spec/dummy/tmp/cache/assets/development/sprockets/d7fb93600298f6787c9defd51a75aeb5
518
+ - spec/dummy/tmp/cache/assets/development/sprockets/d85f307de0f4da9bd598243e1f505804
519
+ - spec/dummy/tmp/cache/assets/development/sprockets/d9ff247d231468f7dc28844500bc20aa
520
+ - spec/dummy/tmp/cache/assets/development/sprockets/f089ae120c22843da39b636bfc4b8e01
521
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
522
+ - spec/factories.rb
523
+ - spec/fixtures/fuel/posts.yml
524
+ - spec/helpers/fuel/posts_helper_test.rb
525
+ - spec/integration/navigation_test.rb
526
+ - spec/models/fuel/post_spec.rb
527
+ - spec/spec_helper.rb
407
528
  homepage: http://github.com/LaunchPadLab/fuel
408
529
  licenses: []
409
530
  metadata: {}
@@ -428,5 +549,113 @@ signing_key:
428
549
  specification_version: 4
429
550
  summary: Fuel is a dead simple blogging gem (mountable engine)
430
551
  test_files:
431
- - test/fixtures/fuel/authors.yml
432
- - test/models/fuel/author_test.rb
552
+ - spec/controllers/fuel/admin/posts_controller_spec.rb
553
+ - spec/controllers/fuel/posts_controller_spec.rb
554
+ - spec/dummy/app/assets/images/headshots/brendan.jpg
555
+ - spec/dummy/app/assets/images/headshots/dave.jpg
556
+ - spec/dummy/app/assets/images/headshots/jack.jpg
557
+ - spec/dummy/app/assets/images/headshots/katie.jpg
558
+ - spec/dummy/app/assets/images/headshots/kurt.jpg
559
+ - spec/dummy/app/assets/images/headshots/monique.jpg
560
+ - spec/dummy/app/assets/images/headshots/rocket.png
561
+ - spec/dummy/app/assets/images/headshots/ryan.jpg
562
+ - spec/dummy/app/assets/images/headshots/scott.jpg
563
+ - spec/dummy/app/assets/images/headshots/tom.jpg
564
+ - spec/dummy/app/assets/javascripts/application.js
565
+ - spec/dummy/app/assets/stylesheets/application.css
566
+ - spec/dummy/app/controllers/application_controller.rb
567
+ - spec/dummy/app/helpers/application_helper.rb
568
+ - spec/dummy/app/views/layouts/_header.html.erb
569
+ - spec/dummy/app/views/layouts/application.html.erb
570
+ - spec/dummy/bin/bundle
571
+ - spec/dummy/bin/rails
572
+ - spec/dummy/bin/rake
573
+ - spec/dummy/config/application.rb
574
+ - spec/dummy/config/boot.rb
575
+ - spec/dummy/config/database.yml
576
+ - spec/dummy/config/environment.rb
577
+ - spec/dummy/config/environments/development.rb
578
+ - spec/dummy/config/environments/production.rb
579
+ - spec/dummy/config/environments/test.rb
580
+ - spec/dummy/config/initializers/backtrace_silencers.rb
581
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
582
+ - spec/dummy/config/initializers/friendly_id.rb
583
+ - spec/dummy/config/initializers/fuel.rb
584
+ - spec/dummy/config/initializers/inflections.rb
585
+ - spec/dummy/config/initializers/mime_types.rb
586
+ - spec/dummy/config/initializers/secret_token.rb
587
+ - spec/dummy/config/initializers/session_store.rb
588
+ - spec/dummy/config/initializers/wrap_parameters.rb
589
+ - spec/dummy/config/locales/en.yml
590
+ - spec/dummy/config/routes.rb
591
+ - spec/dummy/config.ru
592
+ - spec/dummy/db/development.sqlite3
593
+ - spec/dummy/db/migrate/20150616184608_create_fuel_posts.fuel.rb
594
+ - spec/dummy/db/migrate/20150616184609_add_featured_image_field.fuel.rb
595
+ - spec/dummy/db/migrate/20150616184610_add_teaser_to_posts.fuel.rb
596
+ - spec/dummy/db/migrate/20150616184611_add_featured_image_to_posts.fuel.rb
597
+ - spec/dummy/db/migrate/20150616184612_add_seo_fields_to_post.fuel.rb
598
+ - spec/dummy/db/migrate/20150616184613_add_posted_at_to_posts.fuel.rb
599
+ - spec/dummy/db/migrate/20150616184614_create_fuel_authors.fuel.rb
600
+ - spec/dummy/db/migrate/20150616184615_add_author_id_to_posts.fuel.rb
601
+ - spec/dummy/db/migrate/20150616184616_add_contact_methods_to_authors.fuel.rb
602
+ - spec/dummy/db/migrate/20150616184617_add_published_at_to_fuel_posts.fuel.rb
603
+ - spec/dummy/db/migrate/20150616184618_remove_posted_at_from_fuel_posts.fuel.rb
604
+ - spec/dummy/db/migrate/20150616184619_add_start_date_to_authors.fuel.rb
605
+ - spec/dummy/db/schema.rb
606
+ - spec/dummy/db/test.sqlite3
607
+ - spec/dummy/lib/tasks/import_blog.rake
608
+ - spec/dummy/log/development.log
609
+ - spec/dummy/log/test.log
610
+ - spec/dummy/public/404.html
611
+ - spec/dummy/public/422.html
612
+ - spec/dummy/public/500.html
613
+ - spec/dummy/public/favicon.ico
614
+ - spec/dummy/Rakefile
615
+ - spec/dummy/README.rdoc
616
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/admin.css.sassc
617
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/application.css.scssc
618
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.sassc
619
+ - spec/dummy/tmp/cache/assets/development/sass/4105e5a1347506aa0bdf1d045b6c437eeeaa8594/posts.css.scssc
620
+ - spec/dummy/tmp/cache/assets/development/sprockets/014dac3985653ba3455824e5bdaf93bd
621
+ - spec/dummy/tmp/cache/assets/development/sprockets/03ac2f751ed77389257433b768f934c3
622
+ - spec/dummy/tmp/cache/assets/development/sprockets/05c5819ebb446d33153d21337d3a20ad
623
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
624
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
625
+ - spec/dummy/tmp/cache/assets/development/sprockets/308795da63b7e95bd0f55cecedd62d94
626
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
627
+ - spec/dummy/tmp/cache/assets/development/sprockets/3865b2b2d5132e0ea4ed29815b482dce
628
+ - spec/dummy/tmp/cache/assets/development/sprockets/3a8a9a4ef7dd450b1cf686b461bb5245
629
+ - spec/dummy/tmp/cache/assets/development/sprockets/3ebee12608c20315d8de4675220e3d04
630
+ - spec/dummy/tmp/cache/assets/development/sprockets/4498ae7c9df269c897e3280835f07167
631
+ - spec/dummy/tmp/cache/assets/development/sprockets/5191f0a9c44f6502f1b23c4e717ea384
632
+ - spec/dummy/tmp/cache/assets/development/sprockets/5562fe0dd779e67464c82bf5f677b926
633
+ - spec/dummy/tmp/cache/assets/development/sprockets/70c9660e2c4d5e5a677d36620d59df7c
634
+ - spec/dummy/tmp/cache/assets/development/sprockets/741e06bd7a3e5bc32d44a86b156237b4
635
+ - spec/dummy/tmp/cache/assets/development/sprockets/78148fb54f92bb724386c0cbf866bf8b
636
+ - spec/dummy/tmp/cache/assets/development/sprockets/7cb8cf7fca54a9d0c860db5e7a874fa9
637
+ - spec/dummy/tmp/cache/assets/development/sprockets/89c5e5ef520aeb480b2c370cd95e4aa3
638
+ - spec/dummy/tmp/cache/assets/development/sprockets/9501761eef62112c4a992aa52331b52f
639
+ - spec/dummy/tmp/cache/assets/development/sprockets/970522fbbd63cf689683466c5196857f
640
+ - spec/dummy/tmp/cache/assets/development/sprockets/9e6bbc6ad4182b36488ed894b2cf25af
641
+ - spec/dummy/tmp/cache/assets/development/sprockets/9f4599bbfc23ec621d87974b1cb749e3
642
+ - spec/dummy/tmp/cache/assets/development/sprockets/9f6c8d6fbf570cfe1a06179461b0de2d
643
+ - spec/dummy/tmp/cache/assets/development/sprockets/a97bc057d70e3604312a80f169e9e6e9
644
+ - spec/dummy/tmp/cache/assets/development/sprockets/bc12f5ee1ab1f3f41620171e56218d6f
645
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfa298bb2836528bc682672f2a549707
646
+ - spec/dummy/tmp/cache/assets/development/sprockets/c0b400cdc41be57879274baf7d92b911
647
+ - spec/dummy/tmp/cache/assets/development/sprockets/c21e7a5dd39166b6f02a10131e7b60a5
648
+ - spec/dummy/tmp/cache/assets/development/sprockets/c78d634ffc32ae4fadbe52ac7ca08aac
649
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
650
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
651
+ - spec/dummy/tmp/cache/assets/development/sprockets/d7fb93600298f6787c9defd51a75aeb5
652
+ - spec/dummy/tmp/cache/assets/development/sprockets/d85f307de0f4da9bd598243e1f505804
653
+ - spec/dummy/tmp/cache/assets/development/sprockets/d9ff247d231468f7dc28844500bc20aa
654
+ - spec/dummy/tmp/cache/assets/development/sprockets/f089ae120c22843da39b636bfc4b8e01
655
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
656
+ - spec/factories.rb
657
+ - spec/fixtures/fuel/posts.yml
658
+ - spec/helpers/fuel/posts_helper_test.rb
659
+ - spec/integration/navigation_test.rb
660
+ - spec/models/fuel/post_spec.rb
661
+ - spec/spec_helper.rb