homura 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/homura/layout_helper.rb +3 -6
- data/lib/homura/version.rb +1 -1
- metadata +5 -5
@@ -12,9 +12,8 @@ module Homura
|
|
12
12
|
if text.present?
|
13
13
|
@page_title = text
|
14
14
|
og_properties title: text
|
15
|
-
else
|
16
|
-
@page_title
|
17
15
|
end
|
16
|
+
@page_title
|
18
17
|
end
|
19
18
|
|
20
19
|
def page_title_tag
|
@@ -30,9 +29,8 @@ module Homura
|
|
30
29
|
if text.present?
|
31
30
|
@page_description = text
|
32
31
|
og_properties description: text
|
33
|
-
else
|
34
|
-
@page_description
|
35
32
|
end
|
33
|
+
@page_description
|
36
34
|
end
|
37
35
|
|
38
36
|
def page_description_tag
|
@@ -55,9 +53,8 @@ module Homura
|
|
55
53
|
else
|
56
54
|
@canonical_link = url
|
57
55
|
end
|
58
|
-
else
|
59
|
-
@canonical_link
|
60
56
|
end
|
57
|
+
@canonical_link
|
61
58
|
end
|
62
59
|
|
63
60
|
def canonical_link_tag
|
data/lib/homura/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: homura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
segments:
|
201
201
|
- 0
|
202
|
-
hash:
|
202
|
+
hash: -2971619707549768751
|
203
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
204
|
none: false
|
205
205
|
requirements:
|
@@ -208,10 +208,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
segments:
|
210
210
|
- 0
|
211
|
-
hash:
|
211
|
+
hash: -2971619707549768751
|
212
212
|
requirements: []
|
213
213
|
rubyforge_project:
|
214
|
-
rubygems_version: 1.8.
|
214
|
+
rubygems_version: 1.8.24
|
215
215
|
signing_key:
|
216
216
|
specification_version: 3
|
217
217
|
summary: Homura is a simple layout generator and helpers for rails
|