panda_cms 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of panda_cms might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ec7e960f21f42c7ea46034876c0de16d45af1ce06afd0f34da3fcbc281ead37
4
- data.tar.gz: faf9e63b00c6fdcda5432a549cf4f8b74bcdc54227d88390e4565026149b9eb6
3
+ metadata.gz: 6e225c732370a1c93ab1d470ca208adefd5877236dbc88a8ee960205cfc0b1f0
4
+ data.tar.gz: 313a38c0e22f25d73d0de5c2345a6c5ebe729ff68aecb7b5dae438beabf03b82
5
5
  SHA512:
6
- metadata.gz: 7389b2d0e7897ad8f18942e239abc43abf051a62bd0433c8394ea62fea1f99880e41c93844f6a895804e780e1f971ab3247b1ca84c0db1d8cdfd61ad2dbfd93f
7
- data.tar.gz: 3a4c0bfcf05908c620e714c01bfa945a8c660bdcffafb83f91794023fcf8f7430f04bc948f37488b442914c54b562d46223ee9057a95e28567f80ab142816605
6
+ metadata.gz: 1c4f93f37aa438c236172a15d6ed27953f11543eae6e825115b57712441c1790857b325d361f11d8d46249c764cc527ab7719901e5f740ef87ca739954cee19a
7
+ data.tar.gz: debfa39d0fc82d950303db5755095b6639b47253bffc6e88ff479e968d4c2d16c4937007b4834de12394dabc004811ee39ca7dd0ed50714c86c380323bc7eff6
@@ -133,8 +133,9 @@ module PandaCms
133
133
  strategy: :github,
134
134
  defaults: {
135
135
  # Setup at the following URL: https://github.com/settings/applications/new
136
- # In the meantime, as long as you're set to /admin as your login path, you can
137
- # use these for a first login
136
+ # with a callback of
137
+ # In the meantime, as long as you're set to /admin as your login path, and on
138
+ # http://localhost:3000, you can use these for a first login :)
138
139
  client_id: Rails.application.credentials.dig(:github, :client_id) || "Ov23li9k0LpMXtq8FShb",
139
140
  client_secret: Rails.application.credentials.dig(:github, :client_secret) || "659f54cad324a00b19fc4e342cfecc6a0534fa55",
140
141
  name: "github",
@@ -150,13 +151,7 @@ module PandaCms
150
151
  options[:defaults][:path_prefix] = auth_path
151
152
  options[:defaults][:redirect_uri] = "#{PandaCms.url}#{auth_path}/#{provider}#{callback_path}"
152
153
 
153
- provider_config = options[:defaults].merge(PandaCms.authentication[provider].except(
154
- :enabled,
155
- :client_id,
156
- :client_secret,
157
- :create_account_on_first_login,
158
- :create_admin_account_on_first_login
159
- ))
154
+ provider_config = options[:defaults].merge(PandaCms.authentication[provider])
160
155
 
161
156
  Rails.logger.info("Configuring OmniAuth for #{provider} with #{provider_config}")
162
157
 
@@ -1,3 +1,3 @@
1
1
  module PandaCms
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Otaina Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-office-previewer