ransack 4.1.0 → 4.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: 6e7ffa826fc3c1a2a916cc9b110bf232dbc994a51ff82472756709870fda224b
4
- data.tar.gz: ebb0692d5d5a77bb8453f95a9880796b36eea92f946270cd7bf81c2f7ef17125
3
+ metadata.gz: dbeb7a329e22aabf90d2336f563ebfa162e0fa4a085fa5271896ed106d2d6612
4
+ data.tar.gz: e65a2f50206b930faaf7d5fd554830c553fc0050777f98f493de8e99940e3c78
5
5
  SHA512:
6
- metadata.gz: de93968c12dd7d01bdac595d9930f3ade8563ac33cad4b071dfddc97eb57b530e0a971463db88db6c6b7abd1f93ae981ca0074fe656c860319b8d876430dd887
7
- data.tar.gz: 4d965f3bcb30285e20c26ab96d823f970f76bb7c36032c2e0eecbe7f6192f5a59079ea27ca63dc50111e9cc197dcc839837f356967c280a9b30bfcbece13a36d
6
+ metadata.gz: 1c0ece8ec2de53c780769d572369442c93b0c4769fe8394baa32ad87d4ae2b7a2fdc66b2f1227499b7a07df80f24d3cf0671a72a33c988fe43c926e37a42dbe1
7
+ data.tar.gz: fa6ba91dab6d66369595b8ddee0e46c80b5f1103ca179f67c0be75f78109555a15f784448441fb04c9d8f3afba92c04e56962d77eb4cc4870cff0ecc61f49a1e
@@ -11,10 +11,9 @@ if defined?(::ActiveRecord)
11
11
  require 'polyamorous/join'
12
12
  require 'polyamorous/swapping_reflection_class'
13
13
 
14
- ar_version = ::ActiveRecord::VERSION::STRING[0, 3]
15
- %w(join_association join_dependency reflection).each do |file|
16
- require "polyamorous/activerecord_#{ar_version}_ruby_2/#{file}"
17
- end
14
+ require 'polyamorous/activerecord/join_association'
15
+ require 'polyamorous/activerecord/join_dependency'
16
+ require 'polyamorous/activerecord/reflection'
18
17
 
19
18
  ActiveRecord::Reflection::AbstractReflection.send(:prepend, Polyamorous::ReflectionExtensions)
20
19
 
@@ -1,3 +1,3 @@
1
1
  module Ransack
2
- VERSION = '4.1.0'
2
+ VERSION = '4.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ransack
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernie Miller
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2023-10-23 00:00:00.000000000 Z
15
+ date: 2023-10-29 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -140,15 +140,9 @@ files:
140
140
  - docs/static/logo/ransack.png
141
141
  - docs/static/logo/ransack.svg
142
142
  - docs/yarn.lock
143
- - lib/polyamorous/activerecord_6.1_ruby_2/join_association.rb
144
- - lib/polyamorous/activerecord_6.1_ruby_2/join_dependency.rb
145
- - lib/polyamorous/activerecord_6.1_ruby_2/reflection.rb
146
- - lib/polyamorous/activerecord_7.0_ruby_2/join_association.rb
147
- - lib/polyamorous/activerecord_7.0_ruby_2/join_dependency.rb
148
- - lib/polyamorous/activerecord_7.0_ruby_2/reflection.rb
149
- - lib/polyamorous/activerecord_7.1_ruby_2/join_association.rb
150
- - lib/polyamorous/activerecord_7.1_ruby_2/join_dependency.rb
151
- - lib/polyamorous/activerecord_7.1_ruby_2/reflection.rb
143
+ - lib/polyamorous/activerecord/join_association.rb
144
+ - lib/polyamorous/activerecord/join_dependency.rb
145
+ - lib/polyamorous/activerecord/reflection.rb
152
146
  - lib/polyamorous/join.rb
153
147
  - lib/polyamorous/polyamorous.rb
154
148
  - lib/polyamorous/swapping_reflection_class.rb
@@ -249,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
243
  - !ruby/object:Gem::Version
250
244
  version: '0'
251
245
  requirements: []
252
- rubygems_version: 3.4.21
246
+ rubygems_version: 3.4.10
253
247
  signing_key:
254
248
  specification_version: 4
255
249
  summary: Object-based searching for Active Record.
@@ -1 +0,0 @@
1
- require 'polyamorous/activerecord_6.1_ruby_2/join_association'
@@ -1 +0,0 @@
1
- require 'polyamorous/activerecord_6.1_ruby_2/join_dependency'
@@ -1 +0,0 @@
1
- require 'polyamorous/activerecord_6.1_ruby_2/reflection'
@@ -1 +0,0 @@
1
- require 'polyamorous/activerecord_6.1_ruby_2/join_association'
@@ -1 +0,0 @@
1
- require 'polyamorous/activerecord_6.1_ruby_2/join_dependency'
@@ -1 +0,0 @@
1
- require 'polyamorous/activerecord_6.1_ruby_2/reflection'