seo_sensei 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
  SHA256:
3
- metadata.gz: 039b4d7451379832e9b2dde51b174b8161cea974f920b0dd04052721c84c6431
4
- data.tar.gz: 40e9ed89593176b74804b78efc7faef877b5939f178d94dd4af8a7759c081f21
3
+ metadata.gz: 4b11732e3c9b743cc999b9e9e4d3b52ca0af9a69f2fa3e3592a4e7d1dee7cb88
4
+ data.tar.gz: 934087732ba032a38bc37d09d79125c741aba62751e44d6c90259f89cb537afd
5
5
  SHA512:
6
- metadata.gz: adeb0f223ca94b05663a02883c9f7b29086de23acfcb817f53adb2e994d3a20ff24cf7bb5a1d22164f32bdef5990354f3a416d5c9ef8b42747cca1f146654f4d
7
- data.tar.gz: b37e1f5be403af45fa7d72cc364774f56712a40a8aed9357e5009efc098171d7730a9d50717cca482146154d012b864879e0c0aa0c2804dbcdbbeb0ea59cdced
6
+ metadata.gz: 41af511808da760723e03e764400e882b0c20d4d3a50567fca0ad56b999f20d247f3a1896923a35d2bd79975e625d9087cea457ded63d070a153f203f6a3bdae
7
+ data.tar.gz: 2025b0a82ca5173c7eb86fb4a615d7a7d6282403322a187ba65c8e5d38862dd5d1ff1506a36e1ee58909bec5e696da81412065e958c6832454cf26fdeba0e142
@@ -11,15 +11,15 @@ module SeoSensei
11
11
  end
12
12
 
13
13
  def title
14
- @translation['title']
14
+ @translation[:title]
15
15
  end
16
16
 
17
17
  def description
18
- @translation['description']
18
+ @translation[:description]
19
19
  end
20
20
 
21
21
  def keywords
22
- @translation['keywords']
22
+ @translation[:keywords]
23
23
  end
24
24
 
25
25
  def use_image?
@@ -30,7 +30,7 @@ module SeoSensei
30
30
  if use_obj_image?
31
31
  @obj.seo_image_url
32
32
  elsif use_translation_image?
33
- @translation['seo_image_url']
33
+ @translation[:seo_image_url]
34
34
  end
35
35
  end
36
36
 
@@ -38,7 +38,7 @@ module SeoSensei
38
38
  if use_obj_image?
39
39
  @obj.seo_image_dimensions[:width].to_s
40
40
  elsif use_translation_image?
41
- @translation['seo_image_width']
41
+ @translation[:seo_image_width]
42
42
  end
43
43
  end
44
44
 
@@ -46,7 +46,7 @@ module SeoSensei
46
46
  if use_obj_image?
47
47
  @obj.seo_image_dimensions[:height].to_s
48
48
  elsif use_translation_image?
49
- @translation['seo_image_height']
49
+ @translation[:seo_image_height]
50
50
  end
51
51
  end
52
52
 
@@ -59,9 +59,9 @@ module SeoSensei
59
59
  end
60
60
 
61
61
  def use_translation_image?
62
- !@translation['seo_image_url'].nil? &&
63
- !@translation['seo_image_width'].nil? &&
64
- !@translation['seo_image_height'].nil?
62
+ !@translation[:seo_image_url].nil? &&
63
+ !@translation[:seo_image_width].nil? &&
64
+ !@translation[:seo_image_height].nil?
65
65
  end
66
66
  end
67
67
  end
@@ -6,7 +6,7 @@ module SeoSensei
6
6
  #
7
7
  # @return [String]
8
8
  def to_s
9
- "0.0.6"
9
+ "0.0.7"
10
10
  end
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seo_sensei
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
  - Paweł Dąbrowski