omniauth-line-messenger 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: 79f8458cb7c4306e51a7cbfdc32ec4c30eb266fea5d622b2a32eb9eef3900e43
4
- data.tar.gz: 99e30e6dff57b2ecc094a920270ce98ea6dc6ffc8b96255efd0bed7f077cdd7e
3
+ metadata.gz: b4f633757637917b3e6d0ac631f5ad18d960f149a410eed666f0f5c196664d2f
4
+ data.tar.gz: 5000748d681f6af312ee54e838b5814c1d46b6dd1778062f3c0df0a047ebe7a7
5
5
  SHA512:
6
- metadata.gz: 8339b116425c105f62bc2bd1c93a33ec6487885480972542fbe2de3634002cfaa144c253e8fd3d7e76693fdc8b23482353188485521b60e630120a814c629d1c
7
- data.tar.gz: 92da81f4da46e4ed6d0d268af1af6a7135674f6fef1c71f72432dca71a6be0f6ae047a3a400aecaf58f7022b018513fb62e99ccffe84cb26d98315cb431beaeb
6
+ metadata.gz: 9d02f5821662155b740b8850a62cb6ae24047dcc6767ec5c7f57af7a4f1b3ebbf363ede89be1c641ed4380b29ec40260afa76146482e64d1faee8a7b43422eab
7
+ data.tar.gz: 3061ea877c62726fd42f9ec9d7a9e98e0e290c69fba2e0fb4f1c512b94d1e162ba256df2c8adf7aa851e1c5d6b7b368be283da495df0c58f302176b8d8306607
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  /coverage
2
2
  /coverage/*
3
3
  *.DS_Store
4
+ *.gem
data/README.md CHANGED
@@ -17,7 +17,7 @@ Next, tell OmniAuth about this provider. For a Rails app, your `config/initializ
17
17
  ```ruby
18
18
  # PROFILE permission required!!
19
19
  Rails.application.config.middleware.use OmniAuth::Builder do
20
- provider :line_messenger, "Channel_ID", "Channel_Secret"
20
+ provider :line, "Channel_ID", "Channel_Secret"
21
21
  end
22
22
  ```
23
23
 
@@ -4,7 +4,7 @@ require 'json'
4
4
  module OmniAuth
5
5
  module Strategies
6
6
  class LineMessenger < OmniAuth::Strategies::OAuth2
7
- option :name, 'line_messenger'
7
+ option :name, 'line'
8
8
  option :scope, 'profile openid email'
9
9
 
10
10
  option :client_options, {
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module LineMessenger
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -14,7 +14,7 @@ describe OmniAuth::Strategies::LineMessenger do
14
14
 
15
15
  describe 'client options' do
16
16
  it 'should have correct name' do
17
- expect(subject.options.name).to eq('line_messenger')
17
+ expect(subject.options.name).to eq('line')
18
18
  end
19
19
 
20
20
  it 'should have correct site' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-line-messenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazasiki