specjour 0.3.0.rc4 → 0.3.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
data/History.markdown CHANGED
@@ -1,6 +1,17 @@
1
1
  History
2
2
  =======
3
3
 
4
+ ## 0.3.0.rc5 / 2010-07-30
5
+
6
+ * [fixed] Shared example groups now supported in Rspec2
7
+
8
+ * [removed] Hyperthread detection removed as it proved too unstable while
9
+ running selenium
10
+
11
+ ## 0.3.0.rc4 / 2010-07-27
12
+
13
+ * [fixed] Only print cucumber summary when running features
14
+
4
15
  ## 0.3.0.rc3 / 2010-07-27
5
16
 
6
17
  * [fixed] Cucumber prints elapsed time
data/Rakefile CHANGED
@@ -53,8 +53,8 @@ task :prerelease do
53
53
  command = %(
54
54
  git tag v#{version} &&
55
55
  rake build &&
56
- gem push pkg/specjour-#{version}.gem &&
57
56
  git push &&
57
+ gem push pkg/specjour-#{version}.gem &&
58
58
  git push --tags
59
59
  )
60
60
  puts command
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0.rc4
1
+ 0.3.0.rc5
data/lib/specjour/cpu.rb CHANGED
@@ -3,7 +3,7 @@ module Specjour
3
3
  def self.cores
4
4
  case RUBY_PLATFORM
5
5
  when /darwin/
6
- command('hostinfo') =~ /^(\d+).+logically/
6
+ command('hostinfo') =~ /^(\d+).+physically/
7
7
  $1.to_i
8
8
  when /linux/
9
9
  command('grep --count processor /proc/cpuinfo').to_i
@@ -87,8 +87,9 @@ module Specjour
87
87
  end
88
88
  end
89
89
  rescue Timeout::Error
90
- Specjour.logger.debug "Couldn't work with manager at #{uri}"
91
- rescue DRb::DRbConnError
90
+ Specjour.logger.debug "Timeout: couldn't connect to manager at #{uri}"
91
+ rescue DRb::DRbConnError => e
92
+ Specjour.logger.debug "DRb error at #{uri}: #{e.backtrace.join("\n")}"
92
93
  retry
93
94
  end
94
95
 
@@ -6,7 +6,7 @@ module Specjour::Rspec::Runner
6
6
  end
7
7
 
8
8
  def self.reset
9
- ::Rspec.instance_variable_set(:@world, nil)
9
+ ::Rspec.world.instance_variable_set(:@example_groups, [])
10
10
  ::Rspec.configuration.instance_variable_set(:@formatter, nil)
11
11
  end
12
12
  end
data/lib/specjour.rb CHANGED
@@ -28,7 +28,7 @@ module Specjour
28
28
  autoload :Cucumber, 'specjour/cucumber'
29
29
  autoload :Rspec, 'specjour/rspec'
30
30
 
31
- VERSION = "0.3.0.rc4".freeze
31
+ VERSION = "0.3.0.rc5".freeze
32
32
  HOOKS_PATH = ".specjour/hooks.rb"
33
33
 
34
34
  class << self
@@ -7,7 +7,7 @@ describe Specjour::CPU do
7
7
  Mach kernel version:
8
8
  Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
9
9
  Kernel configured for up to 2 processors.
10
- 2 processors are physically available.
10
+ 440 processors are physically available.
11
11
  220 processors are logically available.
12
12
  Processor type: i486 (Intel 80486)
13
13
  Processors active: 0 1
@@ -21,8 +21,8 @@ Load average: 0.09, Mach factor: 1.90
21
21
  stub(Specjour::CPU).command.returns(hostinfo)
22
22
  end
23
23
 
24
- it "returns the number of logically available processors" do
25
- Specjour::CPU.cores.should == 220
24
+ it "returns the number of physically available processors" do
25
+ Specjour::CPU.cores.should == 440
26
26
  end
27
27
  end
28
28
  end
data/specjour.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{specjour}
8
- s.version = "0.3.0.rc4"
8
+ s.version = "0.3.0.rc5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sandro Turriate"]
12
- s.date = %q{2010-07-27}
12
+ s.date = %q{2010-07-30}
13
13
  s.default_executable = %q{specjour}
14
14
  s.description = %q{Distribute your spec suite amongst your LAN via Bonjour.}
15
15
  s.email = %q{sandro.turriate@gmail.com}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specjour
3
3
  version: !ruby/object:Gem::Version
4
- hash: 977940565
4
+ hash: 977940562
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
- - rc4
11
- version: 0.3.0.rc4
10
+ - rc5
11
+ version: 0.3.0.rc5
12
12
  platform: ruby
13
13
  authors:
14
14
  - Sandro Turriate
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-27 00:00:00 -04:00
19
+ date: 2010-07-30 00:00:00 -04:00
20
20
  default_executable: specjour
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency