Skip to content

Commit

Permalink
Gremlin 1.1. release.
Browse files Browse the repository at this point in the history
  • Loading branch information
okram committed Jun 15, 2011
1 parent fc9adc6 commit 0cca227
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 20 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.textile
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ Gremlin: A Graph Traversal Language
</repository>
```

h2. Gremlin 1.0
h2. Gremlin 1.X

!https://github.com/tinkerpop/gremlin/raw/master/doc/images/gremlin-clownin-around.png!

h3. Version 1.1 (Clownin' Around -- NOT OFFICIALLY RELEASED YET)
h3. Version 1.1 (Clownin' Around -- June 15, 2011)

```xml
<dependency>
<groupId>com.tinkerpop</groupId>
<artifactId>gremlin</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
</dependency>
```

Expand All @@ -36,7 +36,7 @@ h3. Version 1.1 (Clownin' Around -- NOT OFFICIALLY RELEASED YET)
** Added support for named steps in @back@
** Added support for named steps in @optional@

h2. Gremlin 0.0
==<hr/>==

!https://github.com/tinkerpop/gremlin/raw/master/doc/images/gremlin-gremlin.png!

Expand All @@ -62,6 +62,8 @@ h3. Version 1.0 (Gremlin -- May 8, 2011)

==<hr/>==

h2. Gremlin 0.X

!https://github.com/tinkerpop/gremlin/raw/master/doc/images/gremlin-gremlin-the-grouch.png!

h3. Version 0.9 (Gremlin the Grouch -- April 4, 2011)
Expand Down
1 change: 1 addition & 0 deletions doc/wiki
Submodule wiki added at e28ce5
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.tinkerpop</groupId>
<artifactId>gremlin</artifactId>
<version>1.1-SNAPSHOT</version>
<version>1.1</version>
<!-- DON'T FORGET TO UPDATE GremlinTokens.VERSION AT RELEASE -->
<packaging>jar</packaging>
<url>http://gremlin.tinkerpop.com</url>
Expand Down Expand Up @@ -54,56 +54,56 @@
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-core</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
</dependency>
<!-- PROVIDED DEPENDENCIES -->
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-graph-jung</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-graph-sail</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-neo4j-graph</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-orient-graph</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-dex-graph</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-sail-graph</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tinkerpop.blueprints</groupId>
<artifactId>blueprints-rexster-graph</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.8</version>
<scope>provided</scope>
</dependency>
<!-- PROVIDED DEPENDENCIES -->
<dependency>
<groupId>com.tinkerpop</groupId>
<artifactId>pipes</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ObjectLoader {
}

private static Table createTable(final Table table) {
if(table.getColumnNames().size() > 0)
if (table.getColumnNames().size() > 0)
return new Table(table.columnNames.toArray(new String[table.columnNames.size()]));
else
return new Table();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ import com.tinkerpop.pipes.Pipe
import com.tinkerpop.pipes.PipeHelper
import com.tinkerpop.pipes.filter.ComparisonFilterPipe.Filter
import com.tinkerpop.pipes.filter.RangeFilterPipe
import com.tinkerpop.pipes.pgm.*
import com.tinkerpop.pipes.pgm.PropertyPipe
import com.tinkerpop.pipes.pgm.LabelPipe
import com.tinkerpop.pipes.pgm.IdPipe
import com.tinkerpop.pipes.pgm.IdFilterPipe
import com.tinkerpop.pipes.pgm.LabelFilterPipe
import com.tinkerpop.pipes.pgm.PropertyFilterPipe

/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ import com.tinkerpop.pipes.filter.ComparisonFilterPipe.Filter
import com.tinkerpop.pipes.util.GatherPipe
import com.tinkerpop.pipes.util.PathPipe
import com.tinkerpop.pipes.util.ScatterPipe
import com.tinkerpop.pipes.pgm.*
import com.tinkerpop.pipes.pgm.OutPipe
import com.tinkerpop.pipes.pgm.OutEdgesPipe
import com.tinkerpop.pipes.pgm.InEdgesPipe
import com.tinkerpop.pipes.pgm.InPipe
import com.tinkerpop.pipes.pgm.BothPipe
import com.tinkerpop.pipes.pgm.BothEdgesPipe
import com.tinkerpop.pipes.pgm.InVertexPipe
import com.tinkerpop.pipes.pgm.BothVerticesPipe
import com.tinkerpop.pipes.pgm.OutVertexPipe

/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tinkerpop/gremlin/GremlinTokens.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
public class GremlinTokens {

public static final String VERSION = "1.1-SNAPSHOT";
public static final String VERSION = "1.1";
public static final String LABEL = "label";
public static final String ID = "id";

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/tinkerpop/gremlin/pipes/util/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Table(final String... columnNames) {
public Table apply(final Closure... closures) {
if (tableWidth != -1 && closures.length == tableWidth) {
Table table = new Table();
for (Row row: this) {
for (Row row : this) {
List temp = new ArrayList();
for (int i = 0; i < row.size(); i++) {
temp.add(closures[i].call(row.get(i)));
Expand Down Expand Up @@ -87,7 +87,7 @@ public Row getRow(final int row) {

public List getColumn(final int column) {
final List temp = new ArrayList();
for (final Row row: this) {
for (final Row row : this) {
temp.add(row.get(column));
}
return temp;
Expand Down

0 comments on commit 0cca227

Please sign in to comment.