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: 2ce38c23bf5558e81f4d695c6997905bf31cd756
4
- data.tar.gz: c768e128253d0732119526ada53b4c01df75e492
3
+ metadata.gz: 3946795c8642cb8454f2a0de0aa2d31e1744e880
4
+ data.tar.gz: 1d60a7e24034103ab8c6189733db645ba1611a65
5
5
  SHA512:
6
- metadata.gz: 9bcd3cedab634af6f3bf24c240f4472ec5f510e3a6ad9c40b9f8db8086ae3a8d82652d6bee5f5b033a5f8b1ec0726ef581c5ac3615ce488923c8c10bf35a6fc5
7
- data.tar.gz: 5dcf705611b964df73deffa2d1732468cdb482e72a086c1f846e26c88345a9c98f10723d7ba2f4e314bcc16a1f37707272745649b75766ebda52bcb8a78bccc6
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
- Fuel.configuration.inline_main_app_named_routes and
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
@@ -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, :inline_main_app_named_routes, :blog_title
5
+ attr_accessor :layout, :blog_title
6
6
 
7
7
  def initialize
8
- @layout = nil
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
@@ -1,3 +1,3 @@
1
1
  module Fuel
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -2,11 +2,9 @@
2
2
  Fuel.configure do |config|
3
3
 
4
4
  # Change the layout to render with the blog
5
- #config.layout = "application"
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
- #config.layout = "application"
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
+  (0.1ms) SELECT COUNT(*) FROM "fuel_posts" WHERE "fuel_posts"."published" = 't'
23502
+ Fuel::Post Load (0.2ms) SELECT "fuel_posts".* FROM "fuel_posts" WHERE "fuel_posts"."published" = 't' ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
+  (0.2ms) SELECT COUNT(*) FROM "fuel_posts" WHERE "fuel_posts"."published" = 't'
23519
+ Fuel::Post Load (0.2ms) SELECT "fuel_posts".* FROM "fuel_posts" WHERE "fuel_posts"."published" = 't' ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis