capistrano-data_plane_api 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -2
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +6 -0
  5. data/Gemfile +7 -4
  6. data/Gemfile.lock +108 -69
  7. data/README.md +5 -0
  8. data/capistrano-data_plane_api.gemspec +5 -2
  9. data/exe/cap_data_plane_api +3 -2
  10. data/lib/capistrano/data_plane_api/configuration/backend.rb +2 -0
  11. data/lib/capistrano/data_plane_api/configuration/server.rb +4 -2
  12. data/lib/capistrano/data_plane_api/configuration/symbol.rb +2 -0
  13. data/lib/capistrano/data_plane_api/configuration.rb +3 -3
  14. data/lib/capistrano/data_plane_api/deploy/args.rb +71 -40
  15. data/lib/capistrano/data_plane_api/deploy/deployment_stats.rb +29 -25
  16. data/lib/capistrano/data_plane_api/deploy/group.rb +33 -24
  17. data/lib/capistrano/data_plane_api/deploy/helper.rb +3 -5
  18. data/lib/capistrano/data_plane_api/deploy/server_stats.rb +60 -43
  19. data/lib/capistrano/data_plane_api/deploy.rb +3 -2
  20. data/lib/capistrano/data_plane_api/diggable.rb +5 -2
  21. data/lib/capistrano/data_plane_api/equatable.rb +4 -2
  22. data/lib/capistrano/data_plane_api/helper.rb +31 -27
  23. data/lib/capistrano/data_plane_api/hooks.rb +1 -0
  24. data/lib/capistrano/data_plane_api/show_state.rb +15 -12
  25. data/lib/capistrano/data_plane_api/tasks.rb +26 -2
  26. data/lib/capistrano/data_plane_api/terminal_print_loop.rb +7 -4
  27. data/lib/capistrano/data_plane_api/type.rb +9 -5
  28. data/lib/capistrano/data_plane_api/version.rb +2 -2
  29. data/lib/capistrano/data_plane_api.rb +96 -74
  30. data/lib/capistrano-data_plane_api.rb +4 -0
  31. data/rbi/capistrano-data_plane_api.rbi +283 -0
  32. data/sorbet/config +6 -0
  33. data/sorbet/rbi/annotations/.gitattributes +1 -0
  34. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  35. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  36. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  37. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  38. data/sorbet/rbi/dsl/.gitattributes +1 -0
  39. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration/backend.rbi +50 -0
  40. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration/server.rbi +24 -0
  41. data/sorbet/rbi/dsl/capistrano/data_plane_api/configuration.rbi +52 -0
  42. data/sorbet/rbi/dsl/capistrano/data_plane_api/type.rbi +12 -0
  43. data/sorbet/rbi/gems/.gitattributes +1 -0
  44. data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
  45. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  46. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  47. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +8 -0
  48. data/sorbet/rbi/gems/booleans@0.1.3.rbi +28 -0
  49. data/sorbet/rbi/gems/byebug@12.0.0.rbi +37 -0
  50. data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
  51. data/sorbet/rbi/gems/data_plane_api@0.2.0.rbi +238 -0
  52. data/sorbet/rbi/gems/faraday-net_http@3.4.0.rbi +147 -0
  53. data/sorbet/rbi/gems/faraday@2.13.0.rbi +2974 -0
  54. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
  55. data/sorbet/rbi/gems/json@2.10.2.rbi +2113 -0
  56. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  57. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  58. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  59. data/sorbet/rbi/gems/net-http@0.6.0.rbi +4247 -0
  60. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  61. data/sorbet/rbi/gems/pastel@0.8.0.rbi +733 -0
  62. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
  63. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  64. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +404 -0
  65. data/sorbet/rbi/gems/rake@13.0.6.rbi +3030 -0
  66. data/sorbet/rbi/gems/rexml@3.4.1.rbi +5346 -0
  67. data/sorbet/rbi/gems/rubocop-espago@1.1.8.rbi +9 -0
  68. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  69. data/sorbet/rbi/gems/shale-builder@0.2.4.rbi +9 -0
  70. data/sorbet/rbi/gems/shale@1.2.2.rbi +2323 -0
  71. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +563 -0
  72. data/sorbet/rbi/gems/strings-ansi@0.2.0.rbi +178 -0
  73. data/sorbet/rbi/gems/strings@0.2.1.rbi +830 -0
  74. data/sorbet/rbi/gems/thor@1.2.1.rbi +3957 -0
  75. data/sorbet/rbi/gems/tty-box@0.7.0.rbi +593 -0
  76. data/sorbet/rbi/gems/tty-color@0.6.0.rbi +241 -0
  77. data/sorbet/rbi/gems/tty-cursor@0.7.1.rbi +443 -0
  78. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +66 -0
  79. data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +184 -0
  80. data/sorbet/rbi/gems/uri@1.0.3.rbi +2349 -0
  81. data/sorbet/rbi/gems/vcr@6.3.1.rbi +3040 -0
  82. data/sorbet/rbi/gems/webmock@3.25.1.rbi +1792 -0
  83. data/sorbet/rbi/shims/gems/faraday.rbi +21 -0
  84. data/sorbet/rbi/shims/gems/shoulda-context@2.0.0.rbi +15 -0
  85. data/sorbet/rbi/todo.rbi +7 -0
  86. data/sorbet/tapioca/config.yml +28 -0
  87. data/sorbet/tapioca/extensions/load_gem.rb +1 -0
  88. data/sorbet/tapioca/require.rb +4 -0
  89. data/templates/bin/deploy.rb +1 -0
  90. metadata +106 -8
