pechkin 2.0.0 → 2.0.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
  SHA256:
3
- metadata.gz: 41f0579677371d43215ee3c53c0e9eb1b4e02206bdbf1b1bc1d4898cbd58c981
4
- data.tar.gz: 127385b4694d80fdbbe733bc646ee3b5922db83119912afb6e50f6de84b29e9f
3
+ metadata.gz: 2ec4615e84c716a8145cc2eb23ffce1a1cb252b3b19af4bc2ede902ad9d93b8f
4
+ data.tar.gz: 28203bd469d71e8c9ab0c294635ce190b11805b022857603d10a0d955d488ad1
5
5
  SHA512:
6
- metadata.gz: 670ffbaf73bbfefbe54ca3f0a1d06d863c3548f41e35c2580e48644f0967009af8818f20fcc5d0256bd59509817a581e322a5140f870e47c62cf30572e3796aa
7
- data.tar.gz: 5059e3fd4354f996692013a819e879a61ccf943737c2d7ed824beb8b5095ce940c5b3b700a10e53044694924e277614db3816bb9370a3098c00b8d867bb823fc
6
+ metadata.gz: a9388a19f538d3c60b07bae725cf20bf8a42e6cd25a1aa3904d9b716717e938e0bec81b81933ceddabeb525e64393480fa5b88a85cabd1fc927574d8cad5a821
7
+ data.tar.gz: 4307463861177b312d58839e9dd011ddf832093a615b1014d929f1ccc265cc7feee4dc499de76d16838cac4658e2a56cd4ada513e69eaf488de9bc9e7e24e9fb
data/lib/pechkin/cli.rb CHANGED
@@ -102,9 +102,6 @@ module Pechkin
102
102
  opt :pid_file, names: ['-p', '--pid-file [FILE]'],
103
103
  desc: 'Path to output PID file'
104
104
 
105
- opt :server_workers, names: ['--min-threads [SERVER_WORKERS]'], default: 2, type: Integer,
106
- desc: 'Server workers count. Default: 1'
107
-
108
105
  opt :min_threads, names: ['--min-threads [MIN_THREADS]'], default: 5, type: Integer,
109
106
  desc: 'Min threads count. Default: 5'
110
107
 
@@ -12,7 +12,6 @@ module Pechkin
12
12
  # Configure Puma server instead config.ru
13
13
  puma_config = Puma::Configuration.new do |user_config|
14
14
  user_config.bind "tcp://#{options.bind_address}:#{options.port}"
15
- user_config.workers options.server_workers # Set number of workers
16
15
  user_config.threads options.min_threads, options.max_threads # Set max and min threads
17
16
  user_config.app AppBuilder.new.build(handler, options)
18
17
  end
@@ -1,7 +1,7 @@
1
1
  module Pechkin
2
2
  # Keeps actual version
3
3
  module Version
4
- VERSION = [2, 0, 0].freeze
4
+ VERSION = [2, 0, 2].freeze
5
5
  class << self
6
6
  def version_string
7
7
  VERSION.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pechkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Arkhanhelsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htauth
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 6.4.0
61
+ version: 6.4.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 6.4.0
68
+ version: 6.4.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rack
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 3.0.8
75
+ version: 3.0.9.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 3.0.8
82
+ version: 3.0.9.1
83
83
  description:
84
84
  email: ilya.arkhanhelsky at gmail.com
85
85
  executables: