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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +1 -0
  3. data/.ruby-version +1 -1
  4. data/Gemfile.lock +93 -60
  5. data/cased-ruby.gemspec +19 -18
  6. data/lib/cased/cli/asciinema/file.rb +5 -0
  7. data/lib/cased/cli/interactive_session.rb +8 -2
  8. data/lib/cased/cli/session.rb +9 -2
  9. data/lib/cased/config.rb +1 -1
  10. data/lib/cased/version.rb +1 -1
  11. data/vendor/cache/activesupport-6.1.4.1.gem +0 -0
  12. data/vendor/cache/addressable-2.8.0.gem +0 -0
  13. data/vendor/cache/ast-2.4.2.gem +0 -0
  14. data/vendor/cache/byebug-11.1.3.gem +0 -0
  15. data/vendor/cache/concurrent-ruby-1.1.9.gem +0 -0
  16. data/vendor/cache/connection_pool-2.2.5.gem +0 -0
  17. data/vendor/cache/crack-0.4.5.gem +0 -0
  18. data/vendor/cache/docile-1.4.0.gem +0 -0
  19. data/vendor/cache/faraday-1.7.2.gem +0 -0
  20. data/vendor/cache/faraday-em_http-1.0.0.gem +0 -0
  21. data/vendor/cache/faraday-em_synchrony-1.0.0.gem +0 -0
  22. data/vendor/cache/faraday-excon-1.1.0.gem +0 -0
  23. data/vendor/cache/faraday-httpclient-1.0.1.gem +0 -0
  24. data/vendor/cache/faraday-net_http_persistent-1.2.0.gem +0 -0
  25. data/vendor/cache/faraday-patron-1.0.0.gem +0 -0
  26. data/vendor/cache/faraday-rack-1.0.0.gem +0 -0
  27. data/vendor/cache/faraday_middleware-1.1.0.gem +0 -0
  28. data/vendor/cache/jwt-2.2.3.gem +0 -0
  29. data/vendor/cache/minitest-5.14.4.gem +0 -0
  30. data/vendor/cache/mocha-1.13.0.gem +0 -0
  31. data/vendor/cache/net-http-persistent-4.0.1.gem +0 -0
  32. data/vendor/cache/parallel-1.20.1.gem +0 -0
  33. data/vendor/cache/parser-3.0.2.0.gem +0 -0
  34. data/vendor/cache/pastel-0.8.0.gem +0 -0
  35. data/vendor/cache/public_suffix-4.0.6.gem +0 -0
  36. data/vendor/cache/rack-2.2.3.gem +0 -0
  37. data/vendor/cache/rack-protection-2.1.0.gem +0 -0
  38. data/vendor/cache/rake-13.0.6.gem +0 -0
  39. data/vendor/cache/redis-4.4.0.gem +0 -0
  40. data/vendor/cache/regexp_parser-2.1.1.gem +0 -0
  41. data/vendor/cache/rexml-3.2.5.gem +0 -0
  42. data/vendor/cache/rubocop-1.20.0.gem +0 -0
  43. data/vendor/cache/rubocop-ast-1.11.0.gem +0 -0
  44. data/vendor/cache/rubocop-performance-1.11.5.gem +0 -0
  45. data/vendor/cache/ruby-progressbar-1.11.0.gem +0 -0
  46. data/vendor/cache/ruby2_keywords-0.0.5.gem +0 -0
  47. data/vendor/cache/simplecov-html-0.12.3.gem +0 -0
  48. data/vendor/cache/subprocess-1.5.5.gem +0 -0
  49. data/vendor/cache/tty-color-0.6.0.gem +0 -0
  50. data/vendor/cache/tty-cursor-0.7.1.gem +0 -0
  51. data/vendor/cache/tty-prompt-0.23.1.gem +0 -0
  52. data/vendor/cache/tty-reader-0.9.0.gem +0 -0
  53. data/vendor/cache/tty-screen-0.8.1.gem +0 -0
  54. data/vendor/cache/unicode-display_width-2.0.0.gem +0 -0
  55. data/vendor/cache/webmock-3.14.0.gem +0 -0
  56. data/vendor/cache/wisper-2.0.1.gem +0 -0
  57. data/vendor/cache/yard-0.9.26.gem +0 -0
  58. metadata +121 -92
  59. data/vendor/cache/activesupport-6.1.3.1.gem +0 -0
  60. data/vendor/cache/addressable-2.7.0.gem +0 -0
  61. data/vendor/cache/ast-2.4.0.gem +0 -0
  62. data/vendor/cache/byebug-11.0.1.gem +0 -0
  63. data/vendor/cache/concurrent-ruby-1.1.8.gem +0 -0
  64. data/vendor/cache/connection_pool-2.2.2.gem +0 -0
  65. data/vendor/cache/crack-0.4.3.gem +0 -0
  66. data/vendor/cache/docile-1.3.2.gem +0 -0
  67. data/vendor/cache/faraday-1.3.0.gem +0 -0
  68. data/vendor/cache/faraday_middleware-1.0.0.gem +0 -0
  69. data/vendor/cache/jaro_winkler-1.5.4.gem +0 -0
  70. data/vendor/cache/jwt-2.2.2.gem +0 -0
  71. data/vendor/cache/minitest-5.13.0.gem +0 -0
  72. data/vendor/cache/mocha-1.11.2.gem +0 -0
  73. data/vendor/cache/net-http-persistent-3.1.0.gem +0 -0
  74. data/vendor/cache/parallel-1.19.1.gem +0 -0
  75. data/vendor/cache/parser-2.7.1.3.gem +0 -0
  76. data/vendor/cache/public_suffix-4.0.5.gem +0 -0
  77. data/vendor/cache/rack-2.2.2.gem +0 -0
  78. data/vendor/cache/rack-protection-2.0.8.1.gem +0 -0
  79. data/vendor/cache/rake-10.5.0.gem +0 -0
  80. data/vendor/cache/redis-4.1.4.gem +0 -0
  81. data/vendor/cache/rubocop-0.78.0.gem +0 -0
  82. data/vendor/cache/rubocop-performance-1.5.2.gem +0 -0
  83. data/vendor/cache/ruby-progressbar-1.10.1.gem +0 -0
  84. data/vendor/cache/ruby2_keywords-0.0.4.gem +0 -0
  85. data/vendor/cache/safe_yaml-1.0.5.gem +0 -0
  86. data/vendor/cache/simplecov-html-0.12.2.gem +0 -0
  87. data/vendor/cache/subprocess-1.5.4.gem +0 -0
  88. data/vendor/cache/unicode-display_width-1.6.1.gem +0 -0
  89. data/vendor/cache/webmock-3.8.3.gem +0 -0
  90. 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: a98d48b740d571c68ad950fe60ecd5af5126fa9567b80030c50bc9cf3f7428c3
4
- data.tar.gz: b1fdbda8126943f5421176269d42d60144425790c22d57179abe6cf892e99cb6
3
+ metadata.gz: 94cc2eb74f420fcb94af7c10c3d369950823bf3933610290ac2c6f40cc0ef5a5
4
+ data.tar.gz: 3a9cdc5b491190bc57685372a779fe3bdede5457c798911b2ca6ef1ef76a9973
5
5
  SHA512:
6
- metadata.gz: b519bd5dac037cc8ae8c5e795f44d658f44f44ad879e0456e1368dd18378323e5e9f4c8c8ea2e23a12958c4acc7c4c78a0b18afc95a57b6b78be8fe535bbfb0a
7
- data.tar.gz: 9ce3b66f202ea6b431ae70d28cc4c22327eb4c5b25ac100a320a733964d91c08b139ecc75fbf4a5932f3603cc796983b9a9de39d68a80c54c80ada772bc7f3c3
6
+ metadata.gz: 3c5290ba855ea1800fe674176300d2dfd264fd42f6328675da00f10c956308cd4014e759acc399b1c3f955289956ee260126f074a50f70c8996bb330f59c7ccb
7
+ data.tar.gz: 5fdaa9d982a42eb0c18deb2417d6f1ae8d89310f212f0193fc7cf75a8bfd53c5e776161cb7ff4921dec2aa671a87e19c02877f7ddd6c59f84e656ee14add57fb
@@ -12,6 +12,7 @@ jobs:
12
12
  - "2.5"
13
13
  - "2.6"
14
14
  - "2.7"
15
+ - "3.0"
15
16
  name: Ruby ${{ matrix.ruby }} test
16
17
  steps:
17
18
  - uses: actions/checkout@v2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
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.4.6)
5
- activesupport (~> 6)
6
- dotpath (= 0.1.0)
7
- faraday (~> 1.0)
8
- faraday_middleware (~> 1.0)
9
- json (~> 2)
10
- jwt (~> 2)
11
- net-http-persistent (~> 3.0)
12
- subprocess (~> 1.5.0)
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.3.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.7.0)
24
+ addressable (2.8.0)
24
25
  public_suffix (>= 2.0.2, < 5.0)
25
- ast (2.4.0)
26
- byebug (11.0.1)
27
- concurrent-ruby (1.1.8)
28
- connection_pool (2.2.2)
29
- crack (0.4.3)
30
- safe_yaml (~> 1.0.0)
31
- docile (1.3.2)
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.3.0)
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
- faraday_middleware (1.0.0)
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.2)
46
- minitest (5.13.0)
47
- mocha (1.11.2)
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 (3.1.0)
63
+ net-http-persistent (4.0.1)
50
64
  connection_pool (~> 2.2)
51
- parallel (1.19.1)
52
- parser (2.7.1.3)
53
- ast (~> 2.4.0)
54
- public_suffix (4.0.5)
55
- rack (2.2.2)
56
- rack-protection (2.0.8.1)
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 (10.5.0)
60
- redis (4.1.4)
61
- rubocop (0.78.0)
62
- jaro_winkler (~> 1.5.1)
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 (>= 2.6)
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, < 1.7)
68
- rubocop-performance (1.5.2)
69
- rubocop (>= 0.71.0)
70
- ruby-progressbar (1.10.1)
71
- ruby2_keywords (0.0.4)
72
- safe_yaml (1.0.5)
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.2)
82
- subprocess (1.5.4)
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 (1.6.1)
86
- webmock (3.8.3)
87
- addressable (>= 2.3.6)
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
- yard (0.9.24)
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.1.4)
98
- byebug (= 11.0.1)
130
+ bundler (= 2.2.27)
131
+ byebug (~> 11.1.3)
99
132
  cased-ruby!
100
- minitest (= 5.13.0)
101
- mocha (= 1.11.2)
102
- rack (= 2.2.2)
103
- rake (= 10.5.0)
104
- rubocop (= 0.78.0)
105
- rubocop-performance (= 1.5.2)
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 (= 3.8.3)
109
- yard (= 0.9.24)
141
+ webmock (~> 3.14.0)
142
+ yard (~> 0.9.26)
110
143
 
111
144
  BUNDLED WITH
112
- 2.1.4
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.0'
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', '~> 3.0'
38
- spec.add_dependency 'subprocess', '~> 1.5.0'
39
- spec.add_development_dependency 'bundler', '2.1.4'
40
- spec.add_development_dependency 'byebug', '11.0.1'
41
- spec.add_development_dependency 'minitest', '5.13.0'
42
- spec.add_development_dependency 'mocha', '1.11.2'
43
- spec.add_development_dependency 'rack', '2.2.2'
44
- spec.add_development_dependency 'rake', '10.5.0'
45
- spec.add_development_dependency 'rubocop', '0.78.0'
46
- spec.add_development_dependency 'rubocop-performance', '1.5.2'
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.8.3'
49
- spec.add_development_dependency 'yard', '0.9.24'
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
- print Cased::CLI::Log.string 'Please enter a reason for access: '
85
- session.reason = STDIN.gets.chomp
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
@@ -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
- @command = command || [$PROGRAM_NAME, *ARGV].join(' ')
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(command.split(' '), env: {
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
@@ -237,7 +237,7 @@ module Cased
237
237
  private
238
238
 
239
239
  def parse_bool(val)
240
- %w[1 true t].include?(val&.downcase)
240
+ %w[1 true t].include?(val.to_s&.downcase)
241
241
  end
242
242
  end
243
243
  end
data/lib/cased/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cased
4
- VERSION = '0.4.6'
4
+ VERSION = '0.5.1'
5
5
  end
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.6
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-04-09 00:00:00.000000000 Z
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: '1.0'
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: '1.0'
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: '1.0'
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: '1.0'
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: '2'
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: '2'
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: '2'
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: '2'
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: '3.0'
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: '3.0'
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.0
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: 1.5.0
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.1.4
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.1.4
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.0.1
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.0.1
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.13.0
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.13.0
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.11.2
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.11.2
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.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.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: 10.5.0
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: 10.5.0
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: 0.78.0
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: 0.78.0
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.2
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.2
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.8.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.8.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.24
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.24
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.3.1.gem
348
- - vendor/cache/addressable-2.7.0.gem
349
- - vendor/cache/ast-2.4.0.gem
350
- - vendor/cache/byebug-11.0.1.gem
351
- - vendor/cache/concurrent-ruby-1.1.8.gem
352
- - vendor/cache/connection_pool-2.2.2.gem
353
- - vendor/cache/crack-0.4.3.gem
354
- - vendor/cache/docile-1.3.2.gem
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.3.0.gem
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/faraday_middleware-1.0.0.gem
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.2.gem
364
- - vendor/cache/minitest-5.13.0.gem
365
- - vendor/cache/mocha-1.11.2.gem
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-3.1.0.gem
368
- - vendor/cache/parallel-1.19.1.gem
369
- - vendor/cache/parser-2.7.1.3.gem
370
- - vendor/cache/public_suffix-4.0.5.gem
371
- - vendor/cache/rack-2.2.2.gem
372
- - vendor/cache/rack-protection-2.0.8.1.gem
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-10.5.0.gem
375
- - vendor/cache/redis-4.1.4.gem
376
- - vendor/cache/rubocop-0.78.0.gem
377
- - vendor/cache/rubocop-performance-1.5.2.gem
378
- - vendor/cache/ruby-progressbar-1.10.1.gem
379
- - vendor/cache/ruby2_keywords-0.0.4.gem
380
- - vendor/cache/safe_yaml-1.0.5.gem
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.2.gem
384
- - vendor/cache/subprocess-1.5.4.gem
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-1.6.1.gem
387
- - vendor/cache/webmock-3.8.3.gem
388
- - vendor/cache/yard-0.9.24.gem
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.0.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
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