rodauth-oauth 0.10.1 → 0.10.2

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: 9a8ec41b29b514398bc764c53190df1b832387e1c392dd4c03988ffc16bdf0c5
4
- data.tar.gz: 565c9ebb6871cd7a36b2ddf549cd368c509bce9303fb308cda4620d96a191647
3
+ metadata.gz: ec0cd919b0135e453bd429e8982e883897b83c9ab068add6270afaf2cd1272d1
4
+ data.tar.gz: fd5f30a1a2a64457a1ca44e19a4af172494a0b9ac03935e4850ad7320eadcb1b
5
5
  SHA512:
6
- metadata.gz: 724c9d6bf98689b63f1919ea9e513907c784152b7a164797e152f6cf5c9bacf19364bf8ea0df8dd3b03f281f2190eaafb0927d70d040e1c636eea8e7a4846269
7
- data.tar.gz: f89c6dea666c7bfe2b8722d84cbc04cf38c42dc9827df4ec05596d490dc73cbd0f1ac3e57adf358a564dc37ef774f913df383192ee63771a91a6cdc454d35c4e
6
+ metadata.gz: 13c1127f8084dc782bcd6fa58da37e3b94976809ebf71be93487bc1a87d23d8f494fa66298465219b027fb93ef648b9c73da98289e07ce0d6cc98ff48d8d9023
7
+ data.tar.gz: 2f065eda1c8084e31fc879badb9d6309ea0fb30a24520d8276afccc8dfcfc3480d3d3400c8c1b600a81f5b8884609688b4b4aeab19b955ea5eb45f866aba8ab7
@@ -0,0 +1,5 @@
1
+ ### 0.10.2 (11/08/2022)
2
+
3
+ #### Bugfixes
4
+
5
+ * application description colum null-constraint was still set to false in most scripts and migration cookbooks, although it's not a mandatory requirement anymore.
@@ -4,7 +4,7 @@ class CreateRodauthOauth < ActiveRecord::Migration<%= migration_version %>
4
4
  t.integer :account_id
5
5
  t.foreign_key :accounts, column: :account_id
6
6
  t.string :name, null: false
7
- t.string :description, null: false
7
+ t.string :description, null: true
8
8
  t.string :homepage_url, null: false
9
9
  t.string :redirect_uri, null: false
10
10
  t.string :client_id, null: false, index: { unique: true }
@@ -15,8 +15,6 @@ module Rodauth
15
15
  view "new_oauth_application", "New Oauth Application", "new_oauth_application"
16
16
  view "oauth_application_oauth_tokens", "Oauth Application Tokens", "oauth_application_oauth_tokens"
17
17
 
18
- auth_value_method :oauth_valid_uri_schemes, %w[https]
19
-
20
18
  # Application
21
19
  APPLICATION_REQUIRED_PARAMS = %w[name scopes homepage_url redirect_uri client_secret].freeze
22
20
  auth_value_method :oauth_application_required_params, APPLICATION_REQUIRED_PARAMS
@@ -33,6 +33,7 @@ module Rodauth
33
33
  auth_value_method :oauth_response_mode, "query"
34
34
  auth_value_method :oauth_auth_methods_supported, %w[client_secret_basic client_secret_post]
35
35
 
36
+ auth_value_method :oauth_valid_uri_schemes, %w[https]
36
37
  auth_value_method :oauth_scope_separator, " "
37
38
 
38
39
  auth_value_method :oauth_tokens_table, :oauth_tokens
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rodauth
4
4
  module OAuth
5
- VERSION = "0.10.1"
5
+ VERSION = "0.10.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth-oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rodauth
@@ -41,6 +41,7 @@ extra_rdoc_files:
41
41
  - doc/release_notes/0_0_6.md
42
42
  - doc/release_notes/0_10_0.md
43
43
  - doc/release_notes/0_10_1.md
44
+ - doc/release_notes/0_10_2.md
44
45
  - doc/release_notes/0_1_0.md
45
46
  - doc/release_notes/0_2_0.md
46
47
  - doc/release_notes/0_3_0.md
@@ -74,6 +75,7 @@ files:
74
75
  - doc/release_notes/0_0_6.md
75
76
  - doc/release_notes/0_10_0.md
76
77
  - doc/release_notes/0_10_1.md
78
+ - doc/release_notes/0_10_2.md
77
79
  - doc/release_notes/0_1_0.md
78
80
  - doc/release_notes/0_2_0.md
79
81
  - doc/release_notes/0_3_0.md