good_migrations 0.3.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e19eb30c1eec98d732644fc373a997608dc6f5433fa7bd4f2c77b5bae9a1a6f5
4
- data.tar.gz: bcbae2e85f10863533a8efb997ff60c4ad6e3de1b0078a7d59d60b230a4de24a
3
+ metadata.gz: 62774cb9bc7ab12777b1e971a4fab4479f65638bf7f65b021870ba1903298997
4
+ data.tar.gz: 3741b7876c964e5949841cacd59a6fbe7d142ffe6e7a082b704e5a2710d9753a
5
5
  SHA512:
6
- metadata.gz: 6bf8ccc6aa62b5706559fe7695592e12e5064c0d0fbfd98353d82033ad31b0e2c3b83cc8796adced37fee8af9b3446855b2f075f16239a9672c77124b35a77b6
7
- data.tar.gz: 2f48ba81878a64a35fa08b356a686a5de0ae0c70dbf643555f2c431929511875d6ede55e374c0b30278ac9a55fa2edce7d4b1fb662fa023b52be2e39f10ede09
6
+ metadata.gz: d0544ea1a7f5f0c260c25fd89e018a9f6fce850be821d95ba8eb09860478f3f9577b76592a01f41a6f93595b9708ad343af143f6ce9f144a0119f79b75a77093
7
+ data.tar.gz: dab47a826e4234181427b8b513c29af087784a5c34ca116df715642186dba2ccbb8bd257d39308768a7ebfee5ecef786192b4c030ceda4368e64a75eac36d3da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.3.1
4
+ * Fix tasks directory missing from bundled gem
5
+ [#42](https://github.com/testdouble/good-migrations/pull/42) by
6
+ [@kjlape](https://github.com/kjlape)
7
+
3
8
  ## 0.3.0
4
9
  * Minimum supported Ruby version is now 3.1
5
10
  * Exclude unnecessary files from the packaged gem
@@ -13,4 +13,7 @@ if File.exist?(gemfile)
13
13
  exit!
14
14
  end
15
15
  end
16
+ # Fix concurrent-ruby removing logger dependency which Rails was transitively
17
+ # depending on.
18
+ require "logger"
16
19
  require "bootsnap/setup"
@@ -1,3 +1,3 @@
1
1
  module GoodMigrations
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -0,0 +1,18 @@
1
+ require "active_support/dependencies"
2
+ require "good_migrations"
3
+
4
+ namespace :good_migrations do
5
+ task :disable_autoload do
6
+ next if ENV["GOOD_MIGRATIONS"] == "skip"
7
+ GoodMigrations::PatchesAutoloader.instance.patch!
8
+ end
9
+
10
+ task :reenable_autoload do
11
+ next if ENV["GOOD_MIGRATIONS"] == "skip"
12
+ GoodMigrations::PatchesAutoloader.instance.unpatch!
13
+ end
14
+ end
15
+
16
+ Rake::Task["db:migrate"].enhance(["good_migrations:disable_autoload"]) do
17
+ Rake::Task["good_migrations:reenable_autoload"].invoke
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-11-27 00:00:00.000000000 Z
12
+ date: 2025-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -241,6 +241,7 @@ files:
241
241
  - lib/good_migrations/railtie.rb
242
242
  - lib/good_migrations/raises_load_error.rb
243
243
  - lib/good_migrations/version.rb
244
+ - tasks/good_migrations.rake
244
245
  homepage: https://github.com/testdouble/good-migrations
245
246
  licenses:
246
247
  - MIT