neography 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/neography/connection.rb +8 -7
- data/lib/neography/version.rb +1 -1
- metadata +2 -2
data/lib/neography/connection.rb
CHANGED
@@ -114,13 +114,14 @@ module Neography
|
|
114
114
|
case code
|
115
115
|
when 400, 404
|
116
116
|
case parsed_body["exception"]
|
117
|
-
when
|
118
|
-
when
|
119
|
-
when
|
120
|
-
when
|
121
|
-
when
|
122
|
-
when
|
123
|
-
when
|
117
|
+
when /SyntaxException/ ; raise SyntaxException.new(message, code, stacktrace)
|
118
|
+
when /this is not a query/ ; raise SyntaxException.new(message, code, stacktrace)
|
119
|
+
when /PropertyValueException/ ; raise PropertyValueException.new(message, code, stacktrace)
|
120
|
+
when /BadInputException/ ; raise BadInputException.new(message, code, stacktrace)
|
121
|
+
when /NodeNotFoundException/ ; raise NodeNotFoundException.new(message, code, stacktrace)
|
122
|
+
when /NoSuchPropertyException/ ; raise NoSuchPropertyException.new(message, code, stacktrace)
|
123
|
+
when /RelationshipNotFoundException/ ; raise RelationshipNotFoundException.new(message, code, stacktrace)
|
124
|
+
when /NotFoundException/ ; raise NotFoundException.new(message, code, stacktrace)
|
124
125
|
else
|
125
126
|
raise NeographyError.new(message, code, stacktrace)
|
126
127
|
end
|
data/lib/neography/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neography
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|