husky 0.2.8 → 0.2.9

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: 9648310eaec6ddb1f227b88b3cc97925bba26808
4
- data.tar.gz: 7a2163d91ca306a06cc6dd7912dc48a386469f01
3
+ metadata.gz: 46eb99761e40638ea1a66aaa5c8855cb9be5e2c5
4
+ data.tar.gz: 2b98014f5f03fb6b6f8ab5d18ec7fa05e6d99be2
5
5
  SHA512:
6
- metadata.gz: c8b5c4d81f2967bf9495541e606bc414ad1d5712ba98161bdf27a340569eb5a902580712eda8e1a9fb1038388414a3fbbb1374d7a5dadd8bb261d81bd5503eaf
7
- data.tar.gz: dfbf5ec9b871cfaa06bd893d20c324f593bb7d2ae9a76fb2b9f4d1b48c95292227c07477ceeea9f9be85c2a25fbc2ec458b1b0f5f807474b0a67330336f9abfc
6
+ metadata.gz: e4909d78f4ed4aa27512dfba27a8a27e3c2e329f94ebe4820a3ce054a1ed7d178241389271af538460cd32dd0b1fe63dc112b6eaf715b997af0dc212fe710ee0
7
+ data.tar.gz: 5ba667f479b9a983e3eecfffa6db45fe097686aa3cdaea852f38271baf62ad529d73635a19cb97a8c789dde2ead8b332041380a88a5ee805a1dc3d6c85bef342
@@ -52,11 +52,15 @@ module Husky
52
52
  end
53
53
 
54
54
  def new(attributes)
55
- receiving_class.new({ caller_id => caller.id })
55
+ attrs = attributes
56
+ attrs[caller_id] = caller.id
57
+ receiving_class.new(attrs)
56
58
  end
57
59
 
58
60
  def create(attributes)
59
- receiving_class.create({ caller_id => caller.id })
61
+ attrs = attributes
62
+ attrs[caller_id] = caller.id
63
+ receiving_class.create(attrs)
60
64
  end
61
65
 
62
66
  def caller_id
data/lib/husky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Husky
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
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.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser