specjour 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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
- "#{e.file_path}:#{e.metadata[:line_number]}"
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
@@ -127,8 +127,10 @@ module Specjour
127
127
 
128
128
  def stopping
129
129
  summarize_reports
130
- record_performance unless Specjour.interrupted?
131
- print_missing_tests if tests_to_run.any?
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
@@ -57,7 +57,7 @@ module Specjour
57
57
  end
58
58
 
59
59
  def print_time_for(test, time)
60
- printf "[#{ENV['TEST_ENV_NUMBER']}] Finished #{test} in %.4f\n", time
60
+ printf "[#{ENV['TEST_ENV_NUMBER']}] Finished #{test} in %.2fs\n", time
61
61
  end
62
62
 
63
63
  def profile(test, time)
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.0"
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.0
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-07-20 00:00:00.000000000 Z
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: -4214372861778010771
180
+ hash: 972995477223551521
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements: