omniauth-linkus 0.1.3 → 1.0.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
  SHA1:
3
- metadata.gz: ecace412c0a391450bcabd51b847c6697714e0b9
4
- data.tar.gz: e4302b1ab7700454d7c89ec44e904e1942dc943c
3
+ metadata.gz: 849bde4552d05dab0ce70c81e559b0a69b76df2e
4
+ data.tar.gz: 26acd02a3c32118615a1f46644fd7be2defe2843
5
5
  SHA512:
6
- metadata.gz: f3bba43093c13a979384c8d5a87dcc4e1d1ee56997bc2f6227c2175883f8b638bf4daa3dca2f70a57ab05e838ad2b84e566fb2765911a09c55afa112901204b7
7
- data.tar.gz: 23b72d27efdb12d9f48a88d6f8c33b22461a2d4d8b7ea3810cb119ba1d0b96e1a1d19a238837107ecf4fb30b95e393835fbd8a7570ac59a73d137bf309429788
6
+ metadata.gz: dccc6ae338de92c3fc4c294711b2ec1ae537ea5f21d4e86da47a96cd7fb8930506ca563718a92ee637c1b7211deef1a1314a9c81e9e792daf14b4991cf389406
7
+ data.tar.gz: 1692f501aed68542457e0b42af5b44ba28b963932e0f8c10f8b686ff794d497b8ef8d30587cca67dc4312f65b757a8194c1b3ea9893678ee066492efb4cde3a5
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
- # Omniauth::Linkus
1
+ # OmniAuth linkus
2
2
 
3
- 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/linkus`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ linkus OAuth2 Strategy for OmniAuth.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,15 +20,13 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/SLP-KBIT/omniauth-linkus.
23
+ It is necessary to start the [linkus](https://github.com/SLP-KBIT/linkus) app.
24
+ And, add to your config/initializers/devise.rb
25
+ ```rb
26
+ config.omniauth :linkus, ENV['LINKUS_APP_ID'], ENV['LINKUS_APP_SECRET'], client_options: {
27
+ site: ENV['LINKUS_URL'],
28
+ authorize_url: ENV['LINKUS_URL'] + '/oauth/authorize',
29
+ token_url: ENV['LINKUS_URL'] + '/oauth/token'
30
+ }
31
+ ```
36
32
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Linkus
3
- VERSION = '0.1.3'
3
+ VERSION = '1.0.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-linkus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shoya TANAKA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler