songbird 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4b3d882caf1f2537fe3904c8e24a56fb58b0ac3edb46907f7c183e5afdaf3a9
4
- data.tar.gz: dec81593f25440661a062486f6e33b4063642a52d702477b6fadd7547c1b5c15
3
+ metadata.gz: d185a7842403e5d2756e741774f069702baaead2d80c54b638df25eb98a30dd7
4
+ data.tar.gz: 0ea60a708924a6eefcbe0841a65dd932d998ced683283ff1ba658330c0c81933
5
5
  SHA512:
6
- metadata.gz: ea0a7bcf2c5ac38d28f2f42d0150532cd5eff59aa045e8f8320830158df7d4013c28727659dd89d5a0c2f22e0565be18dd8441c8d077612aba641af8fe3d8dc3
7
- data.tar.gz: 9468d3b43d4c1111bbbae0040787769d9fef9d86dc9d06a7a9fed2045d09bf4919b2625b2051230e8ad1fa297bf14f9df343a197ac585f67266aaccacccd7e9a
6
+ metadata.gz: b378dd9afe8cee7f99bbc8d8ea5ba238d51421e8c0ee77e5e805ad2f8f9e1fccd346a09ac24b6c65424ef6eefb16507b956f838f9774a4cad57d2df898becc23
7
+ data.tar.gz: c71564eae78e4b310d1ec841f9e521b2a09b1a162200c5b6e4c81e034ad87fa2447307f289a12780d8f03ea8e47437095e3d6ffeba7de2d9a4ea8a21456813ac
data/CHANGELOG.md ADDED
@@ -0,0 +1,49 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.2.0] - 2026-11-19
11
+
12
+ ### Changed
13
+ - Support Rails 8.0 and 8.1: `activerecord` and `railties` dependencies relaxed from `~> 7.0` to `>= 7.0, < 8.2`
14
+ - Relaxed the `sqlite3` development dependency to `>= 1.7` (Rails 8 requires sqlite3 2.x)
15
+
16
+ ### Added
17
+ - `gemfiles/` with Gemfiles for testing against Rails 7.2, 8.0 and 8.1
18
+
19
+ ## [0.1.0] - 2025-01-05
20
+
21
+ ### Added
22
+ - Initial release of Songbird gem
23
+ - Generate SQL statements from Rails migrations without executing them
24
+ - Support for any ActiveRecord-compatible database
25
+ - Rake tasks: `db:migrate:sql[VERSION]` and `songbird:sql[VERSION]`
26
+ - Optional migrations path parameter for custom migration directories
27
+ - Usage instructions and recent migrations display when no version specified
28
+ - Database-agnostic schema_migrations INSERT statement generation using Rails APIs
29
+ - Comprehensive test suite with SQLite in-memory database for testing
30
+ - MIT license
31
+
32
+ ### Features
33
+ - **SQL Interception**: Captures SQL at the connection execute level without database execution
34
+ - **Database Agnostic**: Works with any ActiveRecord-supported database (PostgreSQL, MySQL, SQLite, etc.)
35
+ - **Rails Integration**: Seamlessly integrates with existing Rails migration system
36
+ - **Schema Metadata**: Automatically generates proper `schema_migrations` INSERT statements
37
+ - **Clean Output**: Well-formatted SQL with helpful comments ready for manual execution
38
+ - **Migration Discovery**: Automatic discovery of Rails migration files using native Rails APIs
39
+
40
+ ### Use Cases
41
+ - Migration timeouts in production environments
42
+ - Database review processes requiring DBA approval
43
+ - Complex migration debugging and analysis
44
+ - Manual schema change execution
45
+ - Migration SQL review and validation
46
+
47
+ [Unreleased]: https://github.com/elciok/songbird/compare/v0.2.0...HEAD
48
+ [0.2.0]: https://github.com/elciok/songbird/compare/v0.1.0...v0.2.0
49
+ [0.1.0]: https://github.com/elciok/songbird/releases/tag/v0.1.0
data/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Extract SQL statements from Rails migrations for manual review and execution. Perfect for debugging, review, or manual execution of schema changes.
4
4
 
5
+ ## Requirements
6
+
7
+ - Ruby >= 3.1
8
+ - Rails (ActiveRecord / Railties) 7.0 through 8.1
9
+
5
10
  ## Installation
6
11
 
7
12
  Add this line to your application's Gemfile:
@@ -103,7 +108,14 @@ Debug migration issues by reviewing the generated SQL before execution:
103
108
 
104
109
  ## Development
105
110
 
106
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
111
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. To run the tests against a specific Rails version, use one of the Gemfiles in `gemfiles/`:
112
+
113
+ ```bash
114
+ $ BUNDLE_GEMFILE=gemfiles/rails_8_0.gemfile bundle install
115
+ $ BUNDLE_GEMFILE=gemfiles/rails_8_0.gemfile bundle exec rspec
116
+ ```
117
+
118
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
107
119
 
108
120
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
109
121
 
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec path: ".."
6
+
7
+ gem "activerecord", "~> 7.2.0"
8
+ gem "railties", "~> 7.2.0"
9
+ gem "sqlite3", "~> 1.7"
10
+
11
+ gem "irb"
12
+ gem "rake", "~> 13.0"
13
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,187 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ songbird (0.2.0)
5
+ activerecord (>= 7.0, < 8.2)
6
+ railties (>= 7.0, < 8.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (7.2.4)
12
+ actionview (= 7.2.4)
13
+ activesupport (= 7.2.4)
14
+ cgi
15
+ nokogiri (>= 1.8.5)
16
+ racc
17
+ rack (>= 2.2.4, < 3.3)
18
+ rack-session (>= 1.0.1)
19
+ rack-test (>= 0.6.3)
20
+ rails-dom-testing (~> 2.2)
21
+ rails-html-sanitizer (~> 1.6)
22
+ useragent (~> 0.16)
23
+ actionview (7.2.4)
24
+ activesupport (= 7.2.4)
25
+ builder (~> 3.1)
26
+ cgi
27
+ erubi (~> 1.11)
28
+ rails-dom-testing (~> 2.2)
29
+ rails-html-sanitizer (~> 1.6)
30
+ activemodel (7.2.4)
31
+ activesupport (= 7.2.4)
32
+ activerecord (7.2.4)
33
+ activemodel (= 7.2.4)
34
+ activesupport (= 7.2.4)
35
+ timeout (>= 0.4.0)
36
+ activesupport (7.2.4)
37
+ base64
38
+ benchmark (>= 0.3)
39
+ bigdecimal
40
+ concurrent-ruby (~> 1.0, >= 1.3.1)
41
+ connection_pool (>= 2.2.5, < 3)
42
+ drb
43
+ i18n (>= 1.6, < 2)
44
+ logger (>= 1.4.2)
45
+ minitest (>= 5.1, < 6)
46
+ securerandom (>= 0.3)
47
+ tzinfo (~> 2.0, >= 2.0.5)
48
+ base64 (0.3.0)
49
+ benchmark (0.5.0)
50
+ bigdecimal (4.1.3)
51
+ builder (3.3.0)
52
+ cgi (0.5.2)
53
+ concurrent-ruby (1.3.8)
54
+ connection_pool (2.5.5)
55
+ crass (1.0.8)
56
+ diff-lcs (1.6.2)
57
+ drb (2.2.3)
58
+ erb (6.0.7)
59
+ erubi (1.13.1)
60
+ i18n (1.15.2)
61
+ concurrent-ruby (~> 1.0)
62
+ io-console (0.9.5)
63
+ irb (1.19.0)
64
+ pp (>= 0.6.0)
65
+ prism (>= 1.3.0)
66
+ rdoc (>= 4.0.0)
67
+ reline (>= 0.4.2)
68
+ logger (1.7.0)
69
+ loofah (2.25.3)
70
+ crass (~> 1.0.2)
71
+ nokogiri (>= 1.19.5)
72
+ minitest (5.27.0)
73
+ nokogiri (1.19.7-aarch64-linux-gnu)
74
+ racc (~> 1.4)
75
+ nokogiri (1.19.7-aarch64-linux-musl)
76
+ racc (~> 1.4)
77
+ nokogiri (1.19.7-arm-linux-gnu)
78
+ racc (~> 1.4)
79
+ nokogiri (1.19.7-arm-linux-musl)
80
+ racc (~> 1.4)
81
+ nokogiri (1.19.7-arm64-darwin)
82
+ racc (~> 1.4)
83
+ nokogiri (1.19.7-x86_64-darwin)
84
+ racc (~> 1.4)
85
+ nokogiri (1.19.7-x86_64-linux-gnu)
86
+ racc (~> 1.4)
87
+ nokogiri (1.19.7-x86_64-linux-musl)
88
+ racc (~> 1.4)
89
+ pp (0.6.4)
90
+ prettyprint
91
+ prettyprint (0.2.1)
92
+ prism (2.1.0-aarch64-linux-gnu)
93
+ prism (2.1.0-aarch64-linux-musl)
94
+ prism (2.1.0-arm-linux-gnu)
95
+ prism (2.1.0-arm-linux-musl)
96
+ prism (2.1.0-arm64-darwin)
97
+ prism (2.1.0-x86_64-darwin)
98
+ prism (2.1.0-x86_64-linux-gnu)
99
+ prism (2.1.0-x86_64-linux-musl)
100
+ racc (1.8.1)
101
+ rack (3.2.8)
102
+ rack-session (2.1.2)
103
+ base64 (>= 0.1.0)
104
+ rack (>= 3.0.0)
105
+ rack-test (2.3.0)
106
+ rack (>= 1.3)
107
+ rackup (2.3.1)
108
+ rack (>= 3)
109
+ rails-dom-testing (2.3.0)
110
+ activesupport (>= 5.0.0)
111
+ minitest
112
+ nokogiri (>= 1.6)
113
+ rails-html-sanitizer (1.7.2)
114
+ loofah (~> 2.25, >= 2.25.3)
115
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
116
+ railties (7.2.4)
117
+ actionpack (= 7.2.4)
118
+ activesupport (= 7.2.4)
119
+ cgi
120
+ irb (~> 1.13)
121
+ rackup (>= 1.0.0)
122
+ rake (>= 12.2)
123
+ thor (~> 1.0, >= 1.2.2)
124
+ tsort (>= 0.2)
125
+ zeitwerk (~> 2.6)
126
+ rake (13.4.2)
127
+ rbs (4.2.0)
128
+ logger
129
+ prism (>= 1.6.0)
130
+ tsort
131
+ rdoc (8.1.0)
132
+ erb
133
+ prism (>= 1.6.0)
134
+ rbs (>= 4.0.0)
135
+ tsort
136
+ reline (0.7.0)
137
+ io-console (~> 0.5)
138
+ rspec (3.13.2)
139
+ rspec-core (~> 3.13.0)
140
+ rspec-expectations (~> 3.13.0)
141
+ rspec-mocks (~> 3.13.0)
142
+ rspec-core (3.13.7)
143
+ rspec-support (~> 3.13.0)
144
+ rspec-expectations (3.13.6)
145
+ diff-lcs (>= 1.2.0, < 2.0)
146
+ rspec-support (~> 3.13.0)
147
+ rspec-mocks (3.13.9)
148
+ diff-lcs (>= 1.2.0, < 2.0)
149
+ rspec-support (~> 3.13.0)
150
+ rspec-support (3.13.8)
151
+ securerandom (0.4.1)
152
+ sqlite3 (1.7.3-aarch64-linux)
153
+ sqlite3 (1.7.3-arm-linux)
154
+ sqlite3 (1.7.3-arm64-darwin)
155
+ sqlite3 (1.7.3-x86_64-darwin)
156
+ sqlite3 (1.7.3-x86_64-linux)
157
+ thor (1.5.0)
158
+ timeout (0.6.1)
159
+ tsort (0.2.0)
160
+ tzinfo (2.0.6)
161
+ concurrent-ruby (~> 1.0)
162
+ useragent (0.16.11)
163
+ zeitwerk (2.8.3)
164
+
165
+ PLATFORMS
166
+ aarch64-linux
167
+ aarch64-linux-gnu
168
+ aarch64-linux-musl
169
+ arm-linux
170
+ arm-linux-gnu
171
+ arm-linux-musl
172
+ arm64-darwin
173
+ x86_64-darwin
174
+ x86_64-linux-gnu
175
+ x86_64-linux-musl
176
+
177
+ DEPENDENCIES
178
+ activerecord (~> 7.2.0)
179
+ irb
180
+ railties (~> 7.2.0)
181
+ rake (~> 13.0)
182
+ rspec (~> 3.0)
183
+ songbird!
184
+ sqlite3 (~> 1.7)
185
+
186
+ BUNDLED WITH
187
+ 2.6.8
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec path: ".."
6
+
7
+ gem "activerecord", "~> 8.0.0"
8
+ gem "railties", "~> 8.0.0"
9
+ gem "sqlite3", ">= 2.1"
10
+
11
+ gem "irb"
12
+ gem "rake", "~> 13.0"
13
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,187 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ songbird (0.2.0)
5
+ activerecord (>= 7.0, < 8.2)
6
+ railties (>= 7.0, < 8.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (8.0.5.2)
12
+ actionview (= 8.0.5.2)
13
+ activesupport (= 8.0.5.2)
14
+ nokogiri (>= 1.8.5)
15
+ rack (>= 2.2.4)
16
+ rack-session (>= 1.0.1)
17
+ rack-test (>= 0.6.3)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ useragent (~> 0.16)
21
+ actionview (8.0.5.2)
22
+ activesupport (= 8.0.5.2)
23
+ builder (~> 3.1)
24
+ erubi (~> 1.11)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6, >= 1.7.2)
27
+ activemodel (8.0.5.2)
28
+ activesupport (= 8.0.5.2)
29
+ activerecord (8.0.5.2)
30
+ activemodel (= 8.0.5.2)
31
+ activesupport (= 8.0.5.2)
32
+ timeout (>= 0.4.0)
33
+ activesupport (8.0.5.2)
34
+ base64
35
+ benchmark (>= 0.3)
36
+ bigdecimal
37
+ concurrent-ruby (~> 1.0, >= 1.3.1)
38
+ connection_pool (>= 2.2.5)
39
+ drb
40
+ i18n (>= 1.6, < 2)
41
+ logger (>= 1.4.2)
42
+ minitest (>= 5.1)
43
+ securerandom (>= 0.3)
44
+ tzinfo (~> 2.0, >= 2.0.5)
45
+ uri (>= 0.13.1)
46
+ base64 (0.3.0)
47
+ benchmark (0.5.0)
48
+ bigdecimal (4.1.3)
49
+ builder (3.3.0)
50
+ concurrent-ruby (1.3.8)
51
+ connection_pool (3.0.3)
52
+ crass (1.0.8)
53
+ diff-lcs (1.6.2)
54
+ drb (2.2.3)
55
+ erb (6.0.7)
56
+ erubi (1.13.1)
57
+ i18n (1.15.2)
58
+ concurrent-ruby (~> 1.0)
59
+ io-console (0.9.5)
60
+ irb (1.19.0)
61
+ pp (>= 0.6.0)
62
+ prism (>= 1.3.0)
63
+ rdoc (>= 4.0.0)
64
+ reline (>= 0.4.2)
65
+ logger (1.7.0)
66
+ loofah (2.25.3)
67
+ crass (~> 1.0.2)
68
+ nokogiri (>= 1.19.5)
69
+ minitest (6.1.0)
70
+ drb (~> 2.0)
71
+ prism (>= 1.5, < 3)
72
+ nokogiri (1.19.7-aarch64-linux-gnu)
73
+ racc (~> 1.4)
74
+ nokogiri (1.19.7-aarch64-linux-musl)
75
+ racc (~> 1.4)
76
+ nokogiri (1.19.7-arm-linux-gnu)
77
+ racc (~> 1.4)
78
+ nokogiri (1.19.7-arm-linux-musl)
79
+ racc (~> 1.4)
80
+ nokogiri (1.19.7-arm64-darwin)
81
+ racc (~> 1.4)
82
+ nokogiri (1.19.7-x86_64-darwin)
83
+ racc (~> 1.4)
84
+ nokogiri (1.19.7-x86_64-linux-gnu)
85
+ racc (~> 1.4)
86
+ nokogiri (1.19.7-x86_64-linux-musl)
87
+ racc (~> 1.4)
88
+ pp (0.6.4)
89
+ prettyprint
90
+ prettyprint (0.2.1)
91
+ prism (2.1.0-aarch64-linux-gnu)
92
+ prism (2.1.0-aarch64-linux-musl)
93
+ prism (2.1.0-arm-linux-gnu)
94
+ prism (2.1.0-arm-linux-musl)
95
+ prism (2.1.0-arm64-darwin)
96
+ prism (2.1.0-x86_64-darwin)
97
+ prism (2.1.0-x86_64-linux-gnu)
98
+ prism (2.1.0-x86_64-linux-musl)
99
+ racc (1.8.1)
100
+ rack (3.2.8)
101
+ rack-session (2.1.2)
102
+ base64 (>= 0.1.0)
103
+ rack (>= 3.0.0)
104
+ rack-test (2.3.0)
105
+ rack (>= 1.3)
106
+ rackup (2.3.1)
107
+ rack (>= 3)
108
+ rails-dom-testing (2.3.0)
109
+ activesupport (>= 5.0.0)
110
+ minitest
111
+ nokogiri (>= 1.6)
112
+ rails-html-sanitizer (1.7.2)
113
+ loofah (~> 2.25, >= 2.25.3)
114
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
115
+ railties (8.0.5.2)
116
+ actionpack (= 8.0.5.2)
117
+ activesupport (= 8.0.5.2)
118
+ irb (~> 1.13)
119
+ rackup (>= 1.0.0)
120
+ rake (>= 12.2)
121
+ thor (~> 1.0, >= 1.2.2)
122
+ tsort (>= 0.2)
123
+ zeitwerk (~> 2.6)
124
+ rake (13.4.2)
125
+ rbs (4.2.0)
126
+ logger
127
+ prism (>= 1.6.0)
128
+ tsort
129
+ rdoc (8.1.0)
130
+ erb
131
+ prism (>= 1.6.0)
132
+ rbs (>= 4.0.0)
133
+ tsort
134
+ reline (0.7.0)
135
+ io-console (~> 0.5)
136
+ rspec (3.13.2)
137
+ rspec-core (~> 3.13.0)
138
+ rspec-expectations (~> 3.13.0)
139
+ rspec-mocks (~> 3.13.0)
140
+ rspec-core (3.13.7)
141
+ rspec-support (~> 3.13.0)
142
+ rspec-expectations (3.13.6)
143
+ diff-lcs (>= 1.2.0, < 2.0)
144
+ rspec-support (~> 3.13.0)
145
+ rspec-mocks (3.13.9)
146
+ diff-lcs (>= 1.2.0, < 2.0)
147
+ rspec-support (~> 3.13.0)
148
+ rspec-support (3.13.8)
149
+ securerandom (0.4.1)
150
+ sqlite3 (2.10.2-aarch64-linux-gnu)
151
+ sqlite3 (2.10.2-aarch64-linux-musl)
152
+ sqlite3 (2.10.2-arm-linux-gnu)
153
+ sqlite3 (2.10.2-arm-linux-musl)
154
+ sqlite3 (2.10.2-arm64-darwin)
155
+ sqlite3 (2.10.2-x86_64-darwin)
156
+ sqlite3 (2.10.2-x86_64-linux-gnu)
157
+ sqlite3 (2.10.2-x86_64-linux-musl)
158
+ thor (1.5.0)
159
+ timeout (0.6.1)
160
+ tsort (0.2.0)
161
+ tzinfo (2.0.6)
162
+ concurrent-ruby (~> 1.0)
163
+ uri (1.1.2)
164
+ useragent (0.16.11)
165
+ zeitwerk (2.8.3)
166
+
167
+ PLATFORMS
168
+ aarch64-linux-gnu
169
+ aarch64-linux-musl
170
+ arm-linux-gnu
171
+ arm-linux-musl
172
+ arm64-darwin
173
+ x86_64-darwin
174
+ x86_64-linux-gnu
175
+ x86_64-linux-musl
176
+
177
+ DEPENDENCIES
178
+ activerecord (~> 8.0.0)
179
+ irb
180
+ railties (~> 8.0.0)
181
+ rake (~> 13.0)
182
+ rspec (~> 3.0)
183
+ songbird!
184
+ sqlite3 (>= 2.1)
185
+
186
+ BUNDLED WITH
187
+ 2.6.8
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec path: ".."
6
+
7
+ gem "activerecord", "~> 8.1.0"
8
+ gem "railties", "~> 8.1.0"
9
+ gem "sqlite3", ">= 2.1"
10
+
11
+ gem "irb"
12
+ gem "rake", "~> 13.0"
13
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,187 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ songbird (0.2.0)
5
+ activerecord (>= 7.0, < 8.2)
6
+ railties (>= 7.0, < 8.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (8.1.4.1)
12
+ actionview (= 8.1.4.1)
13
+ activesupport (= 8.1.4.1)
14
+ nokogiri (>= 1.8.5)
15
+ rack (>= 2.2.4)
16
+ rack-session (>= 1.0.1)
17
+ rack-test (>= 0.6.3)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ useragent (~> 0.16)
21
+ actionview (8.1.4.1)
22
+ activesupport (= 8.1.4.1)
23
+ builder (~> 3.1)
24
+ erubi (~> 1.11)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6, >= 1.7.2)
27
+ activemodel (8.1.4.1)
28
+ activesupport (= 8.1.4.1)
29
+ activerecord (8.1.4.1)
30
+ activemodel (= 8.1.4.1)
31
+ activesupport (= 8.1.4.1)
32
+ timeout (>= 0.4.0)
33
+ activesupport (8.1.4.1)
34
+ base64
35
+ bigdecimal
36
+ concurrent-ruby (~> 1.0, >= 1.3.1)
37
+ connection_pool (>= 2.2.5)
38
+ drb
39
+ i18n (>= 1.6, < 2)
40
+ json
41
+ logger (>= 1.4.2)
42
+ minitest (>= 5.1)
43
+ securerandom (>= 0.3)
44
+ tzinfo (~> 2.0, >= 2.0.5)
45
+ uri (>= 0.13.1)
46
+ base64 (0.3.0)
47
+ bigdecimal (4.1.3)
48
+ builder (3.3.0)
49
+ concurrent-ruby (1.3.8)
50
+ connection_pool (3.0.3)
51
+ crass (1.0.8)
52
+ diff-lcs (1.6.2)
53
+ drb (2.2.3)
54
+ erb (6.0.7)
55
+ erubi (1.13.1)
56
+ i18n (1.15.2)
57
+ concurrent-ruby (~> 1.0)
58
+ io-console (0.9.5)
59
+ irb (1.19.0)
60
+ pp (>= 0.6.0)
61
+ prism (>= 1.3.0)
62
+ rdoc (>= 4.0.0)
63
+ reline (>= 0.4.2)
64
+ json (3.1.0)
65
+ logger (1.7.0)
66
+ loofah (2.25.3)
67
+ crass (~> 1.0.2)
68
+ nokogiri (>= 1.19.5)
69
+ minitest (6.1.0)
70
+ drb (~> 2.0)
71
+ prism (>= 1.5, < 3)
72
+ nokogiri (1.19.7-aarch64-linux-gnu)
73
+ racc (~> 1.4)
74
+ nokogiri (1.19.7-aarch64-linux-musl)
75
+ racc (~> 1.4)
76
+ nokogiri (1.19.7-arm-linux-gnu)
77
+ racc (~> 1.4)
78
+ nokogiri (1.19.7-arm-linux-musl)
79
+ racc (~> 1.4)
80
+ nokogiri (1.19.7-arm64-darwin)
81
+ racc (~> 1.4)
82
+ nokogiri (1.19.7-x86_64-darwin)
83
+ racc (~> 1.4)
84
+ nokogiri (1.19.7-x86_64-linux-gnu)
85
+ racc (~> 1.4)
86
+ nokogiri (1.19.7-x86_64-linux-musl)
87
+ racc (~> 1.4)
88
+ pp (0.6.4)
89
+ prettyprint
90
+ prettyprint (0.2.1)
91
+ prism (2.1.0-aarch64-linux-gnu)
92
+ prism (2.1.0-aarch64-linux-musl)
93
+ prism (2.1.0-arm-linux-gnu)
94
+ prism (2.1.0-arm-linux-musl)
95
+ prism (2.1.0-arm64-darwin)
96
+ prism (2.1.0-x86_64-darwin)
97
+ prism (2.1.0-x86_64-linux-gnu)
98
+ prism (2.1.0-x86_64-linux-musl)
99
+ racc (1.8.1)
100
+ rack (3.2.8)
101
+ rack-session (2.1.2)
102
+ base64 (>= 0.1.0)
103
+ rack (>= 3.0.0)
104
+ rack-test (2.3.0)
105
+ rack (>= 1.3)
106
+ rackup (2.3.1)
107
+ rack (>= 3)
108
+ rails-dom-testing (2.3.0)
109
+ activesupport (>= 5.0.0)
110
+ minitest
111
+ nokogiri (>= 1.6)
112
+ rails-html-sanitizer (1.7.2)
113
+ loofah (~> 2.25, >= 2.25.3)
114
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
115
+ railties (8.1.4.1)
116
+ actionpack (= 8.1.4.1)
117
+ activesupport (= 8.1.4.1)
118
+ irb (~> 1.13)
119
+ rackup (>= 1.0.0)
120
+ rake (>= 12.2)
121
+ thor (~> 1.0, >= 1.2.2)
122
+ tsort (>= 0.2)
123
+ zeitwerk (~> 2.6)
124
+ rake (13.4.2)
125
+ rbs (4.2.0)
126
+ logger
127
+ prism (>= 1.6.0)
128
+ tsort
129
+ rdoc (8.1.0)
130
+ erb
131
+ prism (>= 1.6.0)
132
+ rbs (>= 4.0.0)
133
+ tsort
134
+ reline (0.7.0)
135
+ io-console (~> 0.5)
136
+ rspec (3.13.2)
137
+ rspec-core (~> 3.13.0)
138
+ rspec-expectations (~> 3.13.0)
139
+ rspec-mocks (~> 3.13.0)
140
+ rspec-core (3.13.7)
141
+ rspec-support (~> 3.13.0)
142
+ rspec-expectations (3.13.6)
143
+ diff-lcs (>= 1.2.0, < 2.0)
144
+ rspec-support (~> 3.13.0)
145
+ rspec-mocks (3.13.9)
146
+ diff-lcs (>= 1.2.0, < 2.0)
147
+ rspec-support (~> 3.13.0)
148
+ rspec-support (3.13.8)
149
+ securerandom (0.4.1)
150
+ sqlite3 (2.10.2-aarch64-linux-gnu)
151
+ sqlite3 (2.10.2-aarch64-linux-musl)
152
+ sqlite3 (2.10.2-arm-linux-gnu)
153
+ sqlite3 (2.10.2-arm-linux-musl)
154
+ sqlite3 (2.10.2-arm64-darwin)
155
+ sqlite3 (2.10.2-x86_64-darwin)
156
+ sqlite3 (2.10.2-x86_64-linux-gnu)
157
+ sqlite3 (2.10.2-x86_64-linux-musl)
158
+ thor (1.5.0)
159
+ timeout (0.6.1)
160
+ tsort (0.2.0)
161
+ tzinfo (2.0.6)
162
+ concurrent-ruby (~> 1.0)
163
+ uri (1.1.2)
164
+ useragent (0.16.11)
165
+ zeitwerk (2.8.3)
166
+
167
+ PLATFORMS
168
+ aarch64-linux-gnu
169
+ aarch64-linux-musl
170
+ arm-linux-gnu
171
+ arm-linux-musl
172
+ arm64-darwin
173
+ x86_64-darwin
174
+ x86_64-linux-gnu
175
+ x86_64-linux-musl
176
+
177
+ DEPENDENCIES
178
+ activerecord (~> 8.1.0)
179
+ irb
180
+ railties (~> 8.1.0)
181
+ rake (~> 13.0)
182
+ rspec (~> 3.0)
183
+ songbird!
184
+ sqlite3 (>= 2.1)
185
+
186
+ BUNDLED WITH
187
+ 2.6.8
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Songbird
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,55 +1,67 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songbird
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elcio Nakashima
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-09-05 00:00:00.000000000 Z
11
+ date: 2026-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '7.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '8.2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '7.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '8.2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: railties
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
39
  version: '7.0'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '8.2'
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - "~>"
47
+ - - ">="
39
48
  - !ruby/object:Gem::Version
40
49
  version: '7.0'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '8.2'
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: sqlite3
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
- - - "~>"
57
+ - - ">="
46
58
  - !ruby/object:Gem::Version
47
59
  version: '1.7'
48
60
  type: :development
49
61
  prerelease: false
50
62
  version_requirements: !ruby/object:Gem::Requirement
51
63
  requirements:
52
- - - "~>"
64
+ - - ">="
53
65
  - !ruby/object:Gem::Version
54
66
  version: '1.7'
55
67
  description: Extract SQL statements from Rails migrations for manual review and execution.
@@ -61,9 +73,16 @@ extensions: []
61
73
  extra_rdoc_files: []
62
74
  files:
63
75
  - ".rspec"
76
+ - CHANGELOG.md
64
77
  - LICENSE.txt
65
78
  - README.md
66
79
  - Rakefile
80
+ - gemfiles/rails_7_2.gemfile
81
+ - gemfiles/rails_7_2.gemfile.lock
82
+ - gemfiles/rails_8_0.gemfile
83
+ - gemfiles/rails_8_0.gemfile.lock
84
+ - gemfiles/rails_8_1.gemfile
85
+ - gemfiles/rails_8_1.gemfile.lock
67
86
  - lib/songbird.rb
68
87
  - lib/songbird/migration_discoverer.rb
69
88
  - lib/songbird/railtie.rb
@@ -77,7 +96,7 @@ metadata:
77
96
  homepage_uri: https://github.com/elciok/songbird
78
97
  source_code_uri: https://github.com/elciok/songbird
79
98
  changelog_uri: https://github.com/elciok/songbird/blob/main/CHANGELOG.md
80
- post_install_message:
99
+ post_install_message:
81
100
  rdoc_options: []
82
101
  require_paths:
83
102
  - lib
@@ -93,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
112
  version: '0'
94
113
  requirements: []
95
114
  rubygems_version: 3.5.11
96
- signing_key:
115
+ signing_key:
97
116
  specification_version: 4
98
117
  summary: Extract SQL statements from Rails migrations for manual review and execution.
99
118
  test_files: []