gremlin_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gremlin_client.rb +1 -1
- data/lib/gremlin_client/connection.rb +2 -1
- data/lib/gremlin_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8aacf727c3233d7f671c378b395b0ac382b3918
|
4
|
+
data.tar.gz: e6b39121f3d570b622c1917590a64c285999c261
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed5208053eab26bbcc9cd225589479ea78227181b7cb08a99b1f75f5cd33feb767a2037ac17512cb109ac9958a4298da7e0073abddc021c4ffde53c13ca04616
|
7
|
+
data.tar.gz: c7ccee5ce8f570bb8dfcbedda1c1496fbce69151a51d0fd12e64c50e3008a7294e91f2309ef9c37fc8b0b8e7666a69eb7cac25a3e57c42ea8b607c9773ef2e91
|
data/Gemfile.lock
CHANGED
data/lib/gremlin_client.rb
CHANGED
@@ -40,6 +40,7 @@ module GremlinClient
|
|
40
40
|
|
41
41
|
@timeout = timeout
|
42
42
|
@groovy_script_path = groovy_script_path
|
43
|
+
@groovy_script_path = Pathname.new(@groovy_script_path) unless @groovy_script_path.is_a?(Pathname)
|
43
44
|
end
|
44
45
|
|
45
46
|
|
@@ -122,7 +123,7 @@ module GremlinClient
|
|
122
123
|
|
123
124
|
def resolve_path(filename)
|
124
125
|
return filename if filename.is_a?(String) && filename[0,1] == '/'
|
125
|
-
|
126
|
+
@groovy_script_path.join(filename).to_s
|
126
127
|
end
|
127
128
|
end
|
128
129
|
end
|