rspec-nc 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/nc.rb +1 -2
- data/rspec-nc.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2b8f93c83bbd95fcf6ee2f1733e04b4d1d16ef3
|
4
|
+
data.tar.gz: 0cd2bc1e3dfaea772e799a6ed05c1b1d4922d9d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1ab0cffb3b17e0067df6414cd75f066492f72a05e6f44b26eda48a7edffdf1c07e3460aecd506b027e9a0f66b422f42bffacd5747ea6c2e993c4ab41173b0cf
|
7
|
+
data.tar.gz: da5a61732c2c259d1b983f648837ab615159f9e1b9ac7f78b8bb8c7f83559588f1463adc9149a580f6ac3d06ec915f9b28f1bccbac0982002585a57b29c2ea4c
|
data/lib/nc.rb
CHANGED
@@ -2,7 +2,6 @@ require 'rspec/core/formatters/base_text_formatter'
|
|
2
2
|
require 'terminal-notifier'
|
3
3
|
|
4
4
|
class Nc < RSpec::Core::Formatters::BaseTextFormatter
|
5
|
-
|
6
5
|
def self.rspec_3?
|
7
6
|
RSpec::Core::Version::STRING.split('.').first == "3"
|
8
7
|
end
|
@@ -51,7 +50,7 @@ class Nc < RSpec::Core::Formatters::BaseTextFormatter
|
|
51
50
|
if respond_to? :format_duration
|
52
51
|
format_duration duration
|
53
52
|
else
|
54
|
-
require 'rspec/core/formatters/helpers'
|
53
|
+
require 'rspec/core/formatters/helpers' unless Object.const_defined?('RSpec')
|
55
54
|
RSpec::Core::Formatters::Helpers.format_duration duration
|
56
55
|
end
|
57
56
|
end
|
data/rspec-nc.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-nc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Odin Dutton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: terminal-notifier
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.4.5
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: RSpec formatter for Mountain Lion's Notification Center
|