aslakhellesoy-cucumber 0.3.3.5 → 0.3.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,26 @@
3
3
  A couple of great new features in this release. Running with Rake is faster than before,
4
4
  and there is a brand new JUnit formatter - great for Continuous Integration reports!
5
5
 
6
+ ** IMPORTANT UPGRADE NOTES FOR RAILS USERS **
7
+
8
+ Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work,
9
+ so you have to explicitly tell the task to fork (like it was doing by default in prior
10
+ versions). In lib/tasks/cucumber.rake:
11
+
12
+ Cucumber::Rake::Task.new(:features) do |t|
13
+ t.fork = true # Explicitly fork
14
+ t.cucumber_opts = %w{--format pretty}
15
+ end
16
+
17
+ (If you run script/generate cucumber this will be done for you).
18
+ Alternatively you can omit forking and run features like this:
19
+
20
+ RAILS_ENV=test rake features
21
+
22
+ However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this.
23
+
6
24
  === Bugfixes
25
+ * Proper UTF8 use in HTML formatter (Herminio Torres)
7
26
  * Problem with multiple terms in languages.yml (#321 Aslak Hellesøy)
8
27
 
9
28
  === New features
@@ -27,6 +27,7 @@ module Cucumber
27
27
  )
28
28
  @builder.html(:xmlns => 'http://www.w3.org/1999/xhtml') do
29
29
  @builder.head do
30
+ @builder.meta(:content => 'text/html;charset=utf-8')
30
31
  @builder.title 'Cucumber'
31
32
  inline_css
32
33
  end
@@ -3,7 +3,7 @@ module Cucumber #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
5
  TINY = 3
6
- PATCH = 5 # Set to nil for official release
6
+ PATCH = 6 # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
9
9
  end
@@ -4,7 +4,8 @@ begin
4
4
  require 'cucumber/rake/task'
5
5
 
6
6
  Cucumber::Rake::Task.new(:features) do |t|
7
- t.t.cucumber_opts = %w{$1}--format pretty"
7
+ t.fork = true
8
+ t.cucumber_opts = %w{--format pretty}
8
9
  end
9
10
  task :features => 'db:test:prepare'
10
11
  rescue LoadError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aslakhellesoy-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3.5
4
+ version: 0.3.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-13 00:00:00 -07:00
12
+ date: 2009-05-14 00:00:00 -07:00
13
13
  default_executable: cucumber
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency