firejwt 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yml +18 -0
- data/.github/workflows/test.yml +0 -12
- data/Gemfile.lock +14 -33
- data/Makefile +2 -2
- data/firejwt.gemspec +1 -1
- data/firejwt.go +1 -1
- data/firejwt_test.go +2 -2
- data/go.mod +1 -1
- data/go.sum +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2ba30384baf7a421ad475e635a354097b6d3f7fa9fbb19551d8d8686bc06c5a
|
4
|
+
data.tar.gz: ef29232ef99cfd4076e2b99826c350c62b06332d21eca83fd72ed60069b6413e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c20c9c61e6e70edfddc428c155f2f14c1810cf3460cba4f90735d7aa09be68c44528ba737ae6038748259dcbc3763366256445e96c9047fe91271babff593196
|
7
|
+
data.tar.gz: 4415e3995f78726cd1ab25920a83dc3468daadc111bd91dec87513374c8013b56d2cce074e66a6f2ab2fdd1856193406b29434e1aa13dc8aa802aba3b7e81637
|
@@ -0,0 +1,18 @@
|
|
1
|
+
name: Lint
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- main
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- main
|
9
|
+
jobs:
|
10
|
+
golangci:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- name: Checkout
|
14
|
+
uses: actions/checkout@v2
|
15
|
+
- name: Run lint
|
16
|
+
uses: golangci/golangci-lint-action@v2
|
17
|
+
with:
|
18
|
+
version: latest
|
data/.github/workflows/test.yml
CHANGED
@@ -13,16 +13,6 @@ jobs:
|
|
13
13
|
matrix:
|
14
14
|
go-version: [1.15.x, 1.16.x]
|
15
15
|
steps:
|
16
|
-
- name: Fetch staticcheck
|
17
|
-
uses: engineerd/configurator@v0.0.6
|
18
|
-
with:
|
19
|
-
name: staticcheck
|
20
|
-
fromGitHubReleases: true
|
21
|
-
repo: dominikh/go-tools
|
22
|
-
version: latest
|
23
|
-
urlTemplate: "https://github.com/dominikh/go-tools/releases/download/2020.2.3/staticcheck_linux_amd64.tar.gz"
|
24
|
-
pathInArchive: staticcheck/staticcheck
|
25
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
26
16
|
- name: Checkout
|
27
17
|
uses: actions/checkout@v2
|
28
18
|
- name: Cache dependencies
|
@@ -38,8 +28,6 @@ jobs:
|
|
38
28
|
go-version: ${{ matrix.go-version }}
|
39
29
|
- name: Run tests
|
40
30
|
run: make test
|
41
|
-
- name: Run staticcheck
|
42
|
-
run: make staticcheck
|
43
31
|
ruby:
|
44
32
|
runs-on: ubuntu-latest
|
45
33
|
strategy:
|
data/Gemfile.lock
CHANGED
@@ -1,37 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
firejwt (0.3.
|
4
|
+
firejwt (0.3.2)
|
5
5
|
jwt
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
12
|
-
i18n (>= 1.6, < 2)
|
13
|
-
minitest (>= 5.1)
|
14
|
-
tzinfo (~> 2.0)
|
15
|
-
zeitwerk (~> 2.3)
|
16
|
-
addressable (2.7.0)
|
10
|
+
addressable (2.8.0)
|
17
11
|
public_suffix (>= 2.0.2, < 5.0)
|
18
12
|
ast (2.4.2)
|
19
|
-
concurrent-ruby (1.1.8)
|
20
13
|
crack (0.4.5)
|
21
14
|
rexml
|
22
15
|
diff-lcs (1.4.4)
|
23
16
|
hashdiff (1.0.1)
|
24
|
-
i18n (1.8.10)
|
25
|
-
concurrent-ruby (~> 1.0)
|
26
17
|
jwt (2.2.3)
|
27
|
-
minitest (5.14.4)
|
28
18
|
parallel (1.20.1)
|
29
|
-
parser (3.0.
|
19
|
+
parser (3.0.2.0)
|
30
20
|
ast (~> 2.4.1)
|
31
21
|
public_suffix (4.0.6)
|
32
|
-
rack (2.2.3)
|
33
22
|
rainbow (3.0.0)
|
34
|
-
rake (13.0.
|
23
|
+
rake (13.0.6)
|
35
24
|
regexp_parser (2.1.1)
|
36
25
|
rexml (3.2.5)
|
37
26
|
rspec (3.10.0)
|
@@ -47,44 +36,36 @@ GEM
|
|
47
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
48
37
|
rspec-support (~> 3.10.0)
|
49
38
|
rspec-support (3.10.2)
|
50
|
-
rubocop (1.
|
39
|
+
rubocop (1.18.4)
|
51
40
|
parallel (~> 1.10)
|
52
41
|
parser (>= 3.0.0.0)
|
53
42
|
rainbow (>= 2.2.2, < 4.0)
|
54
43
|
regexp_parser (>= 1.8, < 3.0)
|
55
44
|
rexml
|
56
|
-
rubocop-ast (>= 1.
|
45
|
+
rubocop-ast (>= 1.8.0, < 2.0)
|
57
46
|
ruby-progressbar (~> 1.7)
|
58
47
|
unicode-display_width (>= 1.4.0, < 3.0)
|
59
|
-
rubocop-ast (1.
|
48
|
+
rubocop-ast (1.8.0)
|
60
49
|
parser (>= 3.0.1.1)
|
61
|
-
rubocop-bsm (0.
|
50
|
+
rubocop-bsm (0.6.0)
|
62
51
|
rubocop (~> 1.0)
|
63
52
|
rubocop-performance
|
64
|
-
rubocop-rails
|
65
53
|
rubocop-rake
|
66
54
|
rubocop-rspec
|
67
|
-
rubocop-performance (1.11.
|
55
|
+
rubocop-performance (1.11.4)
|
68
56
|
rubocop (>= 1.7.0, < 2.0)
|
69
57
|
rubocop-ast (>= 0.4.0)
|
70
|
-
rubocop-
|
71
|
-
|
72
|
-
|
73
|
-
rubocop (>= 0.90.0, < 2.0)
|
74
|
-
rubocop-rake (0.5.1)
|
75
|
-
rubocop
|
76
|
-
rubocop-rspec (2.3.0)
|
58
|
+
rubocop-rake (0.6.0)
|
59
|
+
rubocop (~> 1.0)
|
60
|
+
rubocop-rspec (2.4.0)
|
77
61
|
rubocop (~> 1.0)
|
78
62
|
rubocop-ast (>= 1.1.0)
|
79
63
|
ruby-progressbar (1.11.0)
|
80
|
-
tzinfo (2.0.4)
|
81
|
-
concurrent-ruby (~> 1.0)
|
82
64
|
unicode-display_width (2.0.0)
|
83
|
-
webmock (3.
|
65
|
+
webmock (3.13.0)
|
84
66
|
addressable (>= 2.3.6)
|
85
67
|
crack (>= 0.3.2)
|
86
68
|
hashdiff (>= 0.4.0, < 2.0.0)
|
87
|
-
zeitwerk (2.4.2)
|
88
69
|
|
89
70
|
PLATFORMS
|
90
71
|
ruby
|
@@ -97,4 +78,4 @@ DEPENDENCIES
|
|
97
78
|
webmock
|
98
79
|
|
99
80
|
BUNDLED WITH
|
100
|
-
2.
|
81
|
+
2.2.21
|
data/Makefile
CHANGED
data/firejwt.gemspec
CHANGED
data/firejwt.go
CHANGED
data/firejwt_test.go
CHANGED
@@ -19,7 +19,7 @@ import (
|
|
19
19
|
"github.com/bsm/firejwt"
|
20
20
|
. "github.com/bsm/ginkgo"
|
21
21
|
. "github.com/bsm/gomega"
|
22
|
-
"github.com/
|
22
|
+
"github.com/golang-jwt/jwt"
|
23
23
|
)
|
24
24
|
|
25
25
|
var _ = Describe("Validator", func() {
|
@@ -39,7 +39,7 @@ var _ = Describe("Validator", func() {
|
|
39
39
|
BeforeEach(func() {
|
40
40
|
server = httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
41
41
|
w.Header().Set("expires", "Mon, 20 Jan 2020 23:40:59 GMT")
|
42
|
-
json.NewEncoder(w).Encode(map[string]string{
|
42
|
+
_ = json.NewEncoder(w).Encode(map[string]string{
|
43
43
|
certKID: string(certPEM),
|
44
44
|
})
|
45
45
|
}))
|
data/go.mod
CHANGED
data/go.sum
CHANGED
@@ -2,5 +2,5 @@ github.com/bsm/ginkgo v1.16.1 h1:jp1v1dbmbGZDWmnGXDTN+XK3U1fTTNja9xYa7VBI0l0=
|
|
2
2
|
github.com/bsm/ginkgo v1.16.1/go.mod h1:RabIZLzOCPghgHJKUqHZpqrQETA5AnF4aCSIYy5C1bk=
|
3
3
|
github.com/bsm/gomega v1.11.0 h1:wg9DVGPETNZLIbMsseneMV1a7uo/x+wsCyNXdEcifDI=
|
4
4
|
github.com/bsm/gomega v1.11.0/go.mod h1:JifAceMQ4crZIWYUKrlGcmbN3bqHogVTADMD2ATsbwk=
|
5
|
-
github.com/
|
6
|
-
github.com/
|
5
|
+
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
|
6
|
+
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firejwt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -87,6 +87,7 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- ".github/workflows/lint.yml"
|
90
91
|
- ".github/workflows/test.yml"
|
91
92
|
- ".gitignore"
|
92
93
|
- ".rubocop.yml"
|
@@ -127,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
128
|
- !ruby/object:Gem::Version
|
128
129
|
version: '0'
|
129
130
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.2.15
|
131
132
|
signing_key:
|
132
133
|
specification_version: 4
|
133
134
|
summary: Firebase JWT validation
|