husky 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/husky/data_source.rb +0 -6
- data/lib/husky/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: f709d31c44772385773c90e5204c7a78f810ac17
|
4
|
+
data.tar.gz: 58c3b19239b907e180ed99417f5c4dd55771246d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f919302d9843c5e4aabe13f27f202c3468faacae616bcf74d701b28b31c1686ed65410b6bc95b4186754f64d7a4076f2cbb4e2a14824ba4d9d83405674df8cd6
|
7
|
+
data.tar.gz: 76bc658d3c605b124194bb3ee6feb36e20315fcf1079ce5d597f8d438275a3710077bf8988dabecce3a6b7dde5866200d077c851db96bcbadf76d478283d17ef
|
data/lib/husky/data_source.rb
CHANGED
@@ -57,12 +57,6 @@ module Husky
|
|
57
57
|
receiving_class.new(attrs)
|
58
58
|
end
|
59
59
|
|
60
|
-
def create(attributes)
|
61
|
-
attrs = attributes
|
62
|
-
attrs[caller_id] = caller.id
|
63
|
-
receiving_class.create(attrs)
|
64
|
-
end
|
65
|
-
|
66
60
|
def caller_id
|
67
61
|
"#{caller.class.to_s.split('::').last.downcase}_id".to_sym
|
68
62
|
end
|
data/lib/husky/version.rb
CHANGED