sidekiq-process_manager 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: e3d1b1462578e76a03c0908d2e04fe30162a06947e5176e478b7cbf51f797c2d
4
- data.tar.gz: bd2f58e84676cac41f9a44bbb4299038b30912e319d793164eccac1a79dff2c7
3
+ metadata.gz: 149acc96c73b7de540d72ceab383a1991658970fb6e8952c91b0ee2edf7c70af
4
+ data.tar.gz: '0628de42b334f06da28369196ab919bec2264f87bd4a5db373fe946c3104ad16'
5
5
  SHA512:
6
- metadata.gz: e0dd9349a7ec9d5c6ca15728218ef087d824e5b074ac1725393948a00834765d1291a7b3a775b39a6b9cb4905892a2878d19adefb405183db916c9622f882a17
7
- data.tar.gz: adf75b664e86f909341822c65954995def3729205c0d73e69a766d69541d60bce84241330b7d9b7917eb778e50400ebb44a67ac9a4e7fa766a9b61b56f46ffa6
6
+ metadata.gz: 2561e359c28d9a3daeed3e8c89c6a97767f536027feb2ce0223a20d97737da4ad4f12afba8941593deed007056c90aa05478ac6b4cd7ffc489ae0b4392b92718
7
+ data.tar.gz: 2c943e65d8e770fec8824e323fab3abdc37e2f5558ec8397d1278e5ba8e3bc9edff3fd9dcd61f4fae5af2b4b91d259ddcae686f27a0d3f24d6e9b8616a9b2af1
@@ -0,0 +1,7 @@
1
+ # 1.0.1
2
+
3
+ * Remove auto require of `sidekiq/cli` so `require: false` does not need to be specified in a Gemfile.
4
+
5
+ # 1.0.0
6
+
7
+ * Initial release
data/README.md CHANGED
@@ -37,7 +37,7 @@ If you're already using a pre-forking web server, you'll need to do most of the
37
37
 
38
38
  ## Pre-Booting
39
39
 
40
- If your application can't be pre-forked, you can at load the gem files and libraries your application depends on instead by specifying a preboot file. This file will be loaded by the master process and any code loaded will be copy-on-write shared with the child processes.
40
+ If your application can't be pre-forked, you can at least load the gem files and libraries your application depends on instead by specifying a preboot file. This file will be loaded by the master process and any code loaded will be copy-on-write shared with the child processes.
41
41
 
42
42
  For a Rails application, you would normally want to preboot the `config/boot.rb` file.
43
43
 
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "sidekiq"
4
- require "sidekiq/cli"
5
4
 
6
5
  module Sidekiq
7
6
  module ProcessManager
@@ -10,6 +9,8 @@ module Sidekiq
10
9
  attr_reader :cli
11
10
 
12
11
  def initialize(process_count: 1, prefork: false, preboot: nil, mode: nil, silent: false)
12
+ require "sidekiq/cli"
13
+
13
14
  # Get the number of processes to fork
14
15
  @process_count = process_count
15
16
  raise ArgumentError.new("Process count must be greater than 1") if @process_count < 1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module ProcessManager
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  spec.add_dependency "sidekiq", ">= 3.0"
37
37
 
38
- spec.add_development_dependency "bundler", "~> 1.10"
38
+ spec.add_development_dependency "bundler"
39
39
  spec.add_development_dependency "rake"
40
40
  spec.add_development_dependency "rspec", "~> 3.0"
41
41
  spec.add_development_dependency "appraisal"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-process_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-27 00:00:00.000000000 Z
11
+ date: 2020-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.10'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.10'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -88,6 +88,7 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
+ - CHANGELOG.md
91
92
  - MIT_LICENSE.txt
92
93
  - README.md
93
94
  - bin/sidekiq-process-manager