jwtear 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +2 -14
- data/Gemfile.lock +39 -42
- data/jwtear.gemspec +4 -4
- data/lib/jwtear/helpers/utils.rb +1 -1
- data/lib/jwtear/version.rb +1 -1
- data/plugins/wiki.rb +1 -1
- metadata +17 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2681c86bec09d95803c8051feae4f7a647f2fda293425c5b01c25e8d7b97977b
|
4
|
+
data.tar.gz: 20db1a8f7aea19fe20e96d736e0df7b83626e73c9cf7df8e9033fbe55f9459ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c40cce0192a37fc2924799597d584a891a192c81f31376f02edf24f944c22378eb253e799569fce6ea6e2926e7c15af3e5acb5672d6470f7e355f6179eb3f1
|
7
|
+
data.tar.gz: ca85ee1cb1b2a6a1ea6267b0a952bf5586fbf92d215069d5739d5642bf80a5456849be75ea9205869249a7cb4ee15fa94a109f4321a1dcb2cead8b790bf293bf
|
@@ -1,4 +1,4 @@
|
|
1
|
-
name:
|
1
|
+
name: Push2RubyGems
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
@@ -18,18 +18,6 @@ jobs:
|
|
18
18
|
with:
|
19
19
|
ruby-version: 2.6.x
|
20
20
|
|
21
|
-
- name: Publish to GPR
|
22
|
-
run: |
|
23
|
-
mkdir -p $HOME/.gem
|
24
|
-
touch $HOME/.gem/credentials
|
25
|
-
chmod 0600 $HOME/.gem/credentials
|
26
|
-
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
27
|
-
gem build *.gemspec
|
28
|
-
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
29
|
-
env:
|
30
|
-
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
31
|
-
OWNER: ${{ github.repository_owner }}
|
32
|
-
|
33
21
|
- name: Publish to RubyGems
|
34
22
|
run: |
|
35
23
|
mkdir -p $HOME/.gem
|
@@ -39,4 +27,4 @@ jobs:
|
|
39
27
|
gem build *.gemspec
|
40
28
|
gem push *.gem
|
41
29
|
env:
|
42
|
-
GEM_HOST_API_KEY: "${{secrets.
|
30
|
+
GEM_HOST_API_KEY: "${{secrets.GEM_HOST_API_KEY}}"
|
data/Gemfile.lock
CHANGED
@@ -1,73 +1,70 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jwtear (1.0.
|
4
|
+
jwtear (1.0.7)
|
5
5
|
colorize (~> 0.8.1)
|
6
|
-
gli (~> 2.
|
7
|
-
json-jwt (~> 1.
|
6
|
+
gli (~> 2.20, >= 2.20.0)
|
7
|
+
json-jwt (~> 1.13.0)
|
8
8
|
jwe (~> 0.4.0)
|
9
|
-
tty-markdown (~> 0.
|
10
|
-
tty-pager (~> 0.
|
9
|
+
tty-markdown (~> 0.7.0)
|
10
|
+
tty-pager (~> 0.14.0)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (6.
|
15
|
+
activesupport (6.1.4.1)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
-
i18n (>=
|
18
|
-
minitest (
|
19
|
-
tzinfo (~>
|
20
|
-
zeitwerk (~> 2.
|
17
|
+
i18n (>= 1.6, < 2)
|
18
|
+
minitest (>= 5.1)
|
19
|
+
tzinfo (~> 2.0)
|
20
|
+
zeitwerk (~> 2.3)
|
21
21
|
aes_key_wrap (1.1.0)
|
22
|
-
bindata (2.4.
|
22
|
+
bindata (2.4.10)
|
23
23
|
colorize (0.8.1)
|
24
|
-
concurrent-ruby (1.1.
|
25
|
-
|
26
|
-
|
27
|
-
i18n (1.8.5)
|
24
|
+
concurrent-ruby (1.1.9)
|
25
|
+
gli (2.20.1)
|
26
|
+
i18n (1.8.10)
|
28
27
|
concurrent-ruby (~> 1.0)
|
29
28
|
json-jwt (1.13.0)
|
30
29
|
activesupport (>= 4.2)
|
31
30
|
aes_key_wrap
|
32
31
|
bindata
|
33
32
|
jwe (0.4.0)
|
34
|
-
kramdown (
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
kramdown (2.3.1)
|
34
|
+
rexml
|
35
|
+
minitest (5.14.4)
|
36
|
+
pastel (0.8.0)
|
38
37
|
tty-color (~> 0.5)
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
38
|
+
rexml (3.2.5)
|
39
|
+
rouge (3.26.0)
|
40
|
+
strings (0.2.1)
|
41
|
+
strings-ansi (~> 0.2)
|
42
|
+
unicode-display_width (>= 1.5, < 3.0)
|
43
43
|
unicode_utils (~> 1.4)
|
44
44
|
strings-ansi (0.2.0)
|
45
|
-
thread_safe (0.3.6)
|
46
45
|
tty-color (0.6.0)
|
47
|
-
tty-markdown (0.
|
48
|
-
kramdown (
|
49
|
-
pastel (~> 0.
|
50
|
-
rouge (~> 3.
|
51
|
-
strings (~> 0.
|
52
|
-
tty-color (~> 0.
|
53
|
-
tty-screen (~> 0.
|
54
|
-
tty-pager (0.
|
55
|
-
strings (~> 0.
|
56
|
-
tty-screen (~> 0.
|
57
|
-
tty-which (~> 0.4)
|
46
|
+
tty-markdown (0.7.0)
|
47
|
+
kramdown (>= 1.16.2, < 3.0)
|
48
|
+
pastel (~> 0.8)
|
49
|
+
rouge (~> 3.14)
|
50
|
+
strings (~> 0.2.0)
|
51
|
+
tty-color (~> 0.5)
|
52
|
+
tty-screen (~> 0.8)
|
53
|
+
tty-pager (0.14.0)
|
54
|
+
strings (~> 0.2.0)
|
55
|
+
tty-screen (~> 0.8)
|
58
56
|
tty-screen (0.8.1)
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
unicode-display_width (1.7.0)
|
57
|
+
tzinfo (2.0.4)
|
58
|
+
concurrent-ruby (~> 1.0)
|
59
|
+
unicode-display_width (2.0.0)
|
63
60
|
unicode_utils (1.4.0)
|
64
|
-
zeitwerk (2.4.
|
61
|
+
zeitwerk (2.4.2)
|
65
62
|
|
66
63
|
PLATFORMS
|
67
|
-
|
64
|
+
x86_64-linux
|
68
65
|
|
69
66
|
DEPENDENCIES
|
70
67
|
jwtear!
|
71
68
|
|
72
69
|
BUNDLED WITH
|
73
|
-
2.
|
70
|
+
2.2.25
|
data/jwtear.gemspec
CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = ['jwtear']
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'gli', '~> 2.
|
22
|
-
spec.add_dependency 'json-jwt', '~> 1.
|
21
|
+
spec.add_dependency 'gli', '~> 2.20', '>= 2.20.0'
|
22
|
+
spec.add_dependency 'json-jwt', '~> 1.13.0'
|
23
23
|
spec.add_dependency 'jwe', "~> 0.4.0"
|
24
|
-
spec.add_dependency 'tty-markdown', "~> 0.
|
25
|
-
spec.add_dependency 'tty-pager', "~> 0.
|
24
|
+
spec.add_dependency 'tty-markdown', "~> 0.7.0"
|
25
|
+
spec.add_dependency 'tty-pager', "~> 0.14.0"
|
26
26
|
spec.add_dependency 'colorize', "~> 0.8.1"
|
27
27
|
|
28
28
|
# spec.add_development_dependency('rake', '~> 0.9.2.2')
|
data/lib/jwtear/helpers/utils.rb
CHANGED
data/lib/jwtear/version.rb
CHANGED
data/plugins/wiki.rb
CHANGED
@@ -34,7 +34,7 @@ module JWTear
|
|
34
34
|
require 'open-uri'
|
35
35
|
print_status 'Updating wiki'
|
36
36
|
current_wiki = File.expand_path(File.join(__dir__ , 'wiki', 'README.md'))
|
37
|
-
updated_wiki = open('https://raw.githubusercontent.com/KINGSABRI/jwtear/master/plugins/wiki/README.md').read
|
37
|
+
updated_wiki = URI.open('https://raw.githubusercontent.com/KINGSABRI/jwtear/master/plugins/wiki/README.md').read
|
38
38
|
if File.exists?(current_wiki) && File.writable?(current_wiki)
|
39
39
|
File.write(current_wiki, updated_wiki)
|
40
40
|
else
|
metadata
CHANGED
@@ -1,55 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwtear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- KING SABRI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.19'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
19
|
+
version: 2.20.0
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.20'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '2.19'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
29
|
+
version: 2.20.0
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.20'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json-jwt
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 1.11.0
|
39
|
+
version: 1.13.0
|
43
40
|
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 1.11.0
|
46
|
+
version: 1.13.0
|
53
47
|
- !ruby/object:Gem::Dependency
|
54
48
|
name: jwe
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,28 +64,28 @@ dependencies:
|
|
70
64
|
requirements:
|
71
65
|
- - "~>"
|
72
66
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0.
|
67
|
+
version: 0.7.0
|
74
68
|
type: :runtime
|
75
69
|
prerelease: false
|
76
70
|
version_requirements: !ruby/object:Gem::Requirement
|
77
71
|
requirements:
|
78
72
|
- - "~>"
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.
|
74
|
+
version: 0.7.0
|
81
75
|
- !ruby/object:Gem::Dependency
|
82
76
|
name: tty-pager
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
84
78
|
requirements:
|
85
79
|
- - "~>"
|
86
80
|
- !ruby/object:Gem::Version
|
87
|
-
version: 0.
|
81
|
+
version: 0.14.0
|
88
82
|
type: :runtime
|
89
83
|
prerelease: false
|
90
84
|
version_requirements: !ruby/object:Gem::Requirement
|
91
85
|
requirements:
|
92
86
|
- - "~>"
|
93
87
|
- !ruby/object:Gem::Version
|
94
|
-
version: 0.
|
88
|
+
version: 0.14.0
|
95
89
|
- !ruby/object:Gem::Dependency
|
96
90
|
name: colorize
|
97
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
151
|
- !ruby/object:Gem::Version
|
158
152
|
version: '0'
|
159
153
|
requirements: []
|
160
|
-
rubygems_version: 3.1
|
154
|
+
rubygems_version: 3.0.3.1
|
161
155
|
signing_key:
|
162
156
|
specification_version: 4
|
163
157
|
summary: JWTear, a modular command-line tool to parse, create and manipulate JWT tokens
|