omniauth-surveymonkey 0.0.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,14 @@ module OmniAuth
11
11
  :authorize_url => '/oauth/authorize',
12
12
  :token_url => '/oauth/token'
13
13
  }
14
+
15
+ option :authorize_options, [:api_key]
16
+
17
+ def callback_phase
18
+ options[:client_options][:token_url] = "/oauth/token?api_key=#{options[:api_key]}"
19
+ super
20
+ end
21
+
14
22
  end
15
23
  end
16
24
  end
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Surveymonkey
3
- VERSION = "0.0.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-surveymonkey
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
6
+ - 1
7
7
  - 0
8
8
  - 0
9
- - 0
10
- version: 0.0.0
9
+ version: 1.0.0
11
10
  platform: ruby
12
11
  authors:
13
12
  - Kaushik SV
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2013-06-21 00:00:00 +05:30
17
+ date: 2013-11-18 00:00:00 +05:30
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: omniauth
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ~>
28
26
  - !ruby/object:Gem::Version
29
- hash: 15
30
27
  segments:
31
28
  - 1
32
29
  - 0
@@ -37,11 +34,9 @@ dependencies:
37
34
  name: omniauth-oauth2
38
35
  prerelease: false
39
36
  requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
37
  requirements:
42
38
  - - ">="
43
39
  - !ruby/object:Gem::Version
44
- hash: 3
45
40
  segments:
46
41
  - 0
47
42
  version: "0"
@@ -51,11 +46,9 @@ dependencies:
51
46
  name: rspec
52
47
  prerelease: false
53
48
  requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
49
  requirements:
56
50
  - - ~>
57
51
  - !ruby/object:Gem::Version
58
- hash: 25
59
52
  segments:
60
53
  - 1
61
54
  - 3
@@ -67,11 +60,9 @@ dependencies:
67
60
  name: rake
68
61
  prerelease: false
69
62
  requirement: &id004 !ruby/object:Gem::Requirement
70
- none: false
71
63
  requirements:
72
64
  - - ">="
73
65
  - !ruby/object:Gem::Version
74
- hash: 3
75
66
  segments:
76
67
  - 0
77
68
  version: "0"
@@ -109,27 +100,23 @@ rdoc_options: []
109
100
  require_paths:
110
101
  - lib
111
102
  required_ruby_version: !ruby/object:Gem::Requirement
112
- none: false
113
103
  requirements:
114
104
  - - ">="
115
105
  - !ruby/object:Gem::Version
116
- hash: 3
117
106
  segments:
118
107
  - 0
119
108
  version: "0"
120
109
  required_rubygems_version: !ruby/object:Gem::Requirement
121
- none: false
122
110
  requirements:
123
111
  - - ">="
124
112
  - !ruby/object:Gem::Version
125
- hash: 3
126
113
  segments:
127
114
  - 0
128
115
  version: "0"
129
116
  requirements: []
130
117
 
131
118
  rubyforge_project:
132
- rubygems_version: 1.5.3
119
+ rubygems_version: 1.3.6
133
120
  signing_key:
134
121
  specification_version: 3
135
122
  summary: Survemonkey OAuth2 strategy for OmniAuth 1.0.