panda_cms 0.2.0 → 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: 4a0b832ae3234611dca00504739648b711dc6383684c07a3fc0a19ef05a7bfda
4
- data.tar.gz: 94d6912e1ae61031190bdce5a94f1ab908332931532429013828500f5b0fa1e2
3
+ metadata.gz: 6e225c732370a1c93ab1d470ca208adefd5877236dbc88a8ee960205cfc0b1f0
4
+ data.tar.gz: 313a38c0e22f25d73d0de5c2345a6c5ebe729ff68aecb7b5dae438beabf03b82
5
5
  SHA512:
6
- metadata.gz: 7e8da5a109084feeb8e60a3dad73625945430c4485af95530d59f7bf97ae6525d30970cb9e21a7a1af3a1cd20f7c9471aac9168bb20873455268329a5db1e9fb
7
- data.tar.gz: 25067bd5eb4b7add13ca3dc2b5ae2cd933971c468e3d83d32d8bbc08c6cccb150407173d16045279d4e73a23098154c8614045e5333f5d2753f393d43094be24
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.0"
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.0
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
@@ -192,6 +192,20 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '1.5'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rails
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '7.1'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '7.1'
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: redcarpet
197
211
  requirement: !ruby/object:Gem::Requirement
@@ -652,20 +666,6 @@ dependencies:
652
666
  - - "~>"
653
667
  - !ruby/object:Gem::Version
654
668
  version: 0.0.16
655
- - !ruby/object:Gem::Dependency
656
- name: rails
657
- requirement: !ruby/object:Gem::Requirement
658
- requirements:
659
- - - "~>"
660
- - !ruby/object:Gem::Version
661
- version: '7.1'
662
- type: :runtime
663
- prerelease: false
664
- version_requirements: !ruby/object:Gem::Requirement
665
- requirements:
666
- - - "~>"
667
- - !ruby/object:Gem::Version
668
- version: '7.1'
669
669
  description:
670
670
  email:
671
671
  - bamboo@pandacms.io