acts_as_seo_friendly 0.1.1 → 0.1.2

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: 72a0cd27380e15ff13872d7bf771f1f5cb3fee2c
4
- data.tar.gz: fbe813f6a09c37dc68e9bcd4be3255d5d8066c6f
3
+ metadata.gz: d8ea46b24658a7663c0c1bd5c6d72270a6c8fb53
4
+ data.tar.gz: bb218da35653bffb6aec6e0ff31b7b51c402dee7
5
5
  SHA512:
6
- metadata.gz: 4d9dc53f40b09685b4e67c08579c52bb04cc51af6c7da3223124a5e10c51ceb0f398c4bd016092bd11f4dc97742e0a8163cc959592fdf71807791fe7f440f03b
7
- data.tar.gz: 2c2bf33b035a8ff7e694b99afc76af58318604c247693fe9bf16e233640568bf43c0ca6f3d14a17ca0eedc7ea76d9ed7701fb572a979f10ef4a748350d112ed4
6
+ metadata.gz: 9737dd1b85bfed811da39e203603850a71370f55132bac2488d5811f9a42e3e32efcee5878509a63dd586f2423ba9f617efd4d68748ab5ea7a18c4507eb2e26e
7
+ data.tar.gz: c2f122c4c404d9cae8cd0e0b96cfa4668920fcf02f6ce68d92daace34ae934df38d8b31240b2141328a36a81dbb77cf4838c652f3793fc6f20a7cbb31aad07ad
@@ -3,7 +3,7 @@ module ActsAsSeoFriendly
3
3
  module Getters
4
4
  ActsAsSeoFriendly::Datable::Core::SEO_ATTRIBUTES.each do |seo_attr|
5
5
  define_method(seo_attr) do
6
- if seo_datum.persisted?
6
+ if seo_datum && seo_datum.persisted?
7
7
  seo_datum.public_send(seo_attr)
8
8
  else
9
9
  public_send("dynamic_#{seo_attr}")
@@ -1,3 +1,3 @@
1
1
  module ActsAsSeoFriendly
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_seo_friendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timur Khafizov
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.0
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: meta-tags
29
29
  requirement: !ruby/object:Gem::Requirement