tb_checkout 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/tb_checkout/admin/carts_controller.rb +1 -1
- data/app/controllers/tb_checkout/admin/transactions_controller.rb +1 -1
- data/app/helpers/tb_checkout/admin/transactions_helper.rb +2 -2
- data/lib/tb_checkout/engine.rb +1 -1
- data/lib/tb_checkout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb3fc1ae37d51e94af4338396c822e2d1392a17e
|
4
|
+
data.tar.gz: 99c1376aef1929a46b5164a870d3b2b84e560236
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f7d66476d2a23b70f1a0feaa2671ce1f6c25138509da0eb54c0a4de9a8811353d58dfc3cdccabfc6463dbd901d345b94dfff94a5a18a744822b8c0abba2a628
|
7
|
+
data.tar.gz: 1cfe8609867ef781b1bb6894f4a476bba0991c828cffbce5208964a1f63b2a95b0e5ad46ec3294c15e8fff70776620d22cc6b46e66255dddba61b69a55520b10
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class TbCheckout::Admin::TransactionsController <
|
1
|
+
class TbCheckout::Admin::TransactionsController < Admin::ApplicationController
|
2
2
|
belongs_to_spud_app :transactions
|
3
3
|
add_breadcrumb 'Transactions', :tb_checkout_admin_transactions_path
|
4
4
|
before_action :load_transaction, :only => :show
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module TbCheckout::Admin::TransactionsHelper
|
2
2
|
|
3
|
-
|
3
|
+
def tb_checkout_status_label_for_transaction(status)
|
4
4
|
if status == 'captured'
|
5
5
|
cls = 'success'
|
6
6
|
elsif status == 'fail'
|
7
|
-
cls = '
|
7
|
+
cls = 'danger'
|
8
8
|
elsif status == 'refunded' || status == 'voided'
|
9
9
|
cls = 'warning'
|
10
10
|
else
|
data/lib/tb_checkout/engine.rb
CHANGED
data/lib/tb_checkout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_checkout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Westlake Design
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tb_core
|