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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c178f1790c7f1c6288a2abd4c94798f0bc13bc19
4
- data.tar.gz: afa789df2b50fc09c3c9375ab46c0f17bf34d478
3
+ metadata.gz: 64b2ebe342007ec1f05a49e258bd75bd61ed9562
4
+ data.tar.gz: 9b117d2cf87c10c26df919dd495a25d54cc39695
5
5
  SHA512:
6
- metadata.gz: 1a58a050e36b80a4ca51aca7e419c437f3fb273414352ee6fe18466304fdd1c6650d23d8ab3977af56f4622b240b30a1efe9050aeac30f9f839229a62c0ee3bf
7
- data.tar.gz: 5eb4475a8d4fca6602f55f338019e9c37c57c7b573947ba787b0b0bddd2037ee2007a88f096992643e676d4e56ca58c81b912bd99a4e33780414ea20d97146c4
6
+ metadata.gz: b22e075db2a2032deaeba979efcdcef9b2d3d0f777b8d47784f3143e6bc2dc65c43592bf2abff3d502dde21ec64ccd29a2c0f3a71a59d7e44fdcf8197778c3b8
7
+ data.tar.gz: 9f70c6a76f1309a99ffa4ed8bda059a9c8f3f69300d1ee7d6b1bd1085f46bbf360e148b1ad02ea138e9949012c437232862c6f41d26e32feecb7c7fc7eb5813d
data/LICENSE CHANGED
@@ -1,7 +1,22 @@
1
- Copyright (c) 2013 Kaushik SV
1
+ Copyright (c) 2013 Chris Beck
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3
+ MIT License
4
4
 
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
- #Surveymonkey Strategy
1
+ # Omniauth::Surveymonkey2
2
2
 
3
- SurveyMonkey OAuth2 strategy for OmniAuth 1.0.
3
+ TODO: Write a gem description
4
4
 
5
- #License
5
+ ## Installation
6
6
 
7
- Copyright (c) 2013 Kaushik SV
7
+ Add this line to your application's Gemfile:
8
8
 
9
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
+ gem 'omniauth-surveymonkey2'
10
10
 
11
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
+ And then execute:
12
12
 
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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-surveymonkey'
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 Surveymonkey < OmniAuth::Strategies::OAuth2
5
+ class Surveymonkey2 < OmniAuth::Strategies::OAuth2
6
6
 
7
- option :name, "surveymonkey"
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'
@@ -0,0 +1,5 @@
1
+ module OmniAuth
2
+ module Surveymonkey2
3
+ VERSION = "0.0.10"
4
+ end
5
+ end
Binary file
@@ -1,10 +1,10 @@
1
- require File.expand_path('../lib/omniauth/surveymonkey/version', __FILE__)
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 = ["Kaushik SV"]
7
- gem.email = ["speak2kaushik@gmail.com"]
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::Surveymonkey::VERSION
17
- gem.homepage = "https://github.com/kaushiksv/omniauth-surveymonkey"
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-surveymonkey'
1
+ require 'omniauth-surveymonkey2'
2
2
 
3
- describe OmniAuth::Strategies::Surveymonkey do
3
+ describe OmniAuth::Strategies::Surveymonkey2 do
4
4
 
5
5
  subject do
6
- OmniAuth::Strategies::Surveymonkey.new(nil, {})
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/surveymonkey/callback')
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
- - Kaushik SV
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
- - speak2kaushik@gmail.com
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-surveymonkey.rb
82
- - lib/omniauth/strategies/surveymonkey.rb
83
- - lib/omniauth/surveymonkey.rb
84
- - lib/omniauth/surveymonkey/version.rb
85
- - omniauth-surveymonkey.gemspec
86
- - omniauth-surveymonkey.rb
87
- - spec/omniauth/strategies/surveymonkey_spec.rb
88
- homepage: https://github.com/kaushiksv/omniauth-surveymonkey
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/surveymonkey_spec.rb
113
+ - spec/omniauth/strategies/surveymonkey2_spec.rb
@@ -1 +0,0 @@
1
- require "omniauth/surveymonkey"
@@ -1 +0,0 @@
1
- require 'omniauth/strategies/surveymonkey'
@@ -1,5 +0,0 @@
1
- module OmniAuth
2
- module Surveymonkey
3
- VERSION = "0.0.9"
4
- end
5
- end
@@ -1 +0,0 @@
1
- require 'omniauth-surveymonkey'