caffeinate 0.15.0 → 0.16.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: 2c8294f4e3189cbc99b5a74d31851c1c752bae5acb417b95793aad434781db65
4
- data.tar.gz: 94cf500c26c578c950474a6e3716b6e689052880c65e87263c5403c1af17d279
3
+ metadata.gz: 9ea20b479c229cc1a535ede3e35ef0f37d3ee57ad146f429937ee66016bd871f
4
+ data.tar.gz: e361cb2d6a4562a3f3ca83a29e6ae29c38ca03fb5012b368909d7e8706504df3
5
5
  SHA512:
6
- metadata.gz: 5861ebed028ffcb28df9565dea9fb3bdd068170631133d5ee743351489820dbe0dd86654c5631f98cd14736ca0ac06210e47de992bbda0ed45345029ba9c9141
7
- data.tar.gz: ce79dd00459d71dbc987063662ddff59b7bb0b6083e55a2821bbbd72dcbf85283daf26d60c8add3e9492010a30c77608642bce3a20695fcf8784a4399296aaa5
6
+ metadata.gz: 409337f24f2d2fbe1837632d86211767acb73fbdb84bcaba35f5352ec713b81955a784a59385c37c892d468ee978e57419fa54406c3bb0907a0c84372890fbe5
7
+ data.tar.gz: 6f2988ab65ed1c8b7af248ab4ce0ed2ce2d1989bd5bd4a01f1af412297401cbc901557fd8f1057c0d502c2fc9a4b97328ab68138260cb03c4beb663a67bded1e
@@ -20,8 +20,6 @@ module Caffeinate
20
20
  end
21
21
 
22
22
  class ScheduleEvaluator
23
- delegate_missing_to :@drip
24
-
25
23
  def self.call(drip, mailing)
26
24
  new(drip, mailing).call
27
25
  end
@@ -54,7 +52,15 @@ module Caffeinate
54
52
 
55
53
  date
56
54
  end
55
+
56
+ def respond_to_missing?(name, include_private = false)
57
+ @drip.respond_to?(name, include_private)
58
+ end
57
59
 
60
+ def method_missing(method, *args, &block)
61
+ @drip.send(method, *args, &block)
62
+ end
63
+
58
64
  private
59
65
 
60
66
  def periodical?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Caffeinate
4
- VERSION = '0.15.0'
4
+ VERSION = '0.16.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caffeinate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Brody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-24 00:00:00.000000000 Z
11
+ date: 2021-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails