pg_creditcard 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
data/lib/pg_creditcard.rb CHANGED
@@ -26,6 +26,22 @@ class PgCreditcard
26
26
  today > expiry
27
27
  end
28
28
 
29
+ def cardholder
30
+ @name
31
+ end
32
+
33
+ def cardnumber
34
+ @number
35
+ end
36
+
37
+ def cardexpmonth
38
+ @month
39
+ end
40
+
41
+ def cardexpyear
42
+ @year
43
+ end
44
+
29
45
  private
30
46
 
31
47
  def set_year(x)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pg_creditcard}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Simon Chiu"]
12
- s.date = %q{2010-11-16}
12
+ s.date = %q{2010-11-22}
13
13
  s.description = %q{Dependency library for handling Psigate's credit card object}
14
14
  s.email = %q{skhchiu@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Simon Chiu
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-16 00:00:00 -05:00
17
+ date: 2010-11-22 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- hash: -2042770674871042204
124
+ hash: -2387855026611265105
125
125
  segments:
126
126
  - 0
127
127
  version: "0"