textris 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/textris/delay/sidekiq.rb +3 -3
- data/lib/textris/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b44445640c697f0c38a8da55759fd8be3c133dbb
|
4
|
+
data.tar.gz: eb601a7627c8d9c371902757e1e6094aa5fa6635
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 366ba25af97f926c66bdf98885178f321aa850bd6f781995771d054c15240281a850310fa52a8e1300c83c3a4a7b4b150ceba24a6e7cdf30b3e36f6407553e7d
|
7
|
+
data.tar.gz: 1402b57a76a44888c4331e54efd25f6a675228f5f96cbecb6b35bf84c836324284ead86894a28a4abea072ecf4b0c932cfa31735f5fe8a7447da1f254f63b94d
|
@@ -2,7 +2,7 @@ module Textris
|
|
2
2
|
module Delay
|
3
3
|
module Sidekiq
|
4
4
|
def delay
|
5
|
-
::Textris::Delay::Sidekiq::Proxy.new(self)
|
5
|
+
::Textris::Delay::Sidekiq::Proxy.new(self.to_s)
|
6
6
|
end
|
7
7
|
|
8
8
|
def delay_for(interval)
|
@@ -10,7 +10,7 @@ module Textris
|
|
10
10
|
raise(ArgumentError, "Proper interval must be provided")
|
11
11
|
end
|
12
12
|
|
13
|
-
::Textris::Delay::Sidekiq::Proxy.new(self, :perform_in => interval)
|
13
|
+
::Textris::Delay::Sidekiq::Proxy.new(self.to_s, :perform_in => interval)
|
14
14
|
end
|
15
15
|
|
16
16
|
def delay_until(timestamp)
|
@@ -18,7 +18,7 @@ module Textris
|
|
18
18
|
raise(ArgumentError, "Proper timestamp must be provided")
|
19
19
|
end
|
20
20
|
|
21
|
-
::Textris::Delay::Sidekiq::Proxy.new(self, :perform_at => timestamp)
|
21
|
+
::Textris::Delay::Sidekiq::Proxy.new(self.to_s, :perform_at => timestamp)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
data/lib/textris/version.rb
CHANGED