dddr 2.0.1 → 2.0.2

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
  SHA256:
3
- metadata.gz: 8d7f242b3643ea6417751a4d0a172114d8f4e4d538740e8a2ef5cbec040e1d0b
4
- data.tar.gz: a46ea8ea402f0aa98c04ccc6b1d321f5d35f344fbb17684526f93d086d333cd6
3
+ metadata.gz: 9cab395c868292a8a01f627b5d99967d50ba266ad95066ab2f7915bf46dc7743
4
+ data.tar.gz: 888fbb3077de56f78fce8659f7213cc2ef588c7ba7d9d30ce7f8acc0bb086a2e
5
5
  SHA512:
6
- metadata.gz: 9105134ac2b43915ac26fd493758dc1cdf2e8e6b5f86c7c4af8e971feb7463722d97337054f3957976853d8b0c9245971089c15b82f0328edd142f360c8908ae
7
- data.tar.gz: 772dc22ef446d3d0ec98b81d02ef6ed27107491eccef64bb313677401e29b6c3f64277d3f5090d90c94605a426fa41d3cb7a0c975e43839278e48bcbcdab3f8c
6
+ metadata.gz: f87a05546bd55e3d70c27f34d18d9f6910a37343e0472c3360e67c469ca26998bb038bdafade0312de944ff16456dfde367438756a83fa76be2e7d0aaa63ae40
7
+ data.tar.gz: 5136621890bb41ff20e409cd2d0f89456eb238eaa24558b2bff641fcd986baa32e1c7813b545935f7d67dd855969e6fe8d0114e3ff6217af8e089139b1cac1b2
data/lib/dddr/sdbm.rb CHANGED
@@ -160,7 +160,7 @@ module Dddr
160
160
 
161
161
  def from_hash(uid, data_hash)
162
162
  self.uid = uid
163
- data_hash.each do |attribute, value|
163
+ data_hash&.each do |attribute, value|
164
164
  attribute = attribute.to_sym
165
165
  if respond_to?(:"#{attribute}=")
166
166
  send(:"#{attribute}=", value)
data/lib/dddr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dddr
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dddr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Burke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-10 00:00:00.000000000 Z
11
+ date: 2024-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sdbm