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 CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{delayed_job_web}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Erick Schmitt"]
@@ -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.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: -3743833631920485099
166
+ hash: -672185974482577684
167
167
  segments:
168
168
  - 0
169
169
  version: "0"