radiant-shop_discounts-extension 0.0.9 → 0.0.10

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.9
1
+ 0.0.10
@@ -9,7 +9,7 @@ module ShopDiscounts
9
9
  @result = create_without_discounts
10
10
 
11
11
  @order.discountables.each do |discountable|
12
- discountable.create_shop_line_items_if_shop_order
12
+ discountable.create_shop_line_items
13
13
  end
14
14
 
15
15
  @result
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-shop_discounts-extension}
8
- s.version = "0.0.9"
8
+ s.version = "0.0.10"
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"]
@@ -18,7 +18,7 @@ describe ShopDiscounts::Models::FormLineItem do
18
18
 
19
19
  it 'should call #create_shop_line_items_if_shop_order on the order' do
20
20
  @discount = ShopDiscountable.new
21
- mock(@discount).create_shop_line_items_if_shop_order { true }
21
+ mock(@discount).create_shop_line_items { true }
22
22
  mock(@order).discountables { [ @discount ] }
23
23
  stub(ShopOrder).find(@order.id) { @order }
24
24
 
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: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dirk Kelly