timescaledb 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Fastfile +17 -0
- data/Gemfile.lock +2 -2
- data/lib/timescaledb/dimensions.rb +1 -1
- data/lib/timescaledb/job_stats.rb +1 -0
- data/lib/timescaledb/schema_dumper.rb +1 -1
- data/lib/timescaledb/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0367f44853d1cd4845a905e4692691baca381b739f9fb35f6a2aa471f350c946
|
4
|
+
data.tar.gz: b6bd9df57b80f6570f341f4842949092b367da03c5e9ba2edae6df6826288729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e02cd458d020baeaa3658c20f6b502970f36772ef10f62162ad1028ad3ef7ab36943909815d3d6d04776d6cbbd8047f4705bfacbcc9315b89adaf516e54365c
|
7
|
+
data.tar.gz: 83f647f7814cf797155f599a3403e6641ea09edf6334f49f65279bed90c290686554b533eab852345367a0c76cf5f9a88d318d419fa46c9534aebb28a8922858
|
data/Fastfile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
# Use `fast .version_up` to rewrite the version file
|
3
|
+
Fast.shortcut :version_up do
|
4
|
+
rewrite_file('(casgn nil VERSION (str _)', 'lib/timescaledb/version.rb') do |node|
|
5
|
+
target = node.children.last.loc.expression
|
6
|
+
pieces = target.source.split('.').map(&:to_i)
|
7
|
+
pieces.reverse.each_with_index do |fragment, i|
|
8
|
+
if fragment < 9
|
9
|
+
pieces[-(i + 1)] = fragment + 1
|
10
|
+
break
|
11
|
+
else
|
12
|
+
pieces[-(i + 1)] = 0
|
13
|
+
end
|
14
|
+
end
|
15
|
+
replace(target, "'#{pieces.join('.')}'")
|
16
|
+
end
|
17
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
timescaledb (0.2.
|
4
|
+
timescaledb (0.2.3)
|
5
5
|
activerecord
|
6
6
|
activesupport
|
7
7
|
pg (~> 1.2)
|
@@ -33,7 +33,7 @@ GEM
|
|
33
33
|
concurrent-ruby (~> 1.0)
|
34
34
|
method_source (1.0.0)
|
35
35
|
minitest (5.14.4)
|
36
|
-
pg (1.
|
36
|
+
pg (1.4.4)
|
37
37
|
pry (0.14.1)
|
38
38
|
coderay (~> 1.1)
|
39
39
|
method_source (~> 1.0)
|
@@ -27,7 +27,7 @@ module Timescaledb
|
|
27
27
|
private
|
28
28
|
|
29
29
|
def timescale_hypertable(hypertable, stream)
|
30
|
-
dim = hypertable.dimensions
|
30
|
+
dim = hypertable.dimensions.first
|
31
31
|
extra_settings = {
|
32
32
|
time_column: "#{dim.column_name}",
|
33
33
|
chunk_time_interval: "#{dim.time_interval.inspect}"
|
data/lib/timescaledb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timescaledb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jônatas Davi Paganini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- ".tool-versions"
|
151
151
|
- ".travis.yml"
|
152
152
|
- CODE_OF_CONDUCT.md
|
153
|
+
- Fastfile
|
153
154
|
- Gemfile
|
154
155
|
- Gemfile.lock
|
155
156
|
- Gemfile.scenic
|