vidibus-permalink 1.1.1 → 1.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: a0f6739c06733a192c1cc9d64e185be44323af2a
4
- data.tar.gz: 87b4010b49dab36fbe7e7bd23a0566a046721fd2
3
+ metadata.gz: f00dec174def77cba9500663b540a6ffc8cf7a0b
4
+ data.tar.gz: fd3d2f0a87f99dd7c36ddec51003ee2fa17bf059
5
5
  SHA512:
6
- metadata.gz: a32a63c0e96135aa6915add4a471666008bdfac1fe19053094b53a874268dc49925e60d61df67efa40e377797fdabe5c8944444fa21f23677308a8ea08f13a8e
7
- data.tar.gz: 55eac63dd2eba1965e68624cdb516bb99d6028c6e17c079a1a0c0fd6d7c13a559a0592dab10f3656da438de8bef6701b74ee486bee45a7bed3ab67727a1144cf
6
+ metadata.gz: '0915a7c00cdf3e4212c24f13fc4bb044222230473f56a44c4efd49d3457d2b5e37be1b95fcf52f2469eefcd2e4a5ebc35b55349de44370a50286f94612ca4104'
7
+ data.tar.gz: 1bae7199adbea407806612f98f15e60f26d84065c29de92e23c81138c6b1950998b6eb2f4e4ac41371442c42e29486be949b5a058474151976480a617c060a26
@@ -112,8 +112,8 @@ module Vidibus
112
112
  changed = false
113
113
  values = []
114
114
  attribute_names.each do |name|
115
- changed ||= changes[name].present?
116
- values << attributes[name.to_s]
115
+ changed ||= send("#{name}_changed?")
116
+ values << send(name)
117
117
  end
118
118
  return unless permalink.blank? || changed
119
119
  value = values.join(' ')
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Permalink
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-permalink
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Pankratz