Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Release 2.5.3

  • Loading branch information...
commit d2db7598e5c93eefb5ca5d4c96868452c77624d6 1 parent ed2ff1f
@aslakhellesoy aslakhellesoy authored
View
18 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- gherkin (2.5.2)
+ gherkin (2.5.3)
json (>= 1.4.6)
GEM
@@ -21,18 +21,18 @@ GEM
rake-compiler (0.7.9)
rake
rdiscount (1.6.8)
- rspec (2.6.0)
- rspec-core (~> 2.6.0)
- rspec-expectations (~> 2.6.0)
- rspec-mocks (~> 2.6.0)
- rspec-core (2.6.4)
- rspec-expectations (2.6.0)
+ rspec (2.7.0)
+ rspec-core (~> 2.7.0)
+ rspec-expectations (~> 2.7.0)
+ rspec-mocks (~> 2.7.0)
+ rspec-core (2.7.0)
+ rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
- rspec-mocks (2.6.0)
+ rspec-mocks (2.7.0)
term-ansicolor (1.0.7)
therubyracer (0.9.8)
libv8 (~> 3.3.10)
- yard (0.7.2)
+ yard (0.7.3)
PLATFORMS
ruby
View
5 History.md
@@ -1,3 +1,8 @@
+## [2.5.3](https://github.com/cucumber/gherkin/compare/v2.5.2...v2.5.3)
+
+### New Features
+* [Java] AnsiEscapes can append to a NiceAppendable. (Aslak Hellesøy)
+
## [2.5.2](https://github.com/cucumber/gherkin/compare/v2.5.1...v2.5.2)
### New Features
View
2  README.md
@@ -54,7 +54,7 @@ The jar file is in the central Maven repo.
<dependency>
<groupId>info.cukes</groupId>
<artifactId>gherkin</artifactId>
- <version>2.5.2</version>
+ <version>2.5.3</version>
</dependency>
You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
View
2  gherkin.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = "gherkin"
- s.version = "2.5.2"
+ s.version = "2.5.3"
s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
s.summary = "#{s.name}-#{s.version}"
View
4 ikvm/Gherkin/Gherkin.csproj
@@ -43,9 +43,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\release\IKVM.OpenJDK.Text.dll</HintPath>
</Reference>
- <Reference Include="gherkin-2.5.2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+ <Reference Include="gherkin-2.5.3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\release\gherkin-2.5.2.dll</HintPath>
+ <HintPath>..\..\release\gherkin-2.5.3.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
View
3  java/Gherkin.iml
@@ -11,8 +11,11 @@
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/test-annotations" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target/antrun" />
+ <excludeFolder url="file://$MODULE_DIR$/target/apidocs" />
<excludeFolder url="file://$MODULE_DIR$/target/classes" />
+ <excludeFolder url="file://$MODULE_DIR$/target/javadoc-bundle-options" />
<excludeFolder url="file://$MODULE_DIR$/target/maven-archiver" />
+ <excludeFolder url="file://$MODULE_DIR$/target/site" />
<excludeFolder url="file://$MODULE_DIR$/target/surefire" />
<excludeFolder url="file://$MODULE_DIR$/target/surefire-reports" />
<excludeFolder url="file://$MODULE_DIR$/target/test-classes" />
View
2  java/pom.xml
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>info.cukes</groupId>
<artifactId>gherkin</artifactId>
- <version>2.5.2</version>
+ <version>2.5.3</version>
<packaging>jar</packaging>
<name>Gherkin</name>
<description>Pure Java Gherkin</description>
View
6 java/src/main/java/gherkin/formatter/ansi/AnsiEscapes.java
@@ -1,5 +1,7 @@
package gherkin.formatter.ansi;
+import gherkin.formatter.NiceAppendable;
+
public class AnsiEscapes {
private static final char ESC = 27;
private static final char BRACKET = '[';
@@ -31,6 +33,10 @@ private AnsiEscapes(String value) {
this.value = value;
}
+ public void appendTo(NiceAppendable a) {
+ a.append(ESC).append(BRACKET).append(value);
+ }
+
public void appendTo(StringBuilder a) {
a.append(ESC).append(BRACKET).append(value);
}
View
2  js/package.json
@@ -1,7 +1,7 @@
{ "name" : "gherkin"
, "description" : "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
, "keywords" : [ "testing", "bdd", "cucumber", "gherkin", "tests" ]
-, "version" : "2.5.2"
+, "version" : "2.5.3"
, "homepage" : "http://github.com/cucumber/gherkin"
, "author" : "Aslak Hellesøy <aslak.hellesoy@gmail.com>"
, "contributors" : [ "Aslak Hellesøy <aslak.hellesoy@gmail.com>" ]
Please sign in to comment.
Something went wrong with that request. Please try again.