activerecord_partitioning 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmQ0N2U0NDkxMTQwYjdiZTQyN2U5NzEzMDQ0OWUwYmM5NmFjMzM3YQ==
4
+ MTYxYmFiZWM1ZjZkOWIzYTU5NTM3MTA1ZDM5Mzk3ZWEyMGFjYWQ5ZQ==
5
5
  data.tar.gz: !binary |-
6
- OWE5NTk4YzdhYjkxOWU2YzI5NjI3YzhiYTE2MGM2MmYxZWIyODRhNw==
6
+ NDI5MWY5OGQ0ZTY5ODBlZmJhZGYyMjEzYTM1ZDE4MmMzMjRlMzc5Mg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MjAwMTMzMmRhOWNhZjllZWFiYmM5MjIxYWM1NjE4OTdkNDI3NmEwMWE5YmYw
10
- YTM4N2MwODMzOWFjOGViNzRjMzFkMzAxOGQ5NzMzZWI5MDQyNzNhMzEwNmU1
11
- YTJkMzZhMDEwMjBhOGI0NjU4YTkzNDY0ZGI0ZDM4MGRkZjU4MTM=
9
+ ZWFkMWJhMWFiZTU2ZDNhNjljMTI2ZTI4YjViMTZlYzQ1ZDhhMDAxNjU3MjQ4
10
+ NWE1YmQwZTc5YWMwNmY0Yjg1NmMzZjk1NDFmOTZhMzgwYzZjNmEwZDQzNzAy
11
+ YjkxZmFjZDk2M2JkNDA0OTBiODNkOTdlMTk3NDk3NjUyY2EyYTU=
12
12
  data.tar.gz: !binary |-
13
- NzhmYzYwOWZkM2QzOGEyYTZlNmY4MDU5ODJmZDM2ZGFhZDJhMDhkOGY5YjYy
14
- Y2VkOWEzZTAxYTkxZDEyYTkzODQwM2ZjZTI2ZjUwZTQ5YjAwYjNkMDI0OWU5
15
- MmViMDA0NDRjM2MzNDZjNzgwNzFiMWEyMzA5ZDU2NzU5NTBhMjA=
13
+ ZDExODYzOWMwN2JkNzBhNDUzZmM2NWRlZTkxM2ZmM2U2YzU0YWY0MjgxMGM0
14
+ MmJkYjRiYTRkODJmMDkwMTM0NzlhMGVkNzFmMDRiYWMyY2VkZGFlYmE2YjZm
15
+ OGNkOGQyMjUyMTFiMWFjOWI5YmUzZjVlOGU3NzUyZjMzYTY2OWY=
@@ -24,7 +24,7 @@ module ActiveRecordPartitioning
24
24
  if size == 1
25
25
  values.first
26
26
  else
27
- raise NoActiveConnectionPoolError.new("#{size} connection pools in cache")
27
+ raise NoActiveConnectionPoolError.new("#{size} connection pools in cache, keys: #{keys.inspect}, pool configs: #{values.map(&:spec).map(&:config).inspect}")
28
28
  end
29
29
  else
30
30
  @store[connection_pool_key(config)]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_partitioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xiao Li