thermos 1.0.0 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8436d0765dee9eafadbbb9994cce8aaed1e5746d96bc735fccdf55a945dcb4a8
4
- data.tar.gz: 19fd374d31d2885979d791ab9dc0bfe021c9c61053b97ed4f96a0a5d862afa75
3
+ metadata.gz: 83926b2fe8fb25c3e0f04afca0109f2d5da8fe5e36aee84fd642ff4fd9b134f0
4
+ data.tar.gz: eb6120db89d227f077dace4ca1b6e33095e26c44df470252f36aebab2693d6da
5
5
  SHA512:
6
- metadata.gz: dd71bd6038960d9c556b3d55b697a6126d14573bb12ddc131e52a592629e39cc15e054c54cb0ee44aaf90a7b9879a43fc72571a9920c3ceae7b3a0721fb09cc2
7
- data.tar.gz: 6de309fc56d581825c7497cd137595769ca81eff2298f9ba791b5809511bf1281e9b7376feac34849592c660605c9f53b5304e751f3e53df55cea8d377bf5413
6
+ metadata.gz: 267d7aef1db1d00ed4d92bc82a5351cfca86391f4d01d5a223ab475650ef93a35dde0615063e05e8e7c80cb6ed56841a90c4c5580e4cb96824daa08301da6754
7
+ data.tar.gz: 6c611264f064b6cde6bc963a1157a4545e9bcd15cfe3f4787451afcf8fb8efe53bf93240f0df473cf3e0a121f81ad3d581764ac5f72c10125ed2f60e7fab8ff5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Thermos
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.2"
5
5
  end
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema[7.0].define(version: 2016_03_26_174530) do
13
+ ActiveRecord::Schema[7.1].define(version: 2016_03_26_174530) do
14
14
  create_table "categories", force: :cascade do |t|
15
15
  t.string "name"
16
16
  t.integer "store_id"
data/test/filter_test.rb CHANGED
@@ -27,7 +27,7 @@ class FilterTest < ActiveSupport::TestCase
27
27
  test "allows filtering based on the beverage when multiple beverages are configured and only one of them has a filter" do
28
28
  mock = Minitest::Mock.new
29
29
  store = stores(:supermarket)
30
- category = categories(:baseball)
30
+ _category = categories(:baseball)
31
31
 
32
32
  # filter method specific to one model
33
33
  # store.ball? doesn't exist
data/test/test_helper.rb CHANGED
@@ -15,14 +15,19 @@ require "minitest/mock"
15
15
  # Load support files
16
16
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
17
17
 
18
- # Load fixtures from the engine
19
18
  if ActiveSupport::TestCase.respond_to?(:fixture_path=)
20
19
  ActiveSupport::TestCase.fixture_path =
21
20
  File.expand_path("../fixtures", __FILE__)
22
21
  ActionDispatch::IntegrationTest.fixture_path =
23
22
  ActiveSupport::TestCase.fixture_path
24
- ActiveSupport::TestCase.fixtures :all
23
+ elsif ActiveSupport::TestCase.respond_to?(:fixture_paths=)
24
+ ActiveSupport::TestCase.fixture_paths = [
25
+ File.expand_path("../fixtures", __FILE__),
26
+ ]
27
+ ActionDispatch::IntegrationTest.fixture_paths =
28
+ ActiveSupport::TestCase.fixture_paths
25
29
  end
30
+ ActiveSupport::TestCase.fixtures :all
26
31
 
27
32
  ActiveJob::Base.queue_adapter = :inline
28
33
  ActiveSupport.test_order = :random
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: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Thal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-10 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 6.0.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 7.1.0
19
+ version: '0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 6.0.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 7.1.0
26
+ version: '0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rake
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -168,73 +162,70 @@ require_paths:
168
162
  - lib
169
163
  required_ruby_version: !ruby/object:Gem::Requirement
170
164
  requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: 2.7.0
174
- - - "<"
165
+ - - "~>"
175
166
  - !ruby/object:Gem::Version
176
- version: 3.2.0
167
+ version: '3.0'
177
168
  required_rubygems_version: !ruby/object:Gem::Requirement
178
169
  requirements:
179
170
  - - ">="
180
171
  - !ruby/object:Gem::Version
181
172
  version: '0'
182
173
  requirements: []
183
- rubygems_version: 3.1.6
174
+ rubygems_version: 3.5.3
184
175
  signing_key:
185
176
  specification_version: 4
186
177
  summary: Always-warm, auto-rebuilding rails caching without timers or touching.
187
178
  test_files:
188
- - test/test_helper.rb
189
179
  - test/dependencies_test.rb
190
- - test/thermos_test.rb
191
- - test/queue_test.rb
192
- - test/fixtures/stores.yml
193
- - test/fixtures/categories.yml
194
- - test/fixtures/products.yml
195
- - test/fixtures/category_items.yml
196
- - test/dummy/db/schema.rb
197
- - test/dummy/db/migrate/20160325214744_create_categories.rb
198
- - test/dummy/db/migrate/20160326174530_create_stores.rb
199
- - test/dummy/db/migrate/20160325214849_create_products.rb
200
- - test/dummy/db/migrate/20160325220006_create_category_items.rb
180
+ - test/dummy/README.rdoc
181
+ - test/dummy/Rakefile
182
+ - test/dummy/app/assets/config/manifest.js
183
+ - test/dummy/app/assets/javascripts/application.js
184
+ - test/dummy/app/assets/stylesheets/application.css
185
+ - test/dummy/app/controllers/application_controller.rb
186
+ - test/dummy/app/helpers/application_helper.rb
187
+ - test/dummy/app/models/category.rb
188
+ - test/dummy/app/models/category_item.rb
189
+ - test/dummy/app/models/product.rb
190
+ - test/dummy/app/models/store.rb
191
+ - test/dummy/app/views/layouts/application.html.erb
192
+ - test/dummy/bin/bundle
193
+ - test/dummy/bin/rails
194
+ - test/dummy/bin/rake
195
+ - test/dummy/bin/setup
196
+ - test/dummy/config/application.rb
197
+ - test/dummy/config/boot.rb
201
198
  - test/dummy/config/database.yml
202
- - test/dummy/config/initializers/backtrace_silencers.rb
199
+ - test/dummy/config/environment.rb
200
+ - test/dummy/config/environments/development.rb
201
+ - test/dummy/config/environments/production.rb
202
+ - test/dummy/config/environments/test.rb
203
203
  - test/dummy/config/initializers/assets.rb
204
- - test/dummy/config/initializers/wrap_parameters.rb
205
- - test/dummy/config/initializers/mime_types.rb
204
+ - test/dummy/config/initializers/backtrace_silencers.rb
205
+ - test/dummy/config/initializers/cookies_serializer.rb
206
+ - test/dummy/config/initializers/filter_parameter_logging.rb
206
207
  - test/dummy/config/initializers/inflections.rb
208
+ - test/dummy/config/initializers/mime_types.rb
207
209
  - test/dummy/config/initializers/session_store.rb
208
- - test/dummy/config/initializers/filter_parameter_logging.rb
209
- - test/dummy/config/initializers/cookies_serializer.rb
210
- - test/dummy/config/environment.rb
210
+ - test/dummy/config/initializers/wrap_parameters.rb
211
211
  - test/dummy/config/locales/en.yml
212
- - test/dummy/config/boot.rb
213
- - test/dummy/config/environments/test.rb
214
- - test/dummy/config/environments/production.rb
215
- - test/dummy/config/environments/development.rb
216
- - test/dummy/config/application.rb
217
- - test/dummy/config/secrets.yml
218
212
  - test/dummy/config/routes.rb
219
- - test/dummy/README.rdoc
213
+ - test/dummy/config/secrets.yml
220
214
  - test/dummy/config.ru
221
- - test/dummy/app/helpers/application_helper.rb
222
- - test/dummy/app/controllers/application_controller.rb
223
- - test/dummy/app/models/product.rb
224
- - test/dummy/app/models/category_item.rb
225
- - test/dummy/app/models/store.rb
226
- - test/dummy/app/models/category.rb
227
- - test/dummy/app/views/layouts/application.html.erb
228
- - test/dummy/app/assets/stylesheets/application.css
229
- - test/dummy/app/assets/javascripts/application.js
230
- - test/dummy/app/assets/config/manifest.js
231
- - test/dummy/Rakefile
232
- - test/dummy/public/500.html
215
+ - test/dummy/db/migrate/20160325214744_create_categories.rb
216
+ - test/dummy/db/migrate/20160325214849_create_products.rb
217
+ - test/dummy/db/migrate/20160325220006_create_category_items.rb
218
+ - test/dummy/db/migrate/20160326174530_create_stores.rb
219
+ - test/dummy/db/schema.rb
233
220
  - test/dummy/public/404.html
234
- - test/dummy/public/favicon.ico
235
221
  - test/dummy/public/422.html
236
- - test/dummy/bin/rails
237
- - test/dummy/bin/rake
238
- - test/dummy/bin/setup
239
- - test/dummy/bin/bundle
222
+ - test/dummy/public/500.html
223
+ - test/dummy/public/favicon.ico
240
224
  - test/filter_test.rb
225
+ - test/fixtures/categories.yml
226
+ - test/fixtures/category_items.yml
227
+ - test/fixtures/products.yml
228
+ - test/fixtures/stores.yml
229
+ - test/queue_test.rb
230
+ - test/test_helper.rb
231
+ - test/thermos_test.rb