spree_promo 1.1.0.rc2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/models/spree/promotion_rule.rb +1 -1
  2. metadata +14 -11
@@ -8,7 +8,7 @@ module Spree
8
8
  validate :promotion, :presence => true
9
9
  validate :unique_per_activator, :on => :create
10
10
 
11
- attr_accessible :preferred_operator, :preferred_amount
11
+ attr_accessible :preferred_operator, :preferred_amount, :product, :product_ids_string, :preferred_match_policy
12
12
 
13
13
  def eligible?(order, options = {})
14
14
  raise 'eligible? should be implemented in a sub-class of Promotion::PromotionRule'
metadata CHANGED
@@ -1,38 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_promo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.rc2
5
- prerelease: 6
4
+ version: 1.1.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - David North
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-20 00:00:00.000000000 Z
12
+ date: 2012-04-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &70210507295400 !ruby/object:Gem::Requirement
16
+ requirement: &70146779370460 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
20
20
  - !ruby/object:Gem::Version
21
- version: 1.1.0.rc2
21
+ version: 1.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70210507295400
24
+ version_requirements: *70146779370460
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spree_auth
27
- requirement: &70210507294780 !ruby/object:Gem::Requirement
27
+ requirement: &70146779369980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
31
31
  - !ruby/object:Gem::Version
32
- version: 1.1.0.rc2
32
+ version: 1.1.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70210507294780
35
+ version_requirements: *70146779369980
36
36
  description: Required dependency for Spree
37
37
  email: david@spreecommerce.com
38
38
  executables: []
@@ -127,9 +127,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
- - - ! '>'
130
+ - - ! '>='
131
131
  - !ruby/object:Gem::Version
132
- version: 1.3.1
132
+ version: '0'
133
+ segments:
134
+ - 0
135
+ hash: -4393799672893013841
133
136
  requirements:
134
137
  - none
135
138
  rubyforge_project: