rspectacles 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa7286ee49e8bbd98e4386f61059ce122f6c1a58
4
- data.tar.gz: c91fad3bc985b8c43da189eeb810a9587bd3c98a
3
+ metadata.gz: fc9de7a55d03898155d835f691af90967aa768e3
4
+ data.tar.gz: 03985db13eb72cd5c7c1f53fda58b55d5db582c8
5
5
  SHA512:
6
- metadata.gz: 8510bb32c183c873eb1c84af450690fb859ac2cf1100406b1bbd584191f609bd22a898ec82fc38677bee124c7e4020752857713e1ad10d754a330fc0c47f9456
7
- data.tar.gz: ac178ca48ba412643baefda727698eac42b099ca677ca3b1b92b38ddffb931ebf4ced7573ffaeb312dead17a9b1b6eefca4ba2d63d8388e9938f79951fd58f28
6
+ metadata.gz: 2b0790aecd392c974b8a877ae5183e77198bef6bd7e09ab6ca99bcf57584c787e62c30b36c5333a94a2745c74f0a7411fc2fea71afe5d13e915205fb38daed07
7
+ data.tar.gz: 84d29ac86cbef4ea5c074658030d02ab9386bb59d1800b85bbddbdda563d760a051cc3bbc989a635bc54903c9fb222a532431d8a683d86ecbbf90faefd9e8c54
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspectacles (0.4.2)
4
+ rspectacles (0.5.0)
5
5
  httparty
6
6
  pg
7
7
  puma
data/README.md CHANGED
@@ -9,6 +9,10 @@ that you can tell at a glance where the time is spent in your test suite.
9
9
 
10
10
  As a Sinatra app it can be run standalone, or else mounted on another Rack app.
11
11
 
12
+ ## Compatibility
13
+
14
+ RSpectacles assumes you are using rspec 3 or later.
15
+
12
16
  ## Installation
13
17
 
14
18
  gem install rspectacles
@@ -26,10 +30,7 @@ Then add the formatter to your .rspec file:
26
30
 
27
31
  --format progress # or whatever other formatters you want to use
28
32
 
29
- The formatter assumes you are using RSpec3. If you use RSpec 2:
30
-
31
- --require rspectacles/formatter/legacy/base
32
- --format RSpectacles::Formatter::Legacy::Base
33
+ The formatter assumes you are using RSpec3.
33
34
 
34
35
  ## Batched Formatter
35
36
 
@@ -1,3 +1,3 @@
1
1
  module RSpectacles
2
- VERSION = '0.4.2'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wheeler
@@ -172,7 +172,6 @@ files:
172
172
  - lib/rspectacles/config/database.yml
173
173
  - lib/rspectacles/formatter/base.rb
174
174
  - lib/rspectacles/formatter/batched.rb
175
- - lib/rspectacles/formatter/legacy/base.rb
176
175
  - lib/rspectacles/version.rb
177
176
  - puma.rb
178
177
  - rspectacles.gemspec
@@ -1,48 +0,0 @@
1
- require 'rspec/core/formatters/base_formatter'
2
- require 'rspectacles/adapter/logger'
3
-
4
- module RSpectacles
5
- module Formatter
6
- module Legacy
7
- class Base < RSpec::Core::Formatters::BaseFormatter
8
- attr_reader :output
9
-
10
- def initialize(_)
11
- end
12
-
13
- def logger
14
- @logger ||= RSpectacles::Adapter::Logger.new
15
- end
16
-
17
- def message(_message)
18
- end
19
-
20
- def start(_example_count)
21
- logger.start
22
- end
23
-
24
- def stop
25
- logger.stop
26
- end
27
-
28
- def example_started(example)
29
- end
30
-
31
- def example_passed(example)
32
- logger.log example
33
- end
34
-
35
- def example_pending(example)
36
- logger.log example
37
- end
38
-
39
- def example_failed(example)
40
- logger.log example
41
- end
42
-
43
- def close
44
- end
45
- end
46
- end
47
- end
48
- end