verbalize 2.1.0 → 2.1.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
  SHA1:
3
- metadata.gz: 906d5dc6f28ab649fe2d08a666726e7b6718957f
4
- data.tar.gz: 5689edea2dbfa8a0789eb07622420ff3753fe506
3
+ metadata.gz: fbb81a57e922f9eb1725daf38886898e1ec0e0d8
4
+ data.tar.gz: 1ce4904ec6243de8e40e269b7e773ebd516d0d9b
5
5
  SHA512:
6
- metadata.gz: 2e80ec6ed639bf4e17cd88ac5c03074d79a2f38250193ccb7586c711c4fde1a84851228a93e8550f3af53cb8d7eeec966fff4a04ace5b41af7f4265dc8b16035
7
- data.tar.gz: f25395a64d6255547806f218cec5c6c2615b82245865394c1fd1cf4af19f5f9c40c74fb75451e2cbff667aa8fa8387f8ddc76d49b8bc5c99767a16fe4b1655b0
6
+ metadata.gz: 2b9acacd50f16370208e8adde4c37b2822051ec77fd0fa9979e2fcddac898053ecdb3413a6db3d87ec821bceed104c453881d7ced95dfef726bda5eb6c2f24b6
7
+ data.tar.gz: a89f9934e93a7dbbb1124ff443cc9551ae2e3af5fb3346ffb0b1445787c77095b3dc6b6c2e9012f1ad84770207d7b9b489c475249036c8d9a4383884eb757c3c
@@ -18,9 +18,10 @@ module Verbalize
18
18
  module ClassMethods
19
19
  def input(*required_keywords, optional: [])
20
20
  @required_inputs = required_keywords
21
+ optional = Array(optional)
21
22
  @optional_inputs = optional
22
23
 
23
- class_eval Build.call(required_keywords, Array(optional))
24
+ class_eval Build.call(required_keywords, optional)
24
25
  end
25
26
 
26
27
  def required_inputs
@@ -1,3 +1,3 @@
1
1
  module Verbalize
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verbalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Taylor