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 +4 -4
- data/lib/vidibus/permalink/mongoid.rb +2 -2
- data/lib/vidibus/permalink/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f00dec174def77cba9500663b540a6ffc8cf7a0b
|
4
|
+
data.tar.gz: fd3d2f0a87f99dd7c36ddec51003ee2fa17bf059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 ||=
|
116
|
-
values <<
|
115
|
+
changed ||= send("#{name}_changed?")
|
116
|
+
values << send(name)
|
117
117
|
end
|
118
118
|
return unless permalink.blank? || changed
|
119
119
|
value = values.join(' ')
|