husky 0.4.7 → 0.4.8

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: 95c6f676a24d58bae9f5b04e0d0f8df8722d24bc
4
- data.tar.gz: 87c3de7cafe445616564ffaf1f2c2995cc013016
3
+ metadata.gz: 321531cb611c89432e8cbc10f077f50b6163ac3f
4
+ data.tar.gz: 6f96526b761598fcb7c3a9369c70792fc5801e72
5
5
  SHA512:
6
- metadata.gz: e0d456d3bf191ac50c337ff27737d23ae7a4d9ac50e5b40763546e4937f659ada94b1917d89b1f06ffa79a497f4844de987821321945f6f858321f579ed55747
7
- data.tar.gz: baa0ff88e8e2ee22d260d0152de6fafed016b1561363b0180f42556ad7877be7f525daa1291623d3488073407b4900d4fd37e84dc9cb3df5eb68afc2a5c0fd87
6
+ metadata.gz: 87ca458b62cac540d41d950d1ada6b2e342e01430b8e380b0ced836b97d5149c0629e82554cc27d939f0d0b9a4b04246b1982e208118b9319f4aaa2a165fac6c
7
+ data.tar.gz: dfdf88c10102c8deec6a28a6aa5347817a4dbe3d078c0e4d06ee1f728c79ef636de74cb65727a064f8732d1e7cb2ecdf37c01aeb5180b10c8e2386e7d8ef753b
data/lib/husky/entity.rb CHANGED
@@ -10,7 +10,7 @@ module Husky
10
10
  items.map { |item| new(item) }
11
11
  end
12
12
 
13
- def new(data)
13
+ def new(data = nil)
14
14
  instance = allocate
15
15
  instance.initialize(data)
16
16
  instance
@@ -20,7 +20,7 @@ module Husky
20
20
 
21
21
  attr_reader :data
22
22
 
23
- def initialize(data = nil)
23
+ def initialize(data)
24
24
  if data.nil?
25
25
  # do nothing
26
26
  elsif data.is_a? Hash
data/lib/husky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Husky
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
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.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser