firejwt 0.3.2 → 0.4.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: e2ba30384baf7a421ad475e635a354097b6d3f7fa9fbb19551d8d8686bc06c5a
4
- data.tar.gz: ef29232ef99cfd4076e2b99826c350c62b06332d21eca83fd72ed60069b6413e
3
+ metadata.gz: e5cccf39fd926dfa2cbe9744c9a5a12715c3fa03a2cbaf6bfbd5ae9ef332d0e0
4
+ data.tar.gz: 01c1468c405e86f39e733fdf676ee212bb11191e2416445c2edabc00d2933a00
5
5
  SHA512:
6
- metadata.gz: c20c9c61e6e70edfddc428c155f2f14c1810cf3460cba4f90735d7aa09be68c44528ba737ae6038748259dcbc3763366256445e96c9047fe91271babff593196
7
- data.tar.gz: 4415e3995f78726cd1ab25920a83dc3468daadc111bd91dec87513374c8013b56d2cce074e66a6f2ab2fdd1856193406b29434e1aa13dc8aa802aba3b7e81637
6
+ metadata.gz: 4e9326c3669c09f7b0f7bc82b33e52a36430ad59a5a6d534cb1a0e9763d0ce7393520e1f6f9ab87b52d2941a631fa1d4055898ab2bf28e7e7584f148dbdf1dff
7
+ data.tar.gz: ce68d73e6a08116fb2015f12670959b8b35c9ce70e3ea66e6d33353a7f34134f83cc2fa3965c1ca61989fb7dc47cf8d9784eeb2c54d2a50b4ccc176de97c49d8
@@ -7,11 +7,20 @@ on:
7
7
  branches:
8
8
  - main
9
9
  jobs:
10
+ golint:
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
10
19
  go:
11
20
  runs-on: ubuntu-latest
12
21
  strategy:
13
22
  matrix:
14
- go-version: [1.15.x, 1.16.x]
23
+ go-version: [1.16.x, 1.17.x]
15
24
  steps:
16
25
  - name: Checkout
17
26
  uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- firejwt (0.3.2)
4
+ firejwt (0.4.0)
5
5
  jwt
6
6
 
7
7
  GEM
@@ -14,9 +14,9 @@ GEM
14
14
  rexml
15
15
  diff-lcs (1.4.4)
16
16
  hashdiff (1.0.1)
17
- jwt (2.2.3)
18
- parallel (1.20.1)
19
- parser (3.0.2.0)
17
+ jwt (2.3.0)
18
+ parallel (1.21.0)
19
+ parser (3.0.3.1)
20
20
  ast (~> 2.4.1)
21
21
  public_suffix (4.0.6)
22
22
  rainbow (3.0.0)
@@ -35,35 +35,34 @@ GEM
35
35
  rspec-mocks (3.10.2)
36
36
  diff-lcs (>= 1.2.0, < 2.0)
37
37
  rspec-support (~> 3.10.0)
38
- rspec-support (3.10.2)
39
- rubocop (1.18.4)
38
+ rspec-support (3.10.3)
39
+ rubocop (1.23.0)
40
40
  parallel (~> 1.10)
41
41
  parser (>= 3.0.0.0)
42
42
  rainbow (>= 2.2.2, < 4.0)
43
43
  regexp_parser (>= 1.8, < 3.0)
44
44
  rexml
45
- rubocop-ast (>= 1.8.0, < 2.0)
45
+ rubocop-ast (>= 1.12.0, < 2.0)
46
46
  ruby-progressbar (~> 1.7)
47
47
  unicode-display_width (>= 1.4.0, < 3.0)
48
- rubocop-ast (1.8.0)
48
+ rubocop-ast (1.13.0)
49
49
  parser (>= 3.0.1.1)
50
50
  rubocop-bsm (0.6.0)
51
51
  rubocop (~> 1.0)
52
52
  rubocop-performance
53
53
  rubocop-rake
54
54
  rubocop-rspec
55
- rubocop-performance (1.11.4)
55
+ rubocop-performance (1.12.0)
56
56
  rubocop (>= 1.7.0, < 2.0)
57
57
  rubocop-ast (>= 0.4.0)
58
58
  rubocop-rake (0.6.0)
59
59
  rubocop (~> 1.0)
60
- rubocop-rspec (2.4.0)
61
- rubocop (~> 1.0)
62
- rubocop-ast (>= 1.1.0)
60
+ rubocop-rspec (2.6.0)
61
+ rubocop (~> 1.19)
63
62
  ruby-progressbar (1.11.0)
64
- unicode-display_width (2.0.0)
65
- webmock (3.13.0)
66
- addressable (>= 2.3.6)
63
+ unicode-display_width (2.1.0)
64
+ webmock (3.14.0)
65
+ addressable (>= 2.8.0)
67
66
  crack (>= 0.3.2)
68
67
  hashdiff (>= 0.4.0, < 2.0.0)
69
68
 
@@ -78,4 +77,4 @@ DEPENDENCIES
78
77
  webmock
79
78
 
80
79
  BUNDLED WITH
81
- 2.2.21
80
+ 2.2.32
data/firejwt.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'firejwt'
3
- s.version = '0.3.2'
3
+ s.version = '0.4.0'
4
4
  s.authors = ['Black Square Media Ltd']
5
5
  s.email = ['info@blacksquaremedia.com']
6
6
  s.summary = %(Firebase JWT validation)
@@ -18,4 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_development_dependency 'rspec'
19
19
  s.add_development_dependency 'rubocop-bsm'
20
20
  s.add_development_dependency 'webmock'
21
+ s.metadata = {
22
+ 'rubygems_mfa_required' => 'true',
23
+ }
21
24
  end
data/firejwt.go CHANGED
@@ -13,7 +13,7 @@ import (
13
13
  "sync/atomic"
14
14
  "time"
15
15
 
16
- "github.com/golang-jwt/jwt"
16
+ "github.com/golang-jwt/jwt/v4"
17
17
  )
18
18
 
19
19
  const defaultURL = "https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com"
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/golang-jwt/jwt"
22
+ "github.com/golang-jwt/jwt/v4"
23
23
  )
24
24
 
25
25
  var _ = Describe("Validator", func() {
data/go.mod CHANGED
@@ -1,9 +1,9 @@
1
1
  module github.com/bsm/firejwt
2
2
 
3
- go 1.13
3
+ go 1.16
4
4
 
5
5
  require (
6
6
  github.com/bsm/ginkgo v1.16.1
7
7
  github.com/bsm/gomega v1.11.0
8
- github.com/golang-jwt/jwt v3.2.1+incompatible
8
+ github.com/golang-jwt/jwt/v4 v4.1.0
9
9
  )
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/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=
5
+ github.com/golang-jwt/jwt/v4 v4.1.0 h1:XUgk2Ex5veyVFVeLm0xhusUTQybEbexJXrvPNOKkSY0=
6
+ github.com/golang-jwt/jwt/v4 v4.1.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
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.2
4
+ version: 0.4.0
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-07-27 00:00:00.000000000 Z
11
+ date: 2021-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -87,7 +87,6 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - ".github/workflows/lint.yml"
91
90
  - ".github/workflows/test.yml"
92
91
  - ".gitignore"
93
92
  - ".rubocop.yml"
@@ -112,7 +111,8 @@ files:
112
111
  homepage: https://github.com/bsm/firejwt
113
112
  licenses:
114
113
  - Apache-2.0
115
- metadata: {}
114
+ metadata:
115
+ rubygems_mfa_required: 'true'
116
116
  post_install_message:
117
117
  rdoc_options: []
118
118
  require_paths:
@@ -1,18 +0,0 @@
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