kouba 0.2.0 → 0.2.1

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: 9005ed77d8d3d91487f4b17a124e87ff4b74d486a28a9fc9e5f08202710dc019
4
- data.tar.gz: 7d903b55e4f6f382a16b596a0d1c967d5429bd6ab79a71438bc945531b32a3fe
3
+ metadata.gz: 9b265091dd8a28d6ebf8f88e941ac7e58b06ce5d73b793d10fdc2e641fd42f99
4
+ data.tar.gz: 8c8120bdaad55a23e3641b6d05660c63d577f29741bea8dc94f9d359e729fcff
5
5
  SHA512:
6
- metadata.gz: 6385d7d556478d32de68d12b3ccfe3a1bce2e10600370aef76fb3feb18757fd5048f281af1e82cf0b1899373b6aed49276d7a66bb3eef0f46ac4413671fae0a6
7
- data.tar.gz: 75812e3e464d1610f9b99d5f851a454dc8f895f7551f91a74d6312d78f453c50199b562e6a0e36ecce8f8f336902395f5b45c1cc156aff7098f2e4489abf9a47
6
+ metadata.gz: 5a54503d0fd54cdbc3c1e6f4731a052da187490de37ff5b19d3e7bf904af8a6c3ab0938d84ed7920ed4b3b9cf2402ee68219c66914344d59fef00f5ae34c3e66
7
+ data.tar.gz: d11e9a80eb907b97388840745c5377c3e8a46071ab1d991459f5ca6f99e67968302a1f075d7659ffa9fc4ba1edca26de39c45a22e1638485d2d149f8fcbe389e
@@ -19,7 +19,7 @@ module Kouba
19
19
  end
20
20
 
21
21
  def create(config)
22
- (find(config[@name_key ? @name_key.to_sym : :name])).new(config[:options])
22
+ (find(config[@name_key ? @name_key.to_sym : :name])).new(config[:options] || {})
23
23
  end
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Kouba
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kouba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - youpy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-20 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector