dekiru-data_migration 1.1.0 → 1.1.1
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/lib/dekiru/data_migration/version.rb +1 -1
- data/skills/data-migration-script/SKILL.md +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df1675b37a0388bddd1b67330d5a1b17c4557fe799de88589ab9f0eea8384a4e
|
|
4
|
+
data.tar.gz: ec25183013962b62b2bd7c15ae3eae1961dd8c4866c48081f8715b9733f8c6ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce709a7039fd0fb49fb03dc2a325a9e947849bfa5ca5406c9ced48c15d1a586d7d81a2452389cbbd7d3b98754bcb6d45a762054489112496b28d69f1163e1f94
|
|
7
|
+
data.tar.gz: df6853cd129775bdc22d9f045f2b38b3bc7fd9da7135aaac9f8a9747d8dd0c782fd137d346310d613ee338e42eef5a1e1b4772c70ca6e210fc340d87f2474bb3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: data-migration-script
|
|
3
|
-
description:
|
|
3
|
+
description: Creates data migration and deletion scripts using the dekiru-data_migration gem. Use when asked to "create a data migration script", "create a script to delete unnecessary records", or "turn this into a script", and for script-based DB operations such as deleting orphaned records after feature removal and bulk data updates.
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -23,8 +23,8 @@ Before writing a script, confirm the following:
|
|
|
23
23
|
bin/rails generate maintenance_script <PascalCaseName>
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
- `<PascalCaseName>` is the name describing the operation in PascalCase (e.g., `
|
|
27
|
-
- Generated file: `scripts/
|
|
26
|
+
- `<PascalCaseName>` is the name describing the operation in PascalCase (e.g., `DeleteOrphanedImages`)
|
|
27
|
+
- Generated file: `scripts/YYYYMMDD_<snake_case_name>.rb`
|
|
28
28
|
- Today's date (8 digits) is automatically appended to the class name
|
|
29
29
|
|
|
30
30
|
### 2. Edit the generated file
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dekiru-data_migration
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SonicGarden
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rails
|
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
88
|
version: '0'
|
|
89
89
|
requirements: []
|
|
90
|
-
rubygems_version:
|
|
90
|
+
rubygems_version: 4.0.10
|
|
91
91
|
specification_version: 4
|
|
92
92
|
summary: A Ruby on Rails library for executing data migration tasks safely and efficiently.
|
|
93
93
|
test_files: []
|