straces 0.0.1 → 0.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: 7622196d114cb354c8c936e5970a5fb5cc712f9266707a2933441176a0bcb13a
4
- data.tar.gz: e871e0c71d7efb4554fe085370280a64a0eda59403fbf813d0d934bd48828f56
3
+ metadata.gz: 45aab18b826338ce96ffcdaee841f0711cbdca95e240d4a723d42d7eaec004fc
4
+ data.tar.gz: afc9fad238fbc4d25bb8c2a1caabb464d19b94178b8a145596d72923d4b3a5b3
5
5
  SHA512:
6
- metadata.gz: 0ec86d4745ac99a80eb466c5f90a5c14a082319c0d5f7deeb137be980739b814b5e1fff66e6b5142656e341597ad77d24c60cb344c3266ae75b3934eff211abf
7
- data.tar.gz: d097a7457d6758c4b11adaf2be77a52b6d436d9f323569f0357be2ec4f03f65389f22b941391de7e4f5a4c02d69d0e07c195bea75e3033153c3753cfdd55ddeb
6
+ metadata.gz: 0ba4d24baf6521ee3f9bc0800b438afb78f15cdcc935a33e56db61ff65e2b588e85eba8ca8ccd538d18d2d55639b8bebe6d99e479619c06d3525fea7fc0d602f
7
+ data.tar.gz: dfec0976a12e9a6434046b5492894135dd5be51b34d038df6bce469a81e62fd2b63cabc56e2c7b27f67ef8fe459995f8daa822d1b8e568828a0be8e677e9cbf1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- straces (0.0.1)
4
+ straces (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/straces.rb CHANGED
@@ -38,7 +38,7 @@ end
38
38
 
39
39
 
40
40
  def strace_parse(line)
41
- matcher = line.match /^(?<time>\d\d:\d\d:\d\d\.?\d*)?\s?(?<pid>\d*)\s?(?<call>[^\(]+)(?<middle>.*)\<(?<timing>\d+\.\d+)\>$/
41
+ matcher = line.match /^(?<pid>\d*)\s?(?<time>\d\d:\d\d:\d\d\.?\d*)?\s?(?<call>[^\(]+)(?<middle>.*)\<(?<timing>\d+\.\d+)\>$/
42
42
 
43
43
  # <detached ..>
44
44
  timing = Float matcher[:timing] rescue 0.0
data/straces.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "straces"
7
- spec.version = "0.0.1"
7
+ spec.version = "0.0.2"
8
8
  spec.authors = ["Matti Paksula"]
9
9
  spec.email = ["matti.paksula@iki.fi"]
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: straces
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula