resque-reports 0.4.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTcxNTEyM2E0ZWM4ODVlNGJiZmQwNmY1M2IwMTIyMzkwMWRkYjU5Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGEyNmI5MTdlYzcwYjhjYjhiNzdmZWQ4YTk4MjRjNTRlZjM1MGMyOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjQyZDNlODY5YzBhZTQzMzVkZjAzOTBkMjM5NTMxOTljMjVhYmU3MTJiODBj
|
10
|
+
YjllMWZhMWEzZmI0MDU0Y2Y2YzM0ZGY0ZTgzYjc5YWQ0M2NlNjgyNjliZmUz
|
11
|
+
Zjk2MDNiMDkwY2ZkYjFiOWRjZGJlMzVjMTUxZjVkZTQ4ZDQ1YmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2E5ZWE1MTNiNzY1MDdlMGIxOWY2MjRiMWZjOGMyMjUzNTI4MDJkMzQ4NDdk
|
14
|
+
MmU5MDBkMWZmODQxOTMwNzEyZDJhZWExMjQ1OTI3YWViYjhlZTJkZTRkZWEw
|
15
|
+
NzkyMWQ0YmVhZGMwZDA2ZTIxNTBhOGQxNDg4ODg5MjEzNzcwYzQ=
|
@@ -13,7 +13,8 @@ module Resque
|
|
13
13
|
module ClassMethods
|
14
14
|
def enqueue_to(*args) #:nodoc:
|
15
15
|
queue = args.shift
|
16
|
-
meta = enqueued?(*args)
|
16
|
+
meta = enqueued?(*args)
|
17
|
+
return meta if meta.present?
|
17
18
|
|
18
19
|
meta = Resque::Plugins::Meta::Metadata.new({'meta_id' => meta_id(args), 'job_class' => self.to_s})
|
19
20
|
meta.save
|
data/resque-reports.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ['lib']
|
20
20
|
|
21
|
-
gem.add_dependency 'resque-integration', '~> 1.0
|
21
|
+
gem.add_dependency 'resque-integration', '~> 1.1.0'
|
22
22
|
gem.add_dependency 'activesupport' # избавиться от зависимости
|
23
23
|
|
24
24
|
gem.add_development_dependency 'bundler', '~> 1.3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-reports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey D.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: resque-integration
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0
|
19
|
+
version: 1.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0
|
26
|
+
version: 1.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|