spree_recurring_order 2.1.9 → 2.1.10

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: a0aa16ab77053b1ed94b81dc7532c4a5d7c5a7de
4
- data.tar.gz: 70eb179a5bf2e16ce3479d28562abbe47d62f372
3
+ metadata.gz: 6f6615fe41ca13ed607ce593676724979e5b39bb
4
+ data.tar.gz: 7ae08b81a344da8aa7767662784eaaeca5a49eba
5
5
  SHA512:
6
- metadata.gz: a17b1eb9833aec91732a3271bb8fd5b9088b39f1e7f1787750125ed38edb90ca08a43d05d1d6ac3862025523abaef73772817f1c236c0959aa82b72e87a1dc50
7
- data.tar.gz: 0a560af713ca32907fcc47aab6b425cbb9e6706df5420ca1027fde1c406e91c1d093cd00207fb034d70924ee90cbe2443d22265c66ec1b678d69283d114c2ba0
6
+ metadata.gz: e3b37bdaccd0a25175fdcf9720f7fc494bb6c2162e7e708cae278823dbfdb8313065a857184dda843a888cbbaed13e59fcc920796a8a656d80a303c83e22b205
7
+ data.tar.gz: 03b7cdc9c0e193600c5d140108ab2387376fe89804d77ad81caca1ee31580b71cf4a1af6d0c9368abdfa85807a81c5f884eb2b2b7a35c08a382a86f1840f3e73
data/README.md CHANGED
@@ -1,7 +1,18 @@
1
- SpreeRecurringOrder
2
- ===================
1
+ Spree Recurring Order
2
+ =====================
3
3
 
4
- Introduction goes here.
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
  ------------
@@ -7,7 +7,7 @@ Spree::OrdersController.class_eval do
7
7
  @recurring_order = Spree::RecurringOrder.new
8
8
 
9
9
  if @present_recurring
10
- render :show_recurring
10
+ render :show_completed
11
11
  else
12
12
  render :show
13
13
  end
@@ -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('show_recurring')
34
+ response.should render_template('show_completed')
35
35
  end
36
36
 
37
37
  it 'should render show normally' do
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_recurring_order'
5
- s.version = '2.1.9'
5
+ s.version = '2.1.10'
6
6
  s.summary = 'Add the option to create a recurring order'
7
7
  s.description = ''
8
8
  s.required_ruby_version = '>= 2.0.0'
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.9
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-02-18 00:00:00.000000000 Z
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/show_recurring.haml
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