luna-rspec-formatters 0.2.0 → 0.3.0

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: 41651729667418229fdba558cf92641bc6f2270d
4
- data.tar.gz: 6512126e18e9de59bd617265980481d8ace1d843
3
+ metadata.gz: 6e8d4576d5325d4e10d537a96db26c5f9069ef3b
4
+ data.tar.gz: 9a6007ef970d7ffbc4ae9dfbf6c6defc4be4986b
5
5
  SHA512:
6
- metadata.gz: 397a7c2c1e81b1862b4c6ed5d97b362ddb30ecb9889735e5329ae3532b7bb77fc3f3c7d200cffdb06ead5e92224d173ffa59384fbe8009b08765a3e8f8c8eb7f
7
- data.tar.gz: fb626f1659ff2108a5aad3d6cc3ded4ea617f597af102c9e3cc644b33f81e79dce3a3c3dc8a885837a35f45fa8bf4c66f62ecf0a2e498bf93e86a5b144cfddf4
6
+ metadata.gz: bd463805fcee73fab601f1ec5d44a54e02d0b07b96ed161e267c02982d4a61e7df8c6c7881dfb8ca149dfad71e519ec92245e0a02d4b39f1519d94fc44584cd7
7
+ data.tar.gz: a723d966e61f1a618b9b438e0994af0fc60e3e444fd03a768137a12bebac9067b5f43a4783e5e4ab3c8bb2601e41171ba0bafcd39eff5e69305279444bd88958
data/Gemfile CHANGED
@@ -2,7 +2,6 @@ source "https://rubygems.org"
2
2
  gemspec
3
3
 
4
4
  group :development do
5
-
6
5
  unless ENV['CI']
7
6
  gem 'pry'
8
7
  end
@@ -49,7 +49,8 @@ module Luna
49
49
  # --------------------------------------------------------------------
50
50
 
51
51
  def dump_summary(duration, total, failures, pending)
52
- super; Libnotify.new do |notify|
52
+ super
53
+ Libnotify.new do |notify|
53
54
  notify.summary = "RSpec Results"
54
55
  notify.urgency = :critical
55
56
  notify.timeout = 1
@@ -19,3 +19,7 @@ module Luna
19
19
  end
20
20
  end
21
21
  end
22
+
23
+ RSpec.configure do |config|
24
+ config.formatter = 'Luna::RSpec::Formatters::Checks'
25
+ end
@@ -3,7 +3,7 @@ require_relative "shared/base"
3
3
  module Luna
4
4
  module RSpec
5
5
  module Formatters
6
- class Doc2 < Base
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
@@ -1,7 +1,7 @@
1
1
  module Luna
2
2
  module Rspec
3
3
  module Formatters
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
6
6
  end
7
7
  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.2.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-07 00:00:00.000000000 Z
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