acts_as_seo_friendly 0.0.5 → 0.0.6

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: e8991184a6efb66cb8fef89079e53d7c348e2d11
4
- data.tar.gz: 816bd4c40b28078e53651d8a3a0c82b9e8ed13fb
3
+ metadata.gz: c3543bcb4e6f4ef7f71b66ad82182d3464926c88
4
+ data.tar.gz: dccea517bfaad544e10883df672d747d9fa7e865
5
5
  SHA512:
6
- metadata.gz: 0efb0c0ddc56ef279ef566b71f4fe17fe410ec5ecdd7dd3288a5524e92a0916eb7015da313dc8978455252111a1c9b4ad8f4239c64c6d55e87ff4900c0409d0f
7
- data.tar.gz: e8f046276f9cf9f686b823afd8c60b4a9d31816080c7aaffd84b006430658ce0f2f9843922deff9926a9d3179f3f1d7e271fd90f47b371a56e2cc1d0397f0669
6
+ metadata.gz: 5e9a17fc33d9ddbc1bab0e2dbdb6ab0729beb5f6212c1fd90d2a03bed69a4b2f6bb2c1de74f1ae7c4854cb38a8e4207ed4a013fb778d17f06f2e6e1f652888f2
7
+ data.tar.gz: e8b2a0097d39068146795ed4ec6584ef0e07dfd4ddb8f3e5d9fed206abc0bd9903538a2eb8eb3df4c7e7f032d39f3e2aa0aaa5428abafd40ae7e5f4912c68f40
@@ -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
6
+ if 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.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_seo_friendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timur Khafizov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails