cucumber 1.3.9 → 1.3.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0b520fbe2f7f87b9ede59da19931e779ec77cba
4
- data.tar.gz: 8730e7b03e562a9e0d4ed3e05dfefca1f879e0f9
3
+ metadata.gz: 12fc75c41ddbeef08559a5f9ae3bc596ff81ada7
4
+ data.tar.gz: 390d8d5a52b0ccd221eba8dadeecf90e360384cb
5
5
  SHA512:
6
- metadata.gz: 290959ad0de1d225bf23e512b0877975d4070b653f21f84a5404011a924446a106cfea1eb0193c32b9c5294bf9bd9ad31ca5c1414a24c7b26751b98b6058f3f3
7
- data.tar.gz: fbef5dac6944502a38f344cb1046c0b3a2a8247e84b7589f1c2aa3da810dc2f4b30f66282e4063cabbf5b78de4908ebe8c9fa196bdd6cb06abef94c0a1b18c7d
6
+ metadata.gz: d6a8830d05fd153121c226010f29ca9693c6c4afbcd6e1784f95ec23777341ac390a5782ac1e2aee610e01cbb8c2986afaf89bdce393e5c2d224f531431752bf
7
+ data.tar.gz: 597a743d954be940488a47dc614e489d2a84fc5ec714ab7df00b5e56d9ed5d57a1bff97cec0f2e130d75a2d433beee8343d5d82751a6295132709ea2e04885a5
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ##
2
+ [v1.3.10](https://github.com/cucumber/cucumber/compare/v1.3.9...v1.3.10)
3
+
4
+ * Fixed "nil:NilClass (NoMethodError)" problem for auto-formatting ([599](https://github.com/cucumber/cucumber/pull/599) @jmcaffee)
5
+
1
6
  ##
2
7
  [v1.3.9](https://github.com/cucumber/cucumber/compare/v1.3.8...v1.3.9)
3
8
 
@@ -0,0 +1,23 @@
1
+ Feature: Autoformat profile output
2
+
3
+ Background:
4
+ Given a file named "features/autoformat_output_has_profile_info.feature" with:
5
+ """
6
+ Feature:
7
+
8
+ Scenario: Passing
9
+ Given passing
10
+ """
11
+
12
+ Scenario: when using a profile the output should include 'Using the default profile...'
13
+ And a file named "cucumber.yml" with:
14
+ """
15
+ default: -r features
16
+ """
17
+ When I run `cucumber --profile default --autoformat tmp`
18
+ Then it should pass
19
+ And the output should contain:
20
+ """
21
+ Using the default profile...
22
+ """
23
+
@@ -172,7 +172,7 @@ module Cucumber
172
172
  # can be done with the gherkin CLI.
173
173
  if @options[:autoformat]
174
174
  require 'cucumber/formatter/pretty'
175
- return [Formatter::Pretty.new(runtime, nil, @options)]
175
+ return [Formatter::Pretty.new(runtime, out_stream, @options)]
176
176
  end
177
177
 
178
178
  @options[:formats].map do |format_and_out|
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '1.3.9'
7
+ VERSION = '1.3.10'
8
8
  BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
9
9
  LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
10
10
  JRUBY = defined?(JRUBY_VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -610,6 +610,7 @@ files:
610
610
  - examples/watir/features/support/screenshots.rb
611
611
  - features/.cucumber/stepdefs.json
612
612
  - features/assertions.feature
613
+ - features/autoformat_profile_output.feature
613
614
  - features/background.feature
614
615
  - features/backtraces.feature
615
616
  - features/before_hook.feature
@@ -962,6 +963,6 @@ rubyforge_project:
962
963
  rubygems_version: 2.0.3
963
964
  signing_key:
964
965
  specification_version: 4
965
- summary: cucumber-1.3.9
966
+ summary: cucumber-1.3.10
966
967
  test_files: []
967
968
  has_rdoc: