clickhouse 0.1.8 → 0.1.9
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/CHANGELOG.md +4 -0
- data/README.md +4 -2
- data/VERSION +1 -1
- data/clickhouse.gemspec +4 -1
- data/lib/clickhouse/version.rb +1 -1
- metadata +32 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7bb3d58d22ccf1992902839f25ac22076ccc2b0e
|
|
4
|
+
data.tar.gz: 278d3fadcf6f36ac0c238725b210e79b51f18894
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e45aaf378689e4d8407fa727e1b2d9a6995550844e56488180a589b8f4b9d5d2ea320520692a093f82ea953998abd3a06eb1e51055ebd90fe756395be5518488
|
|
7
|
+
data.tar.gz: 7ba4011545062938f45a1ecd21c89f2aaec6e09a970fb8566bfbda28abe77dad85bae04c16338fea395e265fd1781a7fd0f43ecabb7a61a15f936dbc75e1a9c1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -10,6 +10,8 @@ A Ruby database driver for ClickHouse (also Clickhouse CLI and web GUI included)
|
|
|
10
10
|
|
|
11
11
|
On June 15th 2016, [Yandex open-sourced their awesome project](https://news.ycombinator.com/item?id=11908254) giving the community a [powerful asset](https://clickhouse.yandex/benchmark.html) which can compete with the big players like [Google BigQuery](https://cloud.google.com/bigquery/) and [Amazon Redshift](http://docs.aws.amazon.com/redshift/latest/mgmt/welcome.html) with an important advantage: the client can use ClickHouse in its infrastructure and does not have to pay for the cloud ([read more](https://translate.google.com/translate?sl=ru&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=https://habrahabr.ru/company/yandex/blog/303282/)).
|
|
12
12
|
|
|
13
|
+

|
|
14
|
+
|
|
13
15
|
### Why use the HTTP interface and not the TCP interface?
|
|
14
16
|
|
|
15
17
|
Well, the developers of ClickHouse themselves [discourage](https://github.com/yandex/ClickHouse/issues/45#issuecomment-231194134) using the TCP interface.
|
|
@@ -179,9 +181,9 @@ If all the connections failed, it will just return `nil`.
|
|
|
179
181
|
|
|
180
182
|
To see what more the `Clickhouse` gem has to offer, please take a look at the unit tests ( [test/unit/connection/test_query.rb](https://github.com/archan937/clickhouse/blob/master/test/unit/connection/test_query.rb) for instance).
|
|
181
183
|
|
|
182
|
-
## Using the Sinatra-based browser GUI and
|
|
184
|
+
## Using the Sinatra-based browser GUI and Thor-based CLI
|
|
183
185
|
|
|
184
|
-
As of `Clickhouse v0.1.
|
|
186
|
+
As of `Clickhouse v0.1.8`, the gem is provided with both a Sinatra-based GUI and a Thor-based CLI. Starting either of them is very easy:
|
|
185
187
|
|
|
186
188
|
* `clickhouse s localhost:8123` - (the `s` stands for server as we know from `rails s`)
|
|
187
189
|
* `clickhouse c localhost:8123` - (the `c` stands for console as we know from `rails c`)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.9
|
data/clickhouse.gemspec
CHANGED
|
@@ -20,8 +20,11 @@ Gem::Specification.new do |gem|
|
|
|
20
20
|
gem.add_dependency "faraday"
|
|
21
21
|
gem.add_dependency "pond"
|
|
22
22
|
gem.add_dependency "activesupport", ">= 4.1.8"
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
gem.add_dependency "sinatra"
|
|
25
|
+
gem.add_dependency "erubis"
|
|
24
26
|
gem.add_dependency "launchy"
|
|
27
|
+
gem.add_dependency "thor"
|
|
25
28
|
|
|
26
29
|
gem.add_development_dependency "rake"
|
|
27
30
|
gem.add_development_dependency "pry"
|
data/lib/clickhouse/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clickhouse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Engel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -67,7 +67,21 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: 4.1.8
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: sinatra
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: erubis
|
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
|
72
86
|
requirements:
|
|
73
87
|
- - ">="
|
|
@@ -94,6 +108,20 @@ dependencies:
|
|
|
94
108
|
- - ">="
|
|
95
109
|
- !ruby/object:Gem::Version
|
|
96
110
|
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: thor
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :runtime
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
97
125
|
- !ruby/object:Gem::Dependency
|
|
98
126
|
name: rake
|
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -275,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
275
303
|
version: '0'
|
|
276
304
|
requirements: []
|
|
277
305
|
rubyforge_project:
|
|
278
|
-
rubygems_version: 2.4.
|
|
306
|
+
rubygems_version: 2.4.8
|
|
279
307
|
signing_key:
|
|
280
308
|
specification_version: 4
|
|
281
309
|
summary: A Ruby database driver for ClickHouse (also Clickhouse CLI and web GUI included)
|