omniauth-vimeo 1.0.1 → 2.0.2

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
- SHA1:
3
- metadata.gz: eb83a7b1de064eab852a85cc92c679f73b35a859
4
- data.tar.gz: 2e8c732d473b46db12f637ef6b3069a45d430898
2
+ SHA256:
3
+ metadata.gz: d25b6d7989596849b3f645269447686441f3d50f0f57fc2cddbd64a1eea5a232
4
+ data.tar.gz: 792f2edff9fa7486e33e73816db0a74526cc6e2769bf0f9c4c834cb360d5135a
5
5
  SHA512:
6
- metadata.gz: 451bd333ab11121754737c629ff56b1e9c9c5bfffc9190bac119ccfeeab6f01604d83f5ffac3c77620685a00dfc1205cb96b2a4b814dc95e6b8ee2ac55446aab
7
- data.tar.gz: 8907f758508961341b425640950328ed11bceefb9decdf95b1cf0464c13fee720fad6e4f3440d9888580f959ccb8ea20142ece58cb9eb8d4483548f213d9949e
6
+ metadata.gz: 1f6b69652163b2d87342949656e49d6346e485473447bca20eb9c1933d6b277835d52e044ddd72299b0c3a20b01ad64cd84065eca996c5ff9b95ef06e543f0a2
7
+ data.tar.gz: 7d4586fe2293b6ac5de7d735478de4cf262ef849a151cf121726c23c28967ee7d001ed9eacf9cf85df9abded44093294336852e1828985eaaa82e0bdd8d9d6f6
@@ -0,0 +1,35 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 0 * * 0'
6
+ push:
7
+ branches: [ main ]
8
+ pull_request:
9
+ branches: [ main ]
10
+
11
+ jobs:
12
+ test:
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ os: [macos-latest, ubuntu-latest]
17
+ ruby-version: [2.6, 2.7, 3.0]
18
+ runs-on: ${{ matrix.os }}
19
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
20
+ steps:
21
+ - uses: actions/checkout@v2
22
+ - name: Set up Ruby ${{ matrix.ruby-version }}
23
+ uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: ${{ matrix.ruby-version }}
26
+ - name: Build
27
+ run: |
28
+ bundle config --global ignore_messages true
29
+ gem install bundler
30
+ bundle install --jobs 4 --retry 3
31
+ - name: Test
32
+ run: |
33
+ bundle exec rake
34
+ env:
35
+ CI: true
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  .DS_Store
2
+ app/
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.0
@@ -0,0 +1,73 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ education, socio-economic status, nationality, personal appearance, race,
10
+ religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at ich@abwesend.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
data/CONTRIBUTING.md ADDED
@@ -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/Changes.md ADDED
@@ -0,0 +1,41 @@
1
+ 2.0.2 / 2021-10-22
2
+ ==================
3
+ - support for Ruby 3
4
+ - move from TravisCI to GitHub Actions
5
+
6
+ 2.0.0 / 2012-06-23
7
+ ==================
8
+ - implemented new OAuth2 API
9
+ - add travis.yml to test multiple rubies
10
+ - update readme
11
+ - added changelog
12
+
13
+ 1.0.2 / 2012-06-23
14
+ ==================
15
+ - converted specs to expect syntax
16
+ - bump dependencies
17
+
18
+ 1.0.1 / 2013-10-03
19
+ ==================
20
+ - split installation and usage section in Readme
21
+ - added section on how to use permissions
22
+ - added license to gemspec
23
+ - rename perms -> permissions
24
+
25
+ 1.0.0 / 2012-06-23
26
+ ==================
27
+ - Readme change
28
+ - added Travis
29
+ - added Gemnaium
30
+
31
+ 0.0.2 / 2012-05-17
32
+ ==================
33
+ - added Readme
34
+ - added missing multi_json dependency
35
+ - update author info in gemspec
36
+
37
+
38
+ 0.0.1 / 2011-11-08
39
+ ==================
40
+
41
+ - first working version
data/README.md CHANGED
@@ -3,8 +3,13 @@
3
3
  This is an OmniAuth strategy for authenticating to Vimeo. To
4
4
  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
- You can read more about Vimdeo's oauth over at their [developer page](https://developer.vimeo.com/apis/advanced#oauth)
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
 
@@ -40,23 +45,74 @@ Open the following URL and connect your Vimeo account with your application:
40
45
 
41
46
  /auth/vimeo
42
47
 
48
+ ## Sample Auth Hash
49
+ {
50
+ "provider"=>"vimeo",
51
+ "uid"=>5387263,
52
+ "info"=>{
53
+ "id"=>5387263,
54
+ "nickname"=>"beanieboi",
55
+ "name"=>"beanie",
56
+ "bio"=>nil,
57
+ "account"=>"basic",
58
+ "location"=>nil,
59
+ "pictures"=>[
60
+ {
61
+ "type"=>"portrait",
62
+ "width"=>30,
63
+ "height"=>30,
64
+ "link"=>"https://i.vimeocdn.com/portrait/2249717_30x30.jpg"
65
+ },
66
+ {
67
+ "type"=>"portrait",
68
+ "width"=>75,
69
+ "height"=>75,
70
+ "link"=>"https://i.vimeocdn.com/portrait/2249717_75x75.jpg"
71
+ },
72
+ {
73
+ "type"=>"portrait",
74
+ "width"=>100,
75
+ "height"=>100,
76
+ "link"=>"https://i.vimeocdn.com/portrait/2249717_100x100.jpg"
77
+ },
78
+ {
79
+ "type"=>"portrait",
80
+ "width"=>300,
81
+ "height"=>300,
82
+ "link"=>"https://i.vimeocdn.com/portrait/2249717_300x300.jpg"
83
+ }
84
+ ],
85
+ "websites"=>[],
86
+ "content_filter"=>[
87
+ "language",
88
+ "drugs",
89
+ "violence",
90
+ "nudity",
91
+ "safe",
92
+ "unrated"
93
+ ],
94
+ "created_time"=>"2010-12-03T17:57:33+00:00",
95
+ "link"=>"https://vimeo.com/beanieboi",
96
+ "uri"=>"/users/5387263"
97
+ },
98
+ "credentials"=>{
99
+ "token"=>"token",
100
+ "expires"=>false
101
+ },
102
+ "extra"=>{
103
+ "scope"=>"public private"
104
+ }
105
+ }
106
+
43
107
  ## Supported Rubies
44
108
 
45
- OmniAuth Vimeo is tested under 1.8.7, 1.9.2, 1.9.3 and Ruby Enterprise Edition.
109
+ OmniAuth Vimeo is tested under 2.3, 2.4, 2.5, JRuby (head) and Rubinius and ruby-head.
46
110
 
47
111
  [![Build Status](https://secure.travis-ci.org/beanieboi/omniauth-vimeo.png?branch=master)](http://travis-ci.org/beanieboi/omniauth-vimeo)
48
112
 
49
- ## Note on Patches/Pull Requests
50
-
51
- - Fork the project.
52
- - Make your feature addition or bug fix.
53
- - Add tests for it. This is important so I don’t break it in a future version unintentionally.
54
- - 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)
55
- - Send me a pull request. Bonus points for topic branches.
56
-
57
113
  ## License
58
114
 
59
- Copyright (c) 2011 Benjamin Fritsch.
115
+ Copyright (c) 2015 Benjamin Fritsch.
60
116
 
61
117
  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:
62
118
 
@@ -1,53 +1,59 @@
1
- require 'omniauth-oauth'
2
- require 'multi_json'
1
+ require 'omniauth-oauth2'
3
2
 
4
3
  module OmniAuth
5
4
  module Strategies
6
- class Vimeo < OmniAuth::Strategies::OAuth
5
+ class Vimeo < OmniAuth::Strategies::OAuth2
7
6
  option :name, 'vimeo'
8
7
 
9
8
  option :client_options, {
10
- :access_token_path => "/oauth/access_token",
11
- :authorize_path => "/oauth/authorize",
12
- :request_token_path => "/oauth/request_token",
13
- :site => "https://vimeo.com"
9
+ token_url: "/oauth/access_token",
10
+ authorize_url: "/oauth/authorize",
11
+ site: "https://api.vimeo.com"
14
12
  }
15
13
 
16
- uid { user_info['id'] }
14
+ uid { info['id'] }
17
15
 
18
16
  info do
19
17
  {
20
- 'nickname' => user_info['username'],
21
- 'name' => user_info['display_name'],
18
+ 'id' => user_info['uri'].split('/').last.to_i,
19
+ 'nickname' => user_info['link'].split('/').last,
20
+ 'name' => user_info['name'],
21
+ 'bio' => user_info['bio'],
22
+ 'account' => user_info['account'],
22
23
  'location' => user_info['location'],
23
- 'description' => user_info['bio'],
24
- 'image' => user_info['portraits']['portrait'].select{|h| h['height'] == '300'}.first['_content'],
25
- 'urls' => {
26
- 'website' => user_info['url'],
27
- 'vimeo' => user_info['profileurl']
28
- }
24
+ 'pictures' => user_info['pictures'],
25
+ 'websites' => user_info['websites'],
26
+ 'content_filter' => user_info['content_filter'],
27
+ 'created_time' => user_info['created_time'],
28
+ 'link' => user_info['link'],
29
+ 'uri' => user_info['uri'],
29
30
  }
30
31
  end
31
32
 
32
- extra do
33
- {
34
- :raw_info => raw_info
35
- }
33
+ def callback_url
34
+ full_host + script_name + callback_path
36
35
  end
37
36
 
38
37
  def user_info
39
- @user_info ||= raw_info.nil? ? {} : raw_info["person"]
38
+ access_token.params['user']
40
39
  end
41
40
 
42
- def raw_info
43
- @raw_info ||= MultiJson.load(access_token.get('/api/rest/v2?method=vimeo.people.getInfo&format=json').body)
44
- rescue ::Errno::ETIMEDOUT
45
- raise ::Timeout::Error
41
+ credentials do
42
+ _credentials = {'token' => access_token.token}
43
+
44
+ if access_token.expires? && access_token.refresh_token
45
+ _credentials = _credentials.merge('refresh_token' => access_token.refresh_token)
46
+ end
47
+
48
+ if access_token.expires?
49
+ _credentials = _credentials.merge('expires_at' => access_token.expires_at)
50
+ end
51
+
52
+ _credentials.merge!('expires' => access_token.expires?)
46
53
  end
47
54
 
48
- def request_phase
49
- options[:authorize_params] = {:permission => options[:scope]} if options[:scope]
50
- super
55
+ extra do
56
+ { 'scope' => access_token.params['scope'] }
51
57
  end
52
58
  end
53
59
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Vimeo
3
- VERSION = "1.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  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,10 +16,12 @@ 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
 
20
- gem.add_runtime_dependency 'multi_json', '~> 1.3'
21
- gem.add_runtime_dependency 'omniauth-oauth', '~> 1.0'
22
- gem.add_development_dependency "rspec", "~> 2.9"
23
- gem.add_development_dependency 'rake', '~> 0.9'
19
+ gem.required_ruby_version = '>= 2.0'
20
+
21
+ gem.add_dependency 'omniauth-oauth2'
22
+
23
+ gem.add_development_dependency "rspec", "> 3"
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=
26
27
  end
@@ -1,29 +1,25 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe OmniAuth::Strategies::Vimeo do
3
+ RSpec.describe OmniAuth::Strategies::Vimeo do
4
4
  subject do
5
5
  OmniAuth::Strategies::Vimeo.new({})
6
6
  end
7
7
 
8
8
  context "client options" do
9
9
  it 'should have correct name' do
10
- subject.options.name.should eq("vimeo")
10
+ expect(subject.options.name).to eq("vimeo")
11
11
  end
12
12
 
13
- it 'should have correct authorize url' do
14
- subject.options.client_options.authorize_path.should eq('/oauth/authorize')
15
- end
16
-
17
- it 'should have correct request url' do
18
- subject.options.client_options.request_token_path.should eq('/oauth/request_token')
13
+ it 'should have correct token url' do
14
+ expect(subject.options.client_options.token_url).to eq('/oauth/access_token')
19
15
  end
20
16
 
21
- it 'should have correct access url' do
22
- subject.options.client_options.access_token_path.should eq('/oauth/access_token')
17
+ it 'should have correct authorize url' do
18
+ expect(subject.options.client_options.authorize_url).to eq('/oauth/authorize')
23
19
  end
24
20
 
25
21
  it 'should have correct site' do
26
- subject.options.client_options.site.should eq("https://vimeo.com")
22
+ expect(subject.options.client_options.site).to eq("https://api.vimeo.com")
27
23
  end
28
24
  end
29
25
  end
data/spec/spec_helper.rb CHANGED
@@ -4,6 +4,94 @@ require 'rspec'
4
4
  require 'omniauth'
5
5
  require 'omniauth-vimeo'
6
6
 
7
+ # This file was generated by the `rspec --init` command. Conventionally, all
8
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
9
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
10
+ # this file to always be loaded, without a need to explicitly require it in any
11
+ # files.
12
+ #
13
+ # Given that it is always loaded, you are encouraged to keep this file as
14
+ # light-weight as possible. Requiring heavyweight dependencies from this file
15
+ # will add to the boot time of your test suite on EVERY test run, even for an
16
+ # individual file that may not need all of that loaded. Instead, consider making
17
+ # a separate helper file that requires the additional dependencies and performs
18
+ # the additional setup, and require it from the spec files that actually need
19
+ # it.
20
+ #
21
+ # The `.rspec` file also contains a few flags that are not defaults but that
22
+ # users commonly want.
23
+ #
24
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
25
  RSpec.configure do |config|
8
26
  config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
27
+
28
+ # rspec-expectations config goes here. You can use an alternate
29
+ # assertion/expectation library such as wrong or the stdlib/minitest
30
+ # assertions if you prefer.
31
+ config.expect_with :rspec do |expectations|
32
+ # This option will default to `true` in RSpec 4. It makes the `description`
33
+ # and `failure_message` of custom matchers include text for helper methods
34
+ # defined using `chain`, e.g.:
35
+ # be_bigger_than(2).and_smaller_than(4).description
36
+ # # => "be bigger than 2 and smaller than 4"
37
+ # ...rather than:
38
+ # # => "be bigger than 2"
39
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
40
+ end
41
+
42
+ # rspec-mocks config goes here. You can use an alternate test double
43
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
44
+ config.mock_with :rspec do |mocks|
45
+ # Prevents you from mocking or stubbing a method that does not exist on
46
+ # a real object. This is generally recommended, and will default to
47
+ # `true` in RSpec 4.
48
+ mocks.verify_partial_doubles = true
49
+ end
50
+
51
+ # The settings below are suggested to provide a good initial experience
52
+ # with RSpec, but feel free to customize to your heart's content.
53
+ # These two settings work together to allow you to limit a spec run
54
+ # to individual examples or groups you care about by tagging them with
55
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
56
+ # get run.
57
+ config.filter_run :focus
58
+ config.run_all_when_everything_filtered = true
59
+
60
+ # Limits the available syntax to the non-monkey patched syntax that is
61
+ # recommended. For more details, see:
62
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
63
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
64
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
65
+ config.disable_monkey_patching!
66
+
67
+ # This setting enables warnings. It's recommended, but in some cases may
68
+ # be too noisy due to issues in dependencies.
69
+ config.warnings = true
70
+
71
+ # Many RSpec users commonly either run the entire suite or an individual
72
+ # file, and it's useful to allow more verbose output when running an
73
+ # individual spec file.
74
+ if config.files_to_run.one?
75
+ # Use the documentation formatter for detailed output,
76
+ # unless a formatter has already been configured
77
+ # (e.g. via a command-line flag).
78
+ config.default_formatter = 'doc'
79
+ end
80
+
81
+ # Print the 10 slowest examples and example groups at the
82
+ # end of the spec run, to help surface which specs are running
83
+ # particularly slow.
84
+ config.profile_examples = 10
85
+
86
+ # Run specs in random order to surface order dependencies. If you find an
87
+ # order dependency and want to debug it, you can fix the order by providing
88
+ # the seed, which is printed after each run.
89
+ # --seed 1234
90
+ config.order = :random
91
+
92
+ # Seed global randomization in this process using the `--seed` CLI option.
93
+ # Setting this allows you to use `--seed` to deterministically reproduce
94
+ # test failures related to randomization by passing the same `--seed` value
95
+ # as the one that triggered the failure.
96
+ Kernel.srand config.seed
9
97
  end
metadata CHANGED
@@ -1,71 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-vimeo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Fritsch
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-03 00:00:00.000000000 Z
11
+ date: 2021-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: multi_json
14
+ name: omniauth-oauth2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
28
- name: omniauth-oauth
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '1.0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ~>
39
- - !ruby/object:Gem::Version
40
- version: '1.0'
26
+ version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ~>
31
+ - - ">"
46
32
  - !ruby/object:Gem::Version
47
- version: '2.9'
33
+ version: '3'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ~>
38
+ - - ">"
53
39
  - !ruby/object:Gem::Version
54
- version: '2.9'
40
+ version: '3'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ~>
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
- version: '0.9'
47
+ version: '0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
- version: '0.9'
54
+ version: '0'
69
55
  description: OmniAuth strategy for Vimeo
70
56
  email:
71
57
  - beanie@benle.de
@@ -73,7 +59,13 @@ executables: []
73
59
  extensions: []
74
60
  extra_rdoc_files: []
75
61
  files:
76
- - .gitignore
62
+ - ".github/workflows/ruby.yml"
63
+ - ".gitignore"
64
+ - ".rspec"
65
+ - ".ruby-version"
66
+ - CODE_OF_CONDUCT.md
67
+ - CONTRIBUTING.md
68
+ - Changes.md
77
69
  - Gemfile
78
70
  - README.md
79
71
  - Rakefile
@@ -87,24 +79,23 @@ homepage: https://github.com/beanieboi/omniauth-vimeo
87
79
  licenses:
88
80
  - MIT
89
81
  metadata: {}
90
- post_install_message:
82
+ post_install_message:
91
83
  rdoc_options: []
92
84
  require_paths:
93
85
  - lib
94
86
  required_ruby_version: !ruby/object:Gem::Requirement
95
87
  requirements:
96
- - - '>='
88
+ - - ">="
97
89
  - !ruby/object:Gem::Version
98
- version: '0'
90
+ version: '2.0'
99
91
  required_rubygems_version: !ruby/object:Gem::Requirement
100
92
  requirements:
101
- - - '>='
93
+ - - ">="
102
94
  - !ruby/object:Gem::Version
103
95
  version: 1.3.6
104
96
  requirements: []
105
- rubyforge_project:
106
- rubygems_version: 2.0.2
107
- signing_key:
97
+ rubygems_version: 3.2.22
98
+ signing_key:
108
99
  specification_version: 4
109
100
  summary: OmniAuth strategy for Vimeo
110
101
  test_files: