timescaledb 0.1.0 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/.tool-versions +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +3 -5
- data/Gemfile.lock +11 -3
- data/Gemfile.scenic +7 -0
- data/Gemfile.scenic.lock +121 -0
- data/README.md +273 -112
- data/Rakefile +16 -1
- data/bin/console +4 -1
- data/bin/setup +2 -0
- data/bin/tsdb +48 -0
- data/examples/Gemfile +1 -1
- data/examples/Gemfile.lock +2 -2
- data/examples/all_in_one.rb +3 -6
- data/lib/timescale/acts_as_hypertable/core.rb +87 -0
- data/lib/timescale/acts_as_hypertable.rb +62 -0
- data/lib/timescale/chunk.rb +8 -0
- data/lib/timescale/compression_settings.rb +2 -1
- data/lib/timescale/continuous_aggregates.rb +11 -1
- data/lib/timescale/dimensions.rb +6 -0
- data/lib/timescale/hypertable.rb +25 -5
- data/lib/timescale/job.rb +2 -5
- data/lib/timescale/job_stats.rb +8 -3
- data/lib/timescale/migration_helpers.rb +33 -3
- data/lib/timescale/scenic/adapter.rb +55 -0
- data/lib/timescale/schema_dumper.rb +88 -0
- data/lib/timescale/stats_report.rb +35 -0
- data/lib/timescale/version.rb +1 -1
- data/lib/timescale.rb +29 -4
- data/timescale.gemspec +13 -5
- metadata +116 -7
- data/lib/timescale/hypertable_helpers.rb +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7553bac6eee450d1067b66043ef721e77eac03c58dc0fbbfafb42fe1c4330600
|
4
|
+
data.tar.gz: d67f848537997b9558af4f174fe2289517f2f6e593b03aafc3ef47097bfac496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16792f5b215cdd992ecb006bce4492b939fdefa11dae3e32c2eb3d28645c5386a471b307aae321f1b114ce968fd9550648a4727d288fa9858a59c7a935678c7a
|
7
|
+
data.tar.gz: dfb95e8090ce29044889efac22385b2b390825f64f1da7a33a205a1549b89a7b039f076990e9721df1a68dc56d11c30846f391fe0d051ea0837d6bffe8a9eb48
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.1
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.7.1
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,8 +3,6 @@ source "https://rubygems.org"
|
|
3
3
|
# Specify your gem's dependencies in timescale.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
gem "
|
9
|
-
gem 'rspec-its'
|
10
|
-
gem 'pry'
|
6
|
+
# gemika must be listed in the Gemfile rather than as a development dependency in the gemspec.
|
7
|
+
# It throws an error, otherwise.
|
8
|
+
gem "gemika"
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
timescaledb (0.1.5)
|
5
5
|
activerecord
|
6
|
+
activesupport
|
6
7
|
pg (~> 1.2)
|
7
8
|
|
8
9
|
GEM
|
@@ -21,8 +22,13 @@ GEM
|
|
21
22
|
zeitwerk (~> 2.3)
|
22
23
|
coderay (1.1.3)
|
23
24
|
concurrent-ruby (1.1.9)
|
25
|
+
database_cleaner-active_record (2.0.1)
|
26
|
+
activerecord (>= 5.a)
|
27
|
+
database_cleaner-core (~> 2.0.0)
|
28
|
+
database_cleaner-core (2.0.1)
|
24
29
|
diff-lcs (1.4.4)
|
25
30
|
dotenv (2.7.6)
|
31
|
+
gemika (0.6.1)
|
26
32
|
i18n (1.8.10)
|
27
33
|
concurrent-ruby (~> 1.0)
|
28
34
|
method_source (1.0.0)
|
@@ -56,12 +62,14 @@ PLATFORMS
|
|
56
62
|
ruby
|
57
63
|
|
58
64
|
DEPENDENCIES
|
65
|
+
database_cleaner-active_record
|
59
66
|
dotenv
|
67
|
+
gemika
|
60
68
|
pry
|
61
69
|
rake (~> 12.0)
|
62
70
|
rspec (~> 3.0)
|
63
71
|
rspec-its
|
64
|
-
|
72
|
+
timescaledb!
|
65
73
|
|
66
74
|
BUNDLED WITH
|
67
|
-
2.
|
75
|
+
2.2.31
|
data/Gemfile.scenic
ADDED
data/Gemfile.scenic.lock
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
timescaledb (0.1.4)
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
|
+
pg (~> 1.2)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionpack (6.1.4.1)
|
13
|
+
actionview (= 6.1.4.1)
|
14
|
+
activesupport (= 6.1.4.1)
|
15
|
+
rack (~> 2.0, >= 2.0.9)
|
16
|
+
rack-test (>= 0.6.3)
|
17
|
+
rails-dom-testing (~> 2.0)
|
18
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
+
actionview (6.1.4.1)
|
20
|
+
activesupport (= 6.1.4.1)
|
21
|
+
builder (~> 3.1)
|
22
|
+
erubi (~> 1.4)
|
23
|
+
rails-dom-testing (~> 2.0)
|
24
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
+
activemodel (6.1.4.1)
|
26
|
+
activesupport (= 6.1.4.1)
|
27
|
+
activerecord (6.1.4.1)
|
28
|
+
activemodel (= 6.1.4.1)
|
29
|
+
activesupport (= 6.1.4.1)
|
30
|
+
activesupport (6.1.4.1)
|
31
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
32
|
+
i18n (>= 1.6, < 2)
|
33
|
+
minitest (>= 5.1)
|
34
|
+
tzinfo (~> 2.0)
|
35
|
+
zeitwerk (~> 2.3)
|
36
|
+
builder (3.2.4)
|
37
|
+
coderay (1.1.3)
|
38
|
+
concurrent-ruby (1.1.9)
|
39
|
+
crass (1.0.6)
|
40
|
+
database_cleaner-active_record (2.0.1)
|
41
|
+
activerecord (>= 5.a)
|
42
|
+
database_cleaner-core (~> 2.0.0)
|
43
|
+
database_cleaner-core (2.0.1)
|
44
|
+
diff-lcs (1.4.4)
|
45
|
+
dotenv (2.7.6)
|
46
|
+
erubi (1.10.0)
|
47
|
+
gemika (0.6.1)
|
48
|
+
i18n (1.8.11)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
loofah (2.12.0)
|
51
|
+
crass (~> 1.0.2)
|
52
|
+
nokogiri (>= 1.5.9)
|
53
|
+
method_source (1.0.0)
|
54
|
+
mini_portile2 (2.6.1)
|
55
|
+
minitest (5.14.4)
|
56
|
+
nokogiri (1.12.5)
|
57
|
+
mini_portile2 (~> 2.6.1)
|
58
|
+
racc (~> 1.4)
|
59
|
+
nokogiri (1.12.5-x86_64-darwin)
|
60
|
+
racc (~> 1.4)
|
61
|
+
pg (1.2.3)
|
62
|
+
pry (0.14.1)
|
63
|
+
coderay (~> 1.1)
|
64
|
+
method_source (~> 1.0)
|
65
|
+
racc (1.6.0)
|
66
|
+
rack (2.2.3)
|
67
|
+
rack-test (1.1.0)
|
68
|
+
rack (>= 1.0, < 3)
|
69
|
+
rails-dom-testing (2.0.3)
|
70
|
+
activesupport (>= 4.2.0)
|
71
|
+
nokogiri (>= 1.6)
|
72
|
+
rails-html-sanitizer (1.4.2)
|
73
|
+
loofah (~> 2.3)
|
74
|
+
railties (6.1.4.1)
|
75
|
+
actionpack (= 6.1.4.1)
|
76
|
+
activesupport (= 6.1.4.1)
|
77
|
+
method_source
|
78
|
+
rake (>= 0.13)
|
79
|
+
thor (~> 1.0)
|
80
|
+
rake (12.3.3)
|
81
|
+
rspec (3.10.0)
|
82
|
+
rspec-core (~> 3.10.0)
|
83
|
+
rspec-expectations (~> 3.10.0)
|
84
|
+
rspec-mocks (~> 3.10.0)
|
85
|
+
rspec-core (3.10.1)
|
86
|
+
rspec-support (~> 3.10.0)
|
87
|
+
rspec-expectations (3.10.1)
|
88
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
89
|
+
rspec-support (~> 3.10.0)
|
90
|
+
rspec-its (1.3.0)
|
91
|
+
rspec-core (>= 3.0.0)
|
92
|
+
rspec-expectations (>= 3.0.0)
|
93
|
+
rspec-mocks (3.10.2)
|
94
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
+
rspec-support (~> 3.10.0)
|
96
|
+
rspec-support (3.10.3)
|
97
|
+
scenic (1.5.4)
|
98
|
+
activerecord (>= 4.0.0)
|
99
|
+
railties (>= 4.0.0)
|
100
|
+
thor (1.1.0)
|
101
|
+
tzinfo (2.0.4)
|
102
|
+
concurrent-ruby (~> 1.0)
|
103
|
+
zeitwerk (2.5.1)
|
104
|
+
|
105
|
+
PLATFORMS
|
106
|
+
ruby
|
107
|
+
x86_64-darwin-20
|
108
|
+
|
109
|
+
DEPENDENCIES
|
110
|
+
database_cleaner-active_record
|
111
|
+
dotenv
|
112
|
+
gemika
|
113
|
+
pry
|
114
|
+
rake (~> 12.0)
|
115
|
+
rspec (~> 3.0)
|
116
|
+
rspec-its
|
117
|
+
scenic
|
118
|
+
timescaledb!
|
119
|
+
|
120
|
+
BUNDLED WITH
|
121
|
+
2.2.33
|