omniauth-surveymonkey2 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +19 -4
- data/README.md +23 -7
- data/init.rb +1 -1
- data/lib/omniauth-surveymonkey2.rb +1 -0
- data/lib/omniauth/strategies/{surveymonkey.rb → surveymonkey2.rb} +2 -2
- data/lib/omniauth/surveymonkey2.rb +1 -0
- data/lib/omniauth/surveymonkey2/version.rb +5 -0
- data/omniauth-surveymonkey2-0.0.9.gem +0 -0
- data/{omniauth-surveymonkey.gemspec → omniauth-surveymonkey2.gemspec} +5 -5
- data/omniauth-surveymonkey2.rb +1 -0
- data/spec/omniauth/strategies/{surveymonkey_spec.rb → surveymonkey2_spec.rb} +4 -4
- metadata +13 -12
- data/lib/omniauth-surveymonkey.rb +0 -1
- data/lib/omniauth/surveymonkey.rb +0 -1
- data/lib/omniauth/surveymonkey/version.rb +0 -5
- data/omniauth-surveymonkey.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64b2ebe342007ec1f05a49e258bd75bd61ed9562
|
4
|
+
data.tar.gz: 9b117d2cf87c10c26df919dd495a25d54cc39695
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b22e075db2a2032deaeba979efcdcef9b2d3d0f777b8d47784f3143e6bc2dc65c43592bf2abff3d502dde21ec64ccd29a2c0f3a71a59d7e44fdcf8197778c3b8
|
7
|
+
data.tar.gz: 9f70c6a76f1309a99ffa4ed8bda059a9c8f3f69300d1ee7d6b1bd1085f46bbf360e148b1ad02ea138e9949012c437232862c6f41d26e32feecb7c7fc7eb5813d
|
data/LICENSE
CHANGED
@@ -1,7 +1,22 @@
|
|
1
|
-
Copyright (c) 2013
|
1
|
+
Copyright (c) 2013 Chris Beck
|
2
2
|
|
3
|
-
|
3
|
+
MIT License
|
4
4
|
|
5
|
-
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
6
12
|
|
7
|
-
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,13 +1,29 @@
|
|
1
|
-
#
|
1
|
+
# Omniauth::Surveymonkey2
|
2
2
|
|
3
|
-
|
3
|
+
TODO: Write a gem description
|
4
4
|
|
5
|
-
|
5
|
+
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
|
9
|
+
gem 'omniauth-surveymonkey2'
|
10
10
|
|
11
|
-
|
11
|
+
And then execute:
|
12
12
|
|
13
|
-
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install omniauth-surveymonkey2
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/init.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require 'omniauth-
|
1
|
+
require 'omniauth-surveymonkey2'
|
@@ -0,0 +1 @@
|
|
1
|
+
require "omniauth/surveymonkey2"
|
@@ -2,9 +2,9 @@ require 'omniauth/strategies/oauth2'
|
|
2
2
|
|
3
3
|
module OmniAuth
|
4
4
|
module Strategies
|
5
|
-
class
|
5
|
+
class Surveymonkey2 < OmniAuth::Strategies::OAuth2
|
6
6
|
|
7
|
-
option :name, "
|
7
|
+
option :name, "surveymonkey2"
|
8
8
|
|
9
9
|
option :client_options, {
|
10
10
|
:site => "https://api.surveymonkey.com",
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'omniauth/strategies/surveymonkey2'
|
Binary file
|
@@ -1,10 +1,10 @@
|
|
1
|
-
require File.expand_path('../lib/omniauth/
|
1
|
+
require File.expand_path('../lib/omniauth/surveymonkey2/version', __FILE__)
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.add_dependency 'omniauth', '~> 1.0'
|
5
5
|
|
6
|
-
gem.authors = ["
|
7
|
-
gem.email = ["
|
6
|
+
gem.authors = ["Chris Beck"]
|
7
|
+
gem.email = ["chris.beck@me.com"]
|
8
8
|
gem.description = %q{Survemonkey OAuth2 strategy for OmniAuth 1.0}
|
9
9
|
gem.summary = %q{Survemonkey OAuth2 strategy for OmniAuth 1.0.}
|
10
10
|
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = `git ls-files spec/*`.split("\n")
|
14
14
|
gem.name = "omniauth-surveymonkey2"
|
15
15
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version = OmniAuth::
|
17
|
-
gem.homepage = "https://github.com/
|
16
|
+
gem.version = OmniAuth::Surveymonkey2::VERSION
|
17
|
+
gem.homepage = "https://github.com/cbeck/omniauth-surveymonkey2"
|
18
18
|
|
19
19
|
gem.add_runtime_dependency 'omniauth-oauth2'
|
20
20
|
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'omniauth-surveymonkey2'
|
@@ -1,9 +1,9 @@
|
|
1
|
-
require 'omniauth-
|
1
|
+
require 'omniauth-surveymonkey2'
|
2
2
|
|
3
|
-
describe OmniAuth::Strategies::
|
3
|
+
describe OmniAuth::Strategies::Surveymonkey2 do
|
4
4
|
|
5
5
|
subject do
|
6
|
-
OmniAuth::Strategies::
|
6
|
+
OmniAuth::Strategies::Surveymonkey2.new(nil, {})
|
7
7
|
end
|
8
8
|
|
9
9
|
describe '#client' do
|
@@ -23,7 +23,7 @@ describe OmniAuth::Strategies::Surveymonkey do
|
|
23
23
|
|
24
24
|
describe '#callback_path' do
|
25
25
|
it 'should have the correct callback path' do
|
26
|
-
subject.callback_path.should == ('/auth/
|
26
|
+
subject.callback_path.should == ('/auth/surveymonkey2/callback')
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-surveymonkey2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Chris Beck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
description: Survemonkey OAuth2 strategy for OmniAuth 1.0
|
70
70
|
email:
|
71
|
-
-
|
71
|
+
- chris.beck@me.com
|
72
72
|
executables: []
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
@@ -78,14 +78,15 @@ files:
|
|
78
78
|
- LICENSE
|
79
79
|
- README.md
|
80
80
|
- init.rb
|
81
|
-
- lib/omniauth-
|
82
|
-
- lib/omniauth/strategies/
|
83
|
-
- lib/omniauth/
|
84
|
-
- lib/omniauth/
|
85
|
-
- omniauth-
|
86
|
-
- omniauth-
|
87
|
-
-
|
88
|
-
|
81
|
+
- lib/omniauth-surveymonkey2.rb
|
82
|
+
- lib/omniauth/strategies/surveymonkey2.rb
|
83
|
+
- lib/omniauth/surveymonkey2.rb
|
84
|
+
- lib/omniauth/surveymonkey2/version.rb
|
85
|
+
- omniauth-surveymonkey2-0.0.9.gem
|
86
|
+
- omniauth-surveymonkey2.gemspec
|
87
|
+
- omniauth-surveymonkey2.rb
|
88
|
+
- spec/omniauth/strategies/surveymonkey2_spec.rb
|
89
|
+
homepage: https://github.com/cbeck/omniauth-surveymonkey2
|
89
90
|
licenses: []
|
90
91
|
metadata: {}
|
91
92
|
post_install_message:
|
@@ -109,4 +110,4 @@ signing_key:
|
|
109
110
|
specification_version: 4
|
110
111
|
summary: Survemonkey OAuth2 strategy for OmniAuth 1.0.
|
111
112
|
test_files:
|
112
|
-
- spec/omniauth/strategies/
|
113
|
+
- spec/omniauth/strategies/surveymonkey2_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
require "omniauth/surveymonkey"
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'omniauth/strategies/surveymonkey'
|
data/omniauth-surveymonkey.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'omniauth-surveymonkey'
|