mechanize_store 0.0.14 → 0.0.15

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: 6415f245e948dd67bac6d233a7770d99d1061110
4
- data.tar.gz: 1d7eb57d6217200f37815044c1e0d0d61209be33
3
+ metadata.gz: ee353b25984cbd879d7554180191bde32bea1c55
4
+ data.tar.gz: b2bbc3c4cdc145279702c52db5f6cfcce5d125a7
5
5
  SHA512:
6
- metadata.gz: 98dc4f19e355cd9787915d42245e2efe3427d4d6b7a25f9cad27d27bd8b323db2996a7c460aa94032f8a5b61a5e4e69b320d4fabbca7e401c887e68b43395f22
7
- data.tar.gz: 03773d34fff8898e05985e7248516b862a07c918f6e4b24e0b3ae9288dc8bcd339aa32b24811f754746743618d270dd58f843274c22e1c9e147c242e14c529ca
6
+ metadata.gz: 3109b065079270e26450e6d5d9a039b148c9572a21a9e59312b15848b8cc65fde0554948a8663dd52bbc555ce5f669d201d9842085c624051dd6904079d8eea3
7
+ data.tar.gz: 2c7880f9c45d3c8f5bce897763c67512eaccd27f8bf461f7b9a8076b4f303bd96c2e828763040080ac1348038b3d965cadd8012f65a000fd0d6533d54de3e1ba
@@ -16,8 +16,7 @@ module MechanizeStore
16
16
 
17
17
  TYPES = {
18
18
  1 => :credit_card,
19
- 2 => :debit_card,
20
- 3 => :billet
19
+ 2 => :billet
21
20
  }
22
21
 
23
22
  validates :payment_type, presence: true
@@ -73,7 +72,7 @@ module MechanizeStore
73
72
  return "success" if self.payment_status == STATUSES.invert[:accomplished]
74
73
  return "warning" if self.payment_status == STATUSES.invert[:awaiting] or self.payment_status == STATUSES.invert[:in_analisis]
75
74
  return "info" if self.payment_status == STATUSES.invert[:canceled]
76
- return "danger" if self.payment_type == STATUSES.invert[:unauthorized] or self.payment_status = STATUSES.invert[:need_authorization]
75
+ return "danger" if self.payment_status == STATUSES.invert[:unauthorized] or self.payment_status == STATUSES.invert[:need_authorization]
77
76
  end
78
77
  end
79
78
  end
@@ -1,3 +1,3 @@
1
1
  module MechanizeStore
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mechanize_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilbert Ribeiro