thermos 0.5.2 → 0.6.0
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/Rakefile +4 -0
- data/lib/thermos/beverage.rb +40 -28
- data/lib/thermos/notifier.rb +1 -3
- data/lib/thermos/refill_job.rb +10 -4
- data/lib/thermos/version.rb +1 -1
- data/lib/thermos.rb +25 -7
- data/test/dependencies_test.rb +307 -0
- data/test/dummy/app/models/category.rb +5 -7
- data/test/dummy/config/application.rb +1 -4
- data/test/dummy/config/environments/development.rb +1 -1
- data/test/dummy/config/environments/production.rb +2 -1
- data/test/dummy/config/environments/test.rb +2 -2
- data/test/dummy/config/routes.rb +0 -9
- data/test/dummy/db/schema.rb +19 -21
- data/test/filter_test.rb +52 -0
- data/test/queue_test.rb +36 -0
- data/test/test_helper.rb +16 -6
- data/test/thermos_test.rb +45 -395
- metadata +56 -36
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thermos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Thal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -58,6 +58,20 @@ dependencies:
|
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: prettier
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
61
75
|
description: |
|
62
76
|
Thermos is a library for caching in rails that re-warms caches
|
63
77
|
in the background based on model changes.
|
@@ -77,6 +91,7 @@ files:
|
|
77
91
|
- lib/thermos/rebuild_cache_job.rb
|
78
92
|
- lib/thermos/refill_job.rb
|
79
93
|
- lib/thermos/version.rb
|
94
|
+
- test/dependencies_test.rb
|
80
95
|
- test/dummy/README.rdoc
|
81
96
|
- test/dummy/Rakefile
|
82
97
|
- test/dummy/app/assets/config/manifest.js
|
@@ -121,10 +136,12 @@ files:
|
|
121
136
|
- test/dummy/public/422.html
|
122
137
|
- test/dummy/public/500.html
|
123
138
|
- test/dummy/public/favicon.ico
|
139
|
+
- test/filter_test.rb
|
124
140
|
- test/fixtures/categories.yml
|
125
141
|
- test/fixtures/category_items.yml
|
126
142
|
- test/fixtures/products.yml
|
127
143
|
- test/fixtures/stores.yml
|
144
|
+
- test/queue_test.rb
|
128
145
|
- test/test_helper.rb
|
129
146
|
- test/thermos_test.rb
|
130
147
|
homepage: https://github.com/athal7/thermos
|
@@ -154,53 +171,56 @@ signing_key:
|
|
154
171
|
specification_version: 4
|
155
172
|
summary: Always-warm, auto-rebuilding rails caching without timers or touching.
|
156
173
|
test_files:
|
157
|
-
- test/
|
158
|
-
- test/
|
159
|
-
- test/
|
160
|
-
- test/
|
161
|
-
- test/dummy/
|
174
|
+
- test/filter_test.rb
|
175
|
+
- test/thermos_test.rb
|
176
|
+
- test/dependencies_test.rb
|
177
|
+
- test/dummy/config.ru
|
178
|
+
- test/dummy/public/favicon.ico
|
179
|
+
- test/dummy/public/500.html
|
162
180
|
- test/dummy/public/404.html
|
163
181
|
- test/dummy/public/422.html
|
164
|
-
- test/dummy/public/500.html
|
165
|
-
- test/dummy/public/favicon.ico
|
166
|
-
- test/dummy/Rakefile
|
167
182
|
- test/dummy/config/application.rb
|
183
|
+
- test/dummy/config/database.yml
|
184
|
+
- test/dummy/config/secrets.yml
|
185
|
+
- test/dummy/config/environment.rb
|
168
186
|
- test/dummy/config/routes.rb
|
169
|
-
- test/dummy/config/
|
170
|
-
- test/dummy/config/environments/test.rb
|
187
|
+
- test/dummy/config/locales/en.yml
|
171
188
|
- test/dummy/config/environments/development.rb
|
172
|
-
- test/dummy/config/
|
173
|
-
- test/dummy/config/
|
189
|
+
- test/dummy/config/environments/test.rb
|
190
|
+
- test/dummy/config/environments/production.rb
|
191
|
+
- test/dummy/config/boot.rb
|
174
192
|
- test/dummy/config/initializers/assets.rb
|
175
|
-
- test/dummy/config/initializers/
|
176
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
177
|
-
- test/dummy/config/initializers/session_store.rb
|
193
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
178
194
|
- test/dummy/config/initializers/inflections.rb
|
179
|
-
- test/dummy/config/initializers/
|
195
|
+
- test/dummy/config/initializers/session_store.rb
|
180
196
|
- test/dummy/config/initializers/cookies_serializer.rb
|
181
|
-
- test/dummy/config/
|
182
|
-
- test/dummy/config/
|
183
|
-
- test/dummy/config/
|
184
|
-
- test/dummy/
|
185
|
-
- test/dummy/
|
186
|
-
- test/dummy/
|
187
|
-
- test/dummy/
|
188
|
-
- test/dummy/
|
189
|
-
- test/dummy/app/views/layouts/application.html.erb
|
197
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
198
|
+
- test/dummy/config/initializers/mime_types.rb
|
199
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
200
|
+
- test/dummy/db/schema.rb
|
201
|
+
- test/dummy/db/migrate/20160325214849_create_products.rb
|
202
|
+
- test/dummy/db/migrate/20160325220006_create_category_items.rb
|
203
|
+
- test/dummy/db/migrate/20160326174530_create_stores.rb
|
204
|
+
- test/dummy/db/migrate/20160325214744_create_categories.rb
|
190
205
|
- test/dummy/app/assets/javascripts/application.js
|
191
206
|
- test/dummy/app/assets/stylesheets/application.css
|
192
207
|
- test/dummy/app/assets/config/manifest.js
|
208
|
+
- test/dummy/app/views/layouts/application.html.erb
|
209
|
+
- test/dummy/app/models/category_item.rb
|
210
|
+
- test/dummy/app/models/store.rb
|
211
|
+
- test/dummy/app/models/category.rb
|
212
|
+
- test/dummy/app/models/product.rb
|
193
213
|
- test/dummy/app/controllers/application_controller.rb
|
194
214
|
- test/dummy/app/helpers/application_helper.rb
|
195
|
-
- test/dummy/
|
196
|
-
- test/dummy/
|
197
|
-
- test/dummy/
|
198
|
-
- test/dummy/db/migrate/20160326174530_create_stores.rb
|
199
|
-
- test/dummy/db/migrate/20160325214744_create_categories.rb
|
200
|
-
- test/dummy/db/schema.rb
|
215
|
+
- test/dummy/Rakefile
|
216
|
+
- test/dummy/bin/setup
|
217
|
+
- test/dummy/bin/bundle
|
201
218
|
- test/dummy/bin/rails
|
202
219
|
- test/dummy/bin/rake
|
203
|
-
- test/dummy/
|
204
|
-
- test/dummy/bin/setup
|
205
|
-
- test/thermos_test.rb
|
220
|
+
- test/dummy/README.rdoc
|
206
221
|
- test/test_helper.rb
|
222
|
+
- test/fixtures/categories.yml
|
223
|
+
- test/fixtures/products.yml
|
224
|
+
- test/fixtures/category_items.yml
|
225
|
+
- test/fixtures/stores.yml
|
226
|
+
- test/queue_test.rb
|