pg_trunk 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +87 -0
- data/.gitignore +9 -0
- data/.rspec +4 -0
- data/.rubocop.yml +92 -0
- data/.yardopts +4 -0
- data/CHANGELOG.md +31 -0
- data/CONTRIBUTING.md +17 -0
- data/Gemfile +22 -0
- data/LICENSE.txt +21 -0
- data/README.md +141 -0
- data/Rakefile +16 -0
- data/bin/console +8 -0
- data/bin/rake +19 -0
- data/bin/rspec +19 -0
- data/bin/setup +8 -0
- data/bin/yard +19 -0
- data/lib/pg_trunk/core/adapters/postgres.rb +80 -0
- data/lib/pg_trunk/core/dependencies_resolver.rb +101 -0
- data/lib/pg_trunk/core/generators.rb +140 -0
- data/lib/pg_trunk/core/operation/attributes.rb +78 -0
- data/lib/pg_trunk/core/operation/callbacks.rb +40 -0
- data/lib/pg_trunk/core/operation/generators.rb +51 -0
- data/lib/pg_trunk/core/operation/inversion.rb +70 -0
- data/lib/pg_trunk/core/operation/registration.rb +55 -0
- data/lib/pg_trunk/core/operation/ruby_builder.rb +112 -0
- data/lib/pg_trunk/core/operation/ruby_helpers.rb +99 -0
- data/lib/pg_trunk/core/operation/sql_helpers.rb +44 -0
- data/lib/pg_trunk/core/operation/validations.rb +21 -0
- data/lib/pg_trunk/core/operation.rb +78 -0
- data/lib/pg_trunk/core/qualified_name.rb +165 -0
- data/lib/pg_trunk/core/railtie/command_recorder.rb +30 -0
- data/lib/pg_trunk/core/railtie/custom_types.rb +37 -0
- data/lib/pg_trunk/core/railtie/migration.rb +50 -0
- data/lib/pg_trunk/core/railtie/migrator.rb +22 -0
- data/lib/pg_trunk/core/railtie/schema_dumper.rb +75 -0
- data/lib/pg_trunk/core/railtie/schema_migration.rb +22 -0
- data/lib/pg_trunk/core/railtie/statements.rb +21 -0
- data/lib/pg_trunk/core/railtie.rb +35 -0
- data/lib/pg_trunk/core/registry.rb +159 -0
- data/lib/pg_trunk/core/serializers/array_of_hashes_serializer.rb +28 -0
- data/lib/pg_trunk/core/serializers/array_of_strings_serializer.rb +29 -0
- data/lib/pg_trunk/core/serializers/array_of_symbols_serializer.rb +28 -0
- data/lib/pg_trunk/core/serializers/array_serializer.rb +22 -0
- data/lib/pg_trunk/core/serializers/lowercase_string_serializer.rb +21 -0
- data/lib/pg_trunk/core/serializers/multiline_text_serializer.rb +21 -0
- data/lib/pg_trunk/core/serializers/qualified_name_serializer.rb +27 -0
- data/lib/pg_trunk/core/serializers/symbol_serializer.rb +22 -0
- data/lib/pg_trunk/core/serializers.rb +16 -0
- data/lib/pg_trunk/core/validators/all_items_valid_validator.rb +15 -0
- data/lib/pg_trunk/core/validators/difference_validator.rb +19 -0
- data/lib/pg_trunk/core/validators.rb +10 -0
- data/lib/pg_trunk/core.rb +21 -0
- data/lib/pg_trunk/generators.rb +7 -0
- data/lib/pg_trunk/operations/check_constraints/add_check_constraint.rb +109 -0
- data/lib/pg_trunk/operations/check_constraints/base.rb +69 -0
- data/lib/pg_trunk/operations/check_constraints/drop_check_constraint.rb +60 -0
- data/lib/pg_trunk/operations/check_constraints/rename_check_constraint.rb +54 -0
- data/lib/pg_trunk/operations/check_constraints/validate_check_constraint.rb +39 -0
- data/lib/pg_trunk/operations/check_constraints.rb +14 -0
- data/lib/pg_trunk/operations/composite_types/base.rb +61 -0
- data/lib/pg_trunk/operations/composite_types/change_composite_type.rb +136 -0
- data/lib/pg_trunk/operations/composite_types/column.rb +118 -0
- data/lib/pg_trunk/operations/composite_types/create_composite_type.rb +99 -0
- data/lib/pg_trunk/operations/composite_types/drop_composite_type.rb +67 -0
- data/lib/pg_trunk/operations/composite_types/rename_composite_type.rb +44 -0
- data/lib/pg_trunk/operations/composite_types.rb +15 -0
- data/lib/pg_trunk/operations/domains/base.rb +46 -0
- data/lib/pg_trunk/operations/domains/change_domain.rb +140 -0
- data/lib/pg_trunk/operations/domains/constraint.rb +93 -0
- data/lib/pg_trunk/operations/domains/create_domain.rb +124 -0
- data/lib/pg_trunk/operations/domains/drop_domain.rb +65 -0
- data/lib/pg_trunk/operations/domains/rename_domain.rb +44 -0
- data/lib/pg_trunk/operations/domains.rb +15 -0
- data/lib/pg_trunk/operations/enums/base.rb +47 -0
- data/lib/pg_trunk/operations/enums/change.rb +55 -0
- data/lib/pg_trunk/operations/enums/change_enum.rb +119 -0
- data/lib/pg_trunk/operations/enums/create_enum.rb +83 -0
- data/lib/pg_trunk/operations/enums/drop_enum.rb +63 -0
- data/lib/pg_trunk/operations/enums/rename_enum.rb +44 -0
- data/lib/pg_trunk/operations/enums.rb +15 -0
- data/lib/pg_trunk/operations/foreign_keys/add_foreign_key.rb +174 -0
- data/lib/pg_trunk/operations/foreign_keys/base.rb +155 -0
- data/lib/pg_trunk/operations/foreign_keys/drop_foreign_key.rb +76 -0
- data/lib/pg_trunk/operations/foreign_keys/rename_foreign_key.rb +63 -0
- data/lib/pg_trunk/operations/foreign_keys.rb +16 -0
- data/lib/pg_trunk/operations/functions/base.rb +54 -0
- data/lib/pg_trunk/operations/functions/change_function.rb +108 -0
- data/lib/pg_trunk/operations/functions/create_function.rb +198 -0
- data/lib/pg_trunk/operations/functions/drop_function.rb +88 -0
- data/lib/pg_trunk/operations/functions/rename_function.rb +57 -0
- data/lib/pg_trunk/operations/functions.rb +14 -0
- data/lib/pg_trunk/operations/indexes/add_index.rb +68 -0
- data/lib/pg_trunk/operations/indexes.rb +10 -0
- data/lib/pg_trunk/operations/materialized_views/base.rb +79 -0
- data/lib/pg_trunk/operations/materialized_views/change_materialized_view.rb +139 -0
- data/lib/pg_trunk/operations/materialized_views/column.rb +94 -0
- data/lib/pg_trunk/operations/materialized_views/create_materialized_view.rb +170 -0
- data/lib/pg_trunk/operations/materialized_views/drop_materialized_view.rb +70 -0
- data/lib/pg_trunk/operations/materialized_views/refresh_materialized_view.rb +48 -0
- data/lib/pg_trunk/operations/materialized_views/rename_materialized_view.rb +61 -0
- data/lib/pg_trunk/operations/materialized_views.rb +17 -0
- data/lib/pg_trunk/operations/procedures/base.rb +42 -0
- data/lib/pg_trunk/operations/procedures/change_procedure.rb +107 -0
- data/lib/pg_trunk/operations/procedures/create_procedure.rb +146 -0
- data/lib/pg_trunk/operations/procedures/drop_procedure.rb +66 -0
- data/lib/pg_trunk/operations/procedures/rename_procedure.rb +57 -0
- data/lib/pg_trunk/operations/procedures.rb +14 -0
- data/lib/pg_trunk/operations/statistics/base.rb +94 -0
- data/lib/pg_trunk/operations/statistics/create_statistics.rb +181 -0
- data/lib/pg_trunk/operations/statistics/drop_statistics.rb +75 -0
- data/lib/pg_trunk/operations/statistics/rename_statistics.rb +48 -0
- data/lib/pg_trunk/operations/statistics.rb +13 -0
- data/lib/pg_trunk/operations/tables/create_table.rb +75 -0
- data/lib/pg_trunk/operations/tables.rb +10 -0
- data/lib/pg_trunk/operations/triggers/base.rb +119 -0
- data/lib/pg_trunk/operations/triggers/change_trigger.rb +82 -0
- data/lib/pg_trunk/operations/triggers/create_trigger.rb +208 -0
- data/lib/pg_trunk/operations/triggers/drop_trigger.rb +66 -0
- data/lib/pg_trunk/operations/triggers/rename_trigger.rb +71 -0
- data/lib/pg_trunk/operations/triggers.rb +14 -0
- data/lib/pg_trunk/operations/views/base.rb +38 -0
- data/lib/pg_trunk/operations/views/change_view.rb +90 -0
- data/lib/pg_trunk/operations/views/create_view.rb +115 -0
- data/lib/pg_trunk/operations/views/drop_view.rb +69 -0
- data/lib/pg_trunk/operations/views/rename_view.rb +58 -0
- data/lib/pg_trunk/operations/views.rb +14 -0
- data/lib/pg_trunk/operations.rb +23 -0
- data/lib/pg_trunk/version.rb +6 -0
- data/lib/pg_trunk.rb +27 -0
- data/pg_trunk.gemspec +34 -0
- data/spec/dummy/.gitignore +16 -0
- data/spec/dummy/Rakefile +15 -0
- data/spec/dummy/bin/bundle +6 -0
- data/spec/dummy/bin/rails +6 -0
- data/spec/dummy/bin/rake +6 -0
- data/spec/dummy/config/application.rb +18 -0
- data/spec/dummy/config/boot.rb +7 -0
- data/spec/dummy/config/database.yml +14 -0
- data/spec/dummy/config/environment.rb +7 -0
- data/spec/dummy/config.ru +6 -0
- data/spec/dummy/db/materialized_views/admin_users_v01.sql +1 -0
- data/spec/dummy/db/migrate/.keep +0 -0
- data/spec/dummy/db/schema.rb +18 -0
- data/spec/dummy/db/views/admin_users_v01.sql +1 -0
- data/spec/dummy/db/views/admin_users_v02.sql +1 -0
- data/spec/operations/check_constraints/add_check_constraint_spec.rb +85 -0
- data/spec/operations/check_constraints/drop_check_constraint_spec.rb +111 -0
- data/spec/operations/check_constraints/rename_check_constraint_spec.rb +90 -0
- data/spec/operations/composite_types/change_composite_type_spec.rb +257 -0
- data/spec/operations/composite_types/create_composite_type_spec.rb +55 -0
- data/spec/operations/composite_types/drop_composite_type_spec.rb +109 -0
- data/spec/operations/composite_types/rename_composite_type_spec.rb +74 -0
- data/spec/operations/dependency_resolver_spec.rb +177 -0
- data/spec/operations/domains/change_domain_spec.rb +287 -0
- data/spec/operations/domains/create_domain_spec.rb +69 -0
- data/spec/operations/domains/drop_domain_spec.rb +119 -0
- data/spec/operations/domains/rename_domain_spec.rb +70 -0
- data/spec/operations/enums/change_enum_spec.rb +157 -0
- data/spec/operations/enums/create_enum_spec.rb +40 -0
- data/spec/operations/enums/drop_enum_spec.rb +120 -0
- data/spec/operations/enums/rename_enum_spec.rb +72 -0
- data/spec/operations/foreign_keys/add_foreign_key_spec.rb +208 -0
- data/spec/operations/foreign_keys/drop_foreign_key_spec.rb +167 -0
- data/spec/operations/foreign_keys/rename_foreign_key_spec.rb +101 -0
- data/spec/operations/functions/change_function_spec.rb +166 -0
- data/spec/operations/functions/create_function_spec.rb +192 -0
- data/spec/operations/functions/drop_function_spec.rb +182 -0
- data/spec/operations/functions/rename_function_spec.rb +101 -0
- data/spec/operations/indexes/add_index_spec.rb +94 -0
- data/spec/operations/materialized_views/change_materialized_view_spec.rb +190 -0
- data/spec/operations/materialized_views/create_materialized_view_spec.rb +144 -0
- data/spec/operations/materialized_views/drop_materialized_view_spec.rb +145 -0
- data/spec/operations/materialized_views/refresh_materialized_view_spec.rb +79 -0
- data/spec/operations/materialized_views/rename_materialized_view_spec.rb +88 -0
- data/spec/operations/procedures/change_procedure_spec.rb +175 -0
- data/spec/operations/procedures/create_procedure_spec.rb +151 -0
- data/spec/operations/procedures/drop_procedure_spec.rb +159 -0
- data/spec/operations/procedures/rename_procedure_spec.rb +107 -0
- data/spec/operations/statistics/create_statistics_spec.rb +230 -0
- data/spec/operations/statistics/drop_statistics_spec.rb +106 -0
- data/spec/operations/statistics/rename_statistics_spec.rb +129 -0
- data/spec/operations/tables/create_table_spec.rb +53 -0
- data/spec/operations/tables/rename_table_spec.rb +37 -0
- data/spec/operations/triggers/change_trigger_spec.rb +195 -0
- data/spec/operations/triggers/create_trigger_spec.rb +104 -0
- data/spec/operations/triggers/drop_trigger_spec.rb +124 -0
- data/spec/operations/triggers/rename_trigger_spec.rb +160 -0
- data/spec/operations/views/change_view_spec.rb +144 -0
- data/spec/operations/views/create_view_spec.rb +134 -0
- data/spec/operations/views/drop_view_spec.rb +146 -0
- data/spec/operations/views/rename_view_spec.rb +85 -0
- data/spec/pg_trunk/dependencies_resolver_spec.rb +43 -0
- data/spec/spec_helper.rb +28 -0
- data/spec/support/migrations_helper.rb +376 -0
- metadata +348 -0
metadata
ADDED
@@ -0,0 +1,348 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pg_trunk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrew Kozin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activerecord
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pg
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: railties
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.0.0
|
55
|
+
description: " Adds methods to ActiveRecord::Migration to create and manage PostgreSQL
|
56
|
+
objects in Rails\n"
|
57
|
+
email:
|
58
|
+
- andrew.kozin@gmail.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".github/workflows/ci.yml"
|
64
|
+
- ".gitignore"
|
65
|
+
- ".rspec"
|
66
|
+
- ".rubocop.yml"
|
67
|
+
- ".yardopts"
|
68
|
+
- CHANGELOG.md
|
69
|
+
- CONTRIBUTING.md
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE.txt
|
72
|
+
- README.md
|
73
|
+
- Rakefile
|
74
|
+
- bin/console
|
75
|
+
- bin/rake
|
76
|
+
- bin/rspec
|
77
|
+
- bin/setup
|
78
|
+
- bin/yard
|
79
|
+
- lib/pg_trunk.rb
|
80
|
+
- lib/pg_trunk/core.rb
|
81
|
+
- lib/pg_trunk/core/adapters/postgres.rb
|
82
|
+
- lib/pg_trunk/core/dependencies_resolver.rb
|
83
|
+
- lib/pg_trunk/core/generators.rb
|
84
|
+
- lib/pg_trunk/core/operation.rb
|
85
|
+
- lib/pg_trunk/core/operation/attributes.rb
|
86
|
+
- lib/pg_trunk/core/operation/callbacks.rb
|
87
|
+
- lib/pg_trunk/core/operation/generators.rb
|
88
|
+
- lib/pg_trunk/core/operation/inversion.rb
|
89
|
+
- lib/pg_trunk/core/operation/registration.rb
|
90
|
+
- lib/pg_trunk/core/operation/ruby_builder.rb
|
91
|
+
- lib/pg_trunk/core/operation/ruby_helpers.rb
|
92
|
+
- lib/pg_trunk/core/operation/sql_helpers.rb
|
93
|
+
- lib/pg_trunk/core/operation/validations.rb
|
94
|
+
- lib/pg_trunk/core/qualified_name.rb
|
95
|
+
- lib/pg_trunk/core/railtie.rb
|
96
|
+
- lib/pg_trunk/core/railtie/command_recorder.rb
|
97
|
+
- lib/pg_trunk/core/railtie/custom_types.rb
|
98
|
+
- lib/pg_trunk/core/railtie/migration.rb
|
99
|
+
- lib/pg_trunk/core/railtie/migrator.rb
|
100
|
+
- lib/pg_trunk/core/railtie/schema_dumper.rb
|
101
|
+
- lib/pg_trunk/core/railtie/schema_migration.rb
|
102
|
+
- lib/pg_trunk/core/railtie/statements.rb
|
103
|
+
- lib/pg_trunk/core/registry.rb
|
104
|
+
- lib/pg_trunk/core/serializers.rb
|
105
|
+
- lib/pg_trunk/core/serializers/array_of_hashes_serializer.rb
|
106
|
+
- lib/pg_trunk/core/serializers/array_of_strings_serializer.rb
|
107
|
+
- lib/pg_trunk/core/serializers/array_of_symbols_serializer.rb
|
108
|
+
- lib/pg_trunk/core/serializers/array_serializer.rb
|
109
|
+
- lib/pg_trunk/core/serializers/lowercase_string_serializer.rb
|
110
|
+
- lib/pg_trunk/core/serializers/multiline_text_serializer.rb
|
111
|
+
- lib/pg_trunk/core/serializers/qualified_name_serializer.rb
|
112
|
+
- lib/pg_trunk/core/serializers/symbol_serializer.rb
|
113
|
+
- lib/pg_trunk/core/validators.rb
|
114
|
+
- lib/pg_trunk/core/validators/all_items_valid_validator.rb
|
115
|
+
- lib/pg_trunk/core/validators/difference_validator.rb
|
116
|
+
- lib/pg_trunk/generators.rb
|
117
|
+
- lib/pg_trunk/operations.rb
|
118
|
+
- lib/pg_trunk/operations/check_constraints.rb
|
119
|
+
- lib/pg_trunk/operations/check_constraints/add_check_constraint.rb
|
120
|
+
- lib/pg_trunk/operations/check_constraints/base.rb
|
121
|
+
- lib/pg_trunk/operations/check_constraints/drop_check_constraint.rb
|
122
|
+
- lib/pg_trunk/operations/check_constraints/rename_check_constraint.rb
|
123
|
+
- lib/pg_trunk/operations/check_constraints/validate_check_constraint.rb
|
124
|
+
- lib/pg_trunk/operations/composite_types.rb
|
125
|
+
- lib/pg_trunk/operations/composite_types/base.rb
|
126
|
+
- lib/pg_trunk/operations/composite_types/change_composite_type.rb
|
127
|
+
- lib/pg_trunk/operations/composite_types/column.rb
|
128
|
+
- lib/pg_trunk/operations/composite_types/create_composite_type.rb
|
129
|
+
- lib/pg_trunk/operations/composite_types/drop_composite_type.rb
|
130
|
+
- lib/pg_trunk/operations/composite_types/rename_composite_type.rb
|
131
|
+
- lib/pg_trunk/operations/domains.rb
|
132
|
+
- lib/pg_trunk/operations/domains/base.rb
|
133
|
+
- lib/pg_trunk/operations/domains/change_domain.rb
|
134
|
+
- lib/pg_trunk/operations/domains/constraint.rb
|
135
|
+
- lib/pg_trunk/operations/domains/create_domain.rb
|
136
|
+
- lib/pg_trunk/operations/domains/drop_domain.rb
|
137
|
+
- lib/pg_trunk/operations/domains/rename_domain.rb
|
138
|
+
- lib/pg_trunk/operations/enums.rb
|
139
|
+
- lib/pg_trunk/operations/enums/base.rb
|
140
|
+
- lib/pg_trunk/operations/enums/change.rb
|
141
|
+
- lib/pg_trunk/operations/enums/change_enum.rb
|
142
|
+
- lib/pg_trunk/operations/enums/create_enum.rb
|
143
|
+
- lib/pg_trunk/operations/enums/drop_enum.rb
|
144
|
+
- lib/pg_trunk/operations/enums/rename_enum.rb
|
145
|
+
- lib/pg_trunk/operations/foreign_keys.rb
|
146
|
+
- lib/pg_trunk/operations/foreign_keys/add_foreign_key.rb
|
147
|
+
- lib/pg_trunk/operations/foreign_keys/base.rb
|
148
|
+
- lib/pg_trunk/operations/foreign_keys/drop_foreign_key.rb
|
149
|
+
- lib/pg_trunk/operations/foreign_keys/rename_foreign_key.rb
|
150
|
+
- lib/pg_trunk/operations/functions.rb
|
151
|
+
- lib/pg_trunk/operations/functions/base.rb
|
152
|
+
- lib/pg_trunk/operations/functions/change_function.rb
|
153
|
+
- lib/pg_trunk/operations/functions/create_function.rb
|
154
|
+
- lib/pg_trunk/operations/functions/drop_function.rb
|
155
|
+
- lib/pg_trunk/operations/functions/rename_function.rb
|
156
|
+
- lib/pg_trunk/operations/indexes.rb
|
157
|
+
- lib/pg_trunk/operations/indexes/add_index.rb
|
158
|
+
- lib/pg_trunk/operations/materialized_views.rb
|
159
|
+
- lib/pg_trunk/operations/materialized_views/base.rb
|
160
|
+
- lib/pg_trunk/operations/materialized_views/change_materialized_view.rb
|
161
|
+
- lib/pg_trunk/operations/materialized_views/column.rb
|
162
|
+
- lib/pg_trunk/operations/materialized_views/create_materialized_view.rb
|
163
|
+
- lib/pg_trunk/operations/materialized_views/drop_materialized_view.rb
|
164
|
+
- lib/pg_trunk/operations/materialized_views/refresh_materialized_view.rb
|
165
|
+
- lib/pg_trunk/operations/materialized_views/rename_materialized_view.rb
|
166
|
+
- lib/pg_trunk/operations/procedures.rb
|
167
|
+
- lib/pg_trunk/operations/procedures/base.rb
|
168
|
+
- lib/pg_trunk/operations/procedures/change_procedure.rb
|
169
|
+
- lib/pg_trunk/operations/procedures/create_procedure.rb
|
170
|
+
- lib/pg_trunk/operations/procedures/drop_procedure.rb
|
171
|
+
- lib/pg_trunk/operations/procedures/rename_procedure.rb
|
172
|
+
- lib/pg_trunk/operations/statistics.rb
|
173
|
+
- lib/pg_trunk/operations/statistics/base.rb
|
174
|
+
- lib/pg_trunk/operations/statistics/create_statistics.rb
|
175
|
+
- lib/pg_trunk/operations/statistics/drop_statistics.rb
|
176
|
+
- lib/pg_trunk/operations/statistics/rename_statistics.rb
|
177
|
+
- lib/pg_trunk/operations/tables.rb
|
178
|
+
- lib/pg_trunk/operations/tables/create_table.rb
|
179
|
+
- lib/pg_trunk/operations/triggers.rb
|
180
|
+
- lib/pg_trunk/operations/triggers/base.rb
|
181
|
+
- lib/pg_trunk/operations/triggers/change_trigger.rb
|
182
|
+
- lib/pg_trunk/operations/triggers/create_trigger.rb
|
183
|
+
- lib/pg_trunk/operations/triggers/drop_trigger.rb
|
184
|
+
- lib/pg_trunk/operations/triggers/rename_trigger.rb
|
185
|
+
- lib/pg_trunk/operations/views.rb
|
186
|
+
- lib/pg_trunk/operations/views/base.rb
|
187
|
+
- lib/pg_trunk/operations/views/change_view.rb
|
188
|
+
- lib/pg_trunk/operations/views/create_view.rb
|
189
|
+
- lib/pg_trunk/operations/views/drop_view.rb
|
190
|
+
- lib/pg_trunk/operations/views/rename_view.rb
|
191
|
+
- lib/pg_trunk/version.rb
|
192
|
+
- pg_trunk.gemspec
|
193
|
+
- spec/dummy/.gitignore
|
194
|
+
- spec/dummy/Rakefile
|
195
|
+
- spec/dummy/bin/bundle
|
196
|
+
- spec/dummy/bin/rails
|
197
|
+
- spec/dummy/bin/rake
|
198
|
+
- spec/dummy/config.ru
|
199
|
+
- spec/dummy/config/application.rb
|
200
|
+
- spec/dummy/config/boot.rb
|
201
|
+
- spec/dummy/config/database.yml
|
202
|
+
- spec/dummy/config/environment.rb
|
203
|
+
- spec/dummy/db/materialized_views/admin_users_v01.sql
|
204
|
+
- spec/dummy/db/migrate/.keep
|
205
|
+
- spec/dummy/db/schema.rb
|
206
|
+
- spec/dummy/db/views/admin_users_v01.sql
|
207
|
+
- spec/dummy/db/views/admin_users_v02.sql
|
208
|
+
- spec/operations/check_constraints/add_check_constraint_spec.rb
|
209
|
+
- spec/operations/check_constraints/drop_check_constraint_spec.rb
|
210
|
+
- spec/operations/check_constraints/rename_check_constraint_spec.rb
|
211
|
+
- spec/operations/composite_types/change_composite_type_spec.rb
|
212
|
+
- spec/operations/composite_types/create_composite_type_spec.rb
|
213
|
+
- spec/operations/composite_types/drop_composite_type_spec.rb
|
214
|
+
- spec/operations/composite_types/rename_composite_type_spec.rb
|
215
|
+
- spec/operations/dependency_resolver_spec.rb
|
216
|
+
- spec/operations/domains/change_domain_spec.rb
|
217
|
+
- spec/operations/domains/create_domain_spec.rb
|
218
|
+
- spec/operations/domains/drop_domain_spec.rb
|
219
|
+
- spec/operations/domains/rename_domain_spec.rb
|
220
|
+
- spec/operations/enums/change_enum_spec.rb
|
221
|
+
- spec/operations/enums/create_enum_spec.rb
|
222
|
+
- spec/operations/enums/drop_enum_spec.rb
|
223
|
+
- spec/operations/enums/rename_enum_spec.rb
|
224
|
+
- spec/operations/foreign_keys/add_foreign_key_spec.rb
|
225
|
+
- spec/operations/foreign_keys/drop_foreign_key_spec.rb
|
226
|
+
- spec/operations/foreign_keys/rename_foreign_key_spec.rb
|
227
|
+
- spec/operations/functions/change_function_spec.rb
|
228
|
+
- spec/operations/functions/create_function_spec.rb
|
229
|
+
- spec/operations/functions/drop_function_spec.rb
|
230
|
+
- spec/operations/functions/rename_function_spec.rb
|
231
|
+
- spec/operations/indexes/add_index_spec.rb
|
232
|
+
- spec/operations/materialized_views/change_materialized_view_spec.rb
|
233
|
+
- spec/operations/materialized_views/create_materialized_view_spec.rb
|
234
|
+
- spec/operations/materialized_views/drop_materialized_view_spec.rb
|
235
|
+
- spec/operations/materialized_views/refresh_materialized_view_spec.rb
|
236
|
+
- spec/operations/materialized_views/rename_materialized_view_spec.rb
|
237
|
+
- spec/operations/procedures/change_procedure_spec.rb
|
238
|
+
- spec/operations/procedures/create_procedure_spec.rb
|
239
|
+
- spec/operations/procedures/drop_procedure_spec.rb
|
240
|
+
- spec/operations/procedures/rename_procedure_spec.rb
|
241
|
+
- spec/operations/statistics/create_statistics_spec.rb
|
242
|
+
- spec/operations/statistics/drop_statistics_spec.rb
|
243
|
+
- spec/operations/statistics/rename_statistics_spec.rb
|
244
|
+
- spec/operations/tables/create_table_spec.rb
|
245
|
+
- spec/operations/tables/rename_table_spec.rb
|
246
|
+
- spec/operations/triggers/change_trigger_spec.rb
|
247
|
+
- spec/operations/triggers/create_trigger_spec.rb
|
248
|
+
- spec/operations/triggers/drop_trigger_spec.rb
|
249
|
+
- spec/operations/triggers/rename_trigger_spec.rb
|
250
|
+
- spec/operations/views/change_view_spec.rb
|
251
|
+
- spec/operations/views/create_view_spec.rb
|
252
|
+
- spec/operations/views/drop_view_spec.rb
|
253
|
+
- spec/operations/views/rename_view_spec.rb
|
254
|
+
- spec/pg_trunk/dependencies_resolver_spec.rb
|
255
|
+
- spec/spec_helper.rb
|
256
|
+
- spec/support/migrations_helper.rb
|
257
|
+
homepage: https://github.com/nepalez/pg_trunk
|
258
|
+
licenses:
|
259
|
+
- MIT
|
260
|
+
metadata:
|
261
|
+
homepage_uri: https://github.com/nepalez/pg_trunk
|
262
|
+
source_code_uri: https://github.com/nepalez/pg_trunk
|
263
|
+
changelog_uri: https://github.com/nepalez/pg_trunk/CHANGELOG.md
|
264
|
+
rubygems_mfa_required: 'true'
|
265
|
+
post_install_message:
|
266
|
+
rdoc_options: []
|
267
|
+
require_paths:
|
268
|
+
- lib
|
269
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - ">="
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: 2.7.0
|
274
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
requirements: []
|
280
|
+
rubygems_version: 3.3.3
|
281
|
+
signing_key:
|
282
|
+
specification_version: 4
|
283
|
+
summary: Empower PostgreSQL migrations in Rails app
|
284
|
+
test_files:
|
285
|
+
- spec/dummy/.gitignore
|
286
|
+
- spec/dummy/Rakefile
|
287
|
+
- spec/dummy/bin/bundle
|
288
|
+
- spec/dummy/bin/rails
|
289
|
+
- spec/dummy/bin/rake
|
290
|
+
- spec/dummy/config.ru
|
291
|
+
- spec/dummy/config/application.rb
|
292
|
+
- spec/dummy/config/boot.rb
|
293
|
+
- spec/dummy/config/database.yml
|
294
|
+
- spec/dummy/config/environment.rb
|
295
|
+
- spec/dummy/db/materialized_views/admin_users_v01.sql
|
296
|
+
- spec/dummy/db/migrate/.keep
|
297
|
+
- spec/dummy/db/schema.rb
|
298
|
+
- spec/dummy/db/views/admin_users_v01.sql
|
299
|
+
- spec/dummy/db/views/admin_users_v02.sql
|
300
|
+
- spec/operations/check_constraints/add_check_constraint_spec.rb
|
301
|
+
- spec/operations/check_constraints/drop_check_constraint_spec.rb
|
302
|
+
- spec/operations/check_constraints/rename_check_constraint_spec.rb
|
303
|
+
- spec/operations/composite_types/change_composite_type_spec.rb
|
304
|
+
- spec/operations/composite_types/create_composite_type_spec.rb
|
305
|
+
- spec/operations/composite_types/drop_composite_type_spec.rb
|
306
|
+
- spec/operations/composite_types/rename_composite_type_spec.rb
|
307
|
+
- spec/operations/dependency_resolver_spec.rb
|
308
|
+
- spec/operations/domains/change_domain_spec.rb
|
309
|
+
- spec/operations/domains/create_domain_spec.rb
|
310
|
+
- spec/operations/domains/drop_domain_spec.rb
|
311
|
+
- spec/operations/domains/rename_domain_spec.rb
|
312
|
+
- spec/operations/enums/change_enum_spec.rb
|
313
|
+
- spec/operations/enums/create_enum_spec.rb
|
314
|
+
- spec/operations/enums/drop_enum_spec.rb
|
315
|
+
- spec/operations/enums/rename_enum_spec.rb
|
316
|
+
- spec/operations/foreign_keys/add_foreign_key_spec.rb
|
317
|
+
- spec/operations/foreign_keys/drop_foreign_key_spec.rb
|
318
|
+
- spec/operations/foreign_keys/rename_foreign_key_spec.rb
|
319
|
+
- spec/operations/functions/change_function_spec.rb
|
320
|
+
- spec/operations/functions/create_function_spec.rb
|
321
|
+
- spec/operations/functions/drop_function_spec.rb
|
322
|
+
- spec/operations/functions/rename_function_spec.rb
|
323
|
+
- spec/operations/indexes/add_index_spec.rb
|
324
|
+
- spec/operations/materialized_views/change_materialized_view_spec.rb
|
325
|
+
- spec/operations/materialized_views/create_materialized_view_spec.rb
|
326
|
+
- spec/operations/materialized_views/drop_materialized_view_spec.rb
|
327
|
+
- spec/operations/materialized_views/refresh_materialized_view_spec.rb
|
328
|
+
- spec/operations/materialized_views/rename_materialized_view_spec.rb
|
329
|
+
- spec/operations/procedures/change_procedure_spec.rb
|
330
|
+
- spec/operations/procedures/create_procedure_spec.rb
|
331
|
+
- spec/operations/procedures/drop_procedure_spec.rb
|
332
|
+
- spec/operations/procedures/rename_procedure_spec.rb
|
333
|
+
- spec/operations/statistics/create_statistics_spec.rb
|
334
|
+
- spec/operations/statistics/drop_statistics_spec.rb
|
335
|
+
- spec/operations/statistics/rename_statistics_spec.rb
|
336
|
+
- spec/operations/tables/create_table_spec.rb
|
337
|
+
- spec/operations/tables/rename_table_spec.rb
|
338
|
+
- spec/operations/triggers/change_trigger_spec.rb
|
339
|
+
- spec/operations/triggers/create_trigger_spec.rb
|
340
|
+
- spec/operations/triggers/drop_trigger_spec.rb
|
341
|
+
- spec/operations/triggers/rename_trigger_spec.rb
|
342
|
+
- spec/operations/views/change_view_spec.rb
|
343
|
+
- spec/operations/views/create_view_spec.rb
|
344
|
+
- spec/operations/views/drop_view_spec.rb
|
345
|
+
- spec/operations/views/rename_view_spec.rb
|
346
|
+
- spec/pg_trunk/dependencies_resolver_spec.rb
|
347
|
+
- spec/spec_helper.rb
|
348
|
+
- spec/support/migrations_helper.rb
|