specjour 0.6.0 → 0.6.1
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.
- data/History.markdown +13 -0
- data/lib/specjour/loader.rb +5 -1
- data/lib/specjour/printer.rb +4 -2
- data/lib/specjour/worker.rb +1 -1
- data/lib/specjour.rb +1 -1
- metadata +3 -3
data/History.markdown
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
History
|
2
2
|
=======
|
3
3
|
|
4
|
+
0.6.1 / 2012-08-13
|
5
|
+
---------------------------
|
6
|
+
* [fixed] No longer prints tests that have yet to run when interrupting the
|
7
|
+
process with CTRL-C
|
8
|
+
* [fixed] Use the correct file location for shared examples. As in, actually
|
9
|
+
run them.
|
10
|
+
|
11
|
+
[Full Changelog](https://github.com/sandro/specjour/compare/v0.6.0...v0.6.1)
|
12
|
+
|
4
13
|
0.6.0 / 2012-07-19
|
5
14
|
---------------------------
|
6
15
|
* [fixed] First RSpec test to load would run twice
|
@@ -9,12 +18,16 @@ History
|
|
9
18
|
`-aL --delete --ignore-errors --exclude=vendor/ruby --exclude=.bundle`
|
10
19
|
* [added] Benchmark times for various system status messages
|
11
20
|
|
21
|
+
[Full Changelog](https://github.com/sandro/specjour/compare/v0.5.6...v0.6.0)
|
22
|
+
|
12
23
|
0.5.6 / 2012-06-22
|
13
24
|
---------------------------
|
14
25
|
* [fixed] Specjour hang when attempting to resolve a bonjour reply
|
15
26
|
* [fixed] Specjour executes loader under current $LOAD\_PATH
|
16
27
|
Specjour no longer assumes the required gems are available globally. Useful when running specjour under a vendored environment (bundle install --path=vendor).
|
17
28
|
|
29
|
+
[Full Changelog](https://github.com/sandro/specjour/compare/v0.5.5...v0.5.6)
|
30
|
+
|
18
31
|
0.5.5 / 2012-05-31
|
19
32
|
---------------------------
|
20
33
|
* [fixed] Now compatible with thor 0.15.x
|
data/lib/specjour/loader.rb
CHANGED
@@ -104,7 +104,11 @@ module Specjour
|
|
104
104
|
g.descendants.map do |gs|
|
105
105
|
gs.examples
|
106
106
|
end.flatten.map do |e|
|
107
|
-
|
107
|
+
meta = e.metadata
|
108
|
+
if e.example_group.metadata[:shared_group_name]
|
109
|
+
meta = e.metadata[:example_group]
|
110
|
+
end
|
111
|
+
"#{meta[:file_path]}:#{meta[:line_number]}"
|
108
112
|
end
|
109
113
|
end.flatten.uniq
|
110
114
|
ensure
|
data/lib/specjour/printer.rb
CHANGED
@@ -127,8 +127,10 @@ module Specjour
|
|
127
127
|
|
128
128
|
def stopping
|
129
129
|
summarize_reports
|
130
|
-
|
131
|
-
|
130
|
+
unless Specjour.interrupted?
|
131
|
+
record_performance
|
132
|
+
print_missing_tests if tests_to_run.any?
|
133
|
+
end
|
132
134
|
end
|
133
135
|
|
134
136
|
def summarize_reports
|
data/lib/specjour/worker.rb
CHANGED
data/lib/specjour.rb
CHANGED
@@ -29,7 +29,7 @@ module Specjour
|
|
29
29
|
autoload :Cucumber, 'specjour/cucumber'
|
30
30
|
autoload :RSpec, 'specjour/rspec'
|
31
31
|
|
32
|
-
VERSION ||= "0.6.
|
32
|
+
VERSION ||= "0.6.1"
|
33
33
|
HOOKS_PATH ||= "./.specjour/hooks.rb"
|
34
34
|
PROGRAM_NAME ||= $PROGRAM_NAME # keep a reference of the original program name
|
35
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specjour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dnssd
|
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
segments:
|
179
179
|
- 0
|
180
|
-
hash:
|
180
|
+
hash: 972995477223551521
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|