cucumber 1.3.0 → 1.3.1
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 +8 -8
- data/History.md +5 -0
- data/lib/cucumber/formatter/unicode.rb +7 -7
- data/lib/cucumber/platform.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGEyMTg5N2JlNzMzMWJkYjMyMDNmODk5NWNlNWEyNTQ4ZGFiNGJiYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzM2ODg2NDA2ZGZiZTRjNWRhYTNjNjRhZDRkZGIxODMyMWFlMThlMw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWFjNmMzMzJlZmZiYWQxYmM0ZTU5NWY5ZTY5MDI3YTRiOGQ4YmZkYTExZDEx
|
10
|
+
Y2U0OTU3NThiZWJmZThjNTZmOWE4NTI3OGQ0MWYxY2VlZTdhMjgwOWVkNzIz
|
11
|
+
MTNjZWExZmRmZTgzMDE2NWFhZWJjNmE1YjU2NzM3MmEyMzUyMDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjlkMGViNGE3OWJlZDhjNTQ5MWQyYjQyZjBlMzZjZTFmYzU3M2E1MDYyMWM1
|
14
|
+
NDk3MTgwMDBlNmFmZDZhMDcxYjhkMTgzYzY3NTYyMTQ0OTk2YjcyY2U0NTMw
|
15
|
+
ZDFjMzc0OTI2YmMxMDA5YzJkNzc5M2U1NmUwNzRkNjZlOTU3MDY=
|
data/History.md
CHANGED
@@ -28,32 +28,32 @@ if Cucumber::WINDOWS
|
|
28
28
|
def cucumber_preprocess_output(*a)
|
29
29
|
if Cucumber::RUBY_1_8_7
|
30
30
|
begin
|
31
|
-
|
31
|
+
Iconv.iconv(Cucumber::CODEPAGE, "UTF-8", *a.map{|a|a.to_s})
|
32
32
|
rescue Iconv::InvalidEncoding => e
|
33
33
|
STDERR.cucumber_puts("WARNING: #{e.message}")
|
34
|
-
|
34
|
+
a
|
35
35
|
rescue Iconv::IllegalSequence => e
|
36
36
|
STDERR.cucumber_puts("WARNING: #{e.message}")
|
37
|
-
|
37
|
+
a
|
38
38
|
end
|
39
39
|
else
|
40
40
|
begin
|
41
|
-
|
41
|
+
a.map{|arg| arg.to_s.encode(Encoding.default_external)}
|
42
42
|
rescue Encoding::UndefinedConversionError => e
|
43
43
|
STDERR.cucumber_puts("WARNING: #{e.message}")
|
44
|
-
|
44
|
+
a
|
45
45
|
end
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
49
|
alias cucumber_print print
|
50
50
|
def print(*a)
|
51
|
-
cucumber_print(cucumber_preprocess_output(*a))
|
51
|
+
cucumber_print(*cucumber_preprocess_output(*a))
|
52
52
|
end
|
53
53
|
|
54
54
|
alias cucumber_puts puts
|
55
55
|
def puts(*a)
|
56
|
-
cucumber_puts(cucumber_preprocess_output(*a))
|
56
|
+
cucumber_puts(*cucumber_preprocess_output(*a))
|
57
57
|
end
|
58
58
|
end
|
59
59
|
end
|
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.1'
|
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,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -913,6 +913,6 @@ rubyforge_project:
|
|
913
913
|
rubygems_version: 2.0.3
|
914
914
|
signing_key:
|
915
915
|
specification_version: 4
|
916
|
-
summary: cucumber-1.3.
|
916
|
+
summary: cucumber-1.3.1
|
917
917
|
test_files: []
|
918
918
|
has_rdoc:
|