dwolla 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +42 -3
- data/dwolla.gemspec +2 -2
- data/lib/dwolla/connection.rb +1 -1
- data/lib/dwolla/response/parse_json.rb +1 -1
- data/lib/dwolla/transaction.rb +4 -1
- data/lib/dwolla/user.rb +6 -2
- data/lib/dwolla/version.rb +1 -1
- data/spec/dwolla/transaction_spec.rb +156 -54
- data/spec/dwolla/user_spec.rb +96 -37
- metadata +21 -21
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
A Dwolla API wrapper in Ruby.
|
4
4
|
|
5
|
+
## Thanks
|
6
|
+
|
7
|
+
This gem was created based on my work at split(able) (http://www.splitable.com) team when integrating with Dwolla.
|
8
|
+
Thanks for all your support guys!
|
9
|
+
|
5
10
|
## Installation
|
6
11
|
|
7
12
|
gem install dwolla
|
@@ -17,7 +22,7 @@ gem install dwolla
|
|
17
22
|
* Transactions Listing
|
18
23
|
* Transactions Details by ID
|
19
24
|
* Transactions Stats
|
20
|
-
* Send and Request Transactions with Other Id types (Facebook, Twitter,
|
25
|
+
* Send and Request Transactions with Other Id types (Facebook, Twitter, or Phone.)
|
21
26
|
|
22
27
|
## Usage
|
23
28
|
|
@@ -73,24 +78,58 @@ gem install dwolla
|
|
73
78
|
|
74
79
|
( Auth Scope Required: send )
|
75
80
|
|
81
|
+
###### To a Dwolla Account
|
82
|
+
|
76
83
|
```ruby
|
77
84
|
user = Dwolla::User.me(ACCESS_TOKEN)
|
78
85
|
other_user_id = '812-111-1111'
|
79
86
|
pin = '1234'
|
80
87
|
amount = 200
|
88
|
+
type = 'dwolla'
|
89
|
+
description = "For that lovely dinner"
|
90
|
+
|
91
|
+
user.send_money_to(other_user_id, amount, pin, type, description)
|
92
|
+
```
|
93
|
+
|
94
|
+
###### To an Email Address
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
user = Dwolla::User.me(ACCESS_TOKEN)
|
98
|
+
other_user_email = 'user@example.com'
|
99
|
+
pin = '1234'
|
100
|
+
amount = 200
|
101
|
+
type = 'email'
|
102
|
+
description = "Just to say thanks"
|
81
103
|
|
82
|
-
user.send_money_to(
|
104
|
+
user.send_money_to(other_user_email, amount, pin, type, description)
|
83
105
|
```
|
84
106
|
|
85
107
|
##### Requesting Money
|
86
108
|
|
87
109
|
( Auth Scope Required: request )
|
88
110
|
|
111
|
+
###### From a Dwolla Account
|
112
|
+
|
89
113
|
```ruby
|
90
114
|
user = Dwolla::User.me(ACCESS_TOKEN)
|
91
115
|
other_user_id = '812-111-1111'
|
92
116
|
pin = '1234'
|
93
117
|
amount = 200
|
118
|
+
type = 'dwolla'
|
119
|
+
description = "Gotta make rent"
|
120
|
+
|
121
|
+
user.request_money_from(other_user_id, amount, pin, type, description)
|
122
|
+
```
|
123
|
+
|
124
|
+
###### From an email address
|
125
|
+
|
126
|
+
```ruby
|
127
|
+
user = Dwolla::User.me(ACCESS_TOKEN)
|
128
|
+
other_user_email = 'user@example.com'
|
129
|
+
pin = '1234'
|
130
|
+
amount = 200
|
131
|
+
type = 'email'
|
132
|
+
description = "Awesome pizza party"
|
94
133
|
|
95
|
-
user.request_money_from(
|
134
|
+
user.request_money_from(other_user_email, amount, pin, type, description)
|
96
135
|
```
|
data/dwolla.gemspec
CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_dependency 'faraday', '
|
22
|
-
s.add_dependency 'multi_json', '
|
21
|
+
s.add_dependency 'faraday', '= 0.7.6'
|
22
|
+
s.add_dependency 'multi_json', '= 1.3.6'
|
23
23
|
|
24
24
|
s.add_development_dependency 'bundler'
|
25
25
|
s.add_development_dependency 'rake'
|
data/lib/dwolla/connection.rb
CHANGED
data/lib/dwolla/transaction.rb
CHANGED
@@ -5,7 +5,7 @@ module Dwolla
|
|
5
5
|
ENDPOINTS = { :send => 'transactions/send',
|
6
6
|
:request => 'transactions/request' }
|
7
7
|
|
8
|
-
attr_accessor :origin, :destination, :type, :amount, :pin, :id, :source
|
8
|
+
attr_accessor :origin, :destination, :destination_type, :type, :amount, :pin, :id, :source, :source_type, :description
|
9
9
|
|
10
10
|
def initialize(attrs = {})
|
11
11
|
attrs.each do |key, value|
|
@@ -29,7 +29,10 @@ module Dwolla
|
|
29
29
|
:pin => pin
|
30
30
|
}
|
31
31
|
payload[:destinationId] = destination if destination
|
32
|
+
payload[:destinationType] = destination_type if destination_type
|
32
33
|
payload[:sourceId] = source if source
|
34
|
+
payload[:sourceType] = source_type if source_type
|
35
|
+
payload[:notes] = description if description
|
33
36
|
|
34
37
|
payload
|
35
38
|
end
|
data/lib/dwolla/user.rb
CHANGED
@@ -45,9 +45,11 @@ module Dwolla
|
|
45
45
|
instances_from_contacts(contacts)
|
46
46
|
end
|
47
47
|
|
48
|
-
def send_money_to(destination, amount, pin)
|
48
|
+
def send_money_to(destination, amount, pin, type='dwolla', description='')
|
49
49
|
transaction = Transaction.new(:origin => self,
|
50
50
|
:destination => destination,
|
51
|
+
:destination_type => type,
|
52
|
+
:description => description,
|
51
53
|
:type => :send,
|
52
54
|
:amount => amount,
|
53
55
|
:pin => pin)
|
@@ -55,9 +57,11 @@ module Dwolla
|
|
55
57
|
transaction.execute
|
56
58
|
end
|
57
59
|
|
58
|
-
def request_money_from(source, amount, pin)
|
60
|
+
def request_money_from(source, amount, pin, source_type='dwolla', description='')
|
59
61
|
transaction = Transaction.new(:origin => self,
|
60
62
|
:source => source,
|
63
|
+
:source_type => source_type,
|
64
|
+
:description => description,
|
61
65
|
:type => :request,
|
62
66
|
:amount => amount,
|
63
67
|
:pin => pin)
|
data/lib/dwolla/version.rb
CHANGED
@@ -2,78 +2,180 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Dwolla::Transaction do
|
4
4
|
describe "send transaction" do
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
context "to a dwolla account" do
|
6
|
+
before do
|
7
|
+
@origin = double(:oauth_token => '1')
|
8
|
+
@destination = '2'
|
9
|
+
@destination_type = "dwolla"
|
10
|
+
@payload = { :amount => 200,
|
11
|
+
:pin => '1234',
|
12
|
+
:destinationId => '2',
|
13
|
+
:destinationType => 'dwolla',
|
14
|
+
:notes => "Sending a transaction",
|
15
|
+
:oauth_token => '1' }
|
8
16
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
17
|
+
stub_post('/transactions/send').with(:body => MultiJson.dump(@payload)).to_return(
|
18
|
+
:body => fixture('send_transaction.json'))
|
19
|
+
end
|
20
|
+
it "should request the correct resource" do
|
21
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
22
|
+
:destination => @destination,
|
23
|
+
:destination_type => @destination_type,
|
24
|
+
:description => "Sending a transaction",
|
25
|
+
:type => :send,
|
26
|
+
:amount => 200,
|
27
|
+
:pin => '1234')
|
28
|
+
transaction.execute
|
13
29
|
|
14
|
-
|
15
|
-
|
16
|
-
|
30
|
+
a_post('/transactions/send').
|
31
|
+
with(:body => MultiJson.dump(@payload)).should have_been_made
|
32
|
+
end
|
17
33
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
34
|
+
it "should fetch the id if transaction succesfull" do
|
35
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
36
|
+
:destination => @destination,
|
37
|
+
:destination_type => @destination_type,
|
38
|
+
:description => "Sending a transaction",
|
39
|
+
:type => :send,
|
40
|
+
:amount => 200,
|
41
|
+
:pin => '1234')
|
25
42
|
|
26
|
-
|
27
|
-
|
43
|
+
transaction.execute.should == 12345
|
44
|
+
transaction.id.should == 12345
|
45
|
+
end
|
28
46
|
end
|
47
|
+
|
48
|
+
context "to an email address" do
|
49
|
+
before do
|
50
|
+
@origin = double(:oauth_token => '1')
|
51
|
+
@destination = "user@example.com"
|
52
|
+
@destination_type = "email"
|
53
|
+
@payload = { :amount => 200,
|
54
|
+
:pin => '1234',
|
55
|
+
:destinationId => 'user@example.com',
|
56
|
+
:destinationType => 'email',
|
57
|
+
:notes => "Sending a transaction",
|
58
|
+
:oauth_token => '1' }
|
59
|
+
stub_post('/transactions/send').with(:body => MultiJson.dump(@payload)).to_return(
|
60
|
+
:body => fixture('send_transaction.json'))
|
61
|
+
end
|
62
|
+
it "should request the correct resource" do
|
63
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
64
|
+
:destination => @destination,
|
65
|
+
:destination_type => @destination_type,
|
66
|
+
:description => "Sending a transaction",
|
67
|
+
:type => :send,
|
68
|
+
:amount => 200,
|
69
|
+
:pin => '1234')
|
70
|
+
|
71
|
+
transaction.execute
|
72
|
+
|
73
|
+
a_post('/transactions/send').
|
74
|
+
with(:body => MultiJson.dump(@payload)).should have_been_made
|
75
|
+
end
|
29
76
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
77
|
+
it "should fetch the id if transaction succesfull" do
|
78
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
79
|
+
:destination => @destination,
|
80
|
+
:destination_type => @destination_type,
|
81
|
+
:description => "Sending a transaction",
|
82
|
+
:type => :send,
|
83
|
+
:amount => 200,
|
84
|
+
:pin => '1234')
|
36
85
|
|
37
|
-
|
38
|
-
|
86
|
+
transaction.execute.should == 12345
|
87
|
+
transaction.id.should == 12345
|
88
|
+
end
|
39
89
|
end
|
90
|
+
|
40
91
|
end
|
41
92
|
|
42
93
|
describe "request transaction" do
|
43
|
-
|
44
|
-
|
45
|
-
|
94
|
+
context "from a dwolla account" do
|
95
|
+
before do
|
96
|
+
@origin = double(:oauth_token => '1')
|
97
|
+
@source = '2'
|
98
|
+
@source_type = 'dwolla'
|
99
|
+
@payload = { :amount => 200,
|
100
|
+
:pin => '1234',
|
101
|
+
:sourceId => '2',
|
102
|
+
:sourceType => 'dwolla',
|
103
|
+
:notes => "Sending a transaction",
|
104
|
+
:oauth_token => '1' }
|
46
105
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
:oauth_token => '1' }
|
106
|
+
stub_post('/transactions/request').with(:body => MultiJson.dump(@payload)).to_return(
|
107
|
+
:body => fixture('request_transaction.json'))
|
108
|
+
end
|
51
109
|
|
52
|
-
|
53
|
-
:
|
54
|
-
|
110
|
+
it "should request the correct resource" do
|
111
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
112
|
+
:source => @source,
|
113
|
+
:source_type => @source_type,
|
114
|
+
:description => "Sending a transaction",
|
115
|
+
:type => :request,
|
116
|
+
:amount => 200,
|
117
|
+
:pin => '1234')
|
118
|
+
transaction.execute
|
55
119
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
:type => :request,
|
60
|
-
:amount => 200,
|
61
|
-
:pin => '1234')
|
62
|
-
transaction.execute
|
120
|
+
a_post('/transactions/request').
|
121
|
+
with(:body => MultiJson.dump(@payload)).should have_been_made
|
122
|
+
end
|
63
123
|
|
64
|
-
|
65
|
-
|
124
|
+
it "should fetch the id if transaction succesfull" do
|
125
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
126
|
+
:source => @source,
|
127
|
+
:source_type => @source_type,
|
128
|
+
:description => "Sending a transaction",
|
129
|
+
:type => :request,
|
130
|
+
:amount => 200,
|
131
|
+
:pin => '1234')
|
132
|
+
|
133
|
+
transaction.execute.should == 12345
|
134
|
+
transaction.id.should == 12345
|
135
|
+
end
|
66
136
|
end
|
137
|
+
context "from an email address" do
|
138
|
+
before do
|
139
|
+
@origin = double(:oauth_token => '1')
|
140
|
+
@source = 'user@example.com'
|
141
|
+
@source_type = "email"
|
142
|
+
@payload = { :amount => 200,
|
143
|
+
:pin => '1234',
|
144
|
+
:sourceId => 'user@example.com',
|
145
|
+
:sourceType => 'email',
|
146
|
+
:notes => "Sending a transaction",
|
147
|
+
:oauth_token => '1' }
|
148
|
+
|
149
|
+
stub_post('/transactions/request').with(:body => MultiJson.dump(@payload)).to_return(
|
150
|
+
:body => fixture('request_transaction.json'))
|
151
|
+
end
|
152
|
+
|
153
|
+
it "should request the correct resource" do
|
154
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
155
|
+
:source => @source,
|
156
|
+
:source_type => @source_type,
|
157
|
+
:description => "Sending a transaction",
|
158
|
+
:type => :request,
|
159
|
+
:amount => 200,
|
160
|
+
:pin => '1234')
|
161
|
+
transaction.execute
|
162
|
+
|
163
|
+
a_post('/transactions/request').
|
164
|
+
with(:body => MultiJson.dump(@payload)).should have_been_made
|
165
|
+
end
|
67
166
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
167
|
+
it "should fetch the id if transaction succesfull" do
|
168
|
+
transaction = Dwolla::Transaction.new(:origin => @origin,
|
169
|
+
:source => @source,
|
170
|
+
:source_type => @source_type,
|
171
|
+
:description => "Sending a transaction",
|
172
|
+
:type => :request,
|
173
|
+
:amount => 200,
|
174
|
+
:pin => '1234')
|
74
175
|
|
75
|
-
|
76
|
-
|
176
|
+
transaction.execute.should == 12345
|
177
|
+
transaction.id.should == 12345
|
178
|
+
end
|
77
179
|
end
|
78
180
|
end
|
79
181
|
end
|
data/spec/dwolla/user_spec.rb
CHANGED
@@ -40,47 +40,106 @@ describe Dwolla::User do
|
|
40
40
|
end
|
41
41
|
|
42
42
|
describe "sending money" do
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
43
|
+
context "to a dwolla account" do
|
44
|
+
it "should make the correct transaction" do
|
45
|
+
user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
|
46
|
+
destination_user = Dwolla::User.new(:id => '2')
|
47
|
+
amount = 10
|
48
|
+
pin = '2222'
|
49
|
+
description = "Sending a transaction"
|
50
|
+
|
51
|
+
|
52
|
+
transaction = double('transaction')
|
53
|
+
transaction_id = 123
|
54
|
+
|
55
|
+
Dwolla::Transaction.should_receive(:new).with(:origin => user,
|
56
|
+
:destination => destination_user,
|
57
|
+
:destination_type => 'dwolla',
|
58
|
+
:description => description,
|
59
|
+
:amount => 10,
|
60
|
+
:type => :send,
|
61
|
+
:pin => '2222').and_return(transaction)
|
62
|
+
|
63
|
+
transaction.should_receive(:execute).and_return(transaction_id)
|
64
|
+
|
65
|
+
user.send_money_to(destination_user, amount, pin, 'dwolla', description).should == 123
|
66
|
+
end
|
67
|
+
end
|
68
|
+
context "to an email address" do
|
69
|
+
it "should make the correct transaction" do
|
70
|
+
user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
|
71
|
+
destination_user = 'user@example.com'
|
72
|
+
description = "Sending a transaction"
|
73
|
+
amount = 10
|
74
|
+
pin = '2222'
|
75
|
+
|
76
|
+
|
77
|
+
transaction = double('transaction')
|
78
|
+
transaction_id = 123
|
79
|
+
|
80
|
+
Dwolla::Transaction.should_receive(:new).with(:origin => user,
|
81
|
+
:destination => destination_user,
|
82
|
+
:destination_type => 'email',
|
83
|
+
:description => description,
|
84
|
+
:amount => 10,
|
85
|
+
:type => :send,
|
86
|
+
:pin => '2222').and_return(transaction)
|
87
|
+
|
88
|
+
transaction.should_receive(:execute).and_return(transaction_id)
|
89
|
+
|
90
|
+
user.send_money_to(destination_user, amount, pin, 'email', description).should == 123
|
91
|
+
end
|
62
92
|
end
|
63
93
|
end
|
64
94
|
|
65
95
|
describe "requesting money" do
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
96
|
+
context "from a dwolla account" do
|
97
|
+
it "should make the correct transaction" do
|
98
|
+
user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
|
99
|
+
source_user_id = '2'
|
100
|
+
amount = 10
|
101
|
+
pin = '2222'
|
102
|
+
description = "Sending a transaction"
|
103
|
+
|
104
|
+
transaction = double('transaction')
|
105
|
+
transaction_id = 123
|
106
|
+
|
107
|
+
Dwolla::Transaction.should_receive(:new).with(:origin => user,
|
108
|
+
:source => source_user_id,
|
109
|
+
:source_type => 'dwolla',
|
110
|
+
:description => description,
|
111
|
+
:amount => 10,
|
112
|
+
:type => :request,
|
113
|
+
:pin => '2222').and_return(transaction)
|
114
|
+
|
115
|
+
transaction.should_receive(:execute).and_return(transaction_id)
|
116
|
+
|
117
|
+
user.request_money_from(source_user_id, amount, pin, 'dwolla', description).should == 123
|
118
|
+
end
|
119
|
+
end
|
120
|
+
context "from an email address" do
|
121
|
+
it "should make the correct transaction" do
|
122
|
+
user = Dwolla::User.new(:oauth_token => '12345', :id => '1')
|
123
|
+
source_user_id = 'user@example.com'
|
124
|
+
amount = 10
|
125
|
+
pin = '2222'
|
126
|
+
description = "Sending a transaction"
|
127
|
+
|
128
|
+
transaction = double('transaction')
|
129
|
+
transaction_id = 123
|
130
|
+
|
131
|
+
Dwolla::Transaction.should_receive(:new).with(:origin => user,
|
132
|
+
:source => source_user_id,
|
133
|
+
:source_type => 'email',
|
134
|
+
:description => description,
|
135
|
+
:amount => 10,
|
136
|
+
:type => :request,
|
137
|
+
:pin => '2222').and_return(transaction)
|
138
|
+
|
139
|
+
transaction.should_receive(:execute).and_return(transaction_id)
|
140
|
+
|
141
|
+
user.request_money_from(source_user_id, amount, pin, 'email', description).should == 123
|
142
|
+
end
|
84
143
|
end
|
85
144
|
end
|
86
145
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dwolla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02
|
12
|
+
date: 2012-06-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
|
-
requirement: &
|
16
|
+
requirement: &2151861720 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 0.7.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2151861720
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: multi_json
|
27
|
-
requirement: &
|
27
|
+
requirement: &2151860280 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - =
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 1.3.6
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2151860280
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &2151859060 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2151859060
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
|
-
requirement: &
|
49
|
+
requirement: &2151858220 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2151858220
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &2151856900 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2151856900
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
|
-
requirement: &
|
71
|
+
requirement: &2151853620 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2151853620
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
requirement: &
|
82
|
+
requirement: &2151852520 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2151852520
|
91
91
|
description: A Ruby wrapper for the Dwolla API.
|
92
92
|
email:
|
93
93
|
- contato@jefferson.eti.br
|
@@ -137,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
segments:
|
139
139
|
- 0
|
140
|
-
hash:
|
140
|
+
hash: 3194194454049487369
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
142
|
none: false
|
143
143
|
requirements:
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
segments:
|
148
148
|
- 0
|
149
|
-
hash:
|
149
|
+
hash: 3194194454049487369
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project: dwolla
|
152
152
|
rubygems_version: 1.8.10
|