spree_core 2.0.2 → 2.0.3

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: ba256871b4271963d57988bbc055000835a3d359
4
- data.tar.gz: f2070ec0df0c5b687f10d25f33528f0151153a02
3
+ metadata.gz: ed8c2bb0d1d4f097b6846f78ba702a63d4db3b3f
4
+ data.tar.gz: daa9817909d9e8867c3ab1df1d9f975f5118afdd
5
5
  SHA512:
6
- metadata.gz: ab1f9924ec12758bdde87c46fdc06e2f493208b6df9324d9119bc84cd8b5af1650687e6977979f77c7b5cc9d57c9eab03c7f2cb9f6a947dae698ff83743f4c81
7
- data.tar.gz: 4ea86ef2c5b78eccc880297be77d7ab8e6d835e9a393f65840f3b31fb4f611753b05044550ba59de14ba01624f464b8d4a727042732f47789fe75a1b68497255
6
+ metadata.gz: c79a195b6bc5781a8e1ea6551eb7adbf21f94c1ebf641e86db28407355bbbddeba7e133e972971e43dcebbf593822fa015a60ea53d9b6f24ea402bc264853737
7
+ data.tar.gz: 19d02ac7c62b7b1e70a2c585a6bdae432ccf9c2d1bf5678459882506f2bc5e9962f459b34aff64f8aeb8968ef7b3274c1f9871be482de13b93dd1da0482a7553
@@ -1,6 +1,6 @@
1
1
  module Spree
2
2
  class Asset < ActiveRecord::Base
3
- belongs_to :viewable, polymorphic: true
3
+ belongs_to :viewable, polymorphic: true, touch: true
4
4
  acts_as_list scope: :viewable
5
5
  end
6
6
  end
@@ -53,7 +53,7 @@ module Spree
53
53
  # This scope selects products in taxon AND all its descendants
54
54
  # If you need products only within one taxon use
55
55
  #
56
- # Spree::Product.taxons_id_eq(x)
56
+ # Spree::Product.joins(:taxons).where(Taxon.table_name => { :id => taxon.id })
57
57
  #
58
58
  # If you're using count on the result of this scope, you must use the
59
59
  # `:distinct` option as well:
data/lib/spree/core.rb CHANGED
@@ -40,6 +40,7 @@ require 'spree/core/engine'
40
40
 
41
41
  require 'spree/i18n'
42
42
  require 'spree/money'
43
+ require 'spree/promo/coupon_applicator'
43
44
 
44
45
  require 'spree/core/delegate_belongs_to'
45
46
  require 'spree/core/ext/active_record'
@@ -1,5 +1,5 @@
1
1
  module Spree
2
2
  def self.version
3
- "2.0.2"
3
+ "2.0.3"
4
4
  end
5
5
  end
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: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-12 00:00:00.000000000 Z
11
+ date: 2013-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline