fb-jwt-auth 0.8.0 → 0.10.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: 765333142445f70bd85522e7183b0f57248891776ac42b0421bed857b3dc234a
4
- data.tar.gz: d248abcd3f5dd390e4e33344c10d758be2607a324b42a0b3e19958a663b76adb
3
+ metadata.gz: ed9da1a34699dba68b928a069b82641d395d29ff171d5fb2943c517d398d0943
4
+ data.tar.gz: 071a02dc91fae8bbe95dc299b98a31a77a551ad9bb303e4cac7cc6d7dd5e6c49
5
5
  SHA512:
6
- metadata.gz: 8f5dee06eec68e3dd47730032292b8d46cad295be9ca9557afd501c4e57dff1335c8e3815a97291023c82820b92d0f822ad6c69ab1b6cdcb138fa8db1d95e133
7
- data.tar.gz: b67bcbe8cc45f5b01a5ad47d50c696a6e63225fa372f37ff893d9047c51038e7598f6c5618761a1b9ac18946234329fdd0248ecf9158e49c3c919a32ff218b39
6
+ metadata.gz: 1aea8a792f3924f17531ba54c937541f61752f7135801bf9a8d26cabc2b1d6254bf088cfa5ad7d8f3a3f36963ef0ad06337e62a8744392829c6805218459b619
7
+ data.tar.gz: 803a6179843a4bae5e7b7bc9f9ce4b539dacc194b54d2ee176a5695ceb65e336c311444f9eb85ad16ff9f7d94a962cbf289cd17a5b2c5a44ac792515d7c8e187
data/.circleci/config.yml CHANGED
@@ -5,7 +5,7 @@ orbs:
5
5
  jobs:
6
6
  test:
7
7
  docker:
8
- - image: cimg/ruby:2.7.5
8
+ - image: cimg/ruby:3.1.3
9
9
  steps:
10
10
  - checkout
11
11
  - run:
@@ -21,7 +21,7 @@ jobs:
21
21
  include_job_number_field: false
22
22
  publish:
23
23
  docker:
24
- - image: cimg/ruby:2.7.5
24
+ - image: cimg/ruby:3.1.3
25
25
  steps:
26
26
  - checkout
27
27
  - run:
@@ -52,8 +52,11 @@ jobs:
52
52
  workflows:
53
53
  commit-workflow:
54
54
  jobs:
55
- - test
55
+ - test:
56
+ context: &moj-forms-context
57
+ - moj-forms
56
58
  - publish:
59
+ context: *moj-forms-context
57
60
  requires:
58
61
  - test
59
62
  filters:
@@ -0,0 +1,15 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "03:00"
8
+ timezone: Europe/London
9
+ open-pull-requests-limit: 10
10
+ reviewers:
11
+ - mattempty
12
+ - njseeto
13
+ - chrispymm
14
+ - H3ll3m4
15
+ - StevenLeighton21
@@ -0,0 +1,49 @@
1
+ name: "CodeQL"
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ '**' ]
8
+ schedule:
9
+ - cron: '43 20 * * 0'
10
+
11
+ jobs:
12
+ analyze:
13
+ name: Analyze
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ actions: read
17
+ contents: read
18
+ security-events: write
19
+
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ language: [ 'ruby' ]
24
+
25
+ steps:
26
+ - name: Checkout repository
27
+ uses: actions/checkout@v2
28
+
29
+ - name: Initialize CodeQL
30
+ uses: github/codeql-action/init@v1
31
+ with:
32
+ languages: ${{ matrix.language }}
33
+
34
+ - name: Autobuild
35
+ uses: github/codeql-action/autobuild@v1
36
+
37
+ # ℹ️ Command-line programs to run using the OS shell.
38
+ # 📚 https://git.io/JvXDl
39
+
40
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
41
+ # and modify them (or add more) to build your code if your project
42
+ # uses a compiled language
43
+
44
+ #- run: |
45
+ # make bootstrap
46
+ # make release
47
+
48
+ - name: Perform CodeQL Analysis
49
+ uses: github/codeql-action/analyze@v1
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
1
+ 3.1.3
data/Changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.10.0
2
+ * Use Ruby 3.1.3
3
+ # 0.9.0
4
+ * Use Ruby 2.7.7
5
+
1
6
  # 0.8.0
2
7
  * Use Ruby 2.7.5
3
8
 
@@ -1,7 +1,7 @@
1
1
  module Fb
2
2
  module Jwt
3
3
  class Auth
4
- VERSION = "0.8.0"
4
+ VERSION = "0.10.0"
5
5
  end
6
6
  end
7
7
  end
data/lib/fb/jwt/auth.rb CHANGED
@@ -105,7 +105,7 @@ module Fb
105
105
 
106
106
  def public_key(attributes)
107
107
  OpenSSL::PKey::RSA.new(
108
- ServiceTokenClient.new(attributes).public_key
108
+ ServiceTokenClient.new(**attributes).public_key
109
109
  )
110
110
  end
111
111
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb-jwt-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Form builder developers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-31 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -60,10 +60,11 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".circleci/config.yml"
63
+ - ".github/dependabot.yml"
64
+ - ".github/workflows/codeql_analysis.yml"
63
65
  - ".gitignore"
64
66
  - ".rspec"
65
67
  - ".ruby-version"
66
- - ".travis.yml"
67
68
  - Changelog.md
68
69
  - Gemfile
69
70
  - LICENSE.txt
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
99
  - !ruby/object:Gem::Version
99
100
  version: '0'
100
101
  requirements: []
101
- rubygems_version: 3.2.32
102
+ rubygems_version: 3.3.26
102
103
  signing_key:
103
104
  specification_version: 4
104
105
  summary: JWT authentication done in form builder team
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.6.3
6
- before_install: gem install bundler -v 2.1.4