fantasydata 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae77df0a91c0a0bfe2724a0a72616e10dc6c17a6
4
- data.tar.gz: 9ffb4872105ac839f35da08123936f56a6d92103
3
+ metadata.gz: c4a5a3de56150f0c75b44ae3f6605d1202040891
4
+ data.tar.gz: 97501c3096b1d2391acdcf68d5dd380a91d6189d
5
5
  SHA512:
6
- metadata.gz: c529efd0bf29ef9388ffa7baa8dfb059b044b4f31963c039758dd1984963972e7e09ad7c66e29f1b88305c3d4109b752528beeab6379e83bcc2d0147e69d7193
7
- data.tar.gz: 31c6dcef40207dd67bc5b81fa2c3d811b0a7ebcf4f5fa0f4972dc7fa08fe9832f8e063d56ae9405b5e88c80f8aacf4fc17701c5a8f68c77af57570dbe6700e29
6
+ metadata.gz: ed37f9604c62e6dd8006a3cef50b0b8d57010919186f055895b008bcba052bd1fddbe4ca99208678f5164929758c225a6499eb25a77118c396b2ca50a30cbb7b
7
+ data.tar.gz: 377894ee279fdcbdb69acaab60290bf1c258e572b77d2093670cdb3d08c46854d02c2215c5cd3c848c42fe1d11fb331f5f61dbcc5bec15c4f30257b77a1393ef
@@ -32,6 +32,7 @@ module Fantasydata
32
32
  # @return [Fantasydata::Base]
33
33
  def initialize(attrs={})
34
34
  new_attrs = {}
35
+ attrs = {} if attrs.nil?
35
36
  attrs.to_hash.each_pair do |k,v|
36
37
  new_attrs.merge!({underscore_key(k) => v})
37
38
  end
@@ -1,3 +1,3 @@
1
1
  module Fantasydata
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fantasydata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Drost
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-29 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday