fuel 0.3.3 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/app/assets/images/fuel/icon-test.png +0 -0
- data/app/assets/images/fuel/icons/application-icons.svg +1 -0
- data/app/assets/images/fuel/icons/calendar-icon.svg +1 -0
- data/app/assets/images/fuel/icons/dropdown-arrow-icon.svg +10 -0
- data/app/assets/images/fuel/icons/navigation-icons.svg +1 -0
- data/app/assets/javascripts/fuel/admin.js.erb +17 -17
- data/app/assets/javascripts/fuel/application.js +8 -0
- data/app/assets/javascripts/fuel/datepicker.js +11 -0
- data/app/assets/javascripts/fuel/facebook.js +12 -0
- data/app/assets/javascripts/fuel/posts.js.erb +16 -0
- data/app/assets/javascripts/fuel/rich-text.js +9 -0
- data/app/assets/javascripts/fuel/sliding-panel.js +11 -0
- data/app/assets/stylesheets/fuel/_page-layout.scss +61 -0
- data/app/assets/stylesheets/fuel/_post-list.scss +70 -0
- data/app/assets/stylesheets/fuel/application.css.scss +27 -2
- data/app/assets/stylesheets/fuel/base/_base.scss +5 -0
- data/app/assets/stylesheets/fuel/base/_layout.scss +54 -0
- data/app/assets/stylesheets/fuel/base/_typography.scss +102 -0
- data/app/assets/stylesheets/fuel/components/_alerts.scss +27 -0
- data/app/assets/stylesheets/fuel/components/_animations.scss +26 -0
- data/app/assets/stylesheets/fuel/components/_application-icons.scss +42 -0
- data/app/assets/stylesheets/fuel/components/_buttons.scss +106 -0
- data/app/assets/stylesheets/fuel/components/_card.scss +39 -0
- data/app/assets/stylesheets/fuel/components/_components.scss +13 -0
- data/app/assets/stylesheets/fuel/components/_forms.scss +90 -0
- data/app/assets/stylesheets/fuel/components/_navbar.scss +45 -0
- data/app/assets/stylesheets/fuel/components/_navigation-icons.scss +41 -0
- data/app/assets/stylesheets/fuel/components/_page-sidebar.scss +60 -0
- data/app/assets/stylesheets/fuel/components/_sliding-panel.scss +59 -0
- data/app/assets/stylesheets/fuel/settings/_reset.scss +46 -0
- data/app/assets/stylesheets/fuel/settings/_settings.scss +19 -0
- data/app/assets/stylesheets/fuel/settings/mixins/_layout.scss +20 -0
- data/app/assets/stylesheets/fuel/settings/mixins/_misc.scss +27 -0
- data/app/assets/stylesheets/fuel/settings/mixins/_rem.scss +46 -0
- data/app/assets/stylesheets/fuel/settings/mixins/_typography.scss +64 -0
- data/app/assets/stylesheets/fuel/settings/variables/_alerts.scss +9 -0
- data/app/assets/stylesheets/fuel/settings/variables/_buttons.scss +8 -0
- data/app/assets/stylesheets/fuel/settings/variables/_colors.scss +55 -0
- data/app/assets/stylesheets/fuel/settings/variables/_typography.scss +25 -0
- data/app/controllers/fuel/admin/admin_controller.rb +7 -0
- data/app/controllers/fuel/admin/authors_controller.rb +80 -0
- data/app/controllers/fuel/admin/posts_controller.rb +68 -54
- data/app/controllers/fuel/fuel_controller.rb +5 -0
- data/app/controllers/fuel/posts_controller.rb +13 -7
- data/app/controllers/fuel_controller.rb +5 -0
- data/app/helpers/fuel/posts_helper.rb +28 -1
- data/app/models/fuel.rb +5 -0
- data/app/models/fuel/author.rb +18 -0
- data/app/models/fuel/post.rb +32 -2
- data/app/views/fuel/admin/authors/_authors.html.erb +24 -0
- data/app/views/fuel/admin/authors/_form.html.erb +52 -0
- data/app/views/fuel/admin/authors/edit.html.erb +9 -0
- data/app/views/fuel/admin/authors/index.html.erb +7 -0
- data/app/views/fuel/admin/authors/new.html.erb +6 -0
- data/app/views/fuel/admin/posts/_content.html.erb +5 -0
- data/app/views/fuel/admin/posts/_form.html.erb +56 -0
- data/app/views/fuel/admin/posts/_post_preview.html.erb +12 -0
- data/app/views/fuel/admin/posts/_posts.html.erb +23 -0
- data/app/views/fuel/admin/posts/edit.html.erb +11 -0
- data/app/views/fuel/admin/posts/index.html.erb +6 -0
- data/app/views/fuel/admin/posts/new.html.erb +9 -0
- data/app/views/fuel/components/_navbar.html.erb +22 -0
- data/app/views/fuel/posts/_additional_info.html.erb +7 -0
- data/app/views/fuel/posts/_facebook_sdk.html.erb +17 -0
- data/app/views/fuel/posts/_tweet.html.erb +1 -1
- data/app/views/fuel/posts/index.html.erb +27 -6
- data/app/views/fuel/posts/show.html.erb +19 -2
- data/app/views/layouts/fuel/application.html.erb +19 -12
- data/config/routes.rb +18 -10
- data/db/migrate/20141114201953_add_featured_image_field.rb +5 -0
- data/db/migrate/20141118162158_add_teaser_to_posts.rb +5 -0
- data/db/migrate/20141217174229_add_featured_image_to_posts.rb +10 -0
- data/db/migrate/20150414220732_add_seo_fields_to_post.rb +6 -0
- data/db/migrate/20150529201715_add_posted_at_to_posts.rb +5 -0
- data/db/migrate/20150529202105_create_fuel_authors.rb +13 -0
- data/db/migrate/20150530180444_add_author_id_to_posts.rb +5 -0
- data/db/migrate/20150603205232_add_contact_methods_to_authors.rb +8 -0
- data/db/migrate/20150604155028_add_published_at_to_fuel_posts.rb +5 -0
- data/db/migrate/20150604161900_remove_posted_at_from_fuel_posts.rb +5 -0
- data/lib/blog_importer.rb +82 -0
- data/lib/example_author.rb +108 -0
- data/lib/fuel.rb +7 -1
- data/lib/fuel/configuration.rb +16 -1
- data/lib/fuel/engine.rb +13 -1
- data/lib/fuel/version.rb +1 -1
- data/lib/generators/fuel/install_generator.rb +4 -0
- data/lib/generators/fuel/views_generator.rb +1 -1
- data/lib/generators/templates/fuel.rb +22 -0
- data/lib/kaminari/helpers/tag.rb +16 -0
- data/lib/tasks/fuel_tasks.rake +35 -4
- data/test/fixtures/fuel/authors.yml +11 -0
- data/test/models/fuel/author_test.rb +7 -0
- metadata +191 -15
- data/app/assets/stylesheets/fuel/admin.css.sass +0 -91
- data/app/assets/stylesheets/fuel/posts.css.sass +0 -23
- data/app/controllers/fuel/application_controller.rb +0 -4
- data/app/helpers/fuel/application_helper.rb +0 -34
- data/app/views/fuel/admin/posts/_content.html.slim +0 -3
- data/app/views/fuel/admin/posts/_form.html.slim +0 -28
- data/app/views/fuel/admin/posts/edit.html.slim +0 -4
- data/app/views/fuel/admin/posts/index.html.slim +0 -18
- data/app/views/fuel/admin/posts/new.html.slim +0 -4
- data/app/views/fuel/posts/_post.html.erb +0 -19
@@ -0,0 +1,108 @@
|
|
1
|
+
class ExampleAuthor
|
2
|
+
|
3
|
+
TOM = {
|
4
|
+
image_path: 'headshots/tom.jpg',
|
5
|
+
image_alt: 'Tom Cullen',
|
6
|
+
first_name: "Tom",
|
7
|
+
last_name: 'Cullen',
|
8
|
+
title: "Co-Founder",
|
9
|
+
email: "tom@launchpadlab.com",
|
10
|
+
twitter: "thomascullen",
|
11
|
+
bio: "Tom's biggest accomplishment is winning uncle of the year...8 years running. Aside from that amazing stat, he has always had a passion for working with and helping people. He loves programming and creating solutions through technology for people and their businesses to realize success. Tom draws on his experience starting two high frequency trading firms to tackle many of the business and technical challenges clients face."
|
12
|
+
}
|
13
|
+
|
14
|
+
SCOTT = {
|
15
|
+
image_path: 'headshots/scott.jpg',
|
16
|
+
image_alt: 'Scott Weisman',
|
17
|
+
first_name: "Scott",
|
18
|
+
last_name: 'Weisman',
|
19
|
+
title: "Co-Founder & Developer",
|
20
|
+
email: "scott@launchpadlab.com",
|
21
|
+
twitter: "scottweisman",
|
22
|
+
bio: "Combining his 7 years of law experience and love for technology, Scott built WarRoom Law. By tapping into his creative streak, he has developed an intuitive sense of front end design and coding. Always current on the latest products in the tech world, Scott has an intimate understanding of product design and development."
|
23
|
+
}
|
24
|
+
|
25
|
+
BRENDAN = {
|
26
|
+
image_path: 'headshots/brendan.jpg',
|
27
|
+
image_alt: 'Brendan Hennessy',
|
28
|
+
first_name: "Brendan",
|
29
|
+
last_name: 'Hennessy',
|
30
|
+
title: "Co-Founder & Developer",
|
31
|
+
email: "brendan@launchpadlab.com",
|
32
|
+
twitter: "bhenney",
|
33
|
+
github: 'bhennes2',
|
34
|
+
bio: "Never stop building. Brendan manifests this passion, first seen in his love for Legos, by creating and building web products. He relies upon his formal background as an engineer to solve problems. His experience in both front- and back-end development is invaluable to making ideas come to life."
|
35
|
+
}
|
36
|
+
|
37
|
+
RYAN = {
|
38
|
+
image_path: 'headshots/ryan.jpg',
|
39
|
+
image_alt: 'Ryan Francis',
|
40
|
+
first_name: "Ryan",
|
41
|
+
last_name: 'Francis',
|
42
|
+
title: "Developer",
|
43
|
+
email: "ryan@launchpadlab.com",
|
44
|
+
twitter: "ryan_p_francis",
|
45
|
+
github: 'francirp',
|
46
|
+
bio: "As ambitious as he is tall, Ryan has a passion for creation. In 2012, he created Francis Lofts & Bunks, a company in Western Ohio that manufactures aluminum loft beds and bunk beds. Equipped with a burning desire to build things that are useful to others, Ryan has come into his own in web development, combining creativity, logic, and an empathy for others to build outstanding, easy-to-use products."
|
47
|
+
}
|
48
|
+
|
49
|
+
KURT = {
|
50
|
+
image_path: 'headshots/kurt.jpg',
|
51
|
+
image_alt: 'Kurt Cunningham',
|
52
|
+
first_name: "Kurt",
|
53
|
+
last_name: 'Cunningham',
|
54
|
+
title: "Director of Design & Experience",
|
55
|
+
email: "kurt@launchpadlab.com",
|
56
|
+
twitter: "kurtcunningham",
|
57
|
+
dribbble: 'cunninghamkurt',
|
58
|
+
bio: "Kurt is a design and type freak. His passion for molding great user interfaces with the best experience, color, type and design is matched by only his love for Iowa Hawkeye football. With a background in newspapers and package design, Kurt has developed a deep appreciation for all things visual. He approaches each assignment the same: Design with passion and reason and the rest will fill itself in."
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
DAVE = {
|
63
|
+
image_path: 'headshots/dave.jpg',
|
64
|
+
image_alt: 'Dave Corwin',
|
65
|
+
first_name: "Dave",
|
66
|
+
last_name: 'Corwin',
|
67
|
+
title: "Developer",
|
68
|
+
email: "dave@launchpadlab.com",
|
69
|
+
twitter: "davidmcorwin",
|
70
|
+
bio: "A problem solver at heart, Dave has created software solutions for electricity pricing and brokerage clearing operations to modelling and simulation of brain tumors. He uses his background in software engineering, mathematics, and research to generate transformative applications with an emphasis on medical research. His passion for science, technology, and developing tools is surpassed only by his dog's passion for disobedience."
|
71
|
+
}
|
72
|
+
|
73
|
+
KATIE = {
|
74
|
+
image_path: 'headshots/katie.jpg',
|
75
|
+
image_alt: 'Katie Astrauskas',
|
76
|
+
first_name: "Katie",
|
77
|
+
last_name: 'Astrauskas',
|
78
|
+
title: "Developer",
|
79
|
+
email: "katie@launchpadlab.com",
|
80
|
+
twitter: "katieastrauskas",
|
81
|
+
github: 'kt32291',
|
82
|
+
bio: "Katie is a former actress who loves to make all kinds of things, including but not limited to: web applications, paintings, and elaborate cosplay outfits. She took to web development after graduating college, and fell in love with all things code and design. Katie dreams of becoming a whiskey sommelier and of using her experience in web development to create useful applications that change the way we live our lives."
|
83
|
+
}
|
84
|
+
|
85
|
+
MONIQUE = {
|
86
|
+
image_path: 'headshots/monique.jpg',
|
87
|
+
image_alt: 'Monique Marchwiany',
|
88
|
+
first_name: "Monique",
|
89
|
+
last_name: 'Marchwiany',
|
90
|
+
title: "UI & UX Designer",
|
91
|
+
email: "monique@launchpadlab.com",
|
92
|
+
twitter: "marchwiany1",
|
93
|
+
dribbble: 'moniquemarchwiany',
|
94
|
+
bio: "Monique's interest in design started at a young age, but it wasn't until going to school at the University of Illinois that she discovered her love of UX & UI design. With degrees in both Graphic Design and Psychology, she has developed a strong understanding of how design can enrich a user's overall experience. She also enjoys running outdoors, reading, and baking/eating plenty of baked goods."
|
95
|
+
}
|
96
|
+
|
97
|
+
JACK = {
|
98
|
+
image_path: 'headshots/jack.jpg',
|
99
|
+
image_alt: 'Jack Miller',
|
100
|
+
first_name: "Jack",
|
101
|
+
last_name: 'Miller',
|
102
|
+
title: "Business Intern",
|
103
|
+
email: "jack@launchpadlab.com",
|
104
|
+
twitter: "Jmills_01",
|
105
|
+
bio: "Spending the summer of 2015 as a sales and marketing intern at LaunchPad Lab, Jack is a rising junior at Georgetown University, pursuing a double major in Government and Economics with a minor in Spanish. He has a passion for fantasy sports, mentoring, tutoring, and participating in debate, exploring the DMV (District of Columbia, Maryland, and Virginia) and eating Portillo’s. His most frequently used app is GroupMe."
|
106
|
+
}
|
107
|
+
|
108
|
+
end
|
data/lib/fuel.rb
CHANGED
@@ -1,11 +1,17 @@
|
|
1
1
|
require "fuel/engine"
|
2
2
|
require "redcarpet"
|
3
3
|
require "kaminari"
|
4
|
+
require "kaminari/helpers/tag"
|
4
5
|
require "fuel/configuration"
|
5
6
|
require "friendly_id"
|
6
7
|
require "jquery-rails"
|
7
8
|
require "sass-rails"
|
8
|
-
require "
|
9
|
+
require "truncate_html"
|
10
|
+
require "paperclip"
|
11
|
+
require "bourbon"
|
12
|
+
require "neat"
|
13
|
+
require "pickadate-rails"
|
14
|
+
require "wysiwyg-rails"
|
9
15
|
|
10
16
|
module Fuel
|
11
17
|
|
data/lib/fuel/configuration.rb
CHANGED
@@ -2,17 +2,32 @@ module Fuel
|
|
2
2
|
class Configuration
|
3
3
|
|
4
4
|
# What kind of comments do you want to add to your blog ? (:active_record, :disqus or :no)
|
5
|
-
attr_accessor :layout, :blog_title, :disqus_name, :twitter, :username, :password, :helpers, :paginates_per
|
5
|
+
attr_accessor :layout, :blog_title, :disqus_name, :twitter, :username, :password, :helpers, :paginates_per,
|
6
|
+
:featured_image_settings, :avatar_settings, :facebook_app_id, :site_name, :blog_description, :tags
|
6
7
|
|
7
8
|
def initialize
|
8
9
|
@layout = "application"
|
9
10
|
@blog_title = "Blog"
|
11
|
+
@blog_description = "A list of posts about a topic"
|
10
12
|
@disqus_name = nil
|
11
13
|
@twitter = false
|
12
14
|
@username = "admin"
|
13
15
|
@password = "password"
|
14
16
|
@helpers = ["ApplicationHelper"]
|
17
|
+
@featured_image_settings = {
|
18
|
+
styles: {
|
19
|
+
thumb: "100x100>", medium: "300x300>"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
@avatar_settings = {
|
23
|
+
styles: {
|
24
|
+
thumb: "100x100>", medium: "300x300>"
|
25
|
+
}
|
26
|
+
}
|
15
27
|
@paginates_per = 5
|
28
|
+
@facebook_app_id = nil
|
29
|
+
@site_name = nil
|
30
|
+
@tags = ["Customize", "These", "Options", "In", "config/initializers/fuel.rb"]
|
16
31
|
end
|
17
32
|
|
18
33
|
end
|
data/lib/fuel/engine.rb
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
module Fuel
|
2
2
|
class Engine < ::Rails::Engine
|
3
|
-
|
3
|
+
|
4
|
+
# ISOLATE NAMESPACE ONLY FOR MODELS
|
5
|
+
mod = Fuel
|
6
|
+
engine_name(generate_railtie_name(mod.name))
|
7
|
+
unless mod.respond_to?(:railtie_namespace)
|
8
|
+
name, railtie = engine_name, self
|
9
|
+
mod.singleton_class.instance_eval do
|
10
|
+
unless mod.respond_to?(:table_name_prefix)
|
11
|
+
define_method(:table_name_prefix) { "#{name}_" }
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
4
16
|
end
|
5
17
|
end
|
data/lib/fuel/version.rb
CHANGED
@@ -5,6 +5,7 @@ module Fuel
|
|
5
5
|
source_root File.expand_path('../../templates', __FILE__)
|
6
6
|
desc "Creates a Fuel initializer in config/initializers, adds/migrates Fuel migration files and migrates the files, and adds the appropriate route to config/routes"
|
7
7
|
|
8
|
+
# rake fuel:install
|
8
9
|
def install
|
9
10
|
run 'bundle install'
|
10
11
|
route "mount Fuel::Engine => '/blog'"
|
@@ -12,6 +13,9 @@ module Fuel
|
|
12
13
|
rake 'db:migrate'
|
13
14
|
end
|
14
15
|
|
16
|
+
# to generate migration updates:
|
17
|
+
# rake fuel:install:migrations
|
18
|
+
|
15
19
|
def copy_initializer
|
16
20
|
template "fuel.rb", "config/initializers/fuel.rb"
|
17
21
|
end
|
@@ -7,6 +7,12 @@ Fuel.configure do |config|
|
|
7
7
|
# Change title of blog
|
8
8
|
config.blog_title = "Blog"
|
9
9
|
|
10
|
+
# Change description of blog
|
11
|
+
# config.blog_description = "A list of posts about a topic"
|
12
|
+
|
13
|
+
# Set site name
|
14
|
+
config.site_name = nil
|
15
|
+
|
10
16
|
# Change admin username
|
11
17
|
config.username = "admin"
|
12
18
|
|
@@ -16,10 +22,26 @@ Fuel.configure do |config|
|
|
16
22
|
# Change number of posts to show per page on blog
|
17
23
|
config.paginates_per = 5
|
18
24
|
|
25
|
+
config.tags = ["Customize", "These", "Options", "In", "config/initializers/fuel.rb"]
|
26
|
+
|
19
27
|
config.helpers = ["ApplicationHelper",
|
20
28
|
#"another_helper",
|
21
29
|
]
|
22
30
|
|
31
|
+
config.featured_image_settings = {
|
32
|
+
styles: {
|
33
|
+
thumb: "100x100#", medium: "300x300#"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
config.avatar_settings = {
|
38
|
+
styles: {
|
39
|
+
thumb: "100x100#", medium: "300x300#"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
# config.facebook_app_id = "318506165696214"
|
44
|
+
|
23
45
|
# Add Disqus
|
24
46
|
#config.disqus_name = 'your_disqus_name'
|
25
47
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Kaminari
|
2
|
+
module Helpers
|
3
|
+
class Tag
|
4
|
+
|
5
|
+
def page_url_for(page)
|
6
|
+
arguments = @params.merge(@param_name => (page <= 1 ? nil : page), :only_path => true).symbolize_keys
|
7
|
+
begin
|
8
|
+
Fuel::Engine.routes.url_helpers.url_for arguments
|
9
|
+
rescue
|
10
|
+
@template.main_app.url_for arguments
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/tasks/fuel_tasks.rake
CHANGED
@@ -1,4 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
require "blog_importer.rb"
|
2
|
+
|
3
|
+
namespace :fuel do
|
4
|
+
desc "This task migrates created_at to published_at as the column is new"
|
5
|
+
task :generate_published_at => :environment do
|
6
|
+
Fuel::Post.all.each do |post|
|
7
|
+
puts "Post: #{post.title}"
|
8
|
+
next unless post.published
|
9
|
+
puts "migrating published at..."
|
10
|
+
post.published_at = post.created_at
|
11
|
+
post.save
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
desc 'Import blog from CSV'
|
16
|
+
task :import_blog => :environment do
|
17
|
+
puts "Prior to running: #{Fuel::Post.count} blog posts in database"
|
18
|
+
puts "deleting #{Fuel::Post.count} posts..."
|
19
|
+
Fuel::Post.destroy_all
|
20
|
+
Fuel::Author.destroy_all
|
21
|
+
puts "0 posts should remain at this point...#{Fuel::Post.count} actually remain"
|
22
|
+
puts "0 authors should remain at this point...#{Fuel::Author.count} actually remain"
|
23
|
+
puts "importing new blog posts and authors..."
|
24
|
+
BlogImporter.new.pull
|
25
|
+
puts "Success! There are now #{Fuel::Post.count} blog posts in database."
|
26
|
+
end
|
27
|
+
|
28
|
+
desc "Markdown to HTML"
|
29
|
+
task :markdown_to_html => :environment do
|
30
|
+
Fuel::Post.all.each do |post|
|
31
|
+
post.content = post.to_html
|
32
|
+
post.save
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,11 @@
|
|
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
|
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.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Francis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -95,7 +95,91 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: truncate_html
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: paperclip
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: aws-sdk
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "<"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2.0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "<"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: bourbon
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: neat
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pickadate-rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: wysiwyg-rails
|
99
183
|
requirement: !ruby/object:Gem::Requirement
|
100
184
|
requirements:
|
101
185
|
- - ">="
|
@@ -178,6 +262,34 @@ dependencies:
|
|
178
262
|
- - ">="
|
179
263
|
- !ruby/object:Gem::Version
|
180
264
|
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: better_errors
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: binding_of_caller
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
181
293
|
description: Fuel's goal is to be a simple yet customizable blogging gem.
|
182
294
|
email:
|
183
295
|
- ryan.p.francis@gmail.com
|
@@ -188,31 +300,90 @@ files:
|
|
188
300
|
- MIT-LICENSE
|
189
301
|
- README.rdoc
|
190
302
|
- Rakefile
|
303
|
+
- app/assets/images/fuel/icon-test.png
|
304
|
+
- app/assets/images/fuel/icons/application-icons.svg
|
305
|
+
- app/assets/images/fuel/icons/calendar-icon.svg
|
306
|
+
- app/assets/images/fuel/icons/dropdown-arrow-icon.svg
|
307
|
+
- app/assets/images/fuel/icons/navigation-icons.svg
|
191
308
|
- app/assets/javascripts/fuel/admin.js.erb
|
192
309
|
- app/assets/javascripts/fuel/application.js
|
193
|
-
- app/assets/
|
310
|
+
- app/assets/javascripts/fuel/datepicker.js
|
311
|
+
- app/assets/javascripts/fuel/facebook.js
|
312
|
+
- app/assets/javascripts/fuel/posts.js.erb
|
313
|
+
- app/assets/javascripts/fuel/rich-text.js
|
314
|
+
- app/assets/javascripts/fuel/sliding-panel.js
|
315
|
+
- app/assets/stylesheets/fuel/_page-layout.scss
|
316
|
+
- app/assets/stylesheets/fuel/_post-list.scss
|
194
317
|
- app/assets/stylesheets/fuel/application.css.scss
|
195
|
-
- app/assets/stylesheets/fuel/
|
318
|
+
- app/assets/stylesheets/fuel/base/_base.scss
|
319
|
+
- app/assets/stylesheets/fuel/base/_layout.scss
|
320
|
+
- app/assets/stylesheets/fuel/base/_typography.scss
|
321
|
+
- app/assets/stylesheets/fuel/components/_alerts.scss
|
322
|
+
- app/assets/stylesheets/fuel/components/_animations.scss
|
323
|
+
- app/assets/stylesheets/fuel/components/_application-icons.scss
|
324
|
+
- app/assets/stylesheets/fuel/components/_buttons.scss
|
325
|
+
- app/assets/stylesheets/fuel/components/_card.scss
|
326
|
+
- app/assets/stylesheets/fuel/components/_components.scss
|
327
|
+
- app/assets/stylesheets/fuel/components/_forms.scss
|
328
|
+
- app/assets/stylesheets/fuel/components/_navbar.scss
|
329
|
+
- app/assets/stylesheets/fuel/components/_navigation-icons.scss
|
330
|
+
- app/assets/stylesheets/fuel/components/_page-sidebar.scss
|
331
|
+
- app/assets/stylesheets/fuel/components/_sliding-panel.scss
|
332
|
+
- app/assets/stylesheets/fuel/settings/_reset.scss
|
333
|
+
- app/assets/stylesheets/fuel/settings/_settings.scss
|
334
|
+
- app/assets/stylesheets/fuel/settings/mixins/_layout.scss
|
335
|
+
- app/assets/stylesheets/fuel/settings/mixins/_misc.scss
|
336
|
+
- app/assets/stylesheets/fuel/settings/mixins/_rem.scss
|
337
|
+
- app/assets/stylesheets/fuel/settings/mixins/_typography.scss
|
338
|
+
- app/assets/stylesheets/fuel/settings/variables/_alerts.scss
|
339
|
+
- app/assets/stylesheets/fuel/settings/variables/_buttons.scss
|
340
|
+
- app/assets/stylesheets/fuel/settings/variables/_colors.scss
|
341
|
+
- app/assets/stylesheets/fuel/settings/variables/_typography.scss
|
342
|
+
- app/controllers/fuel/admin/admin_controller.rb
|
343
|
+
- app/controllers/fuel/admin/authors_controller.rb
|
196
344
|
- app/controllers/fuel/admin/posts_controller.rb
|
197
|
-
- app/controllers/fuel/
|
345
|
+
- app/controllers/fuel/fuel_controller.rb
|
198
346
|
- app/controllers/fuel/posts_controller.rb
|
199
|
-
- app/
|
347
|
+
- app/controllers/fuel_controller.rb
|
200
348
|
- app/helpers/fuel/posts_helper.rb
|
349
|
+
- app/models/fuel.rb
|
350
|
+
- app/models/fuel/author.rb
|
201
351
|
- app/models/fuel/post.rb
|
202
|
-
- app/views/fuel/admin/
|
203
|
-
- app/views/fuel/admin/
|
204
|
-
- app/views/fuel/admin/
|
205
|
-
- app/views/fuel/admin/
|
206
|
-
- app/views/fuel/admin/
|
352
|
+
- app/views/fuel/admin/authors/_authors.html.erb
|
353
|
+
- app/views/fuel/admin/authors/_form.html.erb
|
354
|
+
- app/views/fuel/admin/authors/edit.html.erb
|
355
|
+
- app/views/fuel/admin/authors/index.html.erb
|
356
|
+
- app/views/fuel/admin/authors/new.html.erb
|
357
|
+
- app/views/fuel/admin/posts/_content.html.erb
|
358
|
+
- app/views/fuel/admin/posts/_form.html.erb
|
359
|
+
- app/views/fuel/admin/posts/_post_preview.html.erb
|
360
|
+
- app/views/fuel/admin/posts/_posts.html.erb
|
361
|
+
- app/views/fuel/admin/posts/edit.html.erb
|
362
|
+
- app/views/fuel/admin/posts/index.html.erb
|
363
|
+
- app/views/fuel/admin/posts/new.html.erb
|
207
364
|
- app/views/fuel/admin/posts/preview.js.erb
|
365
|
+
- app/views/fuel/components/_navbar.html.erb
|
366
|
+
- app/views/fuel/posts/_additional_info.html.erb
|
208
367
|
- app/views/fuel/posts/_disqus.html.erb
|
209
|
-
- app/views/fuel/posts/
|
368
|
+
- app/views/fuel/posts/_facebook_sdk.html.erb
|
210
369
|
- app/views/fuel/posts/_tweet.html.erb
|
211
370
|
- app/views/fuel/posts/index.html.erb
|
212
371
|
- app/views/fuel/posts/show.html.erb
|
213
372
|
- app/views/layouts/fuel/application.html.erb
|
214
373
|
- config/routes.rb
|
215
374
|
- db/migrate/20140122011655_create_fuel_posts.rb
|
375
|
+
- db/migrate/20141114201953_add_featured_image_field.rb
|
376
|
+
- db/migrate/20141118162158_add_teaser_to_posts.rb
|
377
|
+
- db/migrate/20141217174229_add_featured_image_to_posts.rb
|
378
|
+
- db/migrate/20150414220732_add_seo_fields_to_post.rb
|
379
|
+
- db/migrate/20150529201715_add_posted_at_to_posts.rb
|
380
|
+
- db/migrate/20150529202105_create_fuel_authors.rb
|
381
|
+
- db/migrate/20150530180444_add_author_id_to_posts.rb
|
382
|
+
- db/migrate/20150603205232_add_contact_methods_to_authors.rb
|
383
|
+
- db/migrate/20150604155028_add_published_at_to_fuel_posts.rb
|
384
|
+
- db/migrate/20150604161900_remove_posted_at_from_fuel_posts.rb
|
385
|
+
- lib/blog_importer.rb
|
386
|
+
- lib/example_author.rb
|
216
387
|
- lib/fuel.rb
|
217
388
|
- lib/fuel/configuration.rb
|
218
389
|
- lib/fuel/engine.rb
|
@@ -220,7 +391,10 @@ files:
|
|
220
391
|
- lib/generators/fuel/install_generator.rb
|
221
392
|
- lib/generators/fuel/views_generator.rb
|
222
393
|
- lib/generators/templates/fuel.rb
|
394
|
+
- lib/kaminari/helpers/tag.rb
|
223
395
|
- lib/tasks/fuel_tasks.rake
|
396
|
+
- test/fixtures/fuel/authors.yml
|
397
|
+
- test/models/fuel/author_test.rb
|
224
398
|
homepage: http://github.com/LaunchPadLab/fuel
|
225
399
|
licenses: []
|
226
400
|
metadata: {}
|
@@ -240,8 +414,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
414
|
version: '0'
|
241
415
|
requirements: []
|
242
416
|
rubyforge_project:
|
243
|
-
rubygems_version: 2.2.
|
417
|
+
rubygems_version: 2.2.2
|
244
418
|
signing_key:
|
245
419
|
specification_version: 4
|
246
420
|
summary: Fuel is a dead simple blogging gem (mountable engine)
|
247
|
-
test_files:
|
421
|
+
test_files:
|
422
|
+
- test/fixtures/fuel/authors.yml
|
423
|
+
- test/models/fuel/author_test.rb
|