cucumber 0.6.0 → 0.6.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.
- data/History.txt +5 -0
- data/VERSION.yml +2 -2
- data/cucumber.gemspec +2 -2
- data/lib/cucumber/formatter/ansicolor.rb +1 -1
- data/lib/cucumber/formatter/unicode.rb +11 -5
- metadata +2 -2
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
data/cucumber.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{cucumber}
|
|
8
|
-
s.version = "0.6.
|
|
8
|
+
s.version = "0.6.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Aslak Helles\303\270y"]
|
|
@@ -547,7 +547,7 @@ Gem::Specification.new do |s|
|
|
|
547
547
|
|
|
548
548
|
(::) U P G R A D I N G (::)
|
|
549
549
|
|
|
550
|
-
Thank you for installing cucumber-0.6.
|
|
550
|
+
Thank you for installing cucumber-0.6.1.
|
|
551
551
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
|
|
552
552
|
for important information about this release. Happy cuking!
|
|
553
553
|
|
|
@@ -4,9 +4,15 @@ require 'cucumber/formatter/ansicolor'
|
|
|
4
4
|
$KCODE='u' unless Cucumber::RUBY_1_9
|
|
5
5
|
|
|
6
6
|
if Cucumber::WINDOWS
|
|
7
|
+
if Cucumber::WINDOWS_MRI
|
|
8
|
+
Cucumber::CODEPAGE = "cp#{Win32::Console::OutputCP()}"
|
|
9
|
+
elsif `cmd /c chcp` =~ /(\d+)/
|
|
10
|
+
Cucumber::CODEPAGE = "cp#{$1.to_i}"
|
|
11
|
+
else
|
|
12
|
+
raise "Cucumber couldn't detect the output codepage"
|
|
13
|
+
end
|
|
14
|
+
|
|
7
15
|
require 'iconv'
|
|
8
|
-
require 'Win32/Console/ANSI'
|
|
9
|
-
Cucumber::CODEPAGE = "cp#{Win32::Console::OutputCP()}"
|
|
10
16
|
|
|
11
17
|
module Cucumber
|
|
12
18
|
module WindowsOutput #:nodoc:
|
|
@@ -32,9 +38,9 @@ if Cucumber::WINDOWS
|
|
|
32
38
|
end
|
|
33
39
|
end
|
|
34
40
|
|
|
35
|
-
Kernel.extend(self)
|
|
36
|
-
STDOUT.extend(self)
|
|
37
|
-
STDERR.extend(self)
|
|
41
|
+
Kernel.extend(self)
|
|
42
|
+
STDOUT.extend(self)
|
|
43
|
+
STDERR.extend(self)
|
|
38
44
|
end
|
|
39
45
|
end
|
|
40
46
|
end
|
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: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
|
@@ -653,7 +653,7 @@ post_install_message: |+
|
|
|
653
653
|
|
|
654
654
|
(::) U P G R A D I N G (::)
|
|
655
655
|
|
|
656
|
-
Thank you for installing cucumber-0.6.
|
|
656
|
+
Thank you for installing cucumber-0.6.1.
|
|
657
657
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
|
|
658
658
|
for important information about this release. Happy cuking!
|
|
659
659
|
|