chronos-ruby 1.2.1 → 1.2.2

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.
@@ -0,0 +1,26 @@
1
+ require "rails/generators"
2
+ require "chronos/deploy/installer"
3
+
4
+ module Chronos
5
+ module Generators
6
+ module Deploy
7
+ # @responsibility Delegate explicit Rails generation to the shared deploy installer.
8
+ # Rails adapter for the same explicit installer used by the CLI.
9
+ class InstallGenerator < ::Rails::Generators::Base
10
+ namespace "chronos:deploy:install"
11
+ class_option :provider, :type => :string, :required => true
12
+ class_option :dry_run, :type => :boolean, :default => false
13
+ class_option :check, :type => :boolean, :default => false
14
+ class_option :force, :type => :boolean, :default => false
15
+
16
+ def install_deploy
17
+ result = Chronos::Deploy::Installer.new.install(
18
+ :root => destination_root, :provider => options[:provider],
19
+ :dry_run => options[:dry_run], :check => options[:check], :force => options[:force]
20
+ )
21
+ say result
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Jefferson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-14 00:00:00.000000000 Z
11
+ date: 2026-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,6 +30,26 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3'
33
+ - !ruby/object:Gem::Dependency
34
+ name: minitest
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '5.15'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '6'
43
+ type: :development
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '5.15'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '6'
33
53
  - !ruby/object:Gem::Dependency
34
54
  name: rake
35
55
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +111,8 @@ description: Cliente oficial do Chronos para capturar e enviar exceções, métr
91
111
  dados em https://chronosmonitor.com.br.
92
112
  email:
93
113
  - antoniojeferson96@gmail.com
94
- executables: []
114
+ executables:
115
+ - chronos
95
116
  extensions: []
96
117
  extra_rdoc_files: []
97
118
  files:
@@ -127,12 +148,16 @@ files:
127
148
  - docs/adr/ADR-017-deploy-events-and-correlation.md
128
149
  - docs/adr/ADR-018-pre-1.0-hardening.md
129
150
  - docs/adr/ADR-019-bounded-query-diagnostics.md
151
+ - docs/adr/legacy-deploy-cli.md
152
+ - docs/adr/transitional-deploy-cli.md
130
153
  - docs/architecture.md
131
154
  - docs/compatibility.md
132
155
  - docs/configuration.md
133
156
  - docs/data-collected.md
157
+ - docs/deploy-cli.md
134
158
  - docs/deprecation-policy.md
135
159
  - docs/examples/plain-ruby.md
160
+ - docs/legacy-test-environment.md
136
161
  - docs/migration-from-airbrake.md
137
162
  - docs/modules/active-job.md
138
163
  - docs/modules/apm-aggregation.md
@@ -167,10 +192,13 @@ files:
167
192
  - docs/protocol-v1.md
168
193
  - docs/release-1.0-readiness.md
169
194
  - docs/release-1.1-readiness.md
195
+ - docs/release-1.1.4-readiness.md
170
196
  - docs/release-1.2-readiness.md
197
+ - docs/release-1.2.2-readiness.md
171
198
  - docs/security-review.md
172
199
  - docs/semver.md
173
200
  - docs/troubleshooting.md
201
+ - exe/chronos
174
202
  - lib/chronos.rb
175
203
  - lib/chronos/adapters.rb
176
204
  - lib/chronos/adapters/fiber_local_context_store.rb
@@ -190,12 +218,14 @@ files:
190
218
  - lib/chronos/application/retry_policy.rb
191
219
  - lib/chronos/application/verify_integration.rb
192
220
  - lib/chronos/capistrano.rb
221
+ - lib/chronos/cli.rb
193
222
  - lib/chronos/configuration.rb
194
223
  - lib/chronos/configuration/apm_validation.rb
195
224
  - lib/chronos/configuration/snapshot.rb
196
225
  - lib/chronos/configuration/validation.rb
197
226
  - lib/chronos/core.rb
198
227
  - lib/chronos/core/backtrace_parser.rb
228
+ - lib/chronos/core/bounded_copy.rb
199
229
  - lib/chronos/core/breadcrumb.rb
200
230
  - lib/chronos/core/cache_normalizer.rb
201
231
  - lib/chronos/core/correlation_context.rb
@@ -210,10 +240,17 @@ files:
210
240
  - lib/chronos/core/safe_serializer.rb
211
241
  - lib/chronos/core/sanitizer.rb
212
242
  - lib/chronos/core/sensitive_value_filter.rb
243
+ - lib/chronos/core/sql_lexer.rb
213
244
  - lib/chronos/core/sql_normalizer.rb
214
245
  - lib/chronos/core/sql_query_analyzer.rb
215
246
  - lib/chronos/core/telemetry_event.rb
216
247
  - lib/chronos/core/trace_context.rb
248
+ - lib/chronos/deploy/configuration.rb
249
+ - lib/chronos/deploy/error.rb
250
+ - lib/chronos/deploy/installer.rb
251
+ - lib/chronos/deploy/providers.rb
252
+ - lib/chronos/deploy/runner.rb
253
+ - lib/chronos/deploy/secure_directory.rb
217
254
  - lib/chronos/errors.rb
218
255
  - lib/chronos/integrations.rb
219
256
  - lib/chronos/integrations/active_job.rb
@@ -247,6 +284,7 @@ files:
247
284
  - lib/chronos/ruby/version.rb
248
285
  - lib/chronos/sidekiq.rb
249
286
  - lib/chronos/version.rb
287
+ - lib/generators/chronos/deploy/install/install_generator.rb
250
288
  - lib/generators/chronos/install/install_generator.rb
251
289
  - lib/generators/chronos/install/templates/chronos.rb
252
290
  homepage: https://github.com/antoniojefferson/chronos-ruby