redde_seo 0.0.6 → 0.0.7

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: eaaee80396cd1ddaca558e32d5006d12d874b094
4
- data.tar.gz: 3ac3076cbb534f88f10a6b77fde24a6c79dddf26
3
+ metadata.gz: 38c5cf2a5f38a19bfc182b5f8d851c9a7ec8037c
4
+ data.tar.gz: 79f0e68b58758d8a4795fd85187a0d175e90119f
5
5
  SHA512:
6
- metadata.gz: 51ed5570248de4d2cc0364ec7f628244fa0e735658bf93aa2e173d167edf56e6228294cea6046534745822f731e320866a7942555af962b0a161ec45db9d2638
7
- data.tar.gz: fa3da236405353d393997f8aba423bd87114a34ea367606137a05ef9b70ae5c32349b879386d87a1b02eab7c872cd91af19204652d9d8bbf09ea31949e4e3d65
6
+ metadata.gz: 9c97bbdd3c47fe6368aa9b0388a3771fc0b025342b6ce690a41107c7324dbbbabb31783dd403c34a52ff121c6e59e13c205d5704555dec744c212fd7a751a839
7
+ data.tar.gz: 6d61021acaf06e801b57cbd6dcf42e9c09ac3cfdabb81c7a96f34cf80fbdc560cb0ea5158419ec9cfaf56bc427311d73d303beefaab85e40a19628cc4b5540f0
@@ -15,7 +15,8 @@ module Redde::Seo::SeosHelper
15
15
  end
16
16
 
17
17
  def seo_url_for(seo)
18
- title = truncate(seo.url, length: 40)
18
+ title = CGI.unescape(seo.url || '')
19
+ title = truncate(title, length: 40)
19
20
  title.present? ? title : 'НЕ ЗАПОЛНЕНО'
20
21
  end
21
22
 
@@ -1,3 +1,3 @@
1
1
  module ReddeSeo
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redde_seo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Bovykin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-01 00:00:00.000000000 Z
11
+ date: 2014-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails