colppy 0.3.2 → 0.3.3

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: 0c1494349b84dc91d119a20764c650f4c244811e
4
- data.tar.gz: 49379b4d4b21e06108c0b62117e25470fb2c7bb1
3
+ metadata.gz: fac0bc6869e657538aa64b3b62e425587ed581d4
4
+ data.tar.gz: 0a3678a241e9fa85ea9e18a4d103b13f7b692e97
5
5
  SHA512:
6
- metadata.gz: c6d4302b8d43f6684dccb8f00f9cc0fe4574d4bf451744df86cada7e3e399ccebf27acacc3821b0c1c68359713d2d98ce75ad4ff136621cb7e1550ac022abe46
7
- data.tar.gz: 8d440d82d6c11b887438901166948a83ef77c82eee995940577d04549fe7fb41cd138e9b0f7ed13fd87146efafa6a81e6b608fd060560ea9314f561933eb3445
6
+ metadata.gz: 026084bc0fc65636a75ea41a978caa81ee909c21b6c5675864e657822e986f73585475f3da3255ba0b0b3a00a5ca72a20c3e5511527e4a86416b6a873a019efe
7
+ data.tar.gz: c37d3e0fbca198eb3f6fc1a847675acb06a4d9226e0f01739352d9ed8ee90afa175c77d1462164793bccbde6d9200c6f28652c9b8bc5e13d230491ebbdf029ae
@@ -4,12 +4,12 @@ module Colppy
4
4
  include Digest
5
5
  SERVICES_MANIFEST = Core::SERVICES.freeze
6
6
 
7
- def initialize(auth_user, auth_pass, user)
7
+ def initialize(auth_user, auth_pass, user, mode = "sandbox")
8
8
  ensure_user_valid!(user)
9
9
 
10
10
  @auth_user = auth_user
11
11
  @auth_pass = md5(auth_pass)
12
- @gateway = Core::Gateway.new
12
+ @gateway = Core::Gateway.new(mode)
13
13
  if user
14
14
  @user = user
15
15
  sign_in
@@ -1,3 +1,3 @@
1
1
  module Colppy
2
- VERSION = "0.3.2".freeze
2
+ VERSION = "0.3.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colppy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Cavilliotti
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-30 00:00:00.000000000 Z
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday