caboose-cms 0.5.174 → 0.5.175

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODNmY2QzYzdiNDczNDFiYjMwOWUxNDJlZGVmYzZkYjAzMWU4MjJjOQ==
4
+ MTMzOGNmOTc2NTFkYWZkNWNiOThhOTZlNTZmOGMwZTU3OGJlMWYyOQ==
5
5
  data.tar.gz: !binary |-
6
- OGNmNjA2M2Q3ZWUzNGZiODFkMGU4Zjg0NmY2NDcyZjUzNmQzY2FlMA==
6
+ YzEzNDg4OWRkODM2YjMwNWY5MzhkZDNlNGFiYTY5OGU2ZDc1MjZkOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjkwYmRmOGIzYzk5MGM3NGU4Y2NjMzg5YjQzNTg2NTIyNWFiYjU1MmExY2E3
10
- MWU4NzQ4Y2E4MWQ0NTAyOWIyZjljZDA5OTUxMTFiNmUwYTkxNzM0N2YyOTA3
11
- NDhlZjQ1NTI0MGJhMmNjODBjMzk4MjE5NmVkNWU2YjU1NWVhNTY=
9
+ NmYzMTU2ZmE2ZGE2Mzg3Y2FjMzk1NTcwODYzNDI5M2QwYmUxMjg1ZWNlMWQ3
10
+ YzBlNTVlMTc3ZjgyNzZhNDM4ZWMzMTMyOTlmZTc3ODk5YmQzMmEyZDJjMTVl
11
+ M2ExNzBkNmM5MGZkOGE1MjU4ZWNmYjM5YzU1MTU5M2RhMGZlYTM=
12
12
  data.tar.gz: !binary |-
13
- YzU5ZTM5YWZiYjExMTMzZTZlYTI2ZDdiYTdkOTBlMWZjYzc1NDFjM2M3ZGYz
14
- NmI3NDhkYmRiZTRmYzhiMGE0NWI5MDg2MmU2MDFmNDAwMjZlMTI4OTdmNDZm
15
- NzY1NjU0YzQ5ZjQ1YzMyM2VhYzBlNGRhM2Y4NTEwNDRhMGU1ZTY=
13
+ ZTUxMjA2ZjA3NjJlYjUyNTNiMjc4MjkxZjQ5NDY4OTYxNTdiM2YzOGIwOGZl
14
+ MzkyMzRmNDJlNGIwNmRlMWM2OGUyMThkYTNkYjgwYjFiZDc1YTVmNjAxMDcx
15
+ OWZkYWQ1MmEzZGJkYzUwNmVhNWZhZGJkMjNjMjFmOGNlNTUzOWI=
@@ -174,7 +174,7 @@ module Caboose
174
174
  def admin_send_for_authorization
175
175
  return if !user_is_allowed('orders', 'edit')
176
176
  order = Order.find(params[:id])
177
- OrdersMailer.delay.configure_for_site(@site.id).customer_payment_authorization(order)
177
+ order.delay.send_payment_authorization_email
178
178
  render :json => { :success => true }
179
179
  end
180
180
 
@@ -414,6 +414,10 @@ module Caboose
414
414
  # # render :json => response
415
415
  #end
416
416
 
417
+ def send_payment_authorization_email
418
+ OrdersMailer.configure_for_site(self.site_id).customer_payment_authorization(self).deliver
419
+ end
420
+
417
421
  end
418
422
  end
419
423
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.174'
2
+ VERSION = '0.5.175'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.174
4
+ version: 0.5.175
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry