surrealdb 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54499d7de292ce7416b6e9783e3eeee5ffa94b76609e766f5fd7f90681fb284b
4
- data.tar.gz: 20bc062b66713ac6a97e95677171db76c985966f7c2057a86fa3d1cfe6a3a924
3
+ metadata.gz: a087a8822b9e2778168c1636c38cd40d7a5c7af873d251f8faa99cc257996119
4
+ data.tar.gz: 6f5f0112cd1e81edd57281f3cd664bfd10efaa0da71c3da31eb1e686ae722f16
5
5
  SHA512:
6
- metadata.gz: 8ab0dbab850ff268a05e5e615b47f9dd5dc58f5868e00ad627a63a0329f1ca21d9fe6c349bf94209721a23c060589d86ce2ef2a6d1a9f14820eb68ea6fd4bd8e
7
- data.tar.gz: d83e5b470e3c421d35a130d527821f3998e23399e0a997d3cf10875b93541001d124c8231fd3ec49ace97045d55cd58f0827a4bf63bdbcfc583e5a22d085f2d7
6
+ metadata.gz: a989d16f06c616ef9f04797624e47e703e92cd6628d78106329445cb61cdea718bab16e3726e0dfc690f3da3c8bdf07d399e720f4c279dcc39e795698e97c0e5
7
+ data.tar.gz: fd3287ff01f7b9b9e7d6b451195576c1f3b8f495eb0f15c31f288b10d0e595e7666260aae78380af9affb5ebbb183d73d900f032d0259daacb11bfc3daee38e8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- surrealdb (0.4.0)
4
+ surrealdb (0.6.0)
5
5
  httpx (>= 0.18.0)
6
6
 
7
7
  GEM
@@ -1,13 +1,4 @@
1
- # Copyright © SurrealDB Ltd
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
- # Copyright © SurrealDB Ltd
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
- # Copyright © SurrealDB Ltd
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
@@ -1,3 +1,3 @@
1
1
  module Surrealdb
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
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.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Kenney