migrate-hack 0.1.6 → 0.1.8

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/migrate-hack.sh +1 -1
  3. metadata +4 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44f2ca633929442ab8392803285d38427944836b0cf9a63597cd2b97477efc33
4
- data.tar.gz: 1568f071e4d9677ed30b90af081eee0cc03d2b8fcaab8c526b65a54d021e5e83
3
+ metadata.gz: cd1e9189d0d4d8ffdf396f4a67a453b4bce62c7a94a06bd94bfb638b864adb2e
4
+ data.tar.gz: ff5f571a5bc7de78aec490956d629caa47eaf275909d48f728a52a3aa8f8116a
5
5
  SHA512:
6
- metadata.gz: b884c68b4e60a45be692e19a129f559a1cf67da6a5834ccc9dc3675fc1028f12835e06b62c6b0d0bab5f2e89f49b746a72c6acaffe77974c6fec6bd1deb3a244
7
- data.tar.gz: bbf1620055e63e353c0d3304d114553be47dac84cd0d4f74263f9d0c85c0a52890e2003afb3e3d644c5da853b6efe9d890ee5c1cff7d92ddb90162dc6a2669df
6
+ metadata.gz: 7efaca36920ccbafb4550bc0fe297e30c116a222375a39b77f59abad3ccd9ef7d8544084f08b0bf61ee9e2c1fe0dc5427ed31e59b8d052488666554d7a71a739
7
+ data.tar.gz: 536254792554299cb78ae5c5898238df773cf3b43cb36bf1561845d9813491f532444cfca11d02d45c03eacf3821445148ec507e8f27b9df53ca1d804e2784e7
data/bin/migrate-hack.sh CHANGED
@@ -87,7 +87,7 @@ while read -r TIMESTAMP MIGRATION COMMIT; do
87
87
 
88
88
  cp -r "$COPY_DIR/." "$destination"
89
89
 
90
- CHECKOUT=$(bundle install > /dev/null)
90
+ bundle install > /dev/null
91
91
  echo -e "\033[1;32m - migrate\033[0m"
92
92
  bundle exec rails db:migrate:up VERSION=$MIGRATION
93
93
 
metadata CHANGED
@@ -1,23 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migrate-hack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Zillner
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-26 00:00:00.000000000 Z
10
+ date: 2025-03-28 00:00:00.000000000 Z
11
11
  dependencies: []
12
- description: |+
13
- Ideal for deterministic pipelines, CI/CD, or containers that apply migrations step by step.
14
-
15
- --------------------------------
16
-
17
- ⚠️ Warning: This gem modifies the files in the repository where it is executed according to git history, but then restores everything to normal.
18
- Do not run it on servers that are actively serving the application.
19
- Run it in parallel.
20
-
12
+ description: "This gem checks out previous commits to run migrations, then restores
13
+ everything back to normal.\n\n"
21
14
  email:
22
15
  - carlos@function.ws
23
16
  executables:
@@ -51,4 +44,3 @@ rubygems_version: 3.6.6
51
44
  specification_version: 4
52
45
  summary: Runs old migrations without conflicts
53
46
  test_files: []
54
- ...