@@ -0,0 +1,240 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `lint_roller` gem.
5
+ # Please instead update this file by running `bin/tapioca gem lint_roller`.
6
+
7
+
8
+ # source://lint_roller//lib/lint_roller/context.rb#1
9
+ module LintRoller; end
10
+
11
+ # source://lint_roller//lib/lint_roller/about.rb#2
12
+ class LintRoller::About < ::Struct
13
+ # Returns the value of attribute description
14
+ #
15
+ # @return [Object] the current value of description
16
+ def description; end
17
+
18
+ # Sets the attribute description
19
+ #
20
+ # @param value [Object] the value to set the attribute description to.
21
+ # @return [Object] the newly set value
22
+ def description=(_); end
23
+
24
+ # Returns the value of attribute homepage
25
+ #
26
+ # @return [Object] the current value of homepage
27
+ def homepage; end
28
+
29
+ # Sets the attribute homepage
30
+ #
31
+ # @param value [Object] the value to set the attribute homepage to.
32
+ # @return [Object] the newly set value
33
+ def homepage=(_); end
34
+
35
+ # Returns the value of attribute name
36
+ #
37
+ # @return [Object] the current value of name
38
+ def name; end
39
+
40
+ # Sets the attribute name
41
+ #
42
+ # @param value [Object] the value to set the attribute name to.
43
+ # @return [Object] the newly set value
44
+ def name=(_); end
45
+
46
+ # Returns the value of attribute version
47
+ #
48
+ # @return [Object] the current value of version
49
+ def version; end
50
+
51
+ # Sets the attribute version
52
+ #
53
+ # @param value [Object] the value to set the attribute version to.
54
+ # @return [Object] the newly set value
55
+ def version=(_); end
56
+
57
+ class << self
58
+ def [](*_arg0); end
59
+ def inspect; end
60
+ def keyword_init?; end
61
+ def members; end
62
+ def new(*_arg0); end
63
+ end
64
+ end
65
+
66
+ # source://lint_roller//lib/lint_roller/context.rb#2
67
+ class LintRoller::Context < ::Struct
68
+ # Returns the value of attribute engine
69
+ #
70
+ # @return [Object] the current value of engine
71
+ def engine; end
72
+
73
+ # Sets the attribute engine
74
+ #
75
+ # @param value [Object] the value to set the attribute engine to.
76
+ # @return [Object] the newly set value
77
+ def engine=(_); end
78
+
79
+ # Returns the value of attribute engine_version
80
+ #
81
+ # @return [Object] the current value of engine_version
82
+ def engine_version; end
83
+
84
+ # Sets the attribute engine_version
85
+ #
86
+ # @param value [Object] the value to set the attribute engine_version to.
87
+ # @return [Object] the newly set value
88
+ def engine_version=(_); end
89
+
90
+ # Returns the value of attribute rule_format
91
+ #
92
+ # @return [Object] the current value of rule_format
93
+ def rule_format; end
94
+
95
+ # Sets the attribute rule_format
96
+ #
97
+ # @param value [Object] the value to set the attribute rule_format to.
98
+ # @return [Object] the newly set value
99
+ def rule_format=(_); end
100
+
101
+ # Returns the value of attribute runner
102
+ #
103
+ # @return [Object] the current value of runner
104
+ def runner; end
105
+
106
+ # Sets the attribute runner
107
+ #
108
+ # @param value [Object] the value to set the attribute runner to.
109
+ # @return [Object] the newly set value
110
+ def runner=(_); end
111
+
112
+ # Returns the value of attribute runner_version
113
+ #
114
+ # @return [Object] the current value of runner_version
115
+ def runner_version; end
116
+
117
+ # Sets the attribute runner_version
118
+ #
119
+ # @param value [Object] the value to set the attribute runner_version to.
120
+ # @return [Object] the newly set value
121
+ def runner_version=(_); end
122
+
123
+ # Returns the value of attribute target_ruby_version
124
+ #
125
+ # @return [Object] the current value of target_ruby_version
126
+ def target_ruby_version; end
127
+
128
+ # Sets the attribute target_ruby_version
129
+ #
130
+ # @param value [Object] the value to set the attribute target_ruby_version to.
131
+ # @return [Object] the newly set value
132
+ def target_ruby_version=(_); end
133
+
134
+ class << self
135
+ def [](*_arg0); end
136
+ def inspect; end
137
+ def keyword_init?; end
138
+ def members; end
139
+ def new(*_arg0); end
140
+ end
141
+ end
142
+
143
+ # source://lint_roller//lib/lint_roller/error.rb#2
144
+ class LintRoller::Error < ::StandardError; end
145
+
146
+ # source://lint_roller//lib/lint_roller/plugin.rb#2
147
+ class LintRoller::Plugin
148
+ # `config' is a Hash of options passed to the plugin by the user
149
+ #
150
+ # @return [Plugin] a new instance of Plugin
151
+ #
152
+ # source://lint_roller//lib/lint_roller/plugin.rb#4
153
+ def initialize(config = T.unsafe(nil)); end
154
+
155
+ # @raise [Error]
156
+ #
157
+ # source://lint_roller//lib/lint_roller/plugin.rb#8
158
+ def about; end
159
+
160
+ # `context' is an instance of LintRoller::Context provided by the runner
161
+ #
162
+ # @raise [Error]
163
+ #
164
+ # source://lint_roller//lib/lint_roller/plugin.rb#18
165
+ def rules(context); end
166
+
167
+ # `context' is an instance of LintRoller::Context provided by the runner
168
+ #
169
+ # @return [Boolean]
170
+ #
171
+ # source://lint_roller//lib/lint_roller/plugin.rb#13
172
+ def supported?(context); end
173
+ end
174
+
175
+ # source://lint_roller//lib/lint_roller/rules.rb#2
176
+ class LintRoller::Rules < ::Struct
177
+ # Returns the value of attribute config_format
178
+ #
179
+ # @return [Object] the current value of config_format
180
+ def config_format; end
181
+
182
+ # Sets the attribute config_format
183
+ #
184
+ # @param value [Object] the value to set the attribute config_format to.
185
+ # @return [Object] the newly set value
186
+ def config_format=(_); end
187
+
188
+ # Returns the value of attribute error
189
+ #
190
+ # @return [Object] the current value of error
191
+ def error; end
192
+
193
+ # Sets the attribute error
194
+ #
195
+ # @param value [Object] the value to set the attribute error to.
196
+ # @return [Object] the newly set value
197
+ def error=(_); end
198
+
199
+ # Returns the value of attribute type
200
+ #
201
+ # @return [Object] the current value of type
202
+ def type; end
203
+
204
+ # Sets the attribute type
205
+ #
206
+ # @param value [Object] the value to set the attribute type to.
207
+ # @return [Object] the newly set value
208
+ def type=(_); end
209
+
210
+ # Returns the value of attribute value
211
+ #
212
+ # @return [Object] the current value of value
213
+ def value; end
214
+
215
+ # Sets the attribute value
216
+ #
217
+ # @param value [Object] the value to set the attribute value to.
218
+ # @return [Object] the newly set value
219
+ def value=(_); end
220
+
221
+ class << self
222
+ def [](*_arg0); end
223
+ def inspect; end
224
+ def keyword_init?; end
225
+ def members; end
226
+ def new(*_arg0); end
227
+ end
228
+ end
229
+
230
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#2
231
+ module LintRoller::Support; end
232
+
233
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#3
234
+ class LintRoller::Support::MergesUpstreamMetadata
235
+ # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#4
236
+ def merge(plugin_yaml, upstream_yaml); end
237
+ end
238
+
239
+ # source://lint_roller//lib/lint_roller/version.rb#2
240
+ LintRoller::VERSION = T.let(T.unsafe(nil), String)