bones-rspec 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/bones/plugins/spec.rb +6 -10
- data/version.txt +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/lib/bones/plugins/spec.rb
CHANGED
@@ -19,6 +19,10 @@ module Bones::Plugins::Spec
|
|
19
19
|
An array of command line options that will be passed to the spec
|
20
20
|
command when running your tests. See the RSpec help documentation
|
21
21
|
either online or from the command line by running 'spec --help'.
|
22
|
+
|
23
|
+
Options can also be defined in the "spec/spec.opts" file. Please
|
24
|
+
leave this opts array empty if you prefer to use the spec.opts file
|
25
|
+
instead.
|
22
26
|
__
|
23
27
|
}
|
24
28
|
}
|
@@ -40,15 +44,7 @@ module Bones::Plugins::Spec
|
|
40
44
|
desc 'Run all specs with basic output'
|
41
45
|
Spec::Rake::SpecTask.new(:run) do |t|
|
42
46
|
t.ruby_opts = config.ruby_opts
|
43
|
-
t.spec_opts = config.spec.opts
|
44
|
-
t.spec_files = config.spec.files
|
45
|
-
t.libs += config.libs
|
46
|
-
end
|
47
|
-
|
48
|
-
desc 'Run all specs with text output'
|
49
|
-
Spec::Rake::SpecTask.new(:specdoc) do |t|
|
50
|
-
t.ruby_opts = config.ruby_opts
|
51
|
-
t.spec_opts = config.spec.opts + ['--format', 'specdoc']
|
47
|
+
t.spec_opts = config.spec.opts unless config.spec.opts.empty?
|
52
48
|
t.spec_files = config.spec.files
|
53
49
|
t.libs += config.libs
|
54
50
|
end
|
@@ -59,7 +55,7 @@ module Bones::Plugins::Spec
|
|
59
55
|
desc 'Run all specs with Rcov'
|
60
56
|
Spec::Rake::SpecTask.new(:rcov) do |t|
|
61
57
|
t.ruby_opts = config.ruby_opts
|
62
|
-
t.spec_opts = config.spec.opts
|
58
|
+
t.spec_opts = config.spec.opts unless config.spec.opts.empty?
|
63
59
|
t.spec_files = config.spec.files
|
64
60
|
t.libs += config.libs
|
65
61
|
t.rcov = true
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bones-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 1.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tim Pease
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-26 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|