Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

On snapshot of my branch to enable read only graph.

  • Loading branch information...
commit c108087307f556cccef9408a128ae9cf3f81a37d 1 parent c5272e1
@pangloss pangloss authored
View
9 lib/pacer/graph/pacer_graph.rb
@@ -47,6 +47,15 @@ def shutdown
self
end
+ def restart!
+ shutdown
+ reopen
+ end
+
+ def read_only
+ use_wrapper com.tinkerpop.blueprints.util.wrappers.readonly.ReadOnlyKeyIndexableGraph
+ end
+
def use_wrapper(klass)
reopen = proc do
klass.new unwrap_graph(@reopen.call)
View
2  lib/pacer/version.rb
@@ -7,7 +7,7 @@ module Pacer
START_TIME = Time.now
- BLUEPRINTS_VERSION = "2.1.0"
+ BLUEPRINTS_VERSION = "2.2.0-SNAPSHOT"
PIPES_VERSION = "2.1.0"
GREMLIN_VERSION = "2.1.0"
end
View
2  pom.xml
@@ -7,8 +7,8 @@
<artifactId>pacer</artifactId>
<!-- NOTE: the following properties are automatically updated based on the values in lib/pacer-neo4j/version.rb -->
<properties>
- <blueprints.version>2.1.0</blueprints.version>
<gem.version>1.1.2</gem.version>
+ <blueprints.version>2.2.0-SNAPSHOT</blueprints.version>
<pipes.version>2.1.0</pipes.version>
<gremlin.version>2.1.0</gremlin.version>
</properties>
Please sign in to comment.
Something went wrong with that request. Please try again.