solidus_core 2.11.11 → 2.11.12

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_core might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a612b396e4f6bd4624851ca8c6a234c6cc1628c8e6edf889d62fb57830b452a2
4
- data.tar.gz: 95129bf8b5ad056d9356b63b4a89eaf36697208d16035e84b7627d8d3a710996
3
+ metadata.gz: a34b58af2575a9f4916aa79bdb8b968887685a642e1087c417ed186475762142
4
+ data.tar.gz: 774a645e0ab71b87649d6f9d2b30366a2dd6e308a7ac41dbfa7d144ad392dffa
5
5
  SHA512:
6
- metadata.gz: ba3b3f8246277100e2b3f9f71edca05cd76a1352e851cff75a36c68f7eb8107485ac7d258a0ea15703e3e7582542c24aef1d0201e9d3697b6fbbe80e6315581c
7
- data.tar.gz: 219847c0d55e4b02063c69e32a7a0a0399600d083ab915c707722be181f87a591b87a2245e241ba77cee23253ca869228e638eecb8d3ebceb17e67371a125f05
6
+ metadata.gz: ffadd725195f8e3909d8c8f67adf4fe8e7176c5af9e436160028be10a4bb06b1871178d7ec88540320811093ee924fde68e0e13c3fdb1c5ee59124a66e792f44
7
+ data.tar.gz: f2a49eaa1d162dfd28500b6ea14e7e37a622ba471f9bec40d51b0a4f20b8c4291b662e0632471d9ef8fa11520644cfab142d93032888e8aae68889ff1e2d1673
@@ -103,6 +103,14 @@ module Spree
103
103
  end
104
104
  end
105
105
  end
106
+
107
+ config.after_initialize do
108
+ if defined?(Spree::Auth::Engine) &&
109
+ Gem::Version.new(Spree::Auth::VERSION) < Gem::Version.new('2.5.4') &&
110
+ defined?(Spree::UsersController)
111
+ Spree::UsersController.protect_from_forgery with: :exception
112
+ end
113
+ end
106
114
  end
107
115
  end
108
116
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "2.11.11"
4
+ VERSION = "2.11.12"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.11
4
+ version: 2.11.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-10 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -985,8 +985,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
985
985
  - !ruby/object:Gem::Version
986
986
  version: 1.8.23
987
987
  requirements: []
988
- rubygems_version: 3.2.20
989
- signing_key:
988
+ rubygems_version: 3.1.2
989
+ signing_key:
990
990
  specification_version: 4
991
991
  summary: Essential models, mailers, and classes for the Solidus e-commerce project.
992
992
  test_files: []