derail_specs 0.2.0 → 0.2.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: f70b380bfc02b15f03003667f83784ae59f24b110c5c2323a21c5ee02a73fddf
4
- data.tar.gz: 9a6e3daf75695be63ee86f3da37359de27087ecf95e000f5e7366359a120c72b
3
+ metadata.gz: 19ad2edfa41b68ea23a7e62cffc7f9265a7f303ca4e3440f3c37f16ec3d57f6a
4
+ data.tar.gz: a36a37269421c0ac564046c6e05c6897997dea27bbd1d5d2c49198a92f728fba
5
5
  SHA512:
6
- metadata.gz: 716f6b48003cba47b8d4b82643225fadae5309e6762e951540d6d4ea93f81b39340cdebf48108872f0dd557fa7d9a722348a96348c6aa737885065a3fa346805
7
- data.tar.gz: a3f0eb5f552897e6b9c0f64f3059ae074c6b1434c824aae9829c0dfcf36ddbdb0768a4472bb869ed20d630c4a0cfe543c98e51b4b73a83a15410a17c25f016d3
6
+ metadata.gz: 6b2120eec627732dce1e88bb601d37a40b531cd72c373081f7d911555ff092549dfe4630b70e7f67c49031d1f7399d87412b3905e3684175004ddbf97079e131
7
+ data.tar.gz: '02726830b503acba20c9ab92c0e1b6207451ba1af925914cd56c915270b11d5280b06f4bbf65ed30f9a38576b62c1442b5728b4963ff4c6b0fd056365037591d'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2021-09-15
4
+
5
+ - Fix Rails 5.2 missing method ActiveRecord::TestFixtures.setup_shared_connection_pool
6
+
3
7
  ## [0.2.0] - 2021-09-15
4
8
 
5
9
  - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- derail_specs (0.2.0)
4
+ derail_specs (0.2.1)
5
5
  puma (>= 3.8.0)
6
6
  railties (>= 5.2.0)
7
7
 
data/example/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- derail_specs (0.1.0)
4
+ derail_specs (0.2.1)
5
5
  puma (>= 3.8.0)
6
6
  railties (>= 5.2.0)
7
7
 
@@ -63,7 +63,7 @@ module DerailSpecs
63
63
  end
64
64
 
65
65
  def gather_connections
66
- setup_shared_connection_pool
66
+ setup_shared_connection_pool if ActiveRecord::VERSION::MAJOR >= 6
67
67
 
68
68
  ActiveRecord::Base.connection_handler.connection_pool_list.map(&:connection)
69
69
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DerailSpecs
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: derail_specs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Piechowski