rhj_init 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +1,22 @@
1
1
  <!DOCTYPE HTML>
2
2
  <html lang="en">
3
3
  <head>
4
- <title><%= getTitle yield :pageTitle %>Title</title>
4
+ <title><%= get_title yield :page_title %>Title</title>
5
5
  <meta charset="utf-8" />
6
6
  <meta name="author" content="">
7
- <meta name="description" content="<%= getDescription yield :pageDescription %>">
8
-
7
+ <meta name="description" content="<%= get_description yield :page_description %>">
8
+ <%= csrf_meta_tag %>
9
+
9
10
  <%= stylesheet_link_tag 'application' %>
10
- <%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', 'rails', 'application' %>
11
11
  <%= yield :head %>
12
12
 
13
13
  <link rel="shortcut icon" href="/favicon.ico">
14
14
  </head>
15
15
  <body>
16
+ <%= notice %>
16
17
  <%= yield %>
17
18
 
19
+ <%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', 'rails', 'application' %>
18
20
  <%= yield :foot %>
19
21
  </body>
20
22
  </html>
@@ -1,10 +1,10 @@
1
1
  module ApplicationHelper
2
2
 
3
- def getTitle(title)
3
+ def get_title(title)
4
4
  title != '' ? title + ' - ' : ''
5
5
  end
6
6
 
7
- def getDescription(description)
7
+ def get_description(description)
8
8
  description != '' ? description : ''
9
9
  end
10
10
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 3
9
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mendel Looije
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-09 00:00:00 +01:00
17
+ date: 2010-03-11 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -88,6 +88,6 @@ rubyforge_project:
88
88
  rubygems_version: 1.3.6
89
89
  signing_key:
90
90
  specification_version: 3
91
- summary: Rails 3, HTML5, jQuery, Sass based project files generator
91
+ summary: Rails 3 HTML 5 jQuery 1.4.2 Sass project. Initial project files generator
92
92
  test_files: []
93
93