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 +4 -4
- data/lib/selenium_statistics/statistics.rb +2 -2
- data/selenium_statistics.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f97c59bf587bb6a8c2a53bc8cced35efe9d70b0
|
4
|
+
data.tar.gz: 6746c0122ebac233d0f3f4fae7b0bd64405e48fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
69
|
-
str << "total seconds: #{v[:time].round(1).to_s.rjust(
|
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
|
data/selenium_statistics.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 = "selenium_statistics"
|
7
|
-
spec.version = "0.2.
|
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}
|