luna-rspec-formatters 0.2.0 → 0.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e8d4576d5325d4e10d537a96db26c5f9069ef3b
|
|
4
|
+
data.tar.gz: 9a6007ef970d7ffbc4ae9dfbf6c6defc4be4986b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd463805fcee73fab601f1ec5d44a54e02d0b07b96ed161e267c02982d4a61e7df8c6c7881dfb8ca149dfad71e519ec92245e0a02d4b39f1519d94fc44584cd7
|
|
7
|
+
data.tar.gz: a723d966e61f1a618b9b438e0994af0fc60e3e444fd03a768137a12bebac9067b5f43a4783e5e4ab3c8bb2601e41171ba0bafcd39eff5e69305279444bd88958
|
data/Gemfile
CHANGED
|
@@ -49,7 +49,8 @@ module Luna
|
|
|
49
49
|
# --------------------------------------------------------------------
|
|
50
50
|
|
|
51
51
|
def dump_summary(duration, total, failures, pending)
|
|
52
|
-
|
|
52
|
+
super
|
|
53
|
+
Libnotify.new do |notify|
|
|
53
54
|
notify.summary = "RSpec Results"
|
|
54
55
|
notify.urgency = :critical
|
|
55
56
|
notify.timeout = 1
|
|
@@ -3,7 +3,7 @@ require_relative "shared/base"
|
|
|
3
3
|
module Luna
|
|
4
4
|
module RSpec
|
|
5
5
|
module Formatters
|
|
6
|
-
class
|
|
6
|
+
class Documentation < Base
|
|
7
7
|
|
|
8
8
|
# --------------------------------------------------------------------
|
|
9
9
|
# example_passed, example_pending, example_failed.
|
|
@@ -57,3 +57,7 @@ module Luna
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
end
|
|
60
|
+
|
|
61
|
+
RSpec.configure do |config|
|
|
62
|
+
config.formatter = 'Luna::RSpec::Formatters::Documentation'
|
|
63
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: luna-rspec-formatters
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jordon Bedwell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: libnotify
|
|
@@ -74,9 +74,9 @@ extensions: []
|
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
76
|
- lib/luna/rspec/formatters/checks.rb
|
|
77
|
+
- lib/luna/rspec/formatters/documentation.rb
|
|
77
78
|
- lib/luna/rspec/formatters/version.rb
|
|
78
79
|
- lib/luna/rspec/formatters/base.rb
|
|
79
|
-
- lib/luna/rspec/formatters/doc2.rb
|
|
80
80
|
- License
|
|
81
81
|
- Readme.md
|
|
82
82
|
- Gemfile
|