File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## [ Unreleased]
22
3+ ## [ 0.2.0] - 2026-03-04
4+
5+ - Add ` progress.report ` for tracking migration progress with a visual bar that updates in place on TTY terminals
6+ - Add ` progress eta: true ` class-level macro to enable ETA display without passing it on every ` report ` call
7+
8+ ``` ruby
9+ class MyMigration < DataCustoms ::Migration
10+ progress eta: true
11+
12+ def up
13+ users = User .where(active: true )
14+ total = users.count
15+ users.find_each.with_index(1 ) do |user , i |
16+ user.update!(name: user.name.strip)
17+ progress.report(i * 100 / total)
18+ end
19+ progress.report(100 )
20+ end
21+ end
22+ ```
23+
24+ - Fix transaction to wrap ` Migration.new ` so database operations in ` initialize ` are rolled back on failure
25+
326## [ 0.1.0] - 2025-09-04
427
528- Initial release
Original file line number Diff line number Diff line change 1212PATH
1313 remote: .
1414 specs:
15- data_customs (0.1 .0 )
15+ data_customs (0.2 .0 )
1616 rails (>= 7.1 )
1717
1818GEM
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module DataCustoms
4- VERSION = "0.1 .0"
4+ VERSION = "0.2 .0"
55end
You can’t perform that action at this time.
0 commit comments