husky 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: d652db9e54915a01155dd3a95f0452986babd4f2
4
- data.tar.gz: aae94dc524cdf12b09bdf47b88e5303678761ca4
3
+ metadata.gz: e45ab951f28699bab843a354e3bb6c4bb9431f94
4
+ data.tar.gz: e7f3172b081865b97597fca413d179429696a85e
5
5
  SHA512:
6
- metadata.gz: 115b460d206b6f17716497cf0105ae25882e7cdad210952eed724ab27f6dcbe90987b54b78f03667abd3c3a293f28b2c389e6dbfeb6c4cf4525777b587444f66
7
- data.tar.gz: 18baafce7df2b1eb1946581aaaa1bd3c7dda95e85e5e77a0e308ca47a9e5973e443c613c3455bf06bb6bbcd60b9e8f6353b0b9f9692957e4d609e802d13b8de1
6
+ metadata.gz: b728645299b95231da74341a9a5e27444e8097a09687ef81d111e5a0d58cb97a81bbaa555013358bdb2f902f3909e23add1a4e09c701391754c5012502c9a442
7
+ data.tar.gz: abfb15539b72daa1bdd5334e6c6007d602cdc66dd1d83f90f017bd5dbaec80546629ad77e12c12493f86c482358ccb89680741f5968dc4854cda9819612e30b2
@@ -51,11 +51,11 @@ module Husky
51
51
  end
52
52
 
53
53
  def new(attributes)
54
- receiver.new({"#{caller.class.split('::').last.to_s.downcase}_id".to_sym => caller.id })
54
+ receiver.new({"#{caller.class.to_s.split('::').last.downcase}_id".to_sym => caller.id })
55
55
  end
56
56
 
57
57
  def create(attributes)
58
- receiver.create({"#{caller.class.split('::').last.to_s.downcase}_id".to_sym => caller.id })
58
+ receiver.create({"#{caller.class.to_s.split('::').last.downcase}_id".to_sym => caller.id })
59
59
  end
60
60
 
61
61
  end
data/lib/husky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Husky
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: husky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser