code0-zero_track 0.0.0 → 0.0.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.
- checksums.yaml +4 -4
- data/LICENSE +0 -0
- data/README.md +48 -0
- data/Rakefile +0 -0
- data/lib/code0/zero_track/context.rb +133 -0
- data/lib/code0/zero_track/database/column_methods.rb +35 -0
- data/lib/code0/zero_track/database/migration.rb +26 -0
- data/lib/code0/zero_track/database/migration_helpers/add_column_enhancements.rb +41 -0
- data/lib/code0/zero_track/database/migration_helpers/constraint_helpers.rb +22 -0
- data/lib/code0/zero_track/database/migration_helpers/index_helpers.rb +18 -0
- data/lib/code0/zero_track/database/migration_helpers/table_enhancements.rb +78 -0
- data/lib/code0/zero_track/database/postgresql_adapter/dump_schema_versions_mixin.rb +27 -0
- data/lib/code0/zero_track/database/postgresql_database_tasks/load_schema_versions_mixin.rb +26 -0
- data/lib/code0/zero_track/database/schema_cleaner.rb +51 -0
- data/lib/code0/zero_track/database/schema_migrations/context.rb +48 -0
- data/lib/code0/zero_track/database/schema_migrations/migrations.rb +62 -0
- data/lib/code0/zero_track/database/schema_migrations.rb +32 -0
- data/lib/code0/zero_track/injectors/active_record_schema_migrations.rb +20 -0
- data/lib/code0/zero_track/injectors/active_record_timestamps.rb +21 -0
- data/lib/code0/zero_track/loggable.rb +48 -0
- data/lib/code0/zero_track/logs/json_formatter.rb +42 -0
- data/lib/code0/zero_track/memoize.rb +50 -0
- data/lib/code0/zero_track/railtie.rb +15 -0
- data/lib/code0/zero_track/version.rb +1 -1
- data/lib/code0/zero_track.rb +10 -2
- data/lib/rubocop/code0/zero_track/file_helpers.rb +25 -0
- data/lib/rubocop/cop/code0/zero_track/logs/rails_logger.rb +31 -0
- data/lib/rubocop/cop/code0/zero_track/migration/create_table_with_timestamps.rb +72 -0
- data/lib/rubocop/cop/code0/zero_track/migration/datetime.rb +53 -0
- data/lib/rubocop/cop/code0/zero_track/migration/timestamps.rb +38 -0
- data/lib/rubocop/cop/code0/zero_track/migration/versioned_class.rb +93 -0
- data/lib/rubocop/zero_track.rb +5 -0
- data/lib/tasks/code0/zero_track_tasks.rake +33 -4
- metadata +60 -7
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code0-zero_track
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niklas van Schrick
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 8.0.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: zeitwerk
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.7'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.7'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +66,20 @@ dependencies:
|
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-parameterized
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: rspec-rails
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +150,7 @@ dependencies:
|
|
122
150
|
- - "~>"
|
123
151
|
- !ruby/object:Gem::Version
|
124
152
|
version: '2.30'
|
125
|
-
description:
|
153
|
+
description:
|
126
154
|
email:
|
127
155
|
- mc.taucher2003@gmail.com
|
128
156
|
executables: []
|
@@ -133,8 +161,33 @@ files:
|
|
133
161
|
- README.md
|
134
162
|
- Rakefile
|
135
163
|
- lib/code0/zero_track.rb
|
164
|
+
- lib/code0/zero_track/context.rb
|
165
|
+
- lib/code0/zero_track/database/column_methods.rb
|
166
|
+
- lib/code0/zero_track/database/migration.rb
|
167
|
+
- lib/code0/zero_track/database/migration_helpers/add_column_enhancements.rb
|
168
|
+
- lib/code0/zero_track/database/migration_helpers/constraint_helpers.rb
|
169
|
+
- lib/code0/zero_track/database/migration_helpers/index_helpers.rb
|
170
|
+
- lib/code0/zero_track/database/migration_helpers/table_enhancements.rb
|
171
|
+
- lib/code0/zero_track/database/postgresql_adapter/dump_schema_versions_mixin.rb
|
172
|
+
- lib/code0/zero_track/database/postgresql_database_tasks/load_schema_versions_mixin.rb
|
173
|
+
- lib/code0/zero_track/database/schema_cleaner.rb
|
174
|
+
- lib/code0/zero_track/database/schema_migrations.rb
|
175
|
+
- lib/code0/zero_track/database/schema_migrations/context.rb
|
176
|
+
- lib/code0/zero_track/database/schema_migrations/migrations.rb
|
177
|
+
- lib/code0/zero_track/injectors/active_record_schema_migrations.rb
|
178
|
+
- lib/code0/zero_track/injectors/active_record_timestamps.rb
|
179
|
+
- lib/code0/zero_track/loggable.rb
|
180
|
+
- lib/code0/zero_track/logs/json_formatter.rb
|
181
|
+
- lib/code0/zero_track/memoize.rb
|
136
182
|
- lib/code0/zero_track/railtie.rb
|
137
183
|
- lib/code0/zero_track/version.rb
|
184
|
+
- lib/rubocop/code0/zero_track/file_helpers.rb
|
185
|
+
- lib/rubocop/cop/code0/zero_track/logs/rails_logger.rb
|
186
|
+
- lib/rubocop/cop/code0/zero_track/migration/create_table_with_timestamps.rb
|
187
|
+
- lib/rubocop/cop/code0/zero_track/migration/datetime.rb
|
188
|
+
- lib/rubocop/cop/code0/zero_track/migration/timestamps.rb
|
189
|
+
- lib/rubocop/cop/code0/zero_track/migration/versioned_class.rb
|
190
|
+
- lib/rubocop/zero_track.rb
|
138
191
|
- lib/tasks/code0/zero_track_tasks.rake
|
139
192
|
homepage: https://github.com/code0-tech/code0-zero_track
|
140
193
|
licenses:
|
@@ -144,7 +197,7 @@ metadata:
|
|
144
197
|
source_code_uri: https://github.com/code0-tech/code0-zero_track
|
145
198
|
changelog_uri: https://github.com/code0-tech/code0-zero_track/releases
|
146
199
|
rubygems_mfa_required: 'true'
|
147
|
-
post_install_message:
|
200
|
+
post_install_message:
|
148
201
|
rdoc_options: []
|
149
202
|
require_paths:
|
150
203
|
- lib
|
@@ -152,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
205
|
requirements:
|
153
206
|
- - ">="
|
154
207
|
- !ruby/object:Gem::Version
|
155
|
-
version: 3.
|
208
|
+
version: 3.2.0
|
156
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
210
|
requirements:
|
158
211
|
- - ">="
|
@@ -160,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
213
|
version: '0'
|
161
214
|
requirements: []
|
162
215
|
rubygems_version: 3.4.10
|
163
|
-
signing_key:
|
216
|
+
signing_key:
|
164
217
|
specification_version: 4
|
165
218
|
summary: Common helpers for Code0 rails applications
|
166
219
|
test_files: []
|