resqued 0.7.11 → 0.7.12

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
  SHA1:
3
- metadata.gz: 67705e27820d6fe8873c3f5956496b0663f86967
4
- data.tar.gz: 14e287bc2245039f2a95cfadd93687b0bf93f1a5
3
+ metadata.gz: 217c9c390f76d08b6a1aa2e16f926681a0e6bb75
4
+ data.tar.gz: 947f5a477ae6533808679d9bc43596415fe84131
5
5
  SHA512:
6
- metadata.gz: d0025656e2d27f34ff858b738678dd1ddb767b3ccf6bf44051baf8d70a9ae226b364f81ec8489f4e404e659141b28caadee32302194064c8c4e13e44d98b372b
7
- data.tar.gz: 71b5360eee39da10fb65713cf33b4e1fdd60792a1099eec76aa9c098602dccd8dd624b11f97108cfd2df8491c81d42e16a08627aad355296c05d321e0d7e106e
6
+ metadata.gz: a327fea71345130cb1db0c66ddb3f385061323e6c1261fd25a3f785bee413f998523ce4aa4e1addf8339f58de4b7255b9b35b676225ee5290bbe9d31d4a0968f
7
+ data.tar.gz: 5fda5a050c55ac5e7dbc911aceae8ba78a288f63fae042b57b88e13b9dcafe2ccec00ff4f87f2541f4bcba46ea2875a348630c85c55775c418b15f68915a2700
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  Starting with version 0.6.1, resqued uses semantic versioning to indicate incompatibilities between the master process, listener process, and configuration.
2
2
 
3
+ v0.7.12
4
+ -------
5
+
6
+ * Fix EXIT trap. (#34)
7
+ * Document resque compatibility. (#20)
8
+
3
9
  v0.7.11
4
10
  -------
5
11
 
data/README.md CHANGED
@@ -55,6 +55,14 @@ This time, you'd end up with something similar to this:
55
55
 
56
56
  * `:interval` - The interval to pass to `Resque::Worker#run`.
57
57
 
58
+ ## Compatibility with Resque
59
+
60
+ Resqued does not automatically split comma-separated lists of queues in
61
+ environment variables like Resque does. To continue using comma-separated
62
+ lists, split them in your resqued config file:
63
+
64
+ queue (ENV["QUEUE"] || "*").split(',')
65
+
58
66
  ## Loading your application
59
67
 
60
68
  An advantage of using resqued (over `rake resque:work`) is that you can load your application just once, before forking all the workers.
@@ -235,7 +235,7 @@ module Resqued
235
235
  end
236
236
 
237
237
  def no_more_unexpected_exits
238
- trap('EXIT', nil)
238
+ trap('EXIT', 'DEFAULT')
239
239
  end
240
240
 
241
241
  def yawn(duration)
@@ -1,3 +1,3 @@
1
1
  module Resqued
2
- VERSION = '0.7.11'
2
+ VERSION = '0.7.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resqued
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.11
4
+ version: 0.7.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Burke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2014-06-23 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio
@@ -124,7 +124,6 @@ files:
124
124
  - spec/resqued/config_spec.rb
125
125
  - spec/resqued/sleepy_spec.rb
126
126
  - spec/resqued/test_case_spec.rb
127
- - spec/resqued/test_case_spec.rb.orig
128
127
  - spec/spec_helper.rb
129
128
  - spec/support/custom_matchers.rb
130
129
  - exe/resqued
@@ -149,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
148
  version: '0'
150
149
  requirements: []
151
150
  rubyforge_project:
152
- rubygems_version: 2.0.3
151
+ rubygems_version: 2.0.14
153
152
  signing_key:
154
153
  specification_version: 4
155
154
  summary: Daemon of resque workers
@@ -165,6 +164,5 @@ test_files:
165
164
  - spec/resqued/config_spec.rb
166
165
  - spec/resqued/sleepy_spec.rb
167
166
  - spec/resqued/test_case_spec.rb
168
- - spec/resqued/test_case_spec.rb.orig
169
167
  - spec/spec_helper.rb
170
168
  - spec/support/custom_matchers.rb
@@ -1,39 +0,0 @@
1
- require 'spec_helper'
2
- require 'resqued/test_case'
3
-
4
- describe Resqued::TestCase do
5
- let(:test_case) { Object.new.extend(the_module) }
6
-
7
- context 'LoadConfig' do
8
- let(:the_module) { described_class::LoadConfig }
9
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_clean.rb' }.not_to raise_error }
10
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_before_fork_raises.rb' }.to raise_error }
11
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_after_fork_raises.rb' }.to raise_error }
12
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_no_workers.rb' }.not_to raise_error }
13
- <<<<<<< HEAD
14
- =======
15
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_clean.rb', :expect_workers => true }.not_to raise_error }
16
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_after_fork_raises.rb', :expect_workers => true }.to raise_error }
17
- it { expect { test_case.assert_resqued 'spec/fixtures/test_case_environment.rb', 'spec/fixtures/test_case_no_workers.rb', :expect_workers => true }.to raise_error }
18
- end
19
- end if false
20
-
21
- class MockRedisServer
22
- def start
23
- return if @server
24
- require 'socket'
25
- @server = TCPServer.new(0)
26
- end
27
-
28
- def stop
29
- return unless @server
30
- @server.close
31
- ensure
32
- @server = nil
33
- end
34
-
35
- def port
36
- @server && @server.addr[1]
37
- >>>>>>> origin/master
38
- end
39
- end