frontend-helpers 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/frontend-helpers.gemspec +6 -6
- data/lib/frontend-helpers/metatag_helper.rb +2 -2
- metadata +14 -16
data/Rakefile
CHANGED
@@ -19,7 +19,7 @@ Jeweler::Tasks.new do |gem|
|
|
19
19
|
gem.description = %Q{Large collection of useful Rails 3.1 helpers for SEO, Metatags, Facebook OG tags, integration for analytics services like google, woopra, olark, mixpanel and much much more...}
|
20
20
|
gem.email = "me@christopherhein.com"
|
21
21
|
gem.authors = ["Christopher Hein"]
|
22
|
-
gem.version = "0.0.
|
22
|
+
gem.version = "0.0.4"
|
23
23
|
# dependencies defined in Gemfile
|
24
24
|
end
|
25
25
|
Jeweler::RubygemsDotOrgTasks.new
|
data/frontend-helpers.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{frontend-helpers}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-07-
|
11
|
+
s.authors = [%q{Christopher Hein}]
|
12
|
+
s.date = %q{2011-07-26}
|
13
13
|
s.description = %q{Large collection of useful Rails 3.1 helpers for SEO, Metatags, Facebook OG tags, integration for analytics services like google, woopra, olark, mixpanel and much much more...}
|
14
14
|
s.email = %q{me@christopherhein.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -88,9 +88,9 @@ Gem::Specification.new do |s|
|
|
88
88
|
"vendor/assets/stylesheets/variables.css.sass"
|
89
89
|
]
|
90
90
|
s.homepage = %q{http://github.com/christopherhein/frontend-helpers}
|
91
|
-
s.licenses = [
|
92
|
-
s.require_paths = [
|
93
|
-
s.rubygems_version = %q{1.
|
91
|
+
s.licenses = [%q{MIT}]
|
92
|
+
s.require_paths = [%q{lib}]
|
93
|
+
s.rubygems_version = %q{1.8.5}
|
94
94
|
s.summary = %q{Collection of useful frontend helpers for Rails 3.1 applications.}
|
95
95
|
|
96
96
|
if s.respond_to? :specification_version then
|
@@ -20,9 +20,9 @@ module FrontendHelpers
|
|
20
20
|
|
21
21
|
def meta(name, options)
|
22
22
|
if !name.blank? && !setting(name).blank? || options.include?(name) && options[name]
|
23
|
-
options[:title] = ( options[name].
|
23
|
+
options[:title] = ( !options[name].blank? ) ? "#{options[name]} #{setting(:title)}" : ""
|
24
24
|
desc = (options.include?(name)) ? options[name] : setting(name)
|
25
|
-
haml_concat "<meta content='#{
|
25
|
+
haml_concat "<meta content='#{setting(name)}' name='#{name.to_s}' />"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frontend-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-07-
|
13
|
-
default_executable:
|
12
|
+
date: 2011-07-26 00:00:00.000000000Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rails
|
17
|
-
requirement: &
|
16
|
+
requirement: &2165222860 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ~>
|
@@ -22,10 +21,10 @@ dependencies:
|
|
22
21
|
version: 3.1.0.rc4
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165222860
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
26
|
name: haml-rails
|
28
|
-
requirement: &
|
27
|
+
requirement: &2165217360 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ~>
|
@@ -33,10 +32,10 @@ dependencies:
|
|
33
32
|
version: 0.3.4
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
35
|
+
version_requirements: *2165217360
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
37
|
name: sass-rails
|
39
|
-
requirement: &
|
38
|
+
requirement: &2165216880 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
@@ -44,10 +43,10 @@ dependencies:
|
|
44
43
|
version: 3.1.0.rc
|
45
44
|
type: :runtime
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
46
|
+
version_requirements: *2165216880
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: sprockets
|
50
|
-
requirement: &
|
49
|
+
requirement: &2165216400 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ~>
|
@@ -55,10 +54,10 @@ dependencies:
|
|
55
54
|
version: 2.0.0.beta.10
|
56
55
|
type: :runtime
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
57
|
+
version_requirements: *2165216400
|
59
58
|
- !ruby/object:Gem::Dependency
|
60
59
|
name: jeweler
|
61
|
-
requirement: &
|
60
|
+
requirement: &2165215920 !ruby/object:Gem::Requirement
|
62
61
|
none: false
|
63
62
|
requirements:
|
64
63
|
- - ~>
|
@@ -66,7 +65,7 @@ dependencies:
|
|
66
65
|
version: 1.6.4
|
67
66
|
type: :development
|
68
67
|
prerelease: false
|
69
|
-
version_requirements: *
|
68
|
+
version_requirements: *2165215920
|
70
69
|
description: Large collection of useful Rails 3.1 helpers for SEO, Metatags, Facebook
|
71
70
|
OG tags, integration for analytics services like google, woopra, olark, mixpanel
|
72
71
|
and much much more...
|
@@ -146,7 +145,6 @@ files:
|
|
146
145
|
- vendor/assets/javascripts/tempo.js
|
147
146
|
- vendor/assets/stylesheets/reset.css.sass
|
148
147
|
- vendor/assets/stylesheets/variables.css.sass
|
149
|
-
has_rdoc: true
|
150
148
|
homepage: http://github.com/christopherhein/frontend-helpers
|
151
149
|
licenses:
|
152
150
|
- MIT
|
@@ -162,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
160
|
version: '0'
|
163
161
|
segments:
|
164
162
|
- 0
|
165
|
-
hash:
|
163
|
+
hash: -266319691845052184
|
166
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
165
|
none: false
|
168
166
|
requirements:
|
@@ -171,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
169
|
version: '0'
|
172
170
|
requirements: []
|
173
171
|
rubyforge_project:
|
174
|
-
rubygems_version: 1.
|
172
|
+
rubygems_version: 1.8.5
|
175
173
|
signing_key:
|
176
174
|
specification_version: 3
|
177
175
|
summary: Collection of useful frontend helpers for Rails 3.1 applications.
|