rbraspag 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -2
- data/lib/rbraspag/eft.rb +6 -1
- data/lib/rbraspag/version.rb +1 -1
- metadata +20 -20
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rbraspag (0.0.
|
4
|
+
rbraspag (0.0.9)
|
5
5
|
cs-httpi (>= 0.9.5.2)
|
6
6
|
json
|
7
7
|
nokogiri
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
json (1.5.3)
|
26
26
|
linecache19 (0.5.12)
|
27
27
|
ruby_core_source (>= 0.1.4)
|
28
|
-
nokogiri (1.
|
28
|
+
nokogiri (1.5.0)
|
29
29
|
rack (1.3.0)
|
30
30
|
rspec (2.6.0)
|
31
31
|
rspec-core (~> 2.6.0)
|
data/lib/rbraspag/eft.rb
CHANGED
@@ -2,6 +2,11 @@ module Braspag
|
|
2
2
|
class Eft
|
3
3
|
PAYMENT_METHOD = {
|
4
4
|
:bradesco => "11",
|
5
|
+
:itau => "12",
|
6
|
+
:banco_do_brasil => "15",
|
7
|
+
:banco_real => "16",
|
8
|
+
:banrisul => "30",
|
9
|
+
:unibanco => "31"
|
5
10
|
}
|
6
11
|
|
7
12
|
MAPPING = {
|
@@ -110,4 +115,4 @@ module Braspag
|
|
110
115
|
"#{@connection.base_url}/pagador/passthru.asp"
|
111
116
|
end
|
112
117
|
end
|
113
|
-
end
|
118
|
+
end
|
data/lib/rbraspag/version.rb
CHANGED
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.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,12 +14,12 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2011-07-
|
17
|
+
date: 2011-07-15 00:00:00.000000000 -03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: cs-httpi
|
22
|
-
requirement: &
|
22
|
+
requirement: &69406810 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ! '>='
|
@@ -27,10 +27,10 @@ dependencies:
|
|
27
27
|
version: 0.9.5.2
|
28
28
|
type: :runtime
|
29
29
|
prerelease: false
|
30
|
-
version_requirements: *
|
30
|
+
version_requirements: *69406810
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: json
|
33
|
-
requirement: &
|
33
|
+
requirement: &69406600 !ruby/object:Gem::Requirement
|
34
34
|
none: false
|
35
35
|
requirements:
|
36
36
|
- - ! '>='
|
@@ -38,10 +38,10 @@ dependencies:
|
|
38
38
|
version: '0'
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
|
-
version_requirements: *
|
41
|
+
version_requirements: *69406600
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: nokogiri
|
44
|
-
requirement: &
|
44
|
+
requirement: &69378790 !ruby/object:Gem::Requirement
|
45
45
|
none: false
|
46
46
|
requirements:
|
47
47
|
- - ! '>='
|
@@ -49,10 +49,10 @@ dependencies:
|
|
49
49
|
version: '0'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
|
-
version_requirements: *
|
52
|
+
version_requirements: *69378790
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
|
-
requirement: &
|
55
|
+
requirement: &69378570 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ! '>='
|
@@ -60,10 +60,10 @@ dependencies:
|
|
60
60
|
version: '0'
|
61
61
|
type: :development
|
62
62
|
prerelease: false
|
63
|
-
version_requirements: *
|
63
|
+
version_requirements: *69378570
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: fakeweb
|
66
|
-
requirement: &
|
66
|
+
requirement: &69378350 !ruby/object:Gem::Requirement
|
67
67
|
none: false
|
68
68
|
requirements:
|
69
69
|
- - ! '>='
|
@@ -71,10 +71,10 @@ dependencies:
|
|
71
71
|
version: '0'
|
72
72
|
type: :development
|
73
73
|
prerelease: false
|
74
|
-
version_requirements: *
|
74
|
+
version_requirements: *69378350
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: shoulda-matchers
|
77
|
-
requirement: &
|
77
|
+
requirement: &69378120 !ruby/object:Gem::Requirement
|
78
78
|
none: false
|
79
79
|
requirements:
|
80
80
|
- - ! '>='
|
@@ -82,10 +82,10 @@ dependencies:
|
|
82
82
|
version: '0'
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
|
-
version_requirements: *
|
85
|
+
version_requirements: *69378120
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: guard-rspec
|
88
|
-
requirement: &
|
88
|
+
requirement: &69377910 !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
91
|
- - ! '>='
|
@@ -93,10 +93,10 @@ dependencies:
|
|
93
93
|
version: '0'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
|
-
version_requirements: *
|
96
|
+
version_requirements: *69377910
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: guard-bundler
|
99
|
-
requirement: &
|
99
|
+
requirement: &69377680 !ruby/object:Gem::Requirement
|
100
100
|
none: false
|
101
101
|
requirements:
|
102
102
|
- - ! '>='
|
@@ -104,10 +104,10 @@ dependencies:
|
|
104
104
|
version: '0'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
|
-
version_requirements: *
|
107
|
+
version_requirements: *69377680
|
108
108
|
- !ruby/object:Gem::Dependency
|
109
109
|
name: ruby-debug19
|
110
|
-
requirement: &
|
110
|
+
requirement: &69377310 !ruby/object:Gem::Requirement
|
111
111
|
none: false
|
112
112
|
requirements:
|
113
113
|
- - ! '>='
|
@@ -115,7 +115,7 @@ dependencies:
|
|
115
115
|
version: '0'
|
116
116
|
type: :development
|
117
117
|
prerelease: false
|
118
|
-
version_requirements: *
|
118
|
+
version_requirements: *69377310
|
119
119
|
description: rbraspag gem to use Braspag gateway
|
120
120
|
email:
|
121
121
|
- tinorj@gmail.com
|