que 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/lib/que.rb +1 -1
- data/lib/que/version.rb +1 -1
- data/spec/unit/work_spec.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a82205491645e72a518cdf75314214732d7592
|
4
|
+
data.tar.gz: 35abbe3fbb3f8b8f43dcc3fb5c62eeb09fd2de36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21344fb8e7a6e0548cef67e9c8b27e439deb13588b9e94d2d0575ca63f8c5999f11960d2e81de5813f5208fd7fe39c364919bc0f41742470ab7a83466f1d3197
|
7
|
+
data.tar.gz: d93fda616f7efb5d05d7c02352aa0c3dab32dcb525400854b706827d977ccca7d61d5f2052ac046872540b98917f3f78e5baddded650c99c735cb2b3c8faecc3
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 0.11.2 (2015-09-09)
|
2
|
+
|
3
|
+
* Fix Job class constantizing when ActiveSupport isn't loaded. (#121) (godfat)
|
4
|
+
|
1
5
|
### 0.11.1 (2015-09-04)
|
2
6
|
|
3
7
|
* The `rake que:work` rake task that was specific to Rails has been deprecated and will be removed in Que 1.0. A deprecation warning will display when it is run.
|
data/README.md
CHANGED
@@ -129,10 +129,10 @@ Regarding contributions, one of the project's priorities is to keep Que as simpl
|
|
129
129
|
|
130
130
|
A note on running specs - Que's worker system is multithreaded and therefore prone to race conditions (especially on interpreters without a global lock, like Rubinius or JRuby). As such, if you've touched that code, a single spec run passing isn't a guarantee that any changes you've made haven't introduced bugs. One thing I like to do before pushing changes is rerun the specs many times and watching for hangs. You can do this from the command line with something like:
|
131
131
|
|
132
|
-
for i in {1..1000}; do rspec -b --seed $i; done
|
132
|
+
for i in {1..1000}; do bundle exec rspec -b --seed $i; done
|
133
133
|
|
134
134
|
This will iterate the specs one thousand times, each with a different ordering. If the specs hang, note what the seed number was on that iteration. For example, if the previous specs finished with a "Randomized with seed 328", you know that there's a hang with seed 329, and you can narrow it down to a specific spec with:
|
135
135
|
|
136
|
-
for i in {1..1000}; do LOG_SPEC=true rspec -b --seed 329; done
|
136
|
+
for i in {1..1000}; do LOG_SPEC=true bundle exec rspec -b --seed 329; done
|
137
137
|
|
138
138
|
Note that we iterate because there's no guarantee that the hang would reappear with a single additional run, so we need to rerun the specs until it reappears. The LOG_SPEC parameter will output the name and file location of each spec before it is run, so you can easily tell which spec is hanging, and you can continue narrowing things down from there.
|
data/lib/que.rb
CHANGED
data/lib/que/version.rb
CHANGED
data/spec/unit/work_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: que
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Hanks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|