effective_orders 4.5.8 → 4.5.9

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
  SHA256:
3
- metadata.gz: fe17b4322391ee31880303afd90c92998a86da1cb2cd0fb82fa716783e481635
4
- data.tar.gz: d3370f18d4c440ffdde9aa59207f586ba38abcf73e91974ee1e7f8866ba1ab82
3
+ metadata.gz: 59043240411738af58cfc47af461408a055e6c5b14cb972bfe2813e6406ff33f
4
+ data.tar.gz: 2984831a23addc106308001ebd736ddc549575b9af42062d2328633050e9a9c3
5
5
  SHA512:
6
- metadata.gz: 00af503a2181c78ad3ac1d587aeda9bbc9b35bafab752cb37f28f5c64c5ba787070b6685bdb455745b16ee33fcd7940e272cdedea8b672188788bd496e21e6aa
7
- data.tar.gz: eb5199b72923d9236016e2a81ed0b102d9a28b0112cba3924dc72c1dbaad1d5b1b5cc9c2ea73141af58010ab12d517de3c34b544e46e3c64b5d08c5ea18fa241
6
+ metadata.gz: 65434ddd798e864809733e292b6dddd6bf57b20d0c336d44558e1dd80c5c2b9893d3c1e797c54cbbf6f8583188022c75c1c1e5baff7f7c2ee5e4fca150bb2d81
7
+ data.tar.gz: '0939ceffcb5d665ef932ce414c425c11b8e10f697abdce2bbd5c24335c1b438c3753a8c2a5223060f81872d8402f77f48a7178c492501b7a286f30893a71bb31'
@@ -145,7 +145,7 @@ module Admin
145
145
  end
146
146
 
147
147
  def send_payment_request
148
- @order = Effective::Order.pending.find(params[:id])
148
+ @order = Effective::Order.not_purchased.find(params[:id])
149
149
  authorize_effective_order!
150
150
 
151
151
  if @order.send_payment_request_to_buyer!
@@ -164,7 +164,7 @@ module Admin
164
164
  end
165
165
 
166
166
  def bulk_send_payment_request
167
- @orders = Effective::Order.pending.where(id: params[:ids])
167
+ @orders = Effective::Order.not_purchased.where(id: params[:ids])
168
168
 
169
169
  begin
170
170
  authorize_effective_order!
@@ -6,7 +6,7 @@ module Effective
6
6
 
7
7
  def show
8
8
  @cart = current_cart
9
- @pending_orders = Effective::Order.pending.where(user: current_user) if current_user.present?
9
+ @pending_orders = Effective::Order.not_purchased.where(user: current_user) if current_user.present?
10
10
 
11
11
  @page_title ||= 'My Cart'
12
12
  EffectiveOrders.authorize!(self, :show, @cart)
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '4.5.8'.freeze
2
+ VERSION = '4.5.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.8
4
+ version: 4.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-21 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails