nostalgic 0.6.3 → 0.6.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ee7d0acbf5ab54cd13d65b797089fa7e0c4191af0e50b799fff8b503f0c1dfe
|
4
|
+
data.tar.gz: 55f7a3d9d7757571a5b147a9f9f0fa5d8a0efafe8d3503d8c4735f0a69a52f37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1726de51bbf7f30478811c1b7df2ee59a1e6b3284e53181f7f0515e09e6fe7412394feeceb95273ec64011f4c30de326e4a38557a85f1aaad29ebd5bee3799b3
|
7
|
+
data.tar.gz: b54df4664b474774df3bbbe4be7627c6aaa835f10d1db74de87ce2a21934dd919326ef358a53e1410db8e7fb481f90a30f4f15906eb4ccc81489b49ec96e164a
|
@@ -28,8 +28,8 @@ module Nostalgic
|
|
28
28
|
effective_at = self.__send__("#{attr}_effective_at")
|
29
29
|
next unless effective_at.present?
|
30
30
|
|
31
|
-
na = Nostalgic::Attr.where(:
|
32
|
-
na ||= Nostalgic::Attr.new(:
|
31
|
+
na = Nostalgic::Attr.where(model_type: self.class.name, model_id: self.id, name: attr, effective_at: effective_at).first
|
32
|
+
na ||= Nostalgic::Attr.new(model_type: self.class.name, model_id: self.id, name: attr, effective_at: effective_at)
|
33
33
|
na.value = self.__send__(attr)
|
34
34
|
na.save!
|
35
35
|
end
|
data/lib/nostalgic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nostalgic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
@@ -75,7 +75,7 @@ extra_rdoc_files: []
|
|
75
75
|
files:
|
76
76
|
- README.md
|
77
77
|
- Rakefile
|
78
|
-
- app/assets/config/
|
78
|
+
- app/assets/config/nostalgic_manifest.js
|
79
79
|
- app/assets/images/nostalgic/calendar.gif
|
80
80
|
- app/assets/images/nostalgic/list.png
|
81
81
|
- app/assets/images/nostalgic/minus.png
|