omniauth-dwolla 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,10 +16,13 @@ Then `bundle install`.
16
16
 
17
17
  `OmniAuth::Strategies::Dwolla` is simply a Rack middleware. Read the OmniAuth 1.0 docs for detailed instructions: https://github.com/intridea/omniauth.
18
18
 
19
- Here's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb`:
19
+ Here's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb` and getting a token with scope permissions for full user info, send and request transactions:
20
20
 
21
21
  ```ruby
22
22
  Rails.application.config.middleware.use OmniAuth::Builder do
23
- provider :dwolla, ENV['DWOLLA_KEY'], ENV['DWOLLA_SECRET']
23
+ provider :dwolla, ENV['DWOLLA_KEY'], ENV['DWOLLA_SECRET'], :scope => 'accountinfofull|send|request'
24
24
  end
25
25
  ```
26
+ The :scope param is optional.
27
+
28
+ The default :scope is 'accountinfofull'. It is necessary in order to grab the uid and detailed info for user.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Dwolla
3
- VERSION = "0.0.12"
3
+ VERSION = "0.0.13"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_dependency 'omniauth', '~> 1.0'
22
22
  s.add_dependency 'omniauth-oauth2', '~> 1.0'
23
- s.add_dependency 'dwolla', '>= 0.0.12'
23
+ s.add_dependency 'dwolla', '>= 0.0.13'
24
24
 
25
25
  s.add_development_dependency 'rake'
26
26
  s.add_development_dependency 'rspec', '~> 2.7'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-dwolla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-22 00:00:00.000000000Z
12
+ date: 2012-01-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
16
- requirement: &2166205940 !ruby/object:Gem::Requirement
16
+ requirement: &2156793600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2166205940
24
+ version_requirements: *2156793600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: omniauth-oauth2
27
- requirement: &2166205260 !ruby/object:Gem::Requirement
27
+ requirement: &2156774460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2166205260
35
+ version_requirements: *2156774460
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dwolla
38
- requirement: &2166204800 !ruby/object:Gem::Requirement
38
+ requirement: &2156773420 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.0.12
43
+ version: 0.0.13
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2166204800
46
+ version_requirements: *2156773420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &2166204400 !ruby/object:Gem::Requirement
49
+ requirement: &2156772920 !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: *2166204400
57
+ version_requirements: *2156772920
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec
60
- requirement: &2166203820 !ruby/object:Gem::Requirement
60
+ requirement: &2156772140 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '2.7'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2166203820
68
+ version_requirements: *2156772140
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rack-test
71
- requirement: &2166203300 !ruby/object:Gem::Requirement
71
+ requirement: &2156771500 !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: *2166203300
79
+ version_requirements: *2156771500
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: simplecov
82
- requirement: &2166202840 !ruby/object:Gem::Requirement
82
+ requirement: &2156770720 !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: *2166202840
90
+ version_requirements: *2156770720
91
91
  description: OmniAuth strategy for Dwolla.
92
92
  email:
93
93
  - contato@jefferson.eti.br
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  segments:
122
122
  - 0
123
- hash: -3483138997451871976
123
+ hash: 402301085936081604
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  none: false
126
126
  requirements:
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: -3483138997451871976
132
+ hash: 402301085936081604
133
133
  requirements: []
134
134
  rubyforge_project: omniauth-dwolla
135
135
  rubygems_version: 1.8.10