minitest-perf 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module MiniTest
3
3
  module Statistics
4
4
  class << self
5
5
  def slowest_tests
6
- Persistence.sql(<<-SQL)
6
+ MiniTest::Perf.persistence.sql(<<-SQL)
7
7
  SELECT suite, name, avg(total) as avg_total
8
8
  FROM tests
9
9
  GROUP BY suite, name
@@ -13,7 +13,7 @@ module MiniTest
13
13
  end
14
14
 
15
15
  def slowest_suites
16
- Persistence.sql(<<-SQL)
16
+ MiniTest::Perf.persistence.sql(<<-SQL)
17
17
  SELECT suite, AVG(test_count), AVG(avg_total_per_test_run) as avg_total
18
18
  FROM (
19
19
  SELECT run, suite, COUNT(name) AS test_count, AVG(total) as avg_total_per_test_run
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Perf
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: minitest-perf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Albert Llop