omniauth-frameio 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc9a7e69c9ba57fd1b378aae4a87798a4fe77140ae14dcc298a7eac97bf9ed55
4
- data.tar.gz: 2770022810cd16811182d08e9c03bfe1fd62414a364271a5961311e0b6cf8fb1
3
+ metadata.gz: f361b415a0406128faf58dd76abd063fe30cb0b13404b3eb36bee11b7d0444de
4
+ data.tar.gz: 78a33c6d078de8b6f586b882feeb6449639119aae34e29078963d1b1146a80ab
5
5
  SHA512:
6
- metadata.gz: ab6af1921e295634fac955883b46c9405575f44726793860c5664864abd1979018ea3d2cff019145375059d6a19dc1a918a1e118931ac0eaf1c2e490e5340c42
7
- data.tar.gz: 46a24a29c1464698aead2bef822fe6d2ddf522e9d4ccddbfb221f6ce9e13cce396ae138e448e5709e9733bbf03f03dc396dc22e11eb5a2c9b29f2ce52995223a
6
+ metadata.gz: 69d12e355310726f4100c7b8a45c99e027a39461fe87907f6f8fb6211146a9f791870748f8352718d85f9d153cd86b735d9b503fa9c6c27e0a9c9a1784042239
7
+ data.tar.gz: 1dc9ebe0c873a5ebac2615a1675a89e0b7de142c8ecbcdd61a8ccfb3704dd055de6b5391430db3f5380b803a7bd695765c70b83258350387a95bea16059e75f5
data/CHANGELOG.md CHANGED
@@ -3,3 +3,7 @@
3
3
  ## [0.1.0] - 2024-01-14
4
4
 
5
5
  - Initial release
6
+
7
+ ## [0.2.0] - 2024-01-17
8
+
9
+ - Small fixes and README.md update
data/README.md CHANGED
@@ -1,34 +1,37 @@
1
1
  # Omniauth::Frameio
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/omniauth/frameio`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This gem only extends [omniauth-oauth2](https://github.com/omniauth/omniauth-oauth2) gem by providing specific links to Frame.io auth urls.
6
4
 
7
5
  ## Installation
8
6
 
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
7
  Install the gem and add to the application's Gemfile by executing:
12
8
 
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
9
+ $ bundle add omniauth-frameio
10
+
11
+ Or add the gem to your Gemfile:
12
+
13
+ gem 'omniauth-frameio'
14
14
 
15
15
  If bundler is not being used to manage dependencies, install the gem by executing:
16
16
 
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
17
+ $ gem install omniauth-frameio
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ This Strategy is meant to be used with [Omniauth](https://github.com/omniauth/omniauth) and has been tested and used with [Devise](https://github.com/heartcombo/devise#omniauth)
22
22
 
23
- ## Development
23
+ If using Devise, add this in your Devise.setup in /config/initializers/devise.rb
24
24
 
25
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
25
+ config.omniauth :frameio,
26
+ ENV['FRAME_CLIENT_ID'], # Your app client ID (on Frame.io Oauth app mgmt)
27
+ ENV['FRAME_CLIENT_SECRET'], # Your app client Secret (on Frame.io Oauth app mgmt)
28
+ scope: 'offline' # list of availables scopes to find on Frame.io dev doc
26
29
 
27
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
30
+ Please follow Omniauth & Devise instructions for complete configuration.
28
31
 
29
32
  ## Contributing
30
33
 
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/omniauth-frameio. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/omniauth-frameio/blob/main/CODE_OF_CONDUCT.md).
34
+ Bug reports and pull requests are welcome on GitHub at https://github.com/boxprod/omniauth-frameio. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/boxprod/omniauth-frameio/blob/main/CODE_OF_CONDUCT.md).
32
35
 
33
36
  ## License
34
37
 
@@ -36,4 +39,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
36
39
 
37
40
  ## Code of Conduct
38
41
 
39
- Everyone interacting in the Omniauth::Frameio project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/omniauth-frameio/blob/main/CODE_OF_CONDUCT.md).
42
+ Everyone interacting in the Omniauth::Frameio project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/boxprod/omniauth-frameio/blob/main/CODE_OF_CONDUCT.md).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Frameio
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-frameio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Holl