spree_core 3.1.9 → 3.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/spree/calculator.rb +1 -1
- data/app/models/spree/preferences/store.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b00892d10335665967c6339896226cb6b16c8e71
|
4
|
+
data.tar.gz: 8dba8567c04b333b2a0f5597aa961dba8cb7b225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ccdba9b15892cf42697e827dcbb085e57d9dc3eecc88a0999b7028e2c665b4cd1c8b294dca19b078fd36622fa983cd9ac5c14cfee0692086819348e0743526
|
7
|
+
data.tar.gz: 48ed45d5883aa09e875f3952afa4be11410371257fb78618d447770e6a36a96c830fb38b0a9b504853cc088cb1b1797abaaaffb1ca096658ce0bff821d359c0b
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Spree
|
2
2
|
class Calculator < Spree::Base
|
3
3
|
# Conditional check for backwards compatibilty since acts as paranoid was added late https://github.com/spree/spree/issues/5858
|
4
|
-
if connection.table_exists?(:spree_calculators) && connection.column_exists?(:spree_calculators, :deleted_at)
|
4
|
+
if ActiveRecord::Base.connected? && connection.table_exists?(:spree_calculators) && connection.column_exists?(:spree_calculators, :deleted_at)
|
5
5
|
acts_as_paranoid
|
6
6
|
end
|
7
7
|
|
data/lib/spree/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|