delayed_job_web 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of delayed_job_web might be problematic. Click here for more details.
- data/VERSION +1 -1
- data/delayed_job_web.gemspec +1 -1
- data/test/test_delayed_job_web.rb +16 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/delayed_job_web.gemspec
CHANGED
@@ -4,8 +4,23 @@ require 'delayed_job_web/application/app'
|
|
4
4
|
ENV['RACK_ENV'] = 'test'
|
5
5
|
|
6
6
|
class Delayed::Job
|
7
|
+
class DelayedJobFake < Array
|
8
|
+
# fake out arel
|
9
|
+
def order(*args)
|
10
|
+
DelayedJobFake.new
|
11
|
+
end
|
12
|
+
|
13
|
+
def offset(*args)
|
14
|
+
DelayedJobFake.new
|
15
|
+
end
|
16
|
+
|
17
|
+
def limit(*args)
|
18
|
+
DelayedJobFake.new
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
7
22
|
def self.where(*args)
|
8
|
-
|
23
|
+
DelayedJobFake.new
|
9
24
|
end
|
10
25
|
|
11
26
|
def self.count(*args)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: delayed_job_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Erick Schmitt
|
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
hash: -
|
166
|
+
hash: -672185974482577684
|
167
167
|
segments:
|
168
168
|
- 0
|
169
169
|
version: "0"
|