safecharge 0.0.6 → 0.0.7

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: 15cc0550250719f4dfbdde015ae150bf91ae0d1b
4
- data.tar.gz: 6e781fdac2fe09602fb5cb5cafc1a9bc1dd98e45
3
+ metadata.gz: d04381814612c5313043f6defee00268839b4558
4
+ data.tar.gz: 130afcb34b65dc297b56b01fe03bd2972ce6fcc3
5
5
  SHA512:
6
- metadata.gz: 44b43e6cbd5cb4ca61b2952735d36ce3feef0c6c2651626076d9f2c70037527f7a76f7d52ab9db6524fc14cb204f940c58cb8d5fb81097de1e7c1f2d8e4c7714
7
- data.tar.gz: 4dfbadcbe47ff9f1c0da0743ef25a7a5a72ff5cecc1b064738c2dea6a07d1cec2a18e5397d12669b78fe81682d3d8d12494312f8f07aaf032b0cbf3f03b64160
6
+ metadata.gz: 452aa087087144c6a9ec248d3c2e51b18fb17f355a9e71db20d75fdb3c74ac85edc42b2ed961dce4ca35b4336638b0ab788097821f77d3235818c4471d08b73d
7
+ data.tar.gz: a5afd5c61b7385362f3440d890642404853687a9fe0191e636e4e3a4f86e2031cdde80b8b3681a16bcbc872659777625f68c04a0c1fd53469f237e5896376541
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Safecharge
2
2
 
3
3
  A simple Ruby wrapper for the SafeCharge PPP Payment API v 3.0.0 (Revised July 2011), as well as
4
- the SafeCharge Web Cashier API v1.0 (Revised July 2013).
4
+ the SafeCharge Web Cashier API v1.1 (Revised 10 July 2013).
5
5
 
6
6
  ## Status
7
7
 
@@ -11,11 +11,11 @@ This project is under active development right now, and not suitable for use.
11
11
 
12
12
  Add this line to your application's Gemfile:
13
13
 
14
- gem 'safecharge'
14
+ gem 'safecharge', '~>0.0.6'
15
15
 
16
16
  And then execute:
17
17
 
18
- $ bundle
18
+ $ bundle install
19
19
 
20
20
  Or install it yourself as:
21
21
 
@@ -32,7 +32,11 @@ module Safecharge
32
32
  'total_tax' => {:required => false, :type => 'percent'},
33
33
  'userid' => {:required => false, :type => 'string', length: 50},
34
34
  'version' => {:required => true, :type => 'string', length: 10},
35
- 'webMasterId' => {:required => false, :type => 'string', length: 255}
35
+ 'webMasterId' => {:required => false, :type => 'string', length: 255},
36
+ 'first_name' => {:required => false, :type => 'string', length: 30},
37
+ 'last_name' => {:required => false, :type => 'string', length: 40},
38
+ 'city' => {:required => false, :type => 'string', length: 30},
39
+ 'country' => {:required => false, :type => 'string', length: 20}
36
40
 
37
41
  } # 'time_stamp', 'numberofitems' and 'checksum' are inserted after validation.
38
42
 
@@ -2,5 +2,5 @@
2
2
  #coding: utf-8
3
3
 
4
4
  module Safecharge
5
- VERSION = "0.0.6"
5
+ VERSION = "0.0.7"
6
6
  end
@@ -33,7 +33,11 @@ module Safecharge
33
33
  'version' => {:required => true, :type => 'string', length: 10},
34
34
  'webMasterId' => {:required => false, :type => 'string', length: 255},
35
35
  'user_token' => {:required => false, :type => 'usertoken'},
36
- 'user_token_id' => {:required => true, :type => 'string', length: 45}
36
+ 'user_token_id' => {:required => true, :type => 'string', length: 45},
37
+ 'first_name' => {:required => false, :type => 'string', length: 30},
38
+ 'last_name' => {:required => false, :type => 'string', length: 40},
39
+ 'city' => {:required => false, :type => 'string', length: 30},
40
+ 'country' => {:required => false, :type => 'string', length: 20}
37
41
 
38
42
  } # 'time_stamp', 'numberofitems' and 'checksum' are inserted after validation.
39
43
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safecharge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Sag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-30 00:00:00.000000000 Z
11
+ date: 2013-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.0.6
106
+ rubygems_version: 2.1.10
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: A Ruby Wrapper for the SafeCharge API