surrealdb 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/surrealdb/clients/http.rb +1 -10
- data/lib/surrealdb/common/surreal_error.rb +1 -10
- data/lib/surrealdb/models/http_response.rb +1 -10
- data/lib/surrealdb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a087a8822b9e2778168c1636c38cd40d7a5c7af873d251f8faa99cc257996119
|
|
4
|
+
data.tar.gz: 6f5f0112cd1e81edd57281f3cd664bfd10efaa0da71c3da31eb1e686ae722f16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a989d16f06c616ef9f04797624e47e703e92cd6628d78106329445cb61cdea718bab16e3726e0dfc690f3da3c8bdf07d399e720f4c279dcc39e795698e97c0e5
|
|
7
|
+
data.tar.gz: fd3287ff01f7b9b9e7d6b451195576c1f3b8f495eb0f15c31f288b10d0e595e7666260aae78380af9affb5ebbb183d73d900f032d0259daacb11bfc3daee38e8
|
data/Gemfile.lock
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
# you may not use this file except in compliance with the License.
|
|
4
|
-
# You may obtain a copy of the License at
|
|
5
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
7
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
8
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
-
# See the License for the specific language governing permissions and
|
|
10
|
-
# limitations under the License.
|
|
1
|
+
# HTTP Client for SurrealDB.
|
|
11
2
|
require "httpx"
|
|
12
3
|
require "json"
|
|
13
4
|
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
# you may not use this file except in compliance with the License.
|
|
4
|
-
# You may obtain a copy of the License at
|
|
5
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
7
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
8
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
-
# See the License for the specific language governing permissions and
|
|
10
|
-
# limitations under the License.
|
|
1
|
+
# Generic error class for SurrealDB.
|
|
11
2
|
module SurrealDB
|
|
12
3
|
class SurrealError < StandardError
|
|
13
4
|
attr_reader :status, :json
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
# you may not use this file except in compliance with the License.
|
|
4
|
-
# You may obtain a copy of the License at
|
|
5
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
7
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
8
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
-
# See the License for the specific language governing permissions and
|
|
10
|
-
# limitations under the License.
|
|
1
|
+
# Generic HTTP response class for SurrealDB.
|
|
11
2
|
module SurrealDB
|
|
12
3
|
class HTTPResponse
|
|
13
4
|
attr_reader :time, :status, :result
|
data/lib/surrealdb/version.rb
CHANGED