resqued 0.8.3 → 0.8.4

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: 06883e41037ccd453274da0f9e3727fcbcb6801c
4
- data.tar.gz: 2f63d5e0ee2b1c2189edfdf5985438608e061d6d
3
+ metadata.gz: fae73470c551f27a4848c17b82495aa3796d604c
4
+ data.tar.gz: 195b59de0a56db9d9f4a8cedc7021b89e08bb38d
5
5
  SHA512:
6
- metadata.gz: caf06d5cba99ab3bf12c0f699efd72ac896e75bbf14a4e4a6a58c6068d0666f03aad0e12c8aa4b1c837309d419d6144e3b77d2ba4c648719327d03bf42b8253c
7
- data.tar.gz: 4790df77dc5cd23349e3576693345b26251c7432d83d307370e1ecfcaa1a811cd570ee30843e801e85c5addf4656a906c4a44b381f7aeb848e56b3030aace183
6
+ metadata.gz: fda785e004ce32e7cfae246c8189d60ec26124594a6f5032698e30d633e266af3112cc24430249cb508552348b8ee15cf7fd470b45b842ae04de9a005d82df6b
7
+ data.tar.gz: fbd9e34d38907b72014ffaf3c0b58f8305ed803445dc48de245a1027de74c3cd002f0c90dc7c333d8d7c0d3812084f02b6146a273b0c3981d058079db64879fa
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
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.8.4
4
+ ------
5
+ * Use `Integer` in place of `Fixnum`, when it's available.
6
+
3
7
  v0.8.3
4
8
  ------
5
9
  * Add a "fast-exit" mode (#44)
@@ -101,7 +101,7 @@ module Resqued
101
101
  case
102
102
  when value.nil?
103
103
  @pool_size
104
- when value.is_a?(Fixnum)
104
+ when value.is_a?(1.class)
105
105
  value < @pool_size ? value : @pool_size
106
106
  when value.is_a?(Float) && value >= 0.0 && value <= 1.0
107
107
  (@pool_size * value).to_i
@@ -1,3 +1,3 @@
1
1
  module Resqued
2
- VERSION = '0.8.3'
2
+ VERSION = '0.8.4'
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.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Burke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-03 00:00:00.000000000 Z
11
+ date: 2018-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio
@@ -156,23 +156,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project:
159
- rubygems_version: 2.5.1
159
+ rubygems_version: 2.2.2
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Daemon of resque workers
163
163
  test_files:
164
- - spec/fixtures/test_case_after_fork_raises.rb
165
- - spec/fixtures/test_case_before_fork_raises.rb
166
- - spec/fixtures/test_case_clean.rb
167
- - spec/fixtures/test_case_environment.rb
168
- - spec/fixtures/test_case_no_workers.rb
164
+ - spec/resqued/sleepy_spec.rb
169
165
  - spec/resqued/backoff_spec.rb
170
- - spec/resqued/config/fork_event_spec.rb
171
166
  - spec/resqued/config/worker_spec.rb
172
- - spec/resqued/config_spec.rb
173
- - spec/resqued/sleepy_spec.rb
167
+ - spec/resqued/config/fork_event_spec.rb
174
168
  - spec/resqued/start_ctx_spec.rb
169
+ - spec/resqued/config_spec.rb
175
170
  - spec/resqued/test_case_spec.rb
176
171
  - spec/spec_helper.rb
172
+ - spec/fixtures/test_case_before_fork_raises.rb
173
+ - spec/fixtures/test_case_environment.rb
174
+ - spec/fixtures/test_case_no_workers.rb
175
+ - spec/fixtures/test_case_after_fork_raises.rb
176
+ - spec/fixtures/test_case_clean.rb
177
177
  - spec/support/custom_matchers.rb
178
- has_rdoc: