omniauth-vimeo 2.0.0 → 2.0.1

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: d223d102e7685cd4248fcbd3b5d82033308fd966
4
- data.tar.gz: 8ca22cdc93c1b36053114a8532f9c18f25b273a0
3
+ metadata.gz: 696c75009b5957f36a737b949c804af1d53401e8
4
+ data.tar.gz: 0c3278f10b5c07ed42b87643520844190303e62a
5
5
  SHA512:
6
- metadata.gz: 8276da39d9d593641775f4eff458659c366451acb80e6feb482a9be4acf5511b2e753c3a35b72e6f8e0e5751582ee02511c0a57e1b0a133e7dea23bc223d28d0
7
- data.tar.gz: 685bb33b85a1c7b5d09d12ff7eb2f6db1608238c37e3d8e659cdd071de9744238964245ad021e091ce3592503e010bf6087d519146084c44f084dad132267f80
6
+ metadata.gz: 98316c9c0d7f4fb5a87116c5b401a35a65a33c6d36b052dfd6c9fcb3349b98d7db1cb11711022055999e88d122456424f4263ba2078e0d57122da93701a1f035
7
+ data.tar.gz: 0071eec603f58418348d2e9e1482ca13c1a00959687feb4561d45089980d4e144747f1aab808ade244e08fcf50bc7ea2a1edd44cbcc9d6ab75bba7a3ecfee8bf
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
@@ -0,0 +1,42 @@
1
+ # Contributing
2
+ In the spirit of [free software][free-sw], **everyone** is encouraged to help
3
+ improve this project.
4
+
5
+ [free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
6
+
7
+ Here are some ways *you* can contribute:
8
+
9
+ * by using alpha, beta, and prerelease versions
10
+ * by reporting bugs
11
+ * by suggesting new features
12
+ * by writing or editing documentation
13
+ * by writing specifications
14
+ * by writing code ( **no patch is too small** : fix typos, add comments, clean up inconsistent whitespace )
15
+ * by refactoring code
16
+ * by closing [issues][]
17
+ * by reviewing patches
18
+
19
+ [issues]: https://github.com/beanieboi/omniauth-vimeo/issues
20
+
21
+ ## Submitting an Issue
22
+ We use the [GitHub issue tracker][issues] to track bugs and features. Before
23
+ submitting a bug report or feature request, check to make sure it hasn't
24
+ already been submitted. When submitting a bug report, please include a [Gist][]
25
+ that includes a stack trace and any details that may be necessary to reproduce
26
+ the bug, including your gem version, Ruby version, and operating system.
27
+ Ideally, a bug report should include a pull request with failing specs.
28
+
29
+ [gist]: https://gist.github.com/
30
+
31
+ ## Submitting a Pull Request
32
+ 1. [Fork the repository.][fork]
33
+ 2. [Create a topic branch.][branch]
34
+ 3. Implement your feature or bug fix.
35
+ 4. Add, commit, and push your changes.
36
+ 5. [Submit a pull request.][pr]
37
+
38
+ [fork]: http://help.github.com/fork-a-repo/
39
+ [branch]: http://learn.github.com/p/branching.html
40
+ [pr]: http://help.github.com/send-pull-requests/
41
+
42
+ This file was taken from https://github.com/middleman/middleman-heroku/blob/master/CONTRIBUTING.md
data/README.md CHANGED
@@ -5,6 +5,11 @@ use it, you'll need to sign up for an OAuth Application ID and Secret
5
5
  on the [Vimeo Applications Page](https://developer.vimeo.com/apps).
6
6
  You can read more about Vimdeo's OAuth over at their [developer page](https://developer.vimeo.com/api/authentication)
7
7
 
8
+ ## Contributing
9
+
10
+ see [CONTRIBUTING.md][contributing]
11
+
12
+ [contributing]: https://github.com/beanieboi/omniauth-vimeo/blob/master/CONTRIBUTING.md
8
13
 
9
14
  ## Installation
10
15
 
@@ -105,14 +110,6 @@ OmniAuth Vimeo is tested under 2.0 and above
105
110
 
106
111
  [![Build Status](https://secure.travis-ci.org/beanieboi/omniauth-vimeo.png?branch=master)](http://travis-ci.org/beanieboi/omniauth-vimeo)
107
112
 
108
- ## Note on Patches/Pull Requests
109
-
110
- - Fork the project.
111
- - Make your feature addition or bug fix.
112
- - Add tests for it. This is important so I don’t break it in a future version unintentionally.
113
- - Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
114
- - Send me a pull request. Bonus points for topic branches.
115
-
116
113
  ## License
117
114
 
118
115
  Copyright (c) 2015 Benjamin Fritsch.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Vimeo
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
@@ -30,6 +30,10 @@ module OmniAuth
30
30
  }
31
31
  end
32
32
 
33
+ def callback_url
34
+ full_host + script_name + callback_path
35
+ end
36
+
33
37
  def user_info
34
38
  access_token.params['user']
35
39
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  $:.push File.expand_path("../lib", __FILE__)
3
2
  require "omniauth-vimeo/version"
4
3
 
@@ -17,9 +16,11 @@ Gem::Specification.new do |gem|
17
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
17
  gem.require_paths = ["lib"]
19
18
 
19
+ gem.required_ruby_version = '~> 2.0'
20
+
20
21
  gem.add_dependency 'omniauth-oauth2'
21
22
 
22
- gem.add_development_dependency "rspec", "~> 3"
23
+ gem.add_development_dependency "rspec", "> 3"
23
24
  gem.add_development_dependency 'rake'
24
25
 
25
26
  gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if gem.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-vimeo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Fritsch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-21 00:00:00.000000000 Z
11
+ date: 2016-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3'
41
41
  - !ruby/object:Gem::Dependency
@@ -63,6 +63,8 @@ files:
63
63
  - ".rspec"
64
64
  - ".ruby-version"
65
65
  - ".travis.yml"
66
+ - CODE_OF_CONDUCT.md
67
+ - CONTRIBUTING.md
66
68
  - Changes.md
67
69
  - Gemfile
68
70
  - README.md
@@ -83,9 +85,9 @@ require_paths:
83
85
  - lib
84
86
  required_ruby_version: !ruby/object:Gem::Requirement
85
87
  requirements:
86
- - - ">="
88
+ - - "~>"
87
89
  - !ruby/object:Gem::Version
88
- version: '0'
90
+ version: '2.0'
89
91
  required_rubygems_version: !ruby/object:Gem::Requirement
90
92
  requirements:
91
93
  - - ">="
@@ -100,3 +102,4 @@ summary: OmniAuth strategy for Vimeo
100
102
  test_files:
101
103
  - spec/omniauth/strategies/vimeo_spec.rb
102
104
  - spec/spec_helper.rb
105
+ has_rdoc: