spree_api 5.1.5 → 5.1.6

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: 5d614381d9ef3298230aa420a435d2983700d9734b1de8452d6a943e84dd5296
4
- data.tar.gz: ee1481d4ec731f045f40e4d5fb5ec96351128a4818c0e07ca10e9b07a4bdd89c
3
+ metadata.gz: cfa9c6872cde4e6863312c769168c23aa40d3bf1c3ea3049356e33982c1e7a73
4
+ data.tar.gz: e1d4ba3c33421aeb618ee618da151127f59c160db78799dcd89f87b92074344f
5
5
  SHA512:
6
- metadata.gz: 78a55dfb8542ce7dd211cce981d1a4d17e97d9734882626c0b08bf64481f8cfd83025ff89a0adcd8e29ac9fee12a19f2e04c4a6cce9d773a40fc120837e2d76c
7
- data.tar.gz: 35e95ee5c1a1730b599edc02eaa1ede355417368f4aa444e5ebe66e181f79925429c57c6473d3204ef965b42e394d86d6ac2b17eb5e23ec49eb75a75700c6b55
6
+ metadata.gz: dacdd747f3523cce8178baecd79444038e6d796d1f27c1c63c1f0abc777ea4c3b74a2af9cd711d1d0b6d363413a5eb6112042df2b24b5b7d0b8583c8b2bd7891
7
+ data.tar.gz: 35eb559c1a72a606a06aef7a0986b48fd1e36d3944eb991adb3f0afbdd1ea447f7406aabbb472f0006d5ba26b844222423dbca6dc2c9b22d0fd42717c8b31e45
@@ -10,7 +10,8 @@ module Spree
10
10
  :discounted_amount, :display_discounted_amount,
11
11
  :display_additional_tax_total, :promo_total, :display_promo_total,
12
12
  :included_tax_total, :display_included_tax_total,
13
- :pre_tax_amount, :display_pre_tax_amount, :public_metadata
13
+ :pre_tax_amount, :display_pre_tax_amount, :compare_at_amount, :display_compare_at_amount,
14
+ :public_metadata
14
15
 
15
16
  belongs_to :variant
16
17
  has_many :digital_links
@@ -0,0 +1,24 @@
1
+ {
2
+ "ignored_warnings": [
3
+ {
4
+ "warning_type": "Cross-Site Scripting",
5
+ "warning_code": 114,
6
+ "fingerprint": "8275f584e7cced41c26890e574cdbf6804bddff54374058834a562294c99d6f6",
7
+ "check_name": "JSONEntityEscape",
8
+ "message": "HTML entities in JSON are not escaped by default",
9
+ "file": "config/environments/production.rb",
10
+ "line": 5,
11
+ "link": "https://brakemanscanner.org/docs/warning_types/cross-site_scripting/",
12
+ "code": "ActiveSupport::JSON::Encoding.escape_html_entities_in_json = false",
13
+ "render_path": null,
14
+ "location": null,
15
+ "user_input": null,
16
+ "confidence": "Medium",
17
+ "cwe_id": [
18
+ 79
19
+ ],
20
+ "note": ""
21
+ }
22
+ ],
23
+ "brakeman_version": "7.1.0"
24
+ }
@@ -0,0 +1,4 @@
1
+ # we need this until we drop Rails 8.0/7.2 support
2
+ # Rails 8.1 will have an escape: false option
3
+ # https://github.com/rails/rails/commit/8be58ff1e5519bf7a5772896896df0557f3d19e3
4
+ ActiveSupport::JSON::Encoding.escape_html_entities_in_json = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.5
4
+ version: 5.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Bigg
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-08-06 00:00:00.000000000 Z
13
+ date: 2025-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jsonapi-rspec
@@ -102,14 +102,14 @@ dependencies:
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 5.1.5
105
+ version: 5.1.6
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 5.1.5
112
+ version: 5.1.6
113
113
  description: Spree's API
114
114
  email:
115
115
  - hello@spreecommerce.org
@@ -327,8 +327,10 @@ files:
327
327
  - app/services/spree/webhooks/subscribers/handle_request.rb
328
328
  - app/services/spree/webhooks/subscribers/make_request.rb
329
329
  - app/services/spree/webhooks/subscribers/queue_requests.rb
330
+ - config/brakeman.ignore
330
331
  - config/i18n-tasks.yml
331
332
  - config/initializers/doorkeeper.rb
333
+ - config/initializers/json_api_html_patch.rb
332
334
  - config/initializers/json_api_mime_types.rb
333
335
  - config/initializers/user_class_extensions.rb
334
336
  - config/locales/en.yml
@@ -367,9 +369,9 @@ licenses:
367
369
  - BSD-3-Clause
368
370
  metadata:
369
371
  bug_tracker_uri: https://github.com/spree/spree/issues
370
- changelog_uri: https://github.com/spree/spree/releases/tag/v5.1.5
372
+ changelog_uri: https://github.com/spree/spree/releases/tag/v5.1.6
371
373
  documentation_uri: https://docs.spreecommerce.org/
372
- source_code_uri: https://github.com/spree/spree/tree/v5.1.5
374
+ source_code_uri: https://github.com/spree/spree/tree/v5.1.6
373
375
  post_install_message:
374
376
  rdoc_options: []
375
377
  require_paths: