spree_recurring_order 2.1.9 → 2.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -3
- data/app/controllers/spree/orders_controller_decorator.rb +1 -1
- data/app/views/spree/orders/{show_recurring.haml → show_completed.haml} +0 -0
- data/spec/controllers/spree/orders_controller_spec.rb +1 -1
- data/spree_recurring_order.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f6615fe41ca13ed607ce593676724979e5b39bb
|
4
|
+
data.tar.gz: 7ae08b81a344da8aa7767662784eaaeca5a49eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3b37bdaccd0a25175fdcf9720f7fc494bb6c2162e7e708cae278823dbfdb8313065a857184dda843a888cbbaed13e59fcc920796a8a656d80a303c83e22b205
|
7
|
+
data.tar.gz: 03b7cdc9c0e193600c5d140108ab2387376fe89804d77ad81caca1ee31580b71cf4a1af6d0c9368abdfa85807a81c5f884eb2b2b7a35c08a382a86f1840f3e73
|
data/README.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Spree Recurring Order
|
2
|
+
=====================
|
3
3
|
|
4
|
-
|
4
|
+
Before you invest time in trying to use this gem, here are some caveats:
|
5
|
+
|
6
|
+
- It does not process recurring payments
|
7
|
+
- It was built for quite a specific case, so please make sure it actually does what you want
|
8
|
+
|
9
|
+
This gem was built so the user can show the intention of subscribing to a recurring order. The way it works is:
|
10
|
+
|
11
|
+
1. User is presented with a recurring order option page after checkout
|
12
|
+
2. If the option is selected, the recurring order will appear in the 'Recurring Orders' tab in the admin section
|
13
|
+
3. Managing the recurring order after that is on your own. We are doing this by using the spree_repeat_order (https://github.com/frankmt/spree_repeat_order) gem
|
14
|
+
|
15
|
+
The gem also blocks the checkout path when a user has a recurring order in their cart, since the recurring orders are supposed to be processed offline.
|
5
16
|
|
6
17
|
Installation
|
7
18
|
------------
|
File without changes
|
@@ -31,7 +31,7 @@ describe Spree::OrdersController do
|
|
31
31
|
it 'should render show_recurring if order completed is true' do
|
32
32
|
spree_get :show, {id: "G2134", order_completed: true}
|
33
33
|
assigns(:present_recurring).should == true
|
34
|
-
response.should render_template('
|
34
|
+
response.should render_template('show_completed')
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'should render show normally' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_recurring_order
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francisco Trindade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -227,7 +227,7 @@ files:
|
|
227
227
|
- app/views/spree/admin/shared/_recurring_orders_tab.html.erb
|
228
228
|
- app/views/spree/orders/_cart_buttons.haml
|
229
229
|
- app/views/spree/orders/_recurring_message.haml
|
230
|
-
- app/views/spree/orders/
|
230
|
+
- app/views/spree/orders/show_completed.haml
|
231
231
|
- app/views/spree/recurring_orders/show.html.erb
|
232
232
|
- bin/rails
|
233
233
|
- config/locales/en.yml
|