selenium_statistics 0.2.0 → 0.2.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: 77e448503173f57c45238666de809c26e4fc4a01
4
- data.tar.gz: 8b9ce8869b07e13b15fe3c2f3da554509d59ee83
3
+ metadata.gz: 5f97c59bf587bb6a8c2a53bc8cced35efe9d70b0
4
+ data.tar.gz: 6746c0122ebac233d0f3f4fae7b0bd64405e48fb
5
5
  SHA512:
6
- metadata.gz: babcef863915bf3d6e34cd4e852647bccdc44f5a3a3af166029ae7d4aaf03328452fad5a9081ccc3f8336e660990f0fabfb10efa77e183fbc17758e66f196fb2
7
- data.tar.gz: 1fd1bf34cb7913962d0712a1b446194e47b1b3bd568483143e14ea31cb528f507afa378348e6375c70f78e284182c72da9dc4712e9fd7b6a4e3b979bab54f18a
6
+ metadata.gz: ba3598c87f33cf4d7f62ac355897c5888f66f544ed22ddd29b22f2ec92ecf515d5fa6db2b8002d83c9fc752f77072640ced6a4ba22a18627c689ce0ac0240f1e
7
+ data.tar.gz: ed532acd734912992e72d6ca11f6ef29831471ea74e50405950a2d417a4511b4ece79ddfa2fcde59f519f59a6823f717c6a1c92b7efd5b2f49fb9bae51105054
@@ -65,8 +65,8 @@ module SeleniumStatistics
65
65
 
66
66
  results(sort).each do |k,v|
67
67
  str << "#{k.to_s}:".ljust(27, ' ')
68
- str << "executions: #{v[:count].to_s.rjust(4, ' ')}; "
69
- str << "total seconds: #{v[:time].round(1).to_s.rjust(5, ' ')}; "
68
+ str << "executions: #{v[:count].to_s.rjust(executions.size, ' ')}; "
69
+ str << "total seconds: #{v[:time].round(1).to_s.rjust(time.round(1).to_s.size, ' ')}; "
70
70
  str << "avg sec/cmd: #{v[:average].round(3).to_s.rjust(5, ' ')}; "
71
71
  str << "total: #{(100*v[:average_total]).round(2).to_s.rjust(5, ' ')}%\n"
72
72
  end
@@ -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 = "selenium_statistics"
7
- spec.version = "0.2.0"
7
+ spec.version = "0.2.1"
8
8
  spec.authors = ["Titus Fortner"]
9
9
  spec.email = ["titusfortner@gmail.com"]
10
10
  spec.summary = %q{Generate information about Selenium commands}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium_statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner