solidus_core 3.1.2 → 3.1.3

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: be83c0d322bf83fbe2cda07e3a213fdd30dc41750ffd8034faffe99d41b60508
4
- data.tar.gz: b5ec9f361017db1e7c40f49826b2a0bd7e8146e3b1410df8f4a76742484b8a80
3
+ metadata.gz: 25d076da4eef33c845f1da39a5bb6e7b6164c98372bc59f1d9cd441fc182576a
4
+ data.tar.gz: f4b6369b678db721bd71e67323468e376e6ab59bfb67cb766cbc05927a42cc7c
5
5
  SHA512:
6
- metadata.gz: df3cccc29e890e117424310fbfa126f788aae6a9ff46d9a4d18827b48047e14d682fbd69343054dae522b2d543950c3dd4351688ba0afc4d9363c89d6d526722
7
- data.tar.gz: dea0353839b28e798c1aa859edd3d7f52eb378b62a013ca66528281571ee65102719e35633e9b6ea72f4d29996401c07ecab39fa7319afc4be3c9a3b6423a126
6
+ metadata.gz: 5eec6a669e66e4fb3c2a492844ff0e73c60e06b14b959f9ea868995e2f5e766f1a6493da85ef3494e726e0ddbbc483dc93b524d4a07be31305edde61fe917d24
7
+ data.tar.gz: aae29e7ece97dde8df64e368e2bddf5c9bd95cc5118a345d343d8625234355e15b9edf055f9aac7bca2d048235cff6b77de4cfcbd7ae81b544769924d7aa4c89
@@ -67,6 +67,14 @@ module Spree
67
67
  config.after_initialize do
68
68
  Spree::Config.check_load_defaults_called('Spree::Config')
69
69
  end
70
+
71
+ config.after_initialize do
72
+ if defined?(Spree::Auth::Engine) &&
73
+ Gem::Version.new(Spree::Auth::VERSION) < Gem::Version.new('2.5.4') &&
74
+ defined?(Spree::UsersController)
75
+ Spree::UsersController.protect_from_forgery with: :exception
76
+ end
77
+ end
70
78
  end
71
79
  end
72
80
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "3.1.2"
4
+ VERSION = "3.1.3"
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: 3.1.2
4
+ version: 3.1.3
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-29 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
@@ -953,8 +953,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
953
953
  - !ruby/object:Gem::Version
954
954
  version: 1.8.23
955
955
  requirements: []
956
- rubygems_version: 3.1.6
957
- signing_key:
956
+ rubygems_version: 3.1.2
957
+ signing_key:
958
958
  specification_version: 4
959
959
  summary: Essential models, mailers, and classes for the Solidus e-commerce project.
960
960
  test_files: []