fuel 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3946795c8642cb8454f2a0de0aa2d31e1744e880
|
4
|
+
data.tar.gz: 1d60a7e24034103ab8c6189733db645ba1611a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ea31379f63428811f23533a25b985c0730374717edbbbc06e9fdb00a81fc5b7babb3df8447abd43368fe7dd5b2b87cf054fcc87d51e08f0fcaaf5fc33dc41a
|
7
|
+
data.tar.gz: b36e9bc1c42994338cc00c4817c806c61b6d0824e6e651275e3b80fd63329a3e76527d1343454cb5c0a06f6e43b78a85fd789edee7e85aeb293f18b4d03daa50
|
@@ -24,9 +24,7 @@ module Fuel
|
|
24
24
|
private
|
25
25
|
|
26
26
|
def main_app_url_helper?(method)
|
27
|
-
|
28
|
-
(method.to_s.end_with?('_path') or method.to_s.end_with?('_url')) and
|
29
|
-
main_app.respond_to?(method)
|
27
|
+
(method.to_s.end_with?('_path') or method.to_s.end_with?('_url')) and main_app.respond_to?(method)
|
30
28
|
end
|
31
29
|
|
32
30
|
end
|
data/lib/fuel/configuration.rb
CHANGED
@@ -2,11 +2,10 @@ 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, :
|
5
|
+
attr_accessor :layout, :blog_title
|
6
6
|
|
7
7
|
def initialize
|
8
|
-
@layout =
|
9
|
-
@inline_main_app_named_routes = true
|
8
|
+
@layout = "application"
|
10
9
|
@blog_title = "Blog"
|
11
10
|
end
|
12
11
|
|
data/lib/fuel/version.rb
CHANGED
@@ -2,11 +2,9 @@
|
|
2
2
|
Fuel.configure do |config|
|
3
3
|
|
4
4
|
# Change the layout to render with the blog
|
5
|
-
|
5
|
+
config.layout = "application"
|
6
6
|
|
7
7
|
# Change title of blog
|
8
8
|
#config.blog_title = "Blog"
|
9
9
|
|
10
|
-
#config.inline_main_app_named_routes = false
|
11
|
-
|
12
10
|
end
|
@@ -2,11 +2,9 @@
|
|
2
2
|
Fuel.configure do |config|
|
3
3
|
|
4
4
|
# Change the layout to render with the blog
|
5
|
-
|
5
|
+
config.layout = "application"
|
6
6
|
|
7
7
|
# Change title of blog
|
8
8
|
config.blog_title = "Ryan's Blog"
|
9
9
|
|
10
|
-
#config.inline_main_app_named_routes = false
|
11
|
-
|
12
10
|
end
|
@@ -23494,3 +23494,37 @@ Started GET "/assets/fuel/posts.js?body=1" for 127.0.0.1 at 2014-04-11 16:06:21
|
|
23494
23494
|
|
23495
23495
|
|
23496
23496
|
Started GET "/assets/fuel/application.js?body=1" for 127.0.0.1 at 2014-04-11 16:06:21 -0500
|
23497
|
+
|
23498
|
+
|
23499
|
+
Started GET "/blog/posts" for 127.0.0.1 at 2014-04-11 16:47:53 -0500
|
23500
|
+
Processing by Fuel::PostsController#index as HTML
|
23501
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "fuel_posts" WHERE "fuel_posts"."published" = 't'
|
23502
|
+
[1m[36mFuel::Post Load (0.2ms)[0m [1mSELECT "fuel_posts".* FROM "fuel_posts" WHERE "fuel_posts"."published" = 't' ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
23503
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/_post.html.erb (0.3ms)
|
23504
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/_post.html.erb (0.3ms)
|
23505
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/_post.html.erb (0.3ms)
|
23506
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/index.html.erb within layouts/fuel/application (9.1ms)
|
23507
|
+
Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.3ms)
|
23508
|
+
|
23509
|
+
|
23510
|
+
Started GET "/assets/fuel/posts.js?body=1" for 127.0.0.1 at 2014-04-11 16:47:53 -0500
|
23511
|
+
|
23512
|
+
|
23513
|
+
Started GET "/assets/fuel/application.js?body=1" for 127.0.0.1 at 2014-04-11 16:47:53 -0500
|
23514
|
+
|
23515
|
+
|
23516
|
+
Started GET "/blog/posts" for 127.0.0.1 at 2014-04-11 16:47:55 -0500
|
23517
|
+
Processing by Fuel::PostsController#index as HTML
|
23518
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "fuel_posts" WHERE "fuel_posts"."published" = 't'
|
23519
|
+
[1m[36mFuel::Post Load (0.2ms)[0m [1mSELECT "fuel_posts".* FROM "fuel_posts" WHERE "fuel_posts"."published" = 't' ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
23520
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/_post.html.erb (0.2ms)
|
23521
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/_post.html.erb (0.2ms)
|
23522
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/_post.html.erb (0.2ms)
|
23523
|
+
Rendered /Users/ryanfrancis/Documents/LaunchPad/fuel/app/views/fuel/posts/index.html.erb within layouts/fuel/application (6.5ms)
|
23524
|
+
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.3ms)
|
23525
|
+
|
23526
|
+
|
23527
|
+
Started GET "/assets/fuel/posts.js?body=1" for 127.0.0.1 at 2014-04-11 16:47:55 -0500
|
23528
|
+
|
23529
|
+
|
23530
|
+
Started GET "/assets/fuel/application.js?body=1" for 127.0.0.1 at 2014-04-11 16:47:55 -0500
|