thermos 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +4 -0
- data/lib/thermos/beverage.rb +42 -24
- data/lib/thermos/notifier.rb +1 -3
- data/lib/thermos/refill_job.rb +9 -5
- 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 +8 -6
- 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/fixtures/stores.yml +2 -0
- data/test/queue_test.rb +36 -0
- data/test/test_helper.rb +16 -6
- data/test/thermos_test.rb +47 -297
- metadata +54 -34
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:
|
174
|
+
- test/filter_test.rb
|
157
175
|
- test/thermos_test.rb
|
158
|
-
- test/
|
159
|
-
- test/fixtures/products.yml
|
160
|
-
- test/fixtures/stores.yml
|
161
|
-
- test/fixtures/category_items.yml
|
162
|
-
- test/dummy/README.rdoc
|
176
|
+
- test/dependencies_test.rb
|
163
177
|
- test/dummy/config.ru
|
164
|
-
- test/dummy/
|
165
|
-
- test/dummy/
|
166
|
-
- test/dummy/
|
167
|
-
- test/dummy/
|
168
|
-
- test/dummy/db/migrate/20160325214849_create_products.rb
|
169
|
-
- test/dummy/db/migrate/20160325220006_create_category_items.rb
|
170
|
-
- test/dummy/config/environment.rb
|
171
|
-
- test/dummy/config/secrets.yml
|
178
|
+
- test/dummy/public/favicon.ico
|
179
|
+
- test/dummy/public/500.html
|
180
|
+
- test/dummy/public/404.html
|
181
|
+
- test/dummy/public/422.html
|
172
182
|
- test/dummy/config/application.rb
|
173
|
-
- test/dummy/config/
|
183
|
+
- test/dummy/config/database.yml
|
184
|
+
- test/dummy/config/secrets.yml
|
185
|
+
- test/dummy/config/environment.rb
|
186
|
+
- test/dummy/config/routes.rb
|
187
|
+
- test/dummy/config/locales/en.yml
|
174
188
|
- test/dummy/config/environments/development.rb
|
189
|
+
- test/dummy/config/environments/test.rb
|
175
190
|
- test/dummy/config/environments/production.rb
|
176
191
|
- test/dummy/config/boot.rb
|
177
|
-
- test/dummy/config/locales/en.yml
|
178
|
-
- test/dummy/config/database.yml
|
179
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
180
192
|
- test/dummy/config/initializers/assets.rb
|
181
193
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
182
|
-
- test/dummy/config/initializers/
|
194
|
+
- test/dummy/config/initializers/inflections.rb
|
183
195
|
- test/dummy/config/initializers/session_store.rb
|
184
|
-
- test/dummy/config/initializers/
|
196
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
185
197
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
186
|
-
- test/dummy/config/initializers/
|
187
|
-
- test/dummy/config/
|
188
|
-
- test/dummy/
|
189
|
-
- test/dummy/
|
190
|
-
- test/dummy/
|
191
|
-
- test/dummy/
|
192
|
-
- test/dummy/
|
193
|
-
- test/dummy/app/models/product.rb
|
194
|
-
- test/dummy/app/models/category.rb
|
195
|
-
- test/dummy/app/models/store.rb
|
196
|
-
- test/dummy/app/helpers/application_helper.rb
|
197
|
-
- test/dummy/app/views/layouts/application.html.erb
|
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
|
198
205
|
- test/dummy/app/assets/javascripts/application.js
|
199
206
|
- test/dummy/app/assets/stylesheets/application.css
|
200
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
|
201
213
|
- test/dummy/app/controllers/application_controller.rb
|
214
|
+
- test/dummy/app/helpers/application_helper.rb
|
215
|
+
- test/dummy/Rakefile
|
202
216
|
- test/dummy/bin/setup
|
203
217
|
- test/dummy/bin/bundle
|
204
|
-
- test/dummy/bin/rake
|
205
218
|
- test/dummy/bin/rails
|
219
|
+
- test/dummy/bin/rake
|
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
|