thermos 1.0.1 → 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: 180aa91ee61e8e41f620789c81a367494087463520730729c02fe71c50446998
4
- data.tar.gz: 90a4039820795949ac39bb1e89bf0ac1ac763debd5b2616fac663ebe6648f515
3
+ metadata.gz: 83926b2fe8fb25c3e0f04afca0109f2d5da8fe5e36aee84fd642ff4fd9b134f0
4
+ data.tar.gz: eb6120db89d227f077dace4ca1b6e33095e26c44df470252f36aebab2693d6da
5
5
  SHA512:
6
- metadata.gz: ab617a3e8d4a507b6a504b36504e0a2e708f62efb71d9815d22649c40cc52321cd68ab13f68e5be287382963c8026fa96e6fb1d392dc46ddec510a25ba8fae72
7
- data.tar.gz: 91d2aa1ef9792d6afa352fca30eec56b0ce9bb16c7c03fe80fec4a005b9cb76ed3bc04e8eb4f73dcaf32c298004c7bf75cb6fe61b0ad71f4cf7306af55bcc6e6
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.1"
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.1
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-27 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
@@ -162,73 +162,70 @@ require_paths:
162
162
  - lib
163
163
  required_ruby_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: 2.7.0
168
- - - "<"
165
+ - - "~>"
169
166
  - !ruby/object:Gem::Version
170
- version: 3.2.0
167
+ version: '3.0'
171
168
  required_rubygems_version: !ruby/object:Gem::Requirement
172
169
  requirements:
173
170
  - - ">="
174
171
  - !ruby/object:Gem::Version
175
172
  version: '0'
176
173
  requirements: []
177
- rubygems_version: 3.1.6
174
+ rubygems_version: 3.5.3
178
175
  signing_key:
179
176
  specification_version: 4
180
177
  summary: Always-warm, auto-rebuilding rails caching without timers or touching.
181
178
  test_files:
179
+ - test/dependencies_test.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
198
+ - test/dummy/config/database.yml
199
+ - test/dummy/config/environment.rb
182
200
  - test/dummy/config/environments/development.rb
183
201
  - test/dummy/config/environments/production.rb
184
202
  - test/dummy/config/environments/test.rb
185
- - test/dummy/config/secrets.yml
186
- - test/dummy/config/initializers/filter_parameter_logging.rb
187
- - test/dummy/config/initializers/wrap_parameters.rb
188
203
  - test/dummy/config/initializers/assets.rb
189
- - test/dummy/config/initializers/session_store.rb
190
- - test/dummy/config/initializers/mime_types.rb
204
+ - test/dummy/config/initializers/backtrace_silencers.rb
191
205
  - test/dummy/config/initializers/cookies_serializer.rb
206
+ - test/dummy/config/initializers/filter_parameter_logging.rb
192
207
  - test/dummy/config/initializers/inflections.rb
193
- - test/dummy/config/initializers/backtrace_silencers.rb
194
- - test/dummy/config/boot.rb
195
- - test/dummy/config/application.rb
196
- - test/dummy/config/database.yml
197
- - test/dummy/config/environment.rb
208
+ - test/dummy/config/initializers/mime_types.rb
209
+ - test/dummy/config/initializers/session_store.rb
210
+ - test/dummy/config/initializers/wrap_parameters.rb
198
211
  - test/dummy/config/locales/en.yml
199
212
  - test/dummy/config/routes.rb
200
- - test/dummy/Rakefile
213
+ - test/dummy/config/secrets.yml
201
214
  - test/dummy/config.ru
202
- - test/dummy/app/views/layouts/application.html.erb
203
- - test/dummy/app/models/category.rb
204
- - test/dummy/app/models/store.rb
205
- - test/dummy/app/models/category_item.rb
206
- - test/dummy/app/models/product.rb
207
- - test/dummy/app/controllers/application_controller.rb
208
- - test/dummy/app/helpers/application_helper.rb
209
- - test/dummy/app/assets/config/manifest.js
210
- - test/dummy/app/assets/javascripts/application.js
211
- - test/dummy/app/assets/stylesheets/application.css
212
215
  - test/dummy/db/migrate/20160325214744_create_categories.rb
213
- - test/dummy/db/migrate/20160326174530_create_stores.rb
214
- - test/dummy/db/migrate/20160325220006_create_category_items.rb
215
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
216
219
  - test/dummy/db/schema.rb
217
- - test/dummy/README.rdoc
218
- - test/dummy/public/422.html
219
- - test/dummy/public/favicon.ico
220
220
  - test/dummy/public/404.html
221
+ - test/dummy/public/422.html
221
222
  - test/dummy/public/500.html
222
- - test/dummy/bin/rake
223
- - test/dummy/bin/setup
224
- - test/dummy/bin/rails
225
- - test/dummy/bin/bundle
226
- - test/queue_test.rb
227
- - test/thermos_test.rb
223
+ - test/dummy/public/favicon.ico
228
224
  - test/filter_test.rb
229
- - test/test_helper.rb
230
- - test/dependencies_test.rb
231
225
  - test/fixtures/categories.yml
226
+ - test/fixtures/category_items.yml
232
227
  - test/fixtures/products.yml
233
228
  - test/fixtures/stores.yml
234
- - test/fixtures/category_items.yml
229
+ - test/queue_test.rb
230
+ - test/test_helper.rb
231
+ - test/thermos_test.rb