toji 2.1.1 → 2.2.0

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: 87a3ae4b530080a371d8f7472896aafa76785d81b2508a2f16c217dac8ef4e1e
4
- data.tar.gz: 1fbf56b2bd1099d926a471d3f6ebfed65e5e4729fd32277de7365babc5c47965
3
+ metadata.gz: 1e20c648a630d7fe91cb28f7cf1d814a8bb97ced2b8a3ccbd13898ecfebb80d4
4
+ data.tar.gz: f44424c103690e980a5c5e687aa523d6d07bba48d4ed982729fde48ab2d5a01e
5
5
  SHA512:
6
- metadata.gz: c76492409bd3de881c5afd0f4d61417710d6e17807623eb7d9e79d57585e383f9b615bb32f20de40ca102da9a452fef4fbf4128898ecd1920ee769bb4e4f793e
7
- data.tar.gz: b43acdcee2dcfeabb5837cce1826212081c03b82c5ed267d3a0e8de16717037daaea95eb456d533bad5801fd266aa5c9a060a6b25bb43f1a728090efc962fda0
6
+ metadata.gz: ed410c3afe0b4b7f95266e00930412e0bac9831dd4fb5048e2f27089686c659a4f485652ff5f6b73fd02f841282cb7bdbea5cd4c1758095328630ee51396b292
7
+ data.tar.gz: 2d1c281ef25b676416888b5370922896f6def8a5f45a18b77c0ef743348ff04174659fdc4aa27efd8a01ff456e46ce18761295c0443afaf2ceb9940d40296525
@@ -54,6 +54,10 @@ module Toji
54
54
  super(val&.to_time)
55
55
  end
56
56
 
57
+ def warmings
58
+ super || []
59
+ end
60
+
57
61
  def warmings=(val)
58
62
  super([val].flatten.compact)
59
63
  end
@@ -1,3 +1,3 @@
1
1
  module Toji
2
- VERSION = "2.1.1"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toji
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshida Tetsuya