rbraspag 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rbraspag/eft.rb +3 -3
- data/lib/rbraspag/version.rb +1 -1
- data/spec/eft_spec.rb +3 -3
- metadata +25 -29
data/lib/rbraspag/eft.rb
CHANGED
@@ -11,10 +11,10 @@ module Braspag
|
|
11
11
|
|
12
12
|
MAPPING = {
|
13
13
|
:merchant_id => "Id_Loja",
|
14
|
-
:order_id => "
|
15
|
-
:customer_name => "
|
14
|
+
:order_id => "VENDAID",
|
15
|
+
:customer_name => "NOME",
|
16
16
|
:customer_id => "Cpf",
|
17
|
-
:amount => "
|
17
|
+
:amount => "valor",
|
18
18
|
:payment_method => "codpagamento",
|
19
19
|
:installments => "PARCELAS",
|
20
20
|
:has_interest => "TIPOPARCELADO"
|
data/lib/rbraspag/version.rb
CHANGED
data/spec/eft_spec.rb
CHANGED
@@ -153,10 +153,10 @@ describe Braspag::Eft do
|
|
153
153
|
html = <<-EOHTML
|
154
154
|
<form id="form_tef_1234123125" name="form_tef_1234123125" action="https://homologacao.pagador.com.br/pagador/passthru.asp" method="post">
|
155
155
|
<input type="text" name="Id_Loja" value="{84BE7E7F-698A-6C74-F820-AE359C2A07C2}" />
|
156
|
-
<input type="text" name="
|
157
|
-
<input type="text" name="
|
156
|
+
<input type="text" name="VENDAID" value="1234123125" />
|
157
|
+
<input type="text" name="NOME" value="" />
|
158
158
|
<input type="text" name="Cpf" value="" />
|
159
|
-
<input type="text" name="
|
159
|
+
<input type="text" name="valor" value="123,00" />
|
160
160
|
<input type="text" name="codpagamento" value="11" />
|
161
161
|
<input type="text" name="PARCELAS" value="" />
|
162
162
|
<input type="text" name="TIPOPARCELADO" value="" />
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbraspag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,11 +14,12 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2011-08-
|
17
|
+
date: 2011-08-12 00:00:00.000000000 -03:00
|
18
|
+
default_executable:
|
18
19
|
dependencies:
|
19
20
|
- !ruby/object:Gem::Dependency
|
20
21
|
name: cs-httpi
|
21
|
-
requirement: &
|
22
|
+
requirement: &18870260 !ruby/object:Gem::Requirement
|
22
23
|
none: false
|
23
24
|
requirements:
|
24
25
|
- - ! '>='
|
@@ -26,10 +27,10 @@ dependencies:
|
|
26
27
|
version: 0.9.5.2
|
27
28
|
type: :runtime
|
28
29
|
prerelease: false
|
29
|
-
version_requirements: *
|
30
|
+
version_requirements: *18870260
|
30
31
|
- !ruby/object:Gem::Dependency
|
31
32
|
name: json
|
32
|
-
requirement: &
|
33
|
+
requirement: &18869840 !ruby/object:Gem::Requirement
|
33
34
|
none: false
|
34
35
|
requirements:
|
35
36
|
- - ! '>='
|
@@ -37,10 +38,10 @@ dependencies:
|
|
37
38
|
version: '0'
|
38
39
|
type: :runtime
|
39
40
|
prerelease: false
|
40
|
-
version_requirements: *
|
41
|
+
version_requirements: *18869840
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: nokogiri
|
43
|
-
requirement: &
|
44
|
+
requirement: &18869380 !ruby/object:Gem::Requirement
|
44
45
|
none: false
|
45
46
|
requirements:
|
46
47
|
- - ! '>='
|
@@ -48,10 +49,10 @@ dependencies:
|
|
48
49
|
version: '0'
|
49
50
|
type: :runtime
|
50
51
|
prerelease: false
|
51
|
-
version_requirements: *
|
52
|
+
version_requirements: *18869380
|
52
53
|
- !ruby/object:Gem::Dependency
|
53
54
|
name: rake
|
54
|
-
requirement: &
|
55
|
+
requirement: &18868960 !ruby/object:Gem::Requirement
|
55
56
|
none: false
|
56
57
|
requirements:
|
57
58
|
- - ! '>='
|
@@ -59,10 +60,10 @@ dependencies:
|
|
59
60
|
version: '0'
|
60
61
|
type: :development
|
61
62
|
prerelease: false
|
62
|
-
version_requirements: *
|
63
|
+
version_requirements: *18868960
|
63
64
|
- !ruby/object:Gem::Dependency
|
64
65
|
name: rspec
|
65
|
-
requirement: &
|
66
|
+
requirement: &18868540 !ruby/object:Gem::Requirement
|
66
67
|
none: false
|
67
68
|
requirements:
|
68
69
|
- - ! '>='
|
@@ -70,10 +71,10 @@ dependencies:
|
|
70
71
|
version: '0'
|
71
72
|
type: :development
|
72
73
|
prerelease: false
|
73
|
-
version_requirements: *
|
74
|
+
version_requirements: *18868540
|
74
75
|
- !ruby/object:Gem::Dependency
|
75
76
|
name: fakeweb
|
76
|
-
requirement: &
|
77
|
+
requirement: &18900960 !ruby/object:Gem::Requirement
|
77
78
|
none: false
|
78
79
|
requirements:
|
79
80
|
- - ! '>='
|
@@ -81,10 +82,10 @@ dependencies:
|
|
81
82
|
version: '0'
|
82
83
|
type: :development
|
83
84
|
prerelease: false
|
84
|
-
version_requirements: *
|
85
|
+
version_requirements: *18900960
|
85
86
|
- !ruby/object:Gem::Dependency
|
86
87
|
name: shoulda-matchers
|
87
|
-
requirement: &
|
88
|
+
requirement: &18900540 !ruby/object:Gem::Requirement
|
88
89
|
none: false
|
89
90
|
requirements:
|
90
91
|
- - ! '>='
|
@@ -92,10 +93,10 @@ dependencies:
|
|
92
93
|
version: '0'
|
93
94
|
type: :development
|
94
95
|
prerelease: false
|
95
|
-
version_requirements: *
|
96
|
+
version_requirements: *18900540
|
96
97
|
- !ruby/object:Gem::Dependency
|
97
98
|
name: guard-rspec
|
98
|
-
requirement: &
|
99
|
+
requirement: &18900120 !ruby/object:Gem::Requirement
|
99
100
|
none: false
|
100
101
|
requirements:
|
101
102
|
- - ! '>='
|
@@ -103,10 +104,10 @@ dependencies:
|
|
103
104
|
version: '0'
|
104
105
|
type: :development
|
105
106
|
prerelease: false
|
106
|
-
version_requirements: *
|
107
|
+
version_requirements: *18900120
|
107
108
|
- !ruby/object:Gem::Dependency
|
108
109
|
name: guard-bundler
|
109
|
-
requirement: &
|
110
|
+
requirement: &18899700 !ruby/object:Gem::Requirement
|
110
111
|
none: false
|
111
112
|
requirements:
|
112
113
|
- - ! '>='
|
@@ -114,10 +115,10 @@ dependencies:
|
|
114
115
|
version: '0'
|
115
116
|
type: :development
|
116
117
|
prerelease: false
|
117
|
-
version_requirements: *
|
118
|
+
version_requirements: *18899700
|
118
119
|
- !ruby/object:Gem::Dependency
|
119
120
|
name: ruby-debug19
|
120
|
-
requirement: &
|
121
|
+
requirement: &18899280 !ruby/object:Gem::Requirement
|
121
122
|
none: false
|
122
123
|
requirements:
|
123
124
|
- - ! '>='
|
@@ -125,7 +126,7 @@ dependencies:
|
|
125
126
|
version: '0'
|
126
127
|
type: :development
|
127
128
|
prerelease: false
|
128
|
-
version_requirements: *
|
129
|
+
version_requirements: *18899280
|
129
130
|
description: rbraspag gem to use Braspag gateway
|
130
131
|
email:
|
131
132
|
- tinorj@gmail.com
|
@@ -171,6 +172,7 @@ files:
|
|
171
172
|
- spec/order_spec.rb
|
172
173
|
- spec/spec_helper.rb
|
173
174
|
- spec/utils_spec.rb
|
175
|
+
has_rdoc: true
|
174
176
|
homepage: http://github.com/concretesolutions/rbraspag
|
175
177
|
licenses: []
|
176
178
|
post_install_message:
|
@@ -183,21 +185,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
185
|
- - ! '>='
|
184
186
|
- !ruby/object:Gem::Version
|
185
187
|
version: '0'
|
186
|
-
segments:
|
187
|
-
- 0
|
188
|
-
hash: -971698251668178937
|
189
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
189
|
none: false
|
191
190
|
requirements:
|
192
191
|
- - ! '>='
|
193
192
|
- !ruby/object:Gem::Version
|
194
193
|
version: '0'
|
195
|
-
segments:
|
196
|
-
- 0
|
197
|
-
hash: -971698251668178937
|
198
194
|
requirements: []
|
199
195
|
rubyforge_project: rbraspag
|
200
|
-
rubygems_version: 1.
|
196
|
+
rubygems_version: 1.6.2
|
201
197
|
signing_key:
|
202
198
|
specification_version: 3
|
203
199
|
summary: rbraspag gem to use Braspag gateway
|