rspec-conductor 1.0.4 → 1.0.5

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: 880d64a3a408ec26218ffc3d108ef6aa12b14da3a6f8d6b5e6ad5d8599373e0b
4
- data.tar.gz: 421c5c55606788739b895d559d6093032454a831f47a18e5d5a616b76d0ccf49
3
+ metadata.gz: 9ef8f45a737aff80987f79da1904c6c5bf208eb633dff2ba893b690369534901
4
+ data.tar.gz: f8905660585569d61e9c939130a6e3ba6ae7f63b1821ea263f3d2a64fec76db2
5
5
  SHA512:
6
- metadata.gz: 2102903198e4025159240b0a3c564831e3a10db533eef4cb1811d5bc20b6122fe10cf7e856a3a523c2bad2076772cd5da848a66a3cb3e6f6d0f93244a0477c3e
7
- data.tar.gz: abbaf107a50db30d9ad2e8e87c27dd3188c7afbcd2714ce37a8aef56bf88cc6fdbcb25471c6497137c0e5a5cb15a0cdb53e4516a73f2ccbd7e4055268951ec02
6
+ metadata.gz: 46a26446160ea0de967ce28421077bc792cd0bdbe5ce1f772890f7104b2ae57fd3444d257d1564ea5067926c211d98b32bc002c23a8e54dda93ad4380dcbf9d6
7
+ data.tar.gz: 145ae95cbdd382066b8ba7ccd909ec849a1a19b283d896f86db5584cafdb8cf88b0aa5ad45270a8dce427932f38cc79d9a2f803e1f29a9333a9a160f725e0286
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.0.5] - 2026-02-13
2
+
3
+ - Missed one more place where unqualified `Rails` was still shadowed by `RSpec::Rails`
4
+
1
5
  ## [1.0.4] - 2026-02-12
2
6
 
3
7
  - use Etc.nprocessors to determine the default worker count (reported by @coorasse)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Conductor
5
- VERSION = "1.0.4"
5
+ VERSION = "1.0.5"
6
6
  end
7
7
  end
@@ -43,8 +43,8 @@ module RSpec
43
43
  def db_configs
44
44
  reload_database_configuration!
45
45
 
46
- configs = ::ActiveRecord::Base.configurations.configs_for(env_name: Rails.env)
47
- raise ArgumentError, "could not find or parse configuration for the env #{Rails.env}" unless configs.any?
46
+ configs = ::ActiveRecord::Base.configurations.configs_for(env_name: ::Rails.env)
47
+ raise ArgumentError, "could not find or parse configuration for the env #{::Rails.env}" unless configs.any?
48
48
 
49
49
  configs
50
50
  end
@@ -99,7 +99,7 @@ module RSpec
99
99
  end
100
100
 
101
101
  def reload_database_configuration!
102
- parsed_yaml = Rails.application.config.load_database_yaml
102
+ parsed_yaml = ::Rails.application.config.load_database_yaml
103
103
  raise ArgumentError, "could not find database yaml or the yaml is empty" if parsed_yaml.empty?
104
104
 
105
105
  ::ActiveRecord::Base.configurations = ::ActiveRecord::DatabaseConfigurations.new(parsed_yaml)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-conductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Abramov