sidekiq-pool 1.7.1 → 1.7.2

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: 7a162dd3ea8ea76a7cf305fbff7d91c0f99e61a5
4
- data.tar.gz: 3a78db0121e97e963b040609e7a7885d57dc460f
3
+ metadata.gz: 79cbed3f86756808090c9c714e1157eefb11ca3e
4
+ data.tar.gz: 210c918a1481aed85fd15b5cb1fe5aeedf9d9a6a
5
5
  SHA512:
6
- metadata.gz: 313c847ff56222ed271b37274ce7339ff2778f38742017fecd8a32a15065aa052c7fe42d0f01008be82342d6ee77f9e2ce10136e234f460cf680a17f371627a7
7
- data.tar.gz: 77c2f57d9294ccedd64bcd2a8ba032e5ad1d259219f3603e9f475b59a672d4877538a71c160dea4b246e4c1442097e991c9b89122a5aef6b4a2f7853ba66ece3
6
+ metadata.gz: dea17a64cbe45bdc540c6dcdcf6d1241b472209887efb4d9520146862360b17c55b5ec1302d5f83c240ae85230e8c8a3b9096e075d6c59a0e01dc4454a95a097
7
+ data.tar.gz: c306c75738d998a3cbd84219096bdc354ad74dadf4c95dd324a9ef61bbd16722d78d0adbe9ae77bc2f7ffb725dcdc172ae2414951441f8fb86041b89716b1cd9
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Sidekiq::Pool
2
2
 
3
3
  [![Gem](https://img.shields.io/gem/v/sidekiq-pool.svg)](https://rubygems.org/gems/sidekiq-pool)
4
- [![Build Status](https://travis-ci.org/laurynas/sidekiq-pool.svg?branch=master)](https://travis-ci.org/laurynas/sidekiq-pool)
4
+ [![Build Status](https://travis-ci.org/vinted/sidekiq-pool.svg?branch=master)](https://travis-ci.org/vinted/sidekiq-pool)
5
5
 
6
6
  Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes.
7
7
  Also adds an option to use different command line option workers in the same pool.
@@ -60,7 +60,7 @@ end
60
60
 
61
61
  ## Contributing
62
62
 
63
- Bug reports and pull requests are welcome on GitHub at https://github.com/laurynas/sidekiq-pool.
63
+ Bug reports and pull requests are welcome on GitHub at https://github.com/vinted/sidekiq-pool.
64
64
 
65
65
  ## License
66
66
 
data/lib/sidekiq/pool.rb CHANGED
@@ -5,12 +5,11 @@ module Sidekiq
5
5
  module_function
6
6
 
7
7
  def after_fork(&block)
8
- @after_fork_hooks ||= []
9
- @after_fork_hooks << block
8
+ after_fork_hooks << block
10
9
  end
11
10
 
12
11
  def after_fork_hooks
13
- @after_fork_hooks
12
+ @after_fork_hooks ||= []
14
13
  end
15
14
  end
16
15
  end
@@ -1,5 +1,5 @@
1
1
  require 'sidekiq/cli'
2
- require 'sidekiq/pool/version'
2
+ require 'sidekiq/pool'
3
3
 
4
4
  module Sidekiq
5
5
  module Pool
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Pool
3
- VERSION = '1.7.1'
3
+ VERSION = '1.7.2'
4
4
  end
5
5
  end
data/sidekiq-pool.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Forks and manages multiple Sidekiq processes}
13
13
  spec.description = %q{Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes.}
14
- spec.homepage = 'https://github.com/laurynas/sidekiq-pool'
14
+ spec.homepage = 'https://github.com/vinted/sidekiq-pool'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurynas Butkus
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-25 00:00:00.000000000 Z
12
+ date: 2018-06-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq
@@ -95,7 +95,7 @@ files:
95
95
  - lib/sidekiq/pool/cli.rb
96
96
  - lib/sidekiq/pool/version.rb
97
97
  - sidekiq-pool.gemspec
98
- homepage: https://github.com/laurynas/sidekiq-pool
98
+ homepage: https://github.com/vinted/sidekiq-pool
99
99
  licenses:
100
100
  - MIT
101
101
  metadata: {}