spree_core 3.1.0.rc1 → 3.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9219224ab5da53304d7ad652d631ab7b0d010b3
4
- data.tar.gz: 20e8d4a23103d61d0495758998f4909aae5f3968
3
+ metadata.gz: 2021478be4f65fcaf33591300ec1f868d5e2fbc2
4
+ data.tar.gz: 149faf040e1790e29d1d08a97bfc38753ebc2b01
5
5
  SHA512:
6
- metadata.gz: f2f0bb0ccba4cf1bbee4db6545d530b7d42dc73ce10421eb9ec75ad0e55a26db33f353f2af95838d50340cf3158462561213704da6d57347dbeaca27da921b74
7
- data.tar.gz: 56bc2c126244a948cf1c2b951161fcabf7604f07551df8451833f65499005e841f193c87248998f5825bb4c6323d4073989fefd86aeaf648d6daad2bfe9bfa1b
6
+ metadata.gz: 4b9b8a1fd4613b943c2b2b2528e2f59097c7482c2beaf9a19429a9a8fc51bc270766613ab5b0704a0a47953409f3c1daa0701e2bb4b1aee029fd758a50523457
7
+ data.tar.gz: 598aa342a0ed6c1a3943f809721b9698d2c251fd73bbe71c654b5ecbb9eef85c1423c320a66ebde8b09b431b3e59c1cecdf50c780a25ced54aab4a33d2648802
@@ -28,7 +28,7 @@ module Spree
28
28
 
29
29
  def include?(address)
30
30
  return false unless address
31
- zones.any? do |zone|
31
+ zones.includes(:zone_members).any? do |zone|
32
32
  zone.include?(address)
33
33
  end
34
34
  end
@@ -23,6 +23,7 @@ module Spree
23
23
  after_touch { variant.touch }
24
24
 
25
25
  self.whitelisted_ransackable_attributes = ['count_on_hand', 'stock_location_id']
26
+ self.whitelisted_ransackable_associations = ['variant']
26
27
 
27
28
  scope :with_active_stock_location, -> { joins(:stock_location).merge(Spree::StockLocation.active) }
28
29
 
@@ -1159,6 +1159,7 @@ en:
1159
1159
  report: Report
1160
1160
  reports: Reports
1161
1161
  resellable: Resellable
1162
+ resend: Resend
1162
1163
  reset_password: Reset my password
1163
1164
  response_code: Response Code
1164
1165
  resume: resume
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- "3.1.0.rc1"
3
+ "3.1.0.rc2"
4
4
  end
5
5
  end
data/spree_core.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.require_path = 'lib'
21
21
 
22
22
  s.add_dependency 'activemerchant', '~> 1.47.0'
23
- s.add_dependency 'acts_as_list', '~> 0.6'
23
+ s.add_dependency 'acts_as_list', '0.7.2'
24
24
  s.add_dependency 'awesome_nested_set', '~> 3.0.1'
25
25
  s.add_dependency 'carmen', '~> 1.0.0'
26
26
  s.add_dependency 'cancancan', '~> 1.10.1'
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  s.add_dependency 'highline', '~> 1.6.18' # Necessary for the install generator
32
32
  s.add_dependency 'kaminari', '~> 0.15', '>= 0.15.1'
33
33
  s.add_dependency 'monetize', '~> 1.1'
34
- s.add_dependency 'paperclip', '~> 4.2.0'
34
+ s.add_dependency 'paperclip', '~> 4.3.0'
35
35
  s.add_dependency 'paranoia', '~> 2.1.0'
36
36
  s.add_dependency 'premailer-rails'
37
37
  s.add_dependency 'rails', '~> 4.2.6'
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.0.rc1
4
+ version: 3.1.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-07 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: acts_as_list
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '0.6'
33
+ version: 0.7.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: '0.6'
40
+ version: 0.7.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: awesome_nested_set
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -190,14 +190,14 @@ dependencies:
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: 4.2.0
193
+ version: 4.3.0
194
194
  type: :runtime
195
195
  prerelease: false
196
196
  version_requirements: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: 4.2.0
200
+ version: 4.3.0
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: paranoia
203
203
  requirement: !ruby/object:Gem::Requirement