credit_card_support 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,7 +18,7 @@ credit_card_number.extend(CreditCardSupport::CreditCardNumber)
18
18
 
19
19
  # or for all the Strings
20
20
  class String
21
- include CreditCardSupport::CreditCardNumber)
21
+ include CreditCardSupport::CreditCardNumber
22
22
  end
23
23
 
24
24
  # Usage
@@ -75,7 +75,7 @@ class CreditCard
75
75
 
76
76
  def initialize(opts={})
77
77
  @errors = ActiveModel::Errors.new(self)
78
- opts.each {|key, value| send(:"#{key}=", value) }
78
+ opts.each {|key, value| send("#{key}=", value) }
79
79
  end
80
80
 
81
81
  validates :number, presence: true,
@@ -2,7 +2,7 @@ module CreditCardSupport
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credit_card_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-24 00:00:00.000000000 Z
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Detects issuer from a number, has ActiveModel validations and translations
15
15
  support.