m2m_keygen 0.4.0 → 0.4.1
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 +4 -4
- data/CHANGELOG.md +10 -4
- data/Gemfile.lock +1 -1
- data/docs/M2mKeygen/Error.html +1 -1
- data/docs/M2mKeygen/ParamsEncoder.html +1 -1
- data/docs/M2mKeygen/RackValidator.html +2 -2
- data/docs/M2mKeygen/Signature.html +1 -1
- data/docs/M2mKeygen/Types.html +1 -1
- data/docs/M2mKeygen.html +2 -2
- data/docs/_index.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/top-level-namespace.html +1 -1
- data/lib/m2m_keygen/rack_validator.rb +1 -1
- data/lib/m2m_keygen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96c064aa20bd3557f28c6d810ecc93aeaafe8dd996e49adf4b6e2c133c5c12b6
|
|
4
|
+
data.tar.gz: 05e56692c0d9616a707eda089e3cbd572f4bd91a85af1e1f83018c1a9be6b0d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 927202b115c6400f8648b567b5ae19e663397764af38033193ccb9736f28b5dda4d4fbbc3804d15a51e2e43f1f713535a442022929698785cb42c849429638b9
|
|
7
|
+
data.tar.gz: 6591b7812cbab9897b28f76cb63c1fc588d66df59d968ba1629ea33ed326c25dc350ad0c086d381618016e16fcb424ddb21c33e01b47df4cee38814b164fa334
|
data/CHANGELOG.md
CHANGED
|
@@ -7,13 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [0.4.
|
|
10
|
+
## [0.4.1] - 2022-09-05
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Loosening RackValidator initialize type.
|
|
15
|
+
|
|
16
|
+
## [0.4.0] - 2022-08-30
|
|
11
17
|
|
|
12
18
|
### Added
|
|
13
19
|
|
|
14
20
|
- Direct validation for `Rack::Request` like objects.
|
|
15
21
|
|
|
16
|
-
## [0.3.0]
|
|
22
|
+
## [0.3.0] - 2022-08-30
|
|
17
23
|
|
|
18
24
|
### Added
|
|
19
25
|
|
|
@@ -25,13 +31,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
25
31
|
- Comprehensive README
|
|
26
32
|
- Added various minimal require
|
|
27
33
|
|
|
28
|
-
## [0.2.1]
|
|
34
|
+
## [0.2.1] - 2022-08-29
|
|
29
35
|
|
|
30
36
|
### Added
|
|
31
37
|
|
|
32
38
|
- Good link to documentation
|
|
33
39
|
|
|
34
|
-
## [0.2.0]
|
|
40
|
+
## [0.2.0] - 2022-08-29
|
|
35
41
|
|
|
36
42
|
### Added
|
|
37
43
|
|
data/Gemfile.lock
CHANGED
data/docs/M2mKeygen/Error.html
CHANGED
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
</div>
|
|
126
126
|
|
|
127
127
|
<div id="footer">
|
|
128
|
-
Generated on
|
|
128
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
129
129
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
130
130
|
0.9.28 (ruby-3.1.2).
|
|
131
131
|
</div>
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
</div>
|
|
312
312
|
|
|
313
313
|
<div id="footer">
|
|
314
|
-
Generated on
|
|
314
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
315
315
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
316
316
|
0.9.28 (ruby-3.1.2).
|
|
317
317
|
</div>
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
<span class='name'>req</span>
|
|
458
458
|
|
|
459
459
|
|
|
460
|
-
<span class='type'>(<tt>
|
|
460
|
+
<span class='type'>(<tt>T.untyped</tt>)</span>
|
|
461
461
|
|
|
462
462
|
|
|
463
463
|
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
</div>
|
|
522
522
|
|
|
523
523
|
<div id="footer">
|
|
524
|
-
Generated on
|
|
524
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
525
525
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
526
526
|
0.9.28 (ruby-3.1.2).
|
|
527
527
|
</div>
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
</div>
|
|
671
671
|
|
|
672
672
|
<div id="footer">
|
|
673
|
-
Generated on
|
|
673
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
674
674
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
675
675
|
0.9.28 (ruby-3.1.2).
|
|
676
676
|
</div>
|
data/docs/M2mKeygen/Types.html
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
</div>
|
|
138
138
|
|
|
139
139
|
<div id="footer">
|
|
140
|
-
Generated on
|
|
140
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
141
141
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
142
142
|
0.9.28 (ruby-3.1.2).
|
|
143
143
|
</div>
|
data/docs/M2mKeygen.html
CHANGED
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
|
|
132
132
|
</div>
|
|
133
133
|
</dt>
|
|
134
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.4.
|
|
134
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.4.1</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
135
135
|
|
|
136
136
|
</dl>
|
|
137
137
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
</div>
|
|
148
148
|
|
|
149
149
|
<div id="footer">
|
|
150
|
-
Generated on
|
|
150
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
151
151
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
152
152
|
0.9.28 (ruby-3.1.2).
|
|
153
153
|
</div>
|
data/docs/_index.html
CHANGED
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
</div>
|
|
173
173
|
|
|
174
174
|
<div id="footer">
|
|
175
|
-
Generated on
|
|
175
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
176
176
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
177
177
|
0.9.28 (ruby-3.1.2).
|
|
178
178
|
</div>
|
data/docs/file.README.html
CHANGED
|
@@ -220,7 +220,7 @@ The receiver will generate the same signature from the HTTP request it has recei
|
|
|
220
220
|
</div></div>
|
|
221
221
|
|
|
222
222
|
<div id="footer">
|
|
223
|
-
Generated on
|
|
223
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
224
224
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
225
225
|
0.9.28 (ruby-3.1.2).
|
|
226
226
|
</div>
|
data/docs/index.html
CHANGED
|
@@ -220,7 +220,7 @@ The receiver will generate the same signature from the HTTP request it has recei
|
|
|
220
220
|
</div></div>
|
|
221
221
|
|
|
222
222
|
<div id="footer">
|
|
223
|
-
Generated on
|
|
223
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
224
224
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
225
225
|
0.9.28 (ruby-3.1.2).
|
|
226
226
|
</div>
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
</div>
|
|
101
101
|
|
|
102
102
|
<div id="footer">
|
|
103
|
-
Generated on
|
|
103
|
+
Generated on Mon Sep 5 14:49:01 2022 by
|
|
104
104
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
105
105
|
0.9.28 (ruby-3.1.2).
|
|
106
106
|
</div>
|
|
@@ -18,7 +18,7 @@ module M2mKeygen
|
|
|
18
18
|
@signature = T.let(Signature.new(secret, algorithm: algorithm), Signature)
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
sig { params(req:
|
|
21
|
+
sig { params(req: T.untyped).returns(T::Boolean) }
|
|
22
22
|
def validate(req)
|
|
23
23
|
# This will cover the case when Rails is used.
|
|
24
24
|
req = Rack::Request.new(req.env)
|
data/lib/m2m_keygen/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: m2m_keygen
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis <Zaratan> Pasin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|