puma-status 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/puma-status.rb +5 -4
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ca2fb63b6be20e85ac281783c213be6227b29a268d98c743ebf5f15c8ce57af
4
- data.tar.gz: 6ba41b60919c9271d47e1e1e94e4d3a951b49f413e51a7a85f9a8fc26bce1d5b
3
+ metadata.gz: 64511132fd67f2ec94455b13dd573b45e0bb7983efcd3f6dbcb12cf9dcddc8dd
4
+ data.tar.gz: e8922a9d6e9ce2e47fc79cb50d835cc503053683f84f64e7c54656d3952b7944
5
5
  SHA512:
6
- metadata.gz: 8233f7045c47ff7172990686b5be21178d0b2df078001ddad38572aeafd8127e2a5d0dc70604f75676a58e59fdcd2139674b2f7aa970e169e2f471b833c9af69
7
- data.tar.gz: 0ce03ee787e21a2b5f49a69d4d28089429a0f95fd993dadbb897e90883315c4bc93f2790e3490640362d0cd14c8f982618a8176e7b2111ebb1aca8630655dfe3
6
+ metadata.gz: fc719fab589f2ce0ebb79dfad1b071256fa258b8633d61033f867843169e27c500442c62208bcda7aafe05017f7d95bddf818eb16442101aa90048317abdf867
7
+ data.tar.gz: c77a65f3a8dd2381cb788b8e695938cc34c0a96b9b3a6829ac382eddf43ca090fe228660ab07b6d9d84a2cdf804eb77fa78e2611d8f7b0af3e048a1eb360c9f4
data/lib/puma-status.rb CHANGED
@@ -4,13 +4,14 @@ require_relative './core.rb'
4
4
  def run
5
5
  debug "puma-status"
6
6
 
7
- if ARGV.count != 1
7
+ if ARGV.count < 1
8
8
  puts "Call with:"
9
9
  puts "\tpuma-status path/to/puma.state"
10
10
  exit -1
11
11
  end
12
12
 
13
- state_file_path = ARGV[0]
14
- debug "State file: #{state_file_path}"
15
- display_stats(get_stats(state_file_path))
13
+ ARGV.each do |state_file_path|
14
+ debug "State file: #{state_file_path}"
15
+ display_stats(get_stats(state_file_path))
16
+ end
16
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoann Lecuyer
@@ -112,7 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 3.0.3
115
+ rubyforge_project:
116
+ rubygems_version: 2.7.6
116
117
  signing_key:
117
118
  specification_version: 4
118
119
  summary: Command-line tool for puma to display information about running request/process