cased-ruby 0.4.6 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/.ruby-version +1 -1
- data/Gemfile.lock +93 -60
- data/cased-ruby.gemspec +19 -18
- data/lib/cased/cli/asciinema/file.rb +5 -0
- data/lib/cased/cli/interactive_session.rb +8 -2
- data/lib/cased/cli/session.rb +9 -2
- data/lib/cased/config.rb +1 -1
- data/lib/cased/version.rb +1 -1
- data/vendor/cache/activesupport-6.1.4.1.gem +0 -0
- data/vendor/cache/addressable-2.8.0.gem +0 -0
- data/vendor/cache/ast-2.4.2.gem +0 -0
- data/vendor/cache/byebug-11.1.3.gem +0 -0
- data/vendor/cache/concurrent-ruby-1.1.9.gem +0 -0
- data/vendor/cache/connection_pool-2.2.5.gem +0 -0
- data/vendor/cache/crack-0.4.5.gem +0 -0
- data/vendor/cache/docile-1.4.0.gem +0 -0
- data/vendor/cache/faraday-1.7.2.gem +0 -0
- data/vendor/cache/faraday-em_http-1.0.0.gem +0 -0
- data/vendor/cache/faraday-em_synchrony-1.0.0.gem +0 -0
- data/vendor/cache/faraday-excon-1.1.0.gem +0 -0
- data/vendor/cache/faraday-httpclient-1.0.1.gem +0 -0
- data/vendor/cache/faraday-net_http_persistent-1.2.0.gem +0 -0
- data/vendor/cache/faraday-patron-1.0.0.gem +0 -0
- data/vendor/cache/faraday-rack-1.0.0.gem +0 -0
- data/vendor/cache/faraday_middleware-1.1.0.gem +0 -0
- data/vendor/cache/jwt-2.2.3.gem +0 -0
- data/vendor/cache/minitest-5.14.4.gem +0 -0
- data/vendor/cache/mocha-1.13.0.gem +0 -0
- data/vendor/cache/net-http-persistent-4.0.1.gem +0 -0
- data/vendor/cache/parallel-1.20.1.gem +0 -0
- data/vendor/cache/parser-3.0.2.0.gem +0 -0
- data/vendor/cache/pastel-0.8.0.gem +0 -0
- data/vendor/cache/public_suffix-4.0.6.gem +0 -0
- data/vendor/cache/rack-2.2.3.gem +0 -0
- data/vendor/cache/rack-protection-2.1.0.gem +0 -0
- data/vendor/cache/rake-13.0.6.gem +0 -0
- data/vendor/cache/redis-4.4.0.gem +0 -0
- data/vendor/cache/regexp_parser-2.1.1.gem +0 -0
- data/vendor/cache/rexml-3.2.5.gem +0 -0
- data/vendor/cache/rubocop-1.20.0.gem +0 -0
- data/vendor/cache/rubocop-ast-1.11.0.gem +0 -0
- data/vendor/cache/rubocop-performance-1.11.5.gem +0 -0
- data/vendor/cache/ruby-progressbar-1.11.0.gem +0 -0
- data/vendor/cache/ruby2_keywords-0.0.5.gem +0 -0
- data/vendor/cache/simplecov-html-0.12.3.gem +0 -0
- data/vendor/cache/subprocess-1.5.5.gem +0 -0
- data/vendor/cache/tty-color-0.6.0.gem +0 -0
- data/vendor/cache/tty-cursor-0.7.1.gem +0 -0
- data/vendor/cache/tty-prompt-0.23.1.gem +0 -0
- data/vendor/cache/tty-reader-0.9.0.gem +0 -0
- data/vendor/cache/tty-screen-0.8.1.gem +0 -0
- data/vendor/cache/unicode-display_width-2.0.0.gem +0 -0
- data/vendor/cache/webmock-3.14.0.gem +0 -0
- data/vendor/cache/wisper-2.0.1.gem +0 -0
- data/vendor/cache/yard-0.9.26.gem +0 -0
- metadata +121 -92
- data/vendor/cache/activesupport-6.1.3.1.gem +0 -0
- data/vendor/cache/addressable-2.7.0.gem +0 -0
- data/vendor/cache/ast-2.4.0.gem +0 -0
- data/vendor/cache/byebug-11.0.1.gem +0 -0
- data/vendor/cache/concurrent-ruby-1.1.8.gem +0 -0
- data/vendor/cache/connection_pool-2.2.2.gem +0 -0
- data/vendor/cache/crack-0.4.3.gem +0 -0
- data/vendor/cache/docile-1.3.2.gem +0 -0
- data/vendor/cache/faraday-1.3.0.gem +0 -0
- data/vendor/cache/faraday_middleware-1.0.0.gem +0 -0
- data/vendor/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/cache/jwt-2.2.2.gem +0 -0
- data/vendor/cache/minitest-5.13.0.gem +0 -0
- data/vendor/cache/mocha-1.11.2.gem +0 -0
- data/vendor/cache/net-http-persistent-3.1.0.gem +0 -0
- data/vendor/cache/parallel-1.19.1.gem +0 -0
- data/vendor/cache/parser-2.7.1.3.gem +0 -0
- data/vendor/cache/public_suffix-4.0.5.gem +0 -0
- data/vendor/cache/rack-2.2.2.gem +0 -0
- data/vendor/cache/rack-protection-2.0.8.1.gem +0 -0
- data/vendor/cache/rake-10.5.0.gem +0 -0
- data/vendor/cache/redis-4.1.4.gem +0 -0
- data/vendor/cache/rubocop-0.78.0.gem +0 -0
- data/vendor/cache/rubocop-performance-1.5.2.gem +0 -0
- data/vendor/cache/ruby-progressbar-1.10.1.gem +0 -0
- data/vendor/cache/ruby2_keywords-0.0.4.gem +0 -0
- data/vendor/cache/safe_yaml-1.0.5.gem +0 -0
- data/vendor/cache/simplecov-html-0.12.2.gem +0 -0
- data/vendor/cache/subprocess-1.5.4.gem +0 -0
- data/vendor/cache/unicode-display_width-1.6.1.gem +0 -0
- data/vendor/cache/webmock-3.8.3.gem +0 -0
- data/vendor/cache/yard-0.9.24.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94cc2eb74f420fcb94af7c10c3d369950823bf3933610290ac2c6f40cc0ef5a5
|
4
|
+
data.tar.gz: 3a9cdc5b491190bc57685372a779fe3bdede5457c798911b2ca6ef1ef76a9973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c5290ba855ea1800fe674176300d2dfd264fd42f6328675da00f10c956308cd4014e759acc399b1c3f955289956ee260126f074a50f70c8996bb330f59c7ccb
|
7
|
+
data.tar.gz: 5fdaa9d982a42eb0c18deb2417d6f1ae8d89310f212f0193fc7cf75a8bfd53c5e776161cb7ff4921dec2aa671a87e19c02877f7ddd6c59f84e656ee14add57fb
|
data/.github/workflows/ruby.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.1
|
data/Gemfile.lock
CHANGED
@@ -1,75 +1,97 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cased-ruby (0.
|
5
|
-
activesupport (~> 6)
|
6
|
-
dotpath (
|
7
|
-
faraday (~> 1.
|
8
|
-
faraday_middleware (~> 1.0)
|
9
|
-
json (~> 2)
|
10
|
-
jwt (~> 2)
|
11
|
-
net-http-persistent (~>
|
12
|
-
subprocess (~> 1.5.
|
4
|
+
cased-ruby (0.5.1)
|
5
|
+
activesupport (~> 6.1)
|
6
|
+
dotpath (~> 0.1.0)
|
7
|
+
faraday (~> 1.7.1)
|
8
|
+
faraday_middleware (~> 1.1.0)
|
9
|
+
json (~> 2.5.1)
|
10
|
+
jwt (~> 2.2.3)
|
11
|
+
net-http-persistent (~> 4.0.1)
|
12
|
+
subprocess (~> 1.5.5)
|
13
|
+
tty-prompt (~> 0.23.1)
|
13
14
|
|
14
15
|
GEM
|
15
16
|
remote: https://rubygems.org/
|
16
17
|
specs:
|
17
|
-
activesupport (6.1.
|
18
|
+
activesupport (6.1.4.1)
|
18
19
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
19
20
|
i18n (>= 1.6, < 2)
|
20
21
|
minitest (>= 5.1)
|
21
22
|
tzinfo (~> 2.0)
|
22
23
|
zeitwerk (~> 2.3)
|
23
|
-
addressable (2.
|
24
|
+
addressable (2.8.0)
|
24
25
|
public_suffix (>= 2.0.2, < 5.0)
|
25
|
-
ast (2.4.
|
26
|
-
byebug (11.
|
27
|
-
concurrent-ruby (1.1.
|
28
|
-
connection_pool (2.2.
|
29
|
-
crack (0.4.
|
30
|
-
|
31
|
-
docile (1.
|
26
|
+
ast (2.4.2)
|
27
|
+
byebug (11.1.3)
|
28
|
+
concurrent-ruby (1.1.9)
|
29
|
+
connection_pool (2.2.5)
|
30
|
+
crack (0.4.5)
|
31
|
+
rexml
|
32
|
+
docile (1.4.0)
|
32
33
|
dotpath (0.1.0)
|
33
|
-
faraday (1.
|
34
|
+
faraday (1.7.2)
|
35
|
+
faraday-em_http (~> 1.0)
|
36
|
+
faraday-em_synchrony (~> 1.0)
|
37
|
+
faraday-excon (~> 1.1)
|
38
|
+
faraday-httpclient (~> 1.0.1)
|
34
39
|
faraday-net_http (~> 1.0)
|
40
|
+
faraday-net_http_persistent (~> 1.1)
|
41
|
+
faraday-patron (~> 1.0)
|
42
|
+
faraday-rack (~> 1.0)
|
35
43
|
multipart-post (>= 1.2, < 3)
|
36
|
-
ruby2_keywords
|
44
|
+
ruby2_keywords (>= 0.0.4)
|
45
|
+
faraday-em_http (1.0.0)
|
46
|
+
faraday-em_synchrony (1.0.0)
|
47
|
+
faraday-excon (1.1.0)
|
48
|
+
faraday-httpclient (1.0.1)
|
37
49
|
faraday-net_http (1.0.1)
|
38
|
-
|
50
|
+
faraday-net_http_persistent (1.2.0)
|
51
|
+
faraday-patron (1.0.0)
|
52
|
+
faraday-rack (1.0.0)
|
53
|
+
faraday_middleware (1.1.0)
|
39
54
|
faraday (~> 1.0)
|
40
55
|
hashdiff (1.0.1)
|
41
56
|
i18n (1.8.10)
|
42
57
|
concurrent-ruby (~> 1.0)
|
43
|
-
jaro_winkler (1.5.4)
|
44
58
|
json (2.5.1)
|
45
|
-
jwt (2.2.
|
46
|
-
minitest (5.
|
47
|
-
mocha (1.
|
59
|
+
jwt (2.2.3)
|
60
|
+
minitest (5.14.4)
|
61
|
+
mocha (1.13.0)
|
48
62
|
multipart-post (2.1.1)
|
49
|
-
net-http-persistent (
|
63
|
+
net-http-persistent (4.0.1)
|
50
64
|
connection_pool (~> 2.2)
|
51
|
-
parallel (1.
|
52
|
-
parser (
|
53
|
-
ast (~> 2.4.
|
54
|
-
|
55
|
-
|
56
|
-
|
65
|
+
parallel (1.20.1)
|
66
|
+
parser (3.0.2.0)
|
67
|
+
ast (~> 2.4.1)
|
68
|
+
pastel (0.8.0)
|
69
|
+
tty-color (~> 0.5)
|
70
|
+
public_suffix (4.0.6)
|
71
|
+
rack (2.2.3)
|
72
|
+
rack-protection (2.1.0)
|
57
73
|
rack
|
58
74
|
rainbow (3.0.0)
|
59
|
-
rake (
|
60
|
-
redis (4.
|
61
|
-
|
62
|
-
|
75
|
+
rake (13.0.6)
|
76
|
+
redis (4.4.0)
|
77
|
+
regexp_parser (2.1.1)
|
78
|
+
rexml (3.2.5)
|
79
|
+
rubocop (1.20.0)
|
63
80
|
parallel (~> 1.10)
|
64
|
-
parser (>=
|
81
|
+
parser (>= 3.0.0.0)
|
65
82
|
rainbow (>= 2.2.2, < 4.0)
|
83
|
+
regexp_parser (>= 1.8, < 3.0)
|
84
|
+
rexml
|
85
|
+
rubocop-ast (>= 1.9.1, < 2.0)
|
66
86
|
ruby-progressbar (~> 1.7)
|
67
|
-
unicode-display_width (>= 1.4.0, <
|
68
|
-
rubocop-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
87
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
88
|
+
rubocop-ast (1.11.0)
|
89
|
+
parser (>= 3.0.1.1)
|
90
|
+
rubocop-performance (1.11.5)
|
91
|
+
rubocop (>= 1.7.0, < 2.0)
|
92
|
+
rubocop-ast (>= 0.4.0)
|
93
|
+
ruby-progressbar (1.11.0)
|
94
|
+
ruby2_keywords (0.0.5)
|
73
95
|
sidekiq (6.0.7)
|
74
96
|
connection_pool (>= 2.2.2)
|
75
97
|
rack (~> 2.0)
|
@@ -78,35 +100,46 @@ GEM
|
|
78
100
|
simplecov (0.18.5)
|
79
101
|
docile (~> 1.1)
|
80
102
|
simplecov-html (~> 0.11)
|
81
|
-
simplecov-html (0.12.
|
82
|
-
subprocess (1.5.
|
103
|
+
simplecov-html (0.12.3)
|
104
|
+
subprocess (1.5.5)
|
105
|
+
tty-color (0.6.0)
|
106
|
+
tty-cursor (0.7.1)
|
107
|
+
tty-prompt (0.23.1)
|
108
|
+
pastel (~> 0.8)
|
109
|
+
tty-reader (~> 0.8)
|
110
|
+
tty-reader (0.9.0)
|
111
|
+
tty-cursor (~> 0.7)
|
112
|
+
tty-screen (~> 0.8)
|
113
|
+
wisper (~> 2.0)
|
114
|
+
tty-screen (0.8.1)
|
83
115
|
tzinfo (2.0.4)
|
84
116
|
concurrent-ruby (~> 1.0)
|
85
|
-
unicode-display_width (
|
86
|
-
webmock (3.
|
87
|
-
addressable (>= 2.
|
117
|
+
unicode-display_width (2.0.0)
|
118
|
+
webmock (3.14.0)
|
119
|
+
addressable (>= 2.8.0)
|
88
120
|
crack (>= 0.3.2)
|
89
121
|
hashdiff (>= 0.4.0, < 2.0.0)
|
90
|
-
|
122
|
+
wisper (2.0.1)
|
123
|
+
yard (0.9.26)
|
91
124
|
zeitwerk (2.4.2)
|
92
125
|
|
93
126
|
PLATFORMS
|
94
127
|
ruby
|
95
128
|
|
96
129
|
DEPENDENCIES
|
97
|
-
bundler (= 2.
|
98
|
-
byebug (
|
130
|
+
bundler (= 2.2.27)
|
131
|
+
byebug (~> 11.1.3)
|
99
132
|
cased-ruby!
|
100
|
-
minitest (
|
101
|
-
mocha (
|
102
|
-
rack (
|
103
|
-
rake (
|
104
|
-
rubocop (
|
105
|
-
rubocop-performance (
|
133
|
+
minitest (~> 5.14.4)
|
134
|
+
mocha (~> 1.13.0)
|
135
|
+
rack (~> 2.2.3)
|
136
|
+
rake (~> 13.0.6)
|
137
|
+
rubocop (~> 1.20.0)
|
138
|
+
rubocop-performance (~> 1.11.5)
|
106
139
|
sidekiq (= 6.0.7)
|
107
140
|
simplecov (= 0.18.5)
|
108
|
-
webmock (
|
109
|
-
yard (
|
141
|
+
webmock (~> 3.14.0)
|
142
|
+
yard (~> 0.9.26)
|
110
143
|
|
111
144
|
BUNDLED WITH
|
112
|
-
2.
|
145
|
+
2.2.27
|
data/cased-ruby.gemspec
CHANGED
@@ -28,23 +28,24 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ['lib']
|
30
30
|
|
31
|
-
spec.add_dependency 'activesupport', '~> 6'
|
32
|
-
spec.add_dependency 'dotpath', '0.1.0'
|
33
|
-
spec.add_dependency 'faraday', '~> 1.
|
34
|
-
spec.add_dependency 'faraday_middleware', '~> 1.0'
|
35
|
-
spec.add_dependency 'json', '~> 2'
|
36
|
-
spec.add_dependency 'jwt', '~> 2'
|
37
|
-
spec.add_dependency 'net-http-persistent', '~>
|
38
|
-
spec.add_dependency 'subprocess', '~> 1.5.
|
39
|
-
spec.
|
40
|
-
spec.add_development_dependency '
|
41
|
-
spec.add_development_dependency '
|
42
|
-
spec.add_development_dependency '
|
43
|
-
spec.add_development_dependency '
|
44
|
-
spec.add_development_dependency '
|
45
|
-
spec.add_development_dependency '
|
46
|
-
spec.add_development_dependency 'rubocop
|
31
|
+
spec.add_dependency 'activesupport', '~> 6.1'
|
32
|
+
spec.add_dependency 'dotpath', '~> 0.1.0'
|
33
|
+
spec.add_dependency 'faraday', '~> 1.7.1'
|
34
|
+
spec.add_dependency 'faraday_middleware', '~> 1.1.0'
|
35
|
+
spec.add_dependency 'json', '~> 2.5.1'
|
36
|
+
spec.add_dependency 'jwt', '~> 2.2.3'
|
37
|
+
spec.add_dependency 'net-http-persistent', '~> 4.0.1'
|
38
|
+
spec.add_dependency 'subprocess', '~> 1.5.5'
|
39
|
+
spec.add_dependency 'tty-prompt', '~> 0.23.1'
|
40
|
+
spec.add_development_dependency 'bundler', '2.2.27'
|
41
|
+
spec.add_development_dependency 'byebug', '~> 11.1.3'
|
42
|
+
spec.add_development_dependency 'minitest', '~> 5.14.4'
|
43
|
+
spec.add_development_dependency 'mocha', '~> 1.13.0'
|
44
|
+
spec.add_development_dependency 'rack', '~> 2.2.3'
|
45
|
+
spec.add_development_dependency 'rake', '~> 13.0.6'
|
46
|
+
spec.add_development_dependency 'rubocop', '~> 1.20.0'
|
47
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.11.5'
|
47
48
|
spec.add_development_dependency 'sidekiq', '6.0.7'
|
48
|
-
spec.add_development_dependency 'webmock', '3.
|
49
|
-
spec.add_development_dependency 'yard', '0.9.
|
49
|
+
spec.add_development_dependency 'webmock', '~> 3.14.0'
|
50
|
+
spec.add_development_dependency 'yard', '~> 0.9.26'
|
50
51
|
end
|
@@ -15,12 +15,17 @@ module Cased
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.from_cast(cast)
|
18
|
+
return if cast.blank?
|
19
|
+
|
18
20
|
stream = cast.split("\n").collect do |data|
|
19
21
|
JSON.parse(data)
|
20
22
|
end
|
21
23
|
header = stream.shift
|
24
|
+
return unless header.is_a?(Hash)
|
22
25
|
|
23
26
|
new(header, stream)
|
27
|
+
rescue JSON::ParserError
|
28
|
+
nil
|
24
29
|
end
|
25
30
|
|
26
31
|
# Required
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'cased/cli/session'
|
4
|
+
require 'tty/prompt'
|
4
5
|
|
5
6
|
module Cased
|
6
7
|
module CLI
|
@@ -27,6 +28,8 @@ module Cased
|
|
27
28
|
command: command,
|
28
29
|
metadata: metadata,
|
29
30
|
)
|
31
|
+
|
32
|
+
@prompt = TTY::Prompt.new
|
30
33
|
end
|
31
34
|
|
32
35
|
def create
|
@@ -81,8 +84,11 @@ module Cased
|
|
81
84
|
private
|
82
85
|
|
83
86
|
def reason_prompt
|
84
|
-
|
85
|
-
session.reason =
|
87
|
+
reason = @prompt.multiline(Cased::CLI::Log.string('Please enter a reason for access:'), help: '(Press Ctrl+D or Ctrl+Z to submit)')
|
88
|
+
session.reason = reason.join("\n")
|
89
|
+
rescue TTY::Reader::InputInterrupt
|
90
|
+
Cased::CLI::Log.log 'Exiting and canceling request…'
|
91
|
+
exit 0
|
86
92
|
end
|
87
93
|
|
88
94
|
def wait_for_approval
|
data/lib/cased/cli/session.rb
CHANGED
@@ -124,10 +124,17 @@ module Cased
|
|
124
124
|
# @return [Hash, nil]
|
125
125
|
attr_reader :guard_application
|
126
126
|
|
127
|
+
# Public: Cased may filter out sensitive data in the command, we shouldn't
|
128
|
+
# execute what is returned from the server.
|
129
|
+
#
|
130
|
+
# @return [String, nil]
|
131
|
+
attr_reader :original_command
|
132
|
+
|
127
133
|
def initialize(reason: nil, command: nil, metadata: {}, authentication: nil)
|
128
134
|
@authentication = authentication || Cased::CLI::Authentication.new
|
129
135
|
@reason = reason
|
130
|
-
@
|
136
|
+
@original_command = command || [$PROGRAM_NAME, *ARGV].join(' ')
|
137
|
+
@command = @original_command
|
131
138
|
@metadata = Cased.config.cli.metadata.merge(metadata)
|
132
139
|
@requester = {}
|
133
140
|
@responder = {}
|
@@ -216,7 +223,7 @@ module Cased
|
|
216
223
|
|
217
224
|
Cased::CLI::Log.log 'CLI session is now recording'
|
218
225
|
|
219
|
-
recorder = Cased::CLI::Recorder.new(
|
226
|
+
recorder = Cased::CLI::Recorder.new(original_command.split(' '), env: {
|
220
227
|
'GUARD_SESSION_ID' => id,
|
221
228
|
'GUARD_APPLICATION_ID' => guard_application.fetch('id'),
|
222
229
|
'GUARD_USER_TOKEN' => requester.fetch('id'),
|
data/lib/cased/config.rb
CHANGED
data/lib/cased/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cased-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garrett Bjerkhoel
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,26 +16,26 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '6'
|
19
|
+
version: '6.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '6'
|
26
|
+
version: '6.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dotpath
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -44,196 +44,210 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.7.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.7.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: faraday_middleware
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: json
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 2.5.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 2.5.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: jwt
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.2.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 2.2.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: net-http-persistent
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 4.0.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 4.0.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: subprocess
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.5.
|
117
|
+
version: 1.5.5
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.5.5
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: tty-prompt
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.23.1
|
118
132
|
type: :runtime
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: 0.23.1
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: bundler
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - '='
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: 2.
|
145
|
+
version: 2.2.27
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - '='
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
152
|
+
version: 2.2.27
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: byebug
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
|
-
- -
|
157
|
+
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: 11.
|
159
|
+
version: 11.1.3
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
|
-
- -
|
164
|
+
- - "~>"
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: 11.
|
166
|
+
version: 11.1.3
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: minitest
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
|
-
- -
|
171
|
+
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: 5.
|
173
|
+
version: 5.14.4
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
|
-
- -
|
178
|
+
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: 5.
|
180
|
+
version: 5.14.4
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: mocha
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
170
184
|
requirements:
|
171
|
-
- -
|
185
|
+
- - "~>"
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
187
|
+
version: 1.13.0
|
174
188
|
type: :development
|
175
189
|
prerelease: false
|
176
190
|
version_requirements: !ruby/object:Gem::Requirement
|
177
191
|
requirements:
|
178
|
-
- -
|
192
|
+
- - "~>"
|
179
193
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
194
|
+
version: 1.13.0
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: rack
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
184
198
|
requirements:
|
185
|
-
- -
|
199
|
+
- - "~>"
|
186
200
|
- !ruby/object:Gem::Version
|
187
|
-
version: 2.2.
|
201
|
+
version: 2.2.3
|
188
202
|
type: :development
|
189
203
|
prerelease: false
|
190
204
|
version_requirements: !ruby/object:Gem::Requirement
|
191
205
|
requirements:
|
192
|
-
- -
|
206
|
+
- - "~>"
|
193
207
|
- !ruby/object:Gem::Version
|
194
|
-
version: 2.2.
|
208
|
+
version: 2.2.3
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: rake
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
198
212
|
requirements:
|
199
|
-
- -
|
213
|
+
- - "~>"
|
200
214
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
215
|
+
version: 13.0.6
|
202
216
|
type: :development
|
203
217
|
prerelease: false
|
204
218
|
version_requirements: !ruby/object:Gem::Requirement
|
205
219
|
requirements:
|
206
|
-
- -
|
220
|
+
- - "~>"
|
207
221
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
222
|
+
version: 13.0.6
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: rubocop
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
212
226
|
requirements:
|
213
|
-
- -
|
227
|
+
- - "~>"
|
214
228
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
229
|
+
version: 1.20.0
|
216
230
|
type: :development
|
217
231
|
prerelease: false
|
218
232
|
version_requirements: !ruby/object:Gem::Requirement
|
219
233
|
requirements:
|
220
|
-
- -
|
234
|
+
- - "~>"
|
221
235
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
236
|
+
version: 1.20.0
|
223
237
|
- !ruby/object:Gem::Dependency
|
224
238
|
name: rubocop-performance
|
225
239
|
requirement: !ruby/object:Gem::Requirement
|
226
240
|
requirements:
|
227
|
-
- -
|
241
|
+
- - "~>"
|
228
242
|
- !ruby/object:Gem::Version
|
229
|
-
version: 1.5
|
243
|
+
version: 1.11.5
|
230
244
|
type: :development
|
231
245
|
prerelease: false
|
232
246
|
version_requirements: !ruby/object:Gem::Requirement
|
233
247
|
requirements:
|
234
|
-
- -
|
248
|
+
- - "~>"
|
235
249
|
- !ruby/object:Gem::Version
|
236
|
-
version: 1.5
|
250
|
+
version: 1.11.5
|
237
251
|
- !ruby/object:Gem::Dependency
|
238
252
|
name: sidekiq
|
239
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -252,30 +266,30 @@ dependencies:
|
|
252
266
|
name: webmock
|
253
267
|
requirement: !ruby/object:Gem::Requirement
|
254
268
|
requirements:
|
255
|
-
- -
|
269
|
+
- - "~>"
|
256
270
|
- !ruby/object:Gem::Version
|
257
|
-
version: 3.
|
271
|
+
version: 3.14.0
|
258
272
|
type: :development
|
259
273
|
prerelease: false
|
260
274
|
version_requirements: !ruby/object:Gem::Requirement
|
261
275
|
requirements:
|
262
|
-
- -
|
276
|
+
- - "~>"
|
263
277
|
- !ruby/object:Gem::Version
|
264
|
-
version: 3.
|
278
|
+
version: 3.14.0
|
265
279
|
- !ruby/object:Gem::Dependency
|
266
280
|
name: yard
|
267
281
|
requirement: !ruby/object:Gem::Requirement
|
268
282
|
requirements:
|
269
|
-
- -
|
283
|
+
- - "~>"
|
270
284
|
- !ruby/object:Gem::Version
|
271
|
-
version: 0.9.
|
285
|
+
version: 0.9.26
|
272
286
|
type: :development
|
273
287
|
prerelease: false
|
274
288
|
version_requirements: !ruby/object:Gem::Requirement
|
275
289
|
requirements:
|
276
|
-
- -
|
290
|
+
- - "~>"
|
277
291
|
- !ruby/object:Gem::Version
|
278
|
-
version: 0.9.
|
292
|
+
version: 0.9.26
|
279
293
|
description: Ruby library for Cased
|
280
294
|
email:
|
281
295
|
- garrett@cased.com
|
@@ -344,48 +358,63 @@ files:
|
|
344
358
|
- lib/cased/sensitive/string.rb
|
345
359
|
- lib/cased/test_helper.rb
|
346
360
|
- lib/cased/version.rb
|
347
|
-
- vendor/cache/activesupport-6.1.
|
348
|
-
- vendor/cache/addressable-2.
|
349
|
-
- vendor/cache/ast-2.4.
|
350
|
-
- vendor/cache/byebug-11.
|
351
|
-
- vendor/cache/concurrent-ruby-1.1.
|
352
|
-
- vendor/cache/connection_pool-2.2.
|
353
|
-
- vendor/cache/crack-0.4.
|
354
|
-
- vendor/cache/docile-1.
|
361
|
+
- vendor/cache/activesupport-6.1.4.1.gem
|
362
|
+
- vendor/cache/addressable-2.8.0.gem
|
363
|
+
- vendor/cache/ast-2.4.2.gem
|
364
|
+
- vendor/cache/byebug-11.1.3.gem
|
365
|
+
- vendor/cache/concurrent-ruby-1.1.9.gem
|
366
|
+
- vendor/cache/connection_pool-2.2.5.gem
|
367
|
+
- vendor/cache/crack-0.4.5.gem
|
368
|
+
- vendor/cache/docile-1.4.0.gem
|
355
369
|
- vendor/cache/dotpath-0.1.0.gem
|
356
|
-
- vendor/cache/faraday-1.
|
370
|
+
- vendor/cache/faraday-1.7.2.gem
|
371
|
+
- vendor/cache/faraday-em_http-1.0.0.gem
|
372
|
+
- vendor/cache/faraday-em_synchrony-1.0.0.gem
|
373
|
+
- vendor/cache/faraday-excon-1.1.0.gem
|
374
|
+
- vendor/cache/faraday-httpclient-1.0.1.gem
|
357
375
|
- vendor/cache/faraday-net_http-1.0.1.gem
|
358
|
-
- vendor/cache/
|
376
|
+
- vendor/cache/faraday-net_http_persistent-1.2.0.gem
|
377
|
+
- vendor/cache/faraday-patron-1.0.0.gem
|
378
|
+
- vendor/cache/faraday-rack-1.0.0.gem
|
379
|
+
- vendor/cache/faraday_middleware-1.1.0.gem
|
359
380
|
- vendor/cache/hashdiff-1.0.1.gem
|
360
381
|
- vendor/cache/i18n-1.8.10.gem
|
361
|
-
- vendor/cache/jaro_winkler-1.5.4.gem
|
362
382
|
- vendor/cache/json-2.5.1.gem
|
363
|
-
- vendor/cache/jwt-2.2.
|
364
|
-
- vendor/cache/minitest-5.
|
365
|
-
- vendor/cache/mocha-1.
|
383
|
+
- vendor/cache/jwt-2.2.3.gem
|
384
|
+
- vendor/cache/minitest-5.14.4.gem
|
385
|
+
- vendor/cache/mocha-1.13.0.gem
|
366
386
|
- vendor/cache/multipart-post-2.1.1.gem
|
367
|
-
- vendor/cache/net-http-persistent-
|
368
|
-
- vendor/cache/parallel-1.
|
369
|
-
- vendor/cache/parser-
|
370
|
-
- vendor/cache/
|
371
|
-
- vendor/cache/
|
372
|
-
- vendor/cache/rack-
|
387
|
+
- vendor/cache/net-http-persistent-4.0.1.gem
|
388
|
+
- vendor/cache/parallel-1.20.1.gem
|
389
|
+
- vendor/cache/parser-3.0.2.0.gem
|
390
|
+
- vendor/cache/pastel-0.8.0.gem
|
391
|
+
- vendor/cache/public_suffix-4.0.6.gem
|
392
|
+
- vendor/cache/rack-2.2.3.gem
|
393
|
+
- vendor/cache/rack-protection-2.1.0.gem
|
373
394
|
- vendor/cache/rainbow-3.0.0.gem
|
374
|
-
- vendor/cache/rake-
|
375
|
-
- vendor/cache/redis-4.
|
376
|
-
- vendor/cache/
|
377
|
-
- vendor/cache/
|
378
|
-
- vendor/cache/
|
379
|
-
- vendor/cache/
|
380
|
-
- vendor/cache/
|
395
|
+
- vendor/cache/rake-13.0.6.gem
|
396
|
+
- vendor/cache/redis-4.4.0.gem
|
397
|
+
- vendor/cache/regexp_parser-2.1.1.gem
|
398
|
+
- vendor/cache/rexml-3.2.5.gem
|
399
|
+
- vendor/cache/rubocop-1.20.0.gem
|
400
|
+
- vendor/cache/rubocop-ast-1.11.0.gem
|
401
|
+
- vendor/cache/rubocop-performance-1.11.5.gem
|
402
|
+
- vendor/cache/ruby-progressbar-1.11.0.gem
|
403
|
+
- vendor/cache/ruby2_keywords-0.0.5.gem
|
381
404
|
- vendor/cache/sidekiq-6.0.7.gem
|
382
405
|
- vendor/cache/simplecov-0.18.5.gem
|
383
|
-
- vendor/cache/simplecov-html-0.12.
|
384
|
-
- vendor/cache/subprocess-1.5.
|
406
|
+
- vendor/cache/simplecov-html-0.12.3.gem
|
407
|
+
- vendor/cache/subprocess-1.5.5.gem
|
408
|
+
- vendor/cache/tty-color-0.6.0.gem
|
409
|
+
- vendor/cache/tty-cursor-0.7.1.gem
|
410
|
+
- vendor/cache/tty-prompt-0.23.1.gem
|
411
|
+
- vendor/cache/tty-reader-0.9.0.gem
|
412
|
+
- vendor/cache/tty-screen-0.8.1.gem
|
385
413
|
- vendor/cache/tzinfo-2.0.4.gem
|
386
|
-
- vendor/cache/unicode-display_width-
|
387
|
-
- vendor/cache/webmock-3.
|
388
|
-
- vendor/cache/
|
414
|
+
- vendor/cache/unicode-display_width-2.0.0.gem
|
415
|
+
- vendor/cache/webmock-3.14.0.gem
|
416
|
+
- vendor/cache/wisper-2.0.1.gem
|
417
|
+
- vendor/cache/yard-0.9.26.gem
|
389
418
|
- vendor/cache/zeitwerk-2.4.2.gem
|
390
419
|
homepage: https://github.com/cased/cased-ruby
|
391
420
|
licenses:
|
@@ -394,7 +423,7 @@ metadata:
|
|
394
423
|
homepage_uri: https://github.com/cased/cased-ruby
|
395
424
|
source_code_uri: https://github.com/cased/cased-ruby
|
396
425
|
changelog_uri: https://github.com/cased/cased-ruby/releases
|
397
|
-
post_install_message:
|
426
|
+
post_install_message:
|
398
427
|
rdoc_options: []
|
399
428
|
require_paths:
|
400
429
|
- lib
|
@@ -409,8 +438,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
409
438
|
- !ruby/object:Gem::Version
|
410
439
|
version: '0'
|
411
440
|
requirements: []
|
412
|
-
rubygems_version: 3.
|
413
|
-
signing_key:
|
441
|
+
rubygems_version: 3.2.15
|
442
|
+
signing_key:
|
414
443
|
specification_version: 4
|
415
444
|
summary: Ruby library for Cased
|
416
445
|
test_files: []
|
Binary file
|
Binary file
|
data/vendor/cache/ast-2.4.0.gem
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/cache/jwt-2.2.2.gem
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/cache/rack-2.2.2.gem
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|