better-mundipagg 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47dec1cc499375b54f1a90cc41a3f623eca79b7e
4
- data.tar.gz: 8df0d36269e222cdf507c221277a7bc92bf59fcf
3
+ metadata.gz: caa741833bd61aa03a37c6932cb066a3735026aa
4
+ data.tar.gz: 649e2fd5a8b9b57ff0a55c297bd4c3afe9c03384
5
5
  SHA512:
6
- metadata.gz: fd5a0e4db4851d4c7d5d0c9e412df140b65141a869d03ef3066f9c20db6037ca21ceb53770c87732a5b24ce9460d4cb540fd96bd8c9b93cccb871e889c4d87a8
7
- data.tar.gz: ae5309a143e89b7c7f3bbd478c31488ecd5443c7ad16ef5c0b5850c251edc5fa4300577d9ed56aacf39496761ff1ab756a8fe4ba697c3c6c6b85c9528544e2ec
6
+ metadata.gz: e5a158d9b651c422d2f5668ffc0246808211ea56f4166af1310bc08fbbe55029f65edfeca79de3451107f4f02a08ff2f05b09c08c60300c81ab2d1df011f7c03
7
+ data.tar.gz: b4573e30955b52cf76c13eb5793fa4dd25e338e2e4f5379715f98f6d30657001444181b2556b093f6be42b6ec1e56a46df8d5a7f2b3832e2513b8cc2c52754ee
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- better-mundipagg (0.2.4)
4
+ better-mundipagg (0.2.5)
5
5
  activemerchant
6
6
  activemodel
7
7
  savon
@@ -10,6 +10,8 @@ module Mundipagg
10
10
  "Mastercard"
11
11
  when "american_express"
12
12
  "Amex"
13
+ when "diners_club"
14
+ "Diners"
13
15
  else
14
16
  brand.capitalize
15
17
  end
@@ -1,3 +1,3 @@
1
1
  module Mundipagg
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
@@ -9,6 +9,7 @@ RSpec.describe Mundipagg::CreditCard do
9
9
  [
10
10
  ["master", "Mastercard"],
11
11
  ["american_express", "Amex"],
12
+ ["diners_club", "Diners"],
12
13
  ["visa", "Visa"],
13
14
  [nil, ""]
14
15
  ].each do |(input, output)|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better-mundipagg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Azisaka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec