useful_helpers 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,7 +53,7 @@ module UsefulHelpers
53
53
  html << " — #{@medium_title}"
54
54
  end
55
55
  city_abbr = I18n.t("useful_helpers.city_abbr")
56
- regional_suffix = I18n.t("useful_helpers.regional_suffix")
56
+ regional_suffix = @city.present? ? @city.formatted : I18n.t("useful_helpers.regional_suffix")
57
57
  unless ca('welcome', 'index')
58
58
  if html.include?(regional_suffix)
59
59
  html << " — #{@site_name}"
@@ -1,3 +1,3 @@
1
1
  module UsefulHelpers
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: useful_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
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: 2013-10-07 00:00:00.000000000 Z
12
+ date: 2013-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 1.8.23
114
+ rubygems_version: 1.8.19
115
115
  signing_key:
116
116
  specification_version: 3
117
117
  summary: Useful helpers methods for Good Rails App