pkce 1.0.5 → 2.0.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: 720cd2e1ff54c9777916774e7fb990deea80d3dee88e9693a85147dc4198cdc9
4
- data.tar.gz: f09ea135541061e7dccb72320b07d595d7718a5141018ef9d92352d517f10910
3
+ metadata.gz: f8e1c113a23fdd58ea86ed7473737c77de3a69f205df6ca3f12042222a029957
4
+ data.tar.gz: 2031095e3a7917c36edc0452325712b7c506af6b2c5d3c9ce5f04e0f97974216
5
5
  SHA512:
6
- metadata.gz: 7d80682b3599427d7beefaf06738c44206bf8b8d390a1b355f625ee726e1faf0291cbab51240a303435b335155f445d801366a582ad851d29c2fcd6f79d73cea
7
- data.tar.gz: 535fc10b7169bd6abbab55296528c7d70b1341312d4d67e4602d8c86f864f0407d20dff28a3da5b9e432475339935658ff5ccbba664e4eb317254c7e22b90e51
6
+ metadata.gz: 716c472828bcf8bb8454f60636e693094f34e9d8764e9b80654e2625b7b864fdf302d54adeeebbf7aee29d2a817c99334fc2662dccf82acca5f46fbb62d456b8
7
+ data.tar.gz: d3af1afe6dd5a5e566ff62323b0d0fe89d46f80788ef5161aa5b2840fdfc91ca1c2efab2834853832d632a1aea37cc3b114406ea326a2573dbc6cdbfce908bd8
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -29,11 +29,34 @@ toc::[]
29
29
 
30
30
  == Setup
31
31
 
32
- To set up the project, run:
32
+ To install _with_ security, run:
33
33
 
34
34
  [source,bash]
35
35
  ----
36
- bin/setup
36
+ # 💡 Skip this line if you already have the public certificate installed.
37
+ gem cert --add <(curl --compressed --location https://alchemists.io/gems.pem)
38
+ gem install pkce --trust-policy HighSecurity
39
+ ----
40
+
41
+ To install _without_ security, run:
42
+
43
+ [source,bash]
44
+ ----
45
+ gem install pkce
46
+ ----
47
+
48
+ You can also add the gem directly to your project:
49
+
50
+ [source,bash]
51
+ ----
52
+ bundle add pkce
53
+ ----
54
+
55
+ Once the gem is installed, you only need to require it:
56
+
57
+ [source,ruby]
58
+ ----
59
+ require "pkce"
37
60
  ----
38
61
 
39
62
  == Usage
data/pkce.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "pkce"
5
- spec.version = "1.0.5"
5
+ spec.version = "2.0.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/pkce"
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.2"
25
+ spec.required_ruby_version = "~> 3.3"
26
26
  spec.add_dependency "dry-monads", "~> 1.6"
27
27
 
28
28
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-10-16 00:00:00.000000000 Z
38
+ date: 2024-01-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: dry-monads
@@ -87,14 +87,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '3.2'
90
+ version: '3.3'
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.4.20
97
+ rubygems_version: 3.5.3
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: An OAuth Proof Key for Code Exchange (PKCE) challenge and code verifier.
metadata.gz.sig CHANGED
Binary file