Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix loading outside of rubygems

  • Loading branch information...
commit 729ce63966743daf710b97559df92b5cdd0850ef 1 parent 9565d91
Darrick Wiebe authored
7 lib/pacer-dex.rb
... ... @@ -1,6 +1,11 @@
  1 +require 'pacer' unless defined? Pacer
  2 +
  3 +lib_path = File.expand_path(File.join(File.dirname(__FILE__), '../lib'))
  4 +$:.unshift lib_path unless $:.any? { |path| path == lib_path }
  5 +
1 6 require 'pacer-dex/version'
  7 +
2 8 if Pacer::Dex::ENABLED
3   - require 'pacer'
4 9 require Pacer::Dex::JAR
5 10
6 11 require 'pacer-dex/graph'
2  lib/pacer-dex/version.rb
@@ -4,7 +4,7 @@ module Dex
4 4 if not defined? ENABLED
5 5 ENABLED = ENV_JAVA['java.runtime.version'] =~ /^1\.6\./
6 6 end
7   - VERSION = "2.0.0"
  7 + VERSION = "2.0.1"
8 8 JAR = "pacer-dex-#{ VERSION }-standalone.jar"
9 9 JAR_PATH = "lib/#{ JAR }"
10 10 BLUEPRINTS_VERSION = "2.1.0"
2  pom.xml
@@ -7,7 +7,7 @@
7 7 <artifactId>pacer-dex</artifactId>
8 8 <!-- NOTE: the following properties are automatically updated based on the values in lib/pacer-neo4j/version.rb -->
9 9 <properties>
10   - <gem.version>2.0.0</gem.version>
  10 + <gem.version>2.0.1</gem.version>
11 11 <blueprints.version>2.1.0</blueprints.version>
12 12 <pipes.version>2.1.0</pipes.version>
13 13 </properties>

0 comments on commit 729ce63

Please sign in to comment.
Something went wrong with that request. Please try again.