perfmonger 0.11.0 → 0.11.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
  SHA1:
3
- metadata.gz: 8e47b0d30a3300a01ae5efcc0bbbe10baf524561
4
- data.tar.gz: 88988c5009fcbe62049c7355f3e8374b3c825f5d
3
+ metadata.gz: 238da9d952389a0d84f3e619631bb907d604b98a
4
+ data.tar.gz: 982086728c90cd798a1ae0316af2cb1e23c87370
5
5
  SHA512:
6
- metadata.gz: 6f767fae2183025478897926d3b79d705fd30937f8c7f7cd6221dd29ad0d9ae03f7940c29be234613f8100f1c9dafb3e8d079075ab2d2d1879b2de33fdc2e482
7
- data.tar.gz: e4f1d714cd58d57db382320224d356f919692f25a4552d5649accf7a27c63cac693049972dd994904cdb4d4a54c9f2c19e374b25d928f392e4bffbdb517d5460
6
+ metadata.gz: 77b4709a0399f3c3725488b5005ee27028eb5231ae1dc8523c5dc24a92c4adfd8db92e65eba696de7533712e2817923f87edb3582df468fc02b340b1819d5dd9
7
+ data.tar.gz: 4fffefe769a436e2456f57c4bef540dbd95f0c4a43d92b392c913c7f472bb8ae7b2d4c8f5f8275f29fe5b89a2576969fe25f5266d8546e45ccfc3289bfd9dbfa
data/NEWS CHANGED
@@ -1,3 +1,8 @@
1
+ ## 2018-05-15: PerfMonger 0.11.1
2
+ * Bug fixes
3
+ * [record] subcommand:
4
+ * Fixed session detection mechanism (did not worked for execution under sudo)
5
+
1
6
  ## 2018-05-15: PerfMonger 0.11.0
2
7
  * New features
3
8
  * [play] subcommand:
@@ -19,7 +19,7 @@ class RecordCommand < BaseCommand
19
19
  def run(argv)
20
20
  @argv, @option = PerfMonger::Command::RecordOption.parse(argv)
21
21
 
22
- session_file = File.expand_path(sprintf("perfmonger-%s-session.pid", Etc.getlogin),
22
+ session_file = File.expand_path(sprintf("perfmonger-%s-session.pid", Etc.getpwuid.name),
23
23
  Dir.tmpdir)
24
24
  begin
25
25
  session_pid = File.read(session_file).to_i
@@ -1,3 +1,3 @@
1
1
  module PerfMonger
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfmonger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuto HAYAMIZU