radiant-shop_discounts-extension 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -57,7 +57,7 @@ class ShopDiscountable < ActiveRecord::Base
57
57
  # Removes discount from an order's line_items
58
58
  def destroy_shop_line_items_if_shop_order
59
59
  if discounted_type === 'ShopOrder'
60
- discount.discountables.for('ShopLineItem').each do |discountable|
60
+ discounted.discountables.for('ShopLineItem').each do |discountable|
61
61
  discountable.destroy
62
62
  end
63
63
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-shop_discounts-extension}
8
- s.version = "0.0.7"
8
+ s.version = "0.0.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dirk Kelly"]
12
- s.date = %q{2010-12-21}
12
+ s.date = %q{2011-01-11}
13
13
  s.description = %q{RadiantShop: Apply discounts to Products and Categories and have them accessed through codes}
14
14
  s.email = %q{dk@dirkkelly.com}
15
15
  s.extra_rdoc_files = [
@@ -96,7 +96,7 @@ Gem::Specification.new do |s|
96
96
  ]
97
97
  s.homepage = %q{https://github.com/thefrontiergroup/radiant-shop_discounts-extension}
98
98
  s.require_paths = ["lib"]
99
- s.rubygems_version = %q{1.3.7}
99
+ s.rubygems_version = %q{1.4.1}
100
100
  s.summary = %q{Shop Discounts Extension for Radiant CMS}
101
101
  s.test_files = [
102
102
  "spec/controllers/admin/shop/discounts/discountables_controller_spec.rb",
@@ -118,7 +118,6 @@ Gem::Specification.new do |s|
118
118
  ]
119
119
 
120
120
  if s.respond_to? :specification_version then
121
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
122
121
  s.specification_version = 3
123
122
 
124
123
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-shop_discounts-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
4
+ hash: 15
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dirk Kelly
@@ -15,12 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-21 00:00:00 +08:00
18
+ date: 2011-01-11 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  type: :runtime
23
- prerelease: false
23
+ name: radiant-shop-extension
24
24
  version_requirements: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
@@ -32,7 +32,7 @@ dependencies:
32
32
  - 92
33
33
  - 3
34
34
  version: 0.92.3
35
- name: radiant-shop-extension
35
+ prerelease: false
36
36
  requirement: *id001
37
37
  description: "RadiantShop: Apply discounts to Products and Categories and have them accessed through codes"
38
38
  email: dk@dirkkelly.com
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  requirements: []
151
151
 
152
152
  rubyforge_project:
153
- rubygems_version: 1.3.7
153
+ rubygems_version: 1.4.1
154
154
  signing_key:
155
155
  specification_version: 3
156
156
  summary: Shop Discounts Extension for Radiant CMS