readyset 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +1 -0
- data/.rubocop.yml +15 -0
- data/.rubocop_airbnb.yml +2 -0
- data/.ruby-version +1 -0
- data/Gemfile +6 -0
- data/LICENSE +21 -0
- data/README.md +383 -0
- data/Rakefile +12 -0
- data/config.ru +9 -0
- data/docker-compose.yml +54 -0
- data/lib/active_record/connection_adapters/readyset_adapter.rb +52 -0
- data/lib/active_record/readyset_connection_handling.rb +18 -0
- data/lib/readyset/caches.rb +20 -0
- data/lib/readyset/configuration.rb +30 -0
- data/lib/readyset/controller_extension.rb +34 -0
- data/lib/readyset/error.rb +3 -0
- data/lib/readyset/explain.rb +60 -0
- data/lib/readyset/health/healthchecker.rb +127 -0
- data/lib/readyset/health/healthchecks.rb +41 -0
- data/lib/readyset/model_extension.rb +40 -0
- data/lib/readyset/query/cached_query.rb +104 -0
- data/lib/readyset/query/proxied_query.rb +116 -0
- data/lib/readyset/query/queryable.rb +23 -0
- data/lib/readyset/query.rb +23 -0
- data/lib/readyset/railtie.rb +68 -0
- data/lib/readyset/relation_extension.rb +29 -0
- data/lib/readyset/utils/window_counter.rb +58 -0
- data/lib/readyset/version.rb +5 -0
- data/lib/readyset.rb +168 -0
- data/lib/tasks/readyset.rake +162 -0
- data/lib/templates/caches.rb.tt +11 -0
- data/readyset.gemspec +52 -0
- data/sig/readyset.rbs +4 -0
- metadata +321 -0
metadata
ADDED
@@ -0,0 +1,321 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: readyset
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ReadySet Technology, Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: actionpack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6.1'
|
20
|
+
- - "<="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '7.1'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '6.1'
|
30
|
+
- - "<="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '7.1'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: activerecord
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '6.1'
|
40
|
+
- - "<="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '7.1'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '6.1'
|
50
|
+
- - "<="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '7.1'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: activesupport
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '6.1'
|
60
|
+
- - "<="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '7.1'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '6.1'
|
70
|
+
- - "<="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '7.1'
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: colorize
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.1'
|
80
|
+
type: :runtime
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '1.1'
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: concurrent-ruby
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "~>"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.2'
|
94
|
+
type: :runtime
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '1.2'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: progressbar
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '1.13'
|
108
|
+
type: :runtime
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '1.13'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: rake
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '13.0'
|
122
|
+
type: :runtime
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '13.0'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: terminal-table
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '3.0'
|
136
|
+
type: :runtime
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '3.0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: combustion
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '1.3'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '1.3'
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: factory_bot
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - "~>"
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '6.4'
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - "~>"
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '6.4'
|
171
|
+
- !ruby/object:Gem::Dependency
|
172
|
+
name: pg
|
173
|
+
requirement: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - "~>"
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '1.5'
|
178
|
+
type: :development
|
179
|
+
prerelease: false
|
180
|
+
version_requirements: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - "~>"
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '1.5'
|
185
|
+
- !ruby/object:Gem::Dependency
|
186
|
+
name: pry
|
187
|
+
requirement: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - "~>"
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0.14'
|
192
|
+
type: :development
|
193
|
+
prerelease: false
|
194
|
+
version_requirements: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - "~>"
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0.14'
|
199
|
+
- !ruby/object:Gem::Dependency
|
200
|
+
name: rspec
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - "~>"
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '3.2'
|
206
|
+
type: :development
|
207
|
+
prerelease: false
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - "~>"
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '3.2'
|
213
|
+
- !ruby/object:Gem::Dependency
|
214
|
+
name: rspec-rails
|
215
|
+
requirement: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - "~>"
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '6.0'
|
220
|
+
type: :development
|
221
|
+
prerelease: false
|
222
|
+
version_requirements: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - "~>"
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '6.0'
|
227
|
+
- !ruby/object:Gem::Dependency
|
228
|
+
name: rubocop-airbnb
|
229
|
+
requirement: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - "~>"
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: '6.0'
|
234
|
+
type: :development
|
235
|
+
prerelease: false
|
236
|
+
version_requirements: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - "~>"
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '6.0'
|
241
|
+
- !ruby/object:Gem::Dependency
|
242
|
+
name: timecop
|
243
|
+
requirement: !ruby/object:Gem::Requirement
|
244
|
+
requirements:
|
245
|
+
- - "~>"
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '0.9'
|
248
|
+
type: :development
|
249
|
+
prerelease: false
|
250
|
+
version_requirements: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - "~>"
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: '0.9'
|
255
|
+
description: This gem provides a Rails adapter to the ReadySet SQL cache.
|
256
|
+
email:
|
257
|
+
- info@readyset.io
|
258
|
+
executables: []
|
259
|
+
extensions: []
|
260
|
+
extra_rdoc_files: []
|
261
|
+
files:
|
262
|
+
- ".rspec"
|
263
|
+
- ".rubocop.yml"
|
264
|
+
- ".rubocop_airbnb.yml"
|
265
|
+
- ".ruby-version"
|
266
|
+
- Gemfile
|
267
|
+
- LICENSE
|
268
|
+
- README.md
|
269
|
+
- Rakefile
|
270
|
+
- config.ru
|
271
|
+
- docker-compose.yml
|
272
|
+
- lib/active_record/connection_adapters/readyset_adapter.rb
|
273
|
+
- lib/active_record/readyset_connection_handling.rb
|
274
|
+
- lib/readyset.rb
|
275
|
+
- lib/readyset/caches.rb
|
276
|
+
- lib/readyset/configuration.rb
|
277
|
+
- lib/readyset/controller_extension.rb
|
278
|
+
- lib/readyset/error.rb
|
279
|
+
- lib/readyset/explain.rb
|
280
|
+
- lib/readyset/health/healthchecker.rb
|
281
|
+
- lib/readyset/health/healthchecks.rb
|
282
|
+
- lib/readyset/model_extension.rb
|
283
|
+
- lib/readyset/query.rb
|
284
|
+
- lib/readyset/query/cached_query.rb
|
285
|
+
- lib/readyset/query/proxied_query.rb
|
286
|
+
- lib/readyset/query/queryable.rb
|
287
|
+
- lib/readyset/railtie.rb
|
288
|
+
- lib/readyset/relation_extension.rb
|
289
|
+
- lib/readyset/utils/window_counter.rb
|
290
|
+
- lib/readyset/version.rb
|
291
|
+
- lib/tasks/readyset.rake
|
292
|
+
- lib/templates/caches.rb.tt
|
293
|
+
- readyset.gemspec
|
294
|
+
- sig/readyset.rbs
|
295
|
+
homepage: https://readyset.io
|
296
|
+
licenses:
|
297
|
+
- MIT
|
298
|
+
metadata:
|
299
|
+
homepage_uri: https://readyset.io
|
300
|
+
source_code_uri: https://github.com/readysettech/readyset-rails
|
301
|
+
post_install_message:
|
302
|
+
rdoc_options: []
|
303
|
+
require_paths:
|
304
|
+
- lib
|
305
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
306
|
+
requirements:
|
307
|
+
- - ">="
|
308
|
+
- !ruby/object:Gem::Version
|
309
|
+
version: '3.0'
|
310
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
|
+
requirements:
|
312
|
+
- - ">="
|
313
|
+
- !ruby/object:Gem::Version
|
314
|
+
version: '0'
|
315
|
+
requirements: []
|
316
|
+
rubygems_version: 3.4.6
|
317
|
+
signing_key:
|
318
|
+
specification_version: 4
|
319
|
+
summary: A Rails adapter for ReadySet, a partially-stateful, incrementally-maintained
|
320
|
+
SQL cache.
|
321
|
+
test_files: []
|