crate_ruby 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 252dbe999ce51d0ad538e329f5a410edcdb862c2b90a339acee0721ff21bba2e
4
- data.tar.gz: b4f4004851068929b773f04b5c0af13de0200d9927b26ddb30b6efd4f6ea645b
3
+ metadata.gz: eb9fbd3574170da32b20d02c56f1666cf82334458b62809bb1d6d49f37684a8e
4
+ data.tar.gz: 632eeb1dca28f6a61c5be2efb6c60c97e0e31e12a0b1de4f9bed77efa7867695
5
5
  SHA512:
6
- metadata.gz: 7127c5c40398485355f66a0b0ddf8dc6e94e929cfd7b339c8f0193394491341a333069c5345cff908f781216c92185f1b53ff5146c0766604306584bc9d145b0
7
- data.tar.gz: 7ba5bb66c8e97619cc376f0ade7a0a689fc6f9bb610edfa3f08bf254a48e26ee7e52dbc3cab7cd0e33a98f3696970ae2202148353d1a3d007355821f5fe14344
6
+ metadata.gz: dbaf409d34f4df0c2fc9b61ee568da033247e7e1b9faf7afea2fd4e676034847bbea949c63b85ba6ade9514427858af34e6772c069d9df86ebb56d91a6f3a9d5
7
+ data.tar.gz: cf3fb53674c6698c6ad620d3ba7e4377402809dff96de55f1d0f7ad9b1ab2cc52df9caf7b29d383f5911d4bee83db50b61f31a9a126644fd63cf33b455c5c31b
data/CHANGES.rst CHANGED
@@ -6,6 +6,11 @@ crate_ruby changelog
6
6
  unreleased
7
7
  ==========
8
8
 
9
+ 0.2.2
10
+ =====
11
+
12
+ - CI: Validated on recent versions of Ruby up to 4.1-dev
13
+
9
14
 
10
15
  0.2.1
11
16
  =====
data/NOTICE CHANGED
@@ -1,5 +1,5 @@
1
1
  CrateDB Ruby
2
- Copyright 2013-2018 Crate.IO GmbH ("Crate")
2
+ Copyright 2013-2022 Crate.IO GmbH ("Crate")
3
3
 
4
4
 
5
5
  Licensed to Crate.IO GmbH (referred to in this notice as "Crate") under one or
data/README.rst CHANGED
@@ -17,7 +17,12 @@ CrateDB Ruby Client
17
17
 
18
18
  |
19
19
 
20
- A Ruby client library for CrateDB_.
20
+ A Ruby client library for the CrateDB HTTP interface.
21
+
22
+ - Query execution support.
23
+ - DDL command and schema introspection shortcuts.
24
+ - Support for BLOB tables.
25
+ - Foundation for the `activerecord-crate-adapter`_.
21
26
 
22
27
 
23
28
  *************
@@ -31,7 +36,7 @@ You will need Ruby 2.0 or greater.
31
36
  Installation
32
37
  ************
33
38
 
34
- The CrateDB Ruby client is available as a Ruby gem_.
39
+ The CrateDB Ruby client is available on RubyGems.org, see `crate_ruby on RubyGems.org`_.
35
40
 
36
41
  To use it, add this line to your application's ``Gemfile``::
37
42
 
@@ -52,13 +57,13 @@ Set up the client.
52
57
 
53
58
  require 'crate_ruby'
54
59
 
55
- client = CrateRuby::Client.new
60
+ client = CrateRuby::Client.new()
56
61
 
57
62
  Execute SQL queries.
58
63
 
59
64
  .. code:: ruby
60
65
 
61
- result = client.execute("Select * from posts")
66
+ result = client.execute("SELECT * FROM posts")
62
67
  => #<CrateRuby::ResultSet:0x00000002a9c5e8 @rowcount=1, @duration=5>
63
68
 
64
69
  result.each do |row|
@@ -118,6 +123,15 @@ SSL can be enabled.
118
123
  CrateRuby::Client.new(['localhost:4200'], ssl: true)
119
124
 
120
125
 
126
+ *****
127
+ Notes
128
+ *****
129
+
130
+ See also `CrateDB examples for Ruby`_ for a basic example program, which
131
+ exercises both the `crate_ruby`_ driver, as well as Ruby's canonical `pg`_
132
+ driver.
133
+
134
+
121
135
  ************
122
136
  Contributing
123
137
  ************
@@ -136,9 +150,15 @@ Looking for more help?
136
150
 
137
151
  - Check out our `support channels`_
138
152
 
153
+
154
+ .. _activerecord-crate-adapter: https://github.com/crate/activerecord-crate-adapter
139
155
  .. _contribution docs: CONTRIBUTING.rst
140
156
  .. _Crate.IO GmbH: https://crate.io
141
157
  .. _CrateDB: https://github.com/crate/crate
158
+ .. _CrateDB examples for Ruby: https://github.com/crate/cratedb-examples/tree/main/by-language/ruby
159
+ .. _crate_ruby: https://rubygems.org/gems/crate_ruby
160
+ .. _crate_ruby on RubyGems.org: https://rubygems.org/gems/crate_ruby
142
161
  .. _developer docs: DEVELOP.rst
143
162
  .. _gem: https://rubygems.org/
163
+ .. _pg: https://rubygems.org/gems/pg
144
164
  .. _support channels: https://crate.io/support/
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #
4
- # Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
4
+ # Licensed to Crate.IO GmbH ("Crate") under one or more contributor
5
5
  # license agreements. See the NOTICE file distributed with this work for
6
6
  # additional information regarding copyright ownership. Crate licenses
7
7
  # this file to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #
4
- # Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
4
+ # Licensed to Crate.IO GmbH ("Crate") under one or more contributor
5
5
  # license agreements. See the NOTICE file distributed with this work for
6
6
  # additional information regarding copyright ownership. Crate licenses
7
7
  # this file to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #
4
- # Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
4
+ # Licensed to Crate.IO GmbH ("Crate") under one or more contributor
5
5
  # license agreements. See the NOTICE file distributed with this work for
6
6
  # additional information regarding copyright ownership. Crate licenses
7
7
  # this file to you under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #
4
- # Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
4
+ # Licensed to Crate.IO GmbH ("Crate") under one or more contributor
5
5
  # license agreements. See the NOTICE file distributed with this work for
6
6
  # additional information regarding copyright ownership. Crate licenses
7
7
  # this file to you under the Apache License, Version 2.0 (the "License");
@@ -21,5 +21,5 @@
21
21
  # software solely pursuant to the terms of the relevant commercial agreement.
22
22
 
23
23
  module CrateRuby
24
- VERSION = '0.2.1'
24
+ VERSION = '0.2.2'
25
25
  end
data/lib/crate_ruby.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #
4
- # Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
4
+ # Licensed to Crate.IO GmbH ("Crate") under one or more contributor
5
5
  # license agreements. See the NOTICE file distributed with this work for
6
6
  # additional information regarding copyright ownership. Crate licenses
7
7
  # this file to you under the Apache License, Version 2.0 (the "License");
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crate_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Klocker
8
- - CRATE Technology GmbH
9
- autorequire:
8
+ - Crate.IO GmbH
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2022-11-24 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: os
14
+ name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
17
  - - ">="
@@ -26,7 +25,7 @@ dependencies:
26
25
  - !ruby/object:Gem::Version
27
26
  version: '0'
28
27
  - !ruby/object:Gem::Dependency
29
- name: rake
28
+ name: os
30
29
  requirement: !ruby/object:Gem::Requirement
31
30
  requirements:
32
31
  - - ">="
@@ -55,6 +54,20 @@ dependencies:
55
54
  version: '3.10'
56
55
  - !ruby/object:Gem::Dependency
57
56
  name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "<"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.40'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.40'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rspec
58
71
  requirement: !ruby/object:Gem::Requirement
59
72
  requirements:
60
73
  - - ">="
@@ -68,7 +81,7 @@ dependencies:
68
81
  - !ruby/object:Gem::Version
69
82
  version: '0'
70
83
  - !ruby/object:Gem::Dependency
71
- name: rubocop-rake
84
+ name: base64
72
85
  requirement: !ruby/object:Gem::Requirement
73
86
  requirements:
74
87
  - - ">="
@@ -82,7 +95,7 @@ dependencies:
82
95
  - !ruby/object:Gem::Version
83
96
  version: '0'
84
97
  - !ruby/object:Gem::Dependency
85
- name: rubocop-rspec
98
+ name: benchmark
86
99
  requirement: !ruby/object:Gem::Requirement
87
100
  requirements:
88
101
  - - ">="
@@ -95,17 +108,31 @@ dependencies:
95
108
  - - ">="
96
109
  - !ruby/object:Gem::Version
97
110
  version: '0'
98
- description: A Ruby interface for CrateDB featuring query support, DDL command shortcuts,
99
- and support for BLOB tables
111
+ - !ruby/object:Gem::Dependency
112
+ name: ostruct
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: A Ruby library for the CrateDB HTTP interface with query support, DDL
126
+ command and schema introspection shortcuts, and support for BLOB tables.
100
127
  email:
101
128
  - office@crate.io
102
129
  executables: []
103
130
  extensions: []
104
131
  extra_rdoc_files:
105
- - README.rst
106
132
  - CHANGES.rst
107
133
  - LICENSE
108
134
  - NOTICE
135
+ - README.rst
109
136
  files:
110
137
  - CHANGES.rst
111
138
  - LICENSE
@@ -122,10 +149,10 @@ licenses:
122
149
  metadata:
123
150
  bug_tracker_uri: https://github.com/crate/crate_ruby/issues
124
151
  changelog_uri: https://github.com/crate/crate_ruby/blob/main/CHANGES.rst
125
- documentation_uri: https://www.rubydoc.info/gems/crate_ruby/0.2.0
152
+ documentation_uri: https://www.rubydoc.info/gems/crate_ruby
126
153
  homepage_uri: https://crate.io
127
154
  source_code_uri: https://github.com/crate/crate_ruby
128
- post_install_message:
155
+ rubygems_mfa_required: 'true'
129
156
  rdoc_options:
130
157
  - "--title"
131
158
  - CrateDB HTTP client library for Ruby
@@ -140,15 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
167
  requirements:
141
168
  - - ">="
142
169
  - !ruby/object:Gem::Version
143
- version: '2.6'
170
+ version: '0'
144
171
  required_rubygems_version: !ruby/object:Gem::Requirement
145
172
  requirements:
146
173
  - - ">="
147
174
  - !ruby/object:Gem::Version
148
175
  version: '0'
149
176
  requirements: []
150
- rubygems_version: 3.3.11
151
- signing_key:
177
+ rubygems_version: 4.0.2
152
178
  specification_version: 4
153
179
  summary: CrateDB HTTP client library for Ruby
154
180
  test_files: []