cucumber 1.3.9 → 1.3.10
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.
- checksums.yaml +4 -4
- data/History.md +5 -0
- data/features/autoformat_profile_output.feature +23 -0
- data/lib/cucumber/cli/configuration.rb +1 -1
- data/lib/cucumber/platform.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12fc75c41ddbeef08559a5f9ae3bc596ff81ada7
|
4
|
+
data.tar.gz: 390d8d5a52b0ccd221eba8dadeecf90e360384cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
175
|
+
return [Formatter::Pretty.new(runtime, out_stream, @options)]
|
176
176
|
end
|
177
177
|
|
178
178
|
@options[:formats].map do |format_and_out|
|
data/lib/cucumber/platform.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rbconfig'
|
|
4
4
|
|
5
5
|
module Cucumber
|
6
6
|
unless defined?(Cucumber::VERSION)
|
7
|
-
VERSION = '1.3.
|
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.
|
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-
|
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.
|
966
|
+
summary: cucumber-1.3.10
|
966
967
|
test_files: []
|
967
968
|
has_rdoc:
|