omniauth-core-logic 1.0.0 → 1.1.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: a0ad55c40dfd2945af94e7ceaaf6fb3e1b40f8c8c3579387ceca7a6aac90ceea
4
- data.tar.gz: f91d60f765469bf266d5b921c826b36728baa7f8dda7cf9bc05c142297b9148e
3
+ metadata.gz: 40dad76a27a348036a91bf5771f32f62114814069fa5be703bd09f08d0171b12
4
+ data.tar.gz: 99b483b11cc54ca68b32d57deebda3243dc5194154b2e62e028e7e312d30433a
5
5
  SHA512:
6
- metadata.gz: '0811b3f1c920870e867e64394148b405d7c765cfb85997c8e18cdd26ad02094676017dd59f1a9a48ebf57d5d126df1a88d7649107a7452513f66cae2d4f41079'
7
- data.tar.gz: a35609a8283c550807bd6a373dedb0dd4ea614bf1e0d03139c1ddae8e1c657dc0be4d95ced8105c8000a5583501e722c24c5034c944d81973c539b005abcc663
6
+ metadata.gz: a02724adf22a60567fc81faae96f1c83fe220dd066e9be16c5434edf4163f60ac543aae7fff98d400eae02bb442b344f0f897090d8a07c57022dac7937427ce0
7
+ data.tar.gz: e6f0d8194a4ed3226503bde0fabd3886adeab981583d68b53669bce45840518dcc3fbe33d9f5451d7e5858d19151facbf0722f12b23df1d35f53f8adeba13d19
data/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ ## [1.1.0] - 2022-11-23
2
+
3
+ ## Updated
4
+
5
+ - Pass client_id and client_secret with token params
6
+
7
+ ## Added
8
+
9
+ - Added CHANGELOG file
10
+
11
+ ## [1.0.0] - 2020-09-15
12
+
13
+ ## Added
14
+
15
+ - Initial Commit
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-core-logic (1.0.0)
4
+ omniauth-core-logic (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module CoreLogic
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
@@ -30,6 +30,10 @@ module OmniAuth
30
30
 
31
31
  # Overrride client to merge in site based on sandbox option
32
32
  def client
33
+ # Merge in client_id and secret
34
+ options.token_params[:client_id] = options.client_id
35
+ options.token_params[:client_secret] = options.client_secret
36
+
33
37
  ::OAuth2::Client.new(
34
38
  options.client_id,
35
39
  options.client_secret,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-core-logic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Realhub Systems
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -77,6 +77,7 @@ files:
77
77
  - ".gitignore"
78
78
  - ".rspec"
79
79
  - ".travis.yml"
80
+ - CHANGELOG.md
80
81
  - CODE_OF_CONDUCT.md
81
82
  - Gemfile
82
83
  - Gemfile.lock
@@ -94,7 +95,7 @@ homepage: https://github.com/realhub/omniauth-core-logic
94
95
  licenses:
95
96
  - MIT
96
97
  metadata: {}
97
- post_install_message:
98
+ post_install_message:
98
99
  rdoc_options: []
99
100
  require_paths:
100
101
  - lib
@@ -109,9 +110,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
110
  - !ruby/object:Gem::Version
110
111
  version: '0'
111
112
  requirements: []
112
- rubyforge_project:
113
+ rubyforge_project:
113
114
  rubygems_version: 2.7.10
114
- signing_key:
115
+ signing_key:
115
116
  specification_version: 4
116
117
  summary: A CoreLogic OAuth2 strategy for OmniAuth
117
118
  test_files: []