husky 0.2.4 → 0.2.5
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 +2 -2
- 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: d652db9e54915a01155dd3a95f0452986babd4f2
|
4
|
+
data.tar.gz: aae94dc524cdf12b09bdf47b88e5303678761ca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 115b460d206b6f17716497cf0105ae25882e7cdad210952eed724ab27f6dcbe90987b54b78f03667abd3c3a293f28b2c389e6dbfeb6c4cf4525777b587444f66
|
7
|
+
data.tar.gz: 18baafce7df2b1eb1946581aaaa1bd3c7dda95e85e5e77a0e308ca47a9e5973e443c613c3455bf06bb6bbcd60b9e8f6353b0b9f9692957e4d609e802d13b8de1
|
data/lib/husky/data_source.rb
CHANGED
@@ -51,11 +51,11 @@ module Husky
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def new(attributes)
|
54
|
-
receiver.new({"#{caller.to_s.
|
54
|
+
receiver.new({"#{caller.class.split('::').last.to_s.downcase}_id".to_sym => caller.id })
|
55
55
|
end
|
56
56
|
|
57
57
|
def create(attributes)
|
58
|
-
receiver.create({"#{caller.to_s.
|
58
|
+
receiver.create({"#{caller.class.split('::').last.to_s.downcase}_id".to_sym => caller.id })
|
59
59
|
end
|
60
60
|
|
61
61
|
end
|
data/lib/husky/version.rb
CHANGED