surrealdb 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -2
- 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
- data/surrealdb.gemspec +1 -1
- metadata +4 -4
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
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
surrealdb (0.
|
4
|
+
surrealdb (0.6.0)
|
5
|
+
httpx (>= 0.18.0)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
@@ -33,7 +34,7 @@ PLATFORMS
|
|
33
34
|
ruby
|
34
35
|
|
35
36
|
DEPENDENCIES
|
36
|
-
httpx
|
37
|
+
httpx (>= 0.18.0)
|
37
38
|
rake (~> 12.0)
|
38
39
|
rspec (~> 3.0)
|
39
40
|
rufo
|
@@ -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
data/surrealdb.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.summary = "Ruby driver for SurrealDB"
|
9
9
|
spec.homepage = "https://surrealdb.com/docs/integration/libraries/ruby"
|
10
10
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.4")
|
11
|
-
spec.add_dependency "httpx" ">= 0.18.0"
|
11
|
+
spec.add_dependency "httpx", ">= 0.18.0"
|
12
12
|
|
13
13
|
spec.licenses = ["MIT"]
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: surrealdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Kenney
|
@@ -11,19 +11,19 @@ cert_chain: []
|
|
11
11
|
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: httpx
|
14
|
+
name: httpx
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.18.0
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
executables: []
|