perfmonger 0.14.1 → 0.14.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: 42856e6da789b3ad1a522b95bc642bdf7abe1e2fb7679e4839b7da7e3157b6a9
4
- data.tar.gz: 937b2f2557ad06fe36e230c623ab07773d17bc1dd278e80b87bb8fb881a9427c
3
+ metadata.gz: 9b1f5e883802377df1cc422ab0e100f2445bdaafb7d77da2ddcb279232cd63b4
4
+ data.tar.gz: b3cf4f9bd787f1b9b47dcff4da7480d8c30385c89a3785ad0793c5c40703dd06
5
5
  SHA512:
6
- metadata.gz: 4f06a76145f4f4aafd9f4fa8e2de7ef855190729d25b98a6ab36a8bcbcb1ee41242736e96b3c15693ffeb341ee229f3852f00f36b27785b84124e587fdcfad41
7
- data.tar.gz: 86b957bb0edbf89f0cb7904b0059d75db11366eb26ca1b1112cd4c7566aa896240dc430d4d56a177c00c4862ebbf677f73f3447bda9e798226d7fcbf60836408
6
+ metadata.gz: cdca2aa8a3ad76a274cdc142f1738e12578dc06117de98a1e24e41aee5604452a113becdd506df19d49b5ccf7aa1e1d1eaa58ab8a52b1fd121181318f3fdad51
7
+ data.tar.gz: 76697490438d0b364be27504a7db0697d33b9f3bc5dc56f11db8dc89f5a1f682a270ad2d50bbedb40852ea759a0cf98708cc0fd159bc73568f17e11da2f43de7
data/NEWS CHANGED
@@ -1,5 +1,10 @@
1
1
  ## 2021-XX-XX: PerfMonger 0.15.0
2
2
 
3
+ ## 2021-12-01: PerfMonger 0.14.2
4
+ * Bugfix
5
+ * [player] subcommand:
6
+ * Read stdin if no argument is given (required behaviour for live subcommand)
7
+
3
8
  ## 2021-12-01: PerfMonger 0.14.1
4
9
  * Changes
5
10
  * [plot] subcommand:
@@ -159,11 +159,6 @@ func parseArgs() {
159
159
 
160
160
  flag.Parse()
161
161
 
162
- if len(flag.Args()) < 1 {
163
- fmt.Fprintln(os.Stderr, "Insufficient argument")
164
- os.Exit(1)
165
- }
166
-
167
162
  option.disk_only_regex = nil
168
163
 
169
164
  if option.disk_only != "" {
@@ -174,7 +169,11 @@ func parseArgs() {
174
169
  }
175
170
  }
176
171
 
177
- option.logfile = flag.Arg(0)
172
+ if len(flag.Args()) < 1 {
173
+ option.logfile = "-"
174
+ } else {
175
+ option.logfile = flag.Arg(0)
176
+ }
178
177
  }
179
178
 
180
179
  func main() {
@@ -183,7 +182,7 @@ func main() {
183
182
 
184
183
  parseArgs()
185
184
 
186
- if option.logfile == "" {
185
+ if option.logfile == "-" {
187
186
  in = os.Stdin
188
187
  } else {
189
188
  f, err := os.Open(option.logfile)
Binary file
@@ -1,3 +1,3 @@
1
1
  module PerfMonger
2
- VERSION = "0.14.1"
2
+ VERSION = "0.14.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfmonger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuto HAYAMIZU
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-01 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler