switchman 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48b27124d5233adf585aed105d0b2522c76249bdd1e13fbcfd7e904241d3a624
4
- data.tar.gz: fea1ccc0ad63f00633fb90bee1d7bd4606f6de0e18564250865c1b1dde61ef8d
3
+ metadata.gz: 35156353c0e52e42bbd52b37cf2733d7c0acb6736e676ddac31156ce2b133335
4
+ data.tar.gz: 6406ba00901ecc5c17271e0b30d77c4ccf739db9cd589e153dae77102cb036fd
5
5
  SHA512:
6
- metadata.gz: c05b445111dd0e4b16ecbfaea6ab84557fa2cbadc6102fa0af6fb43cff2f6bbb6606e825f76ed20f6b8a4a2a2966e31babadf66c5eb065a6c4d8a7eea6a8b92a
7
- data.tar.gz: 0af9e15706142f90772d24e2187db93ec83331997bccbb25c1b89cec2dde1bd2414d2774fec3785c7bea1a1b06d3fa5ad49e15b716f0aa35794e2e5734c848a8
6
+ metadata.gz: cd9e7047f1a19dbde96372f944441ea181952480050218fa24b12d7a5aea4fef4a153a2fa44c5e3eae601ac308ab4c312a3e1bbfffe92e68bbffafc5d31c4051
7
+ data.tar.gz: e6a34fe7f23e07865eccb6aab6722f07f97b12e561057406c55e0c7d905c9eea85be50fd197c679f9ab3c8a72c28644d4e96eb6d2c5c8eab8ad8ac42de895840
@@ -256,20 +256,6 @@ module Switchman
256
256
  attribute(attr_name)
257
257
  end
258
258
  end
259
-
260
- private
261
-
262
- def connection_class_for_self_for_reflection(reflection)
263
- if reflection
264
- if reflection.options[:polymorphic]
265
- read_attribute(reflection.foreign_type)&.constantize&.connection_class_for_self
266
- else
267
- reflection.klass.connection_class_for_self
268
- end
269
- else
270
- self.class.connection_class_for_self
271
- end
272
- end
273
259
  end
274
260
  end
275
261
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Switchman
4
- VERSION = '3.1.0'
4
+ VERSION = '3.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer