simple_oauth 1.0.0 → 1.0.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 +7 -0
- data/Steepfile +1 -0
- data/lib/simple_oauth/version.rb +1 -1
- data/sig/manifest.yaml +7 -0
- metadata +3 -5
- data/sig/matchdata_ext.rbs +0 -6
- data/sig/openssl_ext.rbs +0 -15
- data/sig/strscan.rbs +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48873a9ac8c602b3dc3d305445c3e44524eee89e876e53222928fdf17902b22b
|
|
4
|
+
data.tar.gz: 166bcb795c1b953adf9c9dfaea2d6c69d8f00ba1bbc2953706ea9e7cca3fa87a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 377164f7799c7e6f330b2ac80fcf144380c270e6a65c40b6fb272e1fca6fd9a52515161f7237a96a3fefd9d6efd03000fd675141fc52f6330fe4daeabd6ee854
|
|
7
|
+
data.tar.gz: 6585353e86aa82b24cb3d08dc41e5ec12162b5866b2e35b25832a1603114cb1472f6323ab503be5ff47d69eedddff63ff136e1726e7e0672b677aaa681a22a52
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.0.1] - 2026-09-30
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
* Ship RBS signatures that leave core and the standard library alone: the gem no longer redeclares `MatchData#[]`, `OpenSSL.secure_compare`, `OpenSSL::PKey::PKey#sign` and `#verify`, or `StringScanner`, so code that loads its signatures through `rbs collection` no longer fails `rbs validate` with a duplicated `MatchData#[]` definition
|
|
6
|
+
* Add `sig/manifest.yaml`, naming the standard libraries the signatures refer to (`json`, `openssl`, `securerandom`, `strscan`, and `uri`), so `rbs collection` loads them for code that depends on the gem
|
|
7
|
+
|
|
1
8
|
## [1.0.0] - 2026-09-12
|
|
2
9
|
|
|
3
10
|
### Changed
|
data/Steepfile
CHANGED
data/lib/simple_oauth/version.rb
CHANGED
data/sig/manifest.yaml
ADDED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_oauth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steve Richert
|
|
@@ -44,15 +44,13 @@ files:
|
|
|
44
44
|
- lib/simple_oauth/signature.rb
|
|
45
45
|
- lib/simple_oauth/version.rb
|
|
46
46
|
- mutant.yml
|
|
47
|
-
- sig/
|
|
48
|
-
- sig/openssl_ext.rbs
|
|
47
|
+
- sig/manifest.yaml
|
|
49
48
|
- sig/simple_oauth.rbs
|
|
50
49
|
- sig/simple_oauth/header/class_methods.rbs
|
|
51
50
|
- sig/simple_oauth/header/params.rbs
|
|
52
51
|
- sig/simple_oauth/oauth2.rbs
|
|
53
52
|
- sig/simple_oauth/parser.rbs
|
|
54
53
|
- sig/simple_oauth/signature.rbs
|
|
55
|
-
- sig/strscan.rbs
|
|
56
54
|
homepage: https://github.com/laserlemon/simple_oauth
|
|
57
55
|
licenses:
|
|
58
56
|
- MIT
|
|
@@ -76,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
76
74
|
- !ruby/object:Gem::Version
|
|
77
75
|
version: '0'
|
|
78
76
|
requirements: []
|
|
79
|
-
rubygems_version: 4.0.
|
|
77
|
+
rubygems_version: 4.0.22
|
|
80
78
|
specification_version: 4
|
|
81
79
|
summary: Simply builds and verifies OAuth 1.0 headers and builds OAuth 2.0 requests
|
|
82
80
|
test_files: []
|
data/sig/matchdata_ext.rbs
DELETED
data/sig/openssl_ext.rbs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Extensions to OpenSSL types
|
|
2
|
-
module OpenSSL
|
|
3
|
-
# Compare two strings in constant time
|
|
4
|
-
def self.secure_compare: (String a, String b) -> bool
|
|
5
|
-
|
|
6
|
-
module PKey
|
|
7
|
-
class PKey
|
|
8
|
-
# Sign with digest name as String (in addition to Digest object)
|
|
9
|
-
def sign: (String | OpenSSL::Digest digest, String data) -> String
|
|
10
|
-
|
|
11
|
-
# Verify with digest name as String (in addition to Digest object)
|
|
12
|
-
def verify: (String | OpenSSL::Digest digest, String signature, String data) -> bool
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
data/sig/strscan.rbs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# Minimal StringScanner type declarations for simple_oauth
|
|
2
|
-
class StringScanner
|
|
3
|
-
def initialize: (String string) -> void
|
|
4
|
-
def scan: (Regexp pattern) -> String?
|
|
5
|
-
def eos?: () -> bool
|
|
6
|
-
def rest: () -> String
|
|
7
|
-
def pos: () -> Integer
|
|
8
|
-
def []: (Integer index) -> String?
|
|
9
|
-
end
|