backframe 0.0.33 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backframe/activerecord/acts_as_distinct.rb +3 -1
- data/lib/backframe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd30a69f4ad3280be12ca8390ccb69ff46b2df45
|
4
|
+
data.tar.gz: 54bbc817050e0b6e80e45116b16fd7404767df8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9a0e0374ea0bdeffd0c2379a3e4da5a12f1635bc3c6a87d3eb2032e037b4e8646eef1bf6b20806d6829ed8a46a4807c7056dfc78686f8ea114f3657b6fa3ec
|
7
|
+
data.tar.gz: 01476f8f0be8a5d18e21539df7b32ee0bc2e4b20d2e94de8ee6e7b37a7fb163db7871442cfa36d5c9587ca6b0eef3db2f677d15956dc757a0de805918ae2da98
|
@@ -34,7 +34,9 @@ module Backframe
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def toggle_#{field}_distinction
|
37
|
-
self.#{arguments[:parent]}.#{arguments[:association]}.where('id != ?', self.id).
|
37
|
+
self.#{arguments[:parent]}.#{arguments[:association]}.where('id != ?', self.id).each do |item|
|
38
|
+
item.update_attributes(:#{field} => false)
|
39
|
+
end
|
38
40
|
end
|
39
41
|
|
40
42
|
EOV
|
data/lib/backframe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backframe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Kops
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: write_xlsx
|