batch-loader-active-record 0.4.1 → 0.4.2

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
  SHA1:
3
- metadata.gz: d7d1ba39cf3a3de836849d980d1f31815990d6e0
4
- data.tar.gz: ce551c5339a932ba20dda200364e2789f644bafb
3
+ metadata.gz: e4226fd9bec34dbc68ba4427ae97fc1bfc5b4d5e
4
+ data.tar.gz: 2ec29536a53ab2be6dec550a6c748d8b8c309a95
5
5
  SHA512:
6
- metadata.gz: 386454aeb0a0152f309eb5922a6cb629546d06e3228830257038fc2770d6102eb6a347eda3d19885a34d6c868825e1f83ae2e607d2d16b655301366f73c1d11d
7
- data.tar.gz: 4a98d66b1cf4c93045856335572cd642daee0493106c02ab169946f1dde2cb016f63a012c5a56e85ddd682e7a2f0bbbe30ed6ef02028b7bd4a5f5ea6813afcd6
6
+ metadata.gz: e4c5c9aae13acb4b3a435273d0b61d703b6fe7ca183962e8fa3763d6a816d68bda0eb900f7b00caddabe5786e9dbbebb3490e6ef1287c8c8cd4c650c36381f25
7
+ data.tar.gz: ad5c86ad8f9b772865d256b6fa9f1185ad23424b08248bef27d8cfccdf07057267d29ca0da28d64bfa570c471348a2cf8544c57f4dccd12e53146df5f9013220
@@ -6,3 +6,9 @@ rvm:
6
6
  sudo: false
7
7
 
8
8
  before_install: gem install bundler -v 1.16.0
9
+
10
+ gemfile:
11
+ - gemfiles/activerecord_4_2.gemfile
12
+ - gemfiles/activerecord_5_0.gemfile
13
+ - gemfiles/activerecord_5_1.gemfile
14
+ - gemfiles/activerecord_5_2.gemfile
@@ -0,0 +1,15 @@
1
+ appraise "activerecord-4-2" do
2
+ gem "activerecord", "4.2.10"
3
+ end
4
+
5
+ appraise "activerecord-5-0" do
6
+ gem "activerecord", "5.0.6"
7
+ end
8
+
9
+ appraise "activerecord-5-1" do
10
+ gem "activerecord", "5.1.4"
11
+ end
12
+
13
+ appraise "activerecord-5-2" do
14
+ gem "activerecord", "5.2.0.beta1"
15
+ end
@@ -4,6 +4,10 @@ Unreleased
4
4
 
5
5
  * none
6
6
 
7
+ v0.4.2
8
+
9
+ * fix to support activerecord v4.2.10 and test v4.2, v5.0, v5.1 and v5.2 using appraisal
10
+
7
11
  v0.4.1
8
12
 
9
13
  * fix cache issue when calling lazy association accessor with different scopes for `has_and_belongs_to` associations
@@ -1,26 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- batch-loader-active-record (0.4.1)
5
- activerecord (>= 4.2.0, < 5.2.0)
6
- activesupport (>= 4.2.0, < 5.2.0)
4
+ batch-loader-active-record (0.4.2)
7
5
  batch-loader (~> 1.2.0)
8
6
 
9
7
  GEM
10
8
  remote: https://rubygems.org/
11
9
  specs:
12
- activemodel (5.1.4)
13
- activesupport (= 5.1.4)
14
- activerecord (5.1.4)
15
- activemodel (= 5.1.4)
16
- activesupport (= 5.1.4)
17
- arel (~> 8.0)
18
10
  activesupport (5.1.4)
19
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
12
  i18n (~> 0.7)
21
13
  minitest (~> 5.1)
22
14
  tzinfo (~> 1.1)
23
- arel (8.0.0)
15
+ appraisal (2.2.0)
16
+ bundler
17
+ rake
18
+ thor (>= 0.14.0)
24
19
  batch-loader (1.2.0)
25
20
  byebug (9.1.0)
26
21
  coderay (1.1.2)
@@ -33,7 +28,7 @@ GEM
33
28
  pry (0.11.3)
34
29
  coderay (~> 1.1.0)
35
30
  method_source (~> 0.9.0)
36
- pry-byebug (3.5.0)
31
+ pry-byebug (3.5.1)
37
32
  byebug (~> 9.1)
38
33
  pry (~> 0.10)
39
34
  rake (10.5.0)
@@ -51,6 +46,7 @@ GEM
51
46
  rspec-support (~> 3.7.0)
52
47
  rspec-support (3.7.0)
53
48
  sqlite3 (1.3.13)
49
+ thor (0.20.0)
54
50
  thread_safe (0.3.6)
55
51
  tzinfo (1.2.4)
56
52
  thread_safe (~> 0.1)
@@ -59,6 +55,8 @@ PLATFORMS
59
55
  ruby
60
56
 
61
57
  DEPENDENCIES
58
+ activesupport (>= 4.2.0, < 5.2.0)
59
+ appraisal (~> 2.2.0)
62
60
  batch-loader-active-record!
63
61
  bundler (~> 1.16)
64
62
  pry-byebug (~> 3.5)
data/README.md CHANGED
@@ -66,6 +66,8 @@ Or install it yourself as:
66
66
 
67
67
  $ gem install batch-loader-active-record
68
68
 
69
+ Note that this gem supports [active record gem](https://rubygems.org/gems/activerecord) version 4.2.10 and above.
70
+
69
71
 
70
72
  ## Usage
71
73
 
@@ -224,6 +226,12 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
224
226
 
225
227
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
226
228
 
229
+ Use [appraisal](https://github.com/thoughtbot/appraisal) to select the version of activerecord to run with. i.e.: run tests with activerecord v5.1 with:
230
+
231
+ ```shell
232
+ bundle exec appraisal activerecord-5-1 rspec
233
+ ```
234
+
227
235
  ## Contributing
228
236
 
229
237
  Bug reports and pull requests are welcome on GitHub at https://github.com/mathieul/batch-loader-active-record. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -20,12 +20,13 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_dependency "batch-loader", "~> 1.2.0"
23
- spec.add_dependency "activerecord", ">= 4.2.0", "< 5.2.0"
24
- spec.add_dependency "activesupport", ">= 4.2.0", "< 5.2.0"
23
+ # spec.add_dependency "activerecord", ">= 4.2.0", "< 5.2.0"
25
24
 
26
25
  spec.add_development_dependency "bundler", "~> 1.16"
27
26
  spec.add_development_dependency "rake", "~> 10.0"
28
27
  spec.add_development_dependency "rspec", "~> 3.0"
29
28
  spec.add_development_dependency "pry-byebug", "~> 3.5"
30
29
  spec.add_development_dependency "sqlite3", "~> 1.3.13"
30
+ spec.add_development_dependency "activesupport", ">= 4.2.0", "< 5.2.0"
31
+ spec.add_development_dependency "appraisal", "~> 2.2.0"
31
32
  end
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "4.2.10"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,78 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ batch-loader-active-record (0.4.1)
5
+ batch-loader (~> 1.2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (4.2.10)
11
+ activesupport (= 4.2.10)
12
+ builder (~> 3.1)
13
+ activerecord (4.2.10)
14
+ activemodel (= 4.2.10)
15
+ activesupport (= 4.2.10)
16
+ arel (~> 6.0)
17
+ activesupport (4.2.10)
18
+ i18n (~> 0.7)
19
+ minitest (~> 5.1)
20
+ thread_safe (~> 0.3, >= 0.3.4)
21
+ tzinfo (~> 1.1)
22
+ appraisal (2.2.0)
23
+ bundler
24
+ rake
25
+ thor (>= 0.14.0)
26
+ arel (6.0.4)
27
+ batch-loader (1.2.0)
28
+ builder (3.2.3)
29
+ byebug (9.1.0)
30
+ coderay (1.1.2)
31
+ concurrent-ruby (1.0.5)
32
+ diff-lcs (1.3)
33
+ i18n (0.9.1)
34
+ concurrent-ruby (~> 1.0)
35
+ method_source (0.9.0)
36
+ minitest (5.10.3)
37
+ pry (0.11.3)
38
+ coderay (~> 1.1.0)
39
+ method_source (~> 0.9.0)
40
+ pry-byebug (3.5.1)
41
+ byebug (~> 9.1)
42
+ pry (~> 0.10)
43
+ rake (10.5.0)
44
+ rspec (3.7.0)
45
+ rspec-core (~> 3.7.0)
46
+ rspec-expectations (~> 3.7.0)
47
+ rspec-mocks (~> 3.7.0)
48
+ rspec-core (3.7.0)
49
+ rspec-support (~> 3.7.0)
50
+ rspec-expectations (3.7.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.7.0)
53
+ rspec-mocks (3.7.0)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.7.0)
56
+ rspec-support (3.7.0)
57
+ sqlite3 (1.3.13)
58
+ thor (0.20.0)
59
+ thread_safe (0.3.6)
60
+ tzinfo (1.2.4)
61
+ thread_safe (~> 0.1)
62
+
63
+ PLATFORMS
64
+ ruby
65
+
66
+ DEPENDENCIES
67
+ activerecord (= 4.2.10)
68
+ activesupport (>= 4.2.0, < 5.2.0)
69
+ appraisal (~> 2.2.0)
70
+ batch-loader-active-record!
71
+ bundler (~> 1.16)
72
+ pry-byebug (~> 3.5)
73
+ rake (~> 10.0)
74
+ rspec (~> 3.0)
75
+ sqlite3 (~> 1.3.13)
76
+
77
+ BUNDLED WITH
78
+ 1.16.0
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.0.6"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,76 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ batch-loader-active-record (0.4.1)
5
+ batch-loader (~> 1.2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (5.0.6)
11
+ activesupport (= 5.0.6)
12
+ activerecord (5.0.6)
13
+ activemodel (= 5.0.6)
14
+ activesupport (= 5.0.6)
15
+ arel (~> 7.0)
16
+ activesupport (5.0.6)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (~> 0.7)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ appraisal (2.2.0)
22
+ bundler
23
+ rake
24
+ thor (>= 0.14.0)
25
+ arel (7.1.4)
26
+ batch-loader (1.2.0)
27
+ byebug (9.1.0)
28
+ coderay (1.1.2)
29
+ concurrent-ruby (1.0.5)
30
+ diff-lcs (1.3)
31
+ i18n (0.9.1)
32
+ concurrent-ruby (~> 1.0)
33
+ method_source (0.9.0)
34
+ minitest (5.10.3)
35
+ pry (0.11.3)
36
+ coderay (~> 1.1.0)
37
+ method_source (~> 0.9.0)
38
+ pry-byebug (3.5.1)
39
+ byebug (~> 9.1)
40
+ pry (~> 0.10)
41
+ rake (10.5.0)
42
+ rspec (3.7.0)
43
+ rspec-core (~> 3.7.0)
44
+ rspec-expectations (~> 3.7.0)
45
+ rspec-mocks (~> 3.7.0)
46
+ rspec-core (3.7.0)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-expectations (3.7.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.7.0)
51
+ rspec-mocks (3.7.0)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.7.0)
54
+ rspec-support (3.7.0)
55
+ sqlite3 (1.3.13)
56
+ thor (0.20.0)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.4)
59
+ thread_safe (~> 0.1)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (= 5.0.6)
66
+ activesupport (>= 4.2.0, < 5.2.0)
67
+ appraisal (~> 2.2.0)
68
+ batch-loader-active-record!
69
+ bundler (~> 1.16)
70
+ pry-byebug (~> 3.5)
71
+ rake (~> 10.0)
72
+ rspec (~> 3.0)
73
+ sqlite3 (~> 1.3.13)
74
+
75
+ BUNDLED WITH
76
+ 1.16.0
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.1.4"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,76 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ batch-loader-active-record (0.4.1)
5
+ batch-loader (~> 1.2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (5.1.4)
11
+ activesupport (= 5.1.4)
12
+ activerecord (5.1.4)
13
+ activemodel (= 5.1.4)
14
+ activesupport (= 5.1.4)
15
+ arel (~> 8.0)
16
+ activesupport (5.1.4)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (~> 0.7)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ appraisal (2.2.0)
22
+ bundler
23
+ rake
24
+ thor (>= 0.14.0)
25
+ arel (8.0.0)
26
+ batch-loader (1.2.0)
27
+ byebug (9.1.0)
28
+ coderay (1.1.2)
29
+ concurrent-ruby (1.0.5)
30
+ diff-lcs (1.3)
31
+ i18n (0.9.1)
32
+ concurrent-ruby (~> 1.0)
33
+ method_source (0.9.0)
34
+ minitest (5.10.3)
35
+ pry (0.11.3)
36
+ coderay (~> 1.1.0)
37
+ method_source (~> 0.9.0)
38
+ pry-byebug (3.5.1)
39
+ byebug (~> 9.1)
40
+ pry (~> 0.10)
41
+ rake (10.5.0)
42
+ rspec (3.7.0)
43
+ rspec-core (~> 3.7.0)
44
+ rspec-expectations (~> 3.7.0)
45
+ rspec-mocks (~> 3.7.0)
46
+ rspec-core (3.7.0)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-expectations (3.7.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.7.0)
51
+ rspec-mocks (3.7.0)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.7.0)
54
+ rspec-support (3.7.0)
55
+ sqlite3 (1.3.13)
56
+ thor (0.20.0)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.4)
59
+ thread_safe (~> 0.1)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (= 5.1.4)
66
+ activesupport (>= 4.2.0, < 5.2.0)
67
+ appraisal (~> 2.2.0)
68
+ batch-loader-active-record!
69
+ bundler (~> 1.16)
70
+ pry-byebug (~> 3.5)
71
+ rake (~> 10.0)
72
+ rspec (~> 3.0)
73
+ sqlite3 (~> 1.3.13)
74
+
75
+ BUNDLED WITH
76
+ 1.16.0
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "5.2.0.beta1"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,76 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ batch-loader-active-record (0.4.1)
5
+ batch-loader (~> 1.2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (5.2.0.beta1)
11
+ activesupport (= 5.2.0.beta1)
12
+ activerecord (5.2.0.beta1)
13
+ activemodel (= 5.2.0.beta1)
14
+ activesupport (= 5.2.0.beta1)
15
+ arel (>= 9.0)
16
+ activesupport (5.2.0.beta1)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (~> 0.7)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ appraisal (2.2.0)
22
+ bundler
23
+ rake
24
+ thor (>= 0.14.0)
25
+ arel (9.0.0)
26
+ batch-loader (1.2.0)
27
+ byebug (9.1.0)
28
+ coderay (1.1.2)
29
+ concurrent-ruby (1.0.5)
30
+ diff-lcs (1.3)
31
+ i18n (0.9.1)
32
+ concurrent-ruby (~> 1.0)
33
+ method_source (0.9.0)
34
+ minitest (5.10.3)
35
+ pry (0.11.3)
36
+ coderay (~> 1.1.0)
37
+ method_source (~> 0.9.0)
38
+ pry-byebug (3.5.1)
39
+ byebug (~> 9.1)
40
+ pry (~> 0.10)
41
+ rake (10.5.0)
42
+ rspec (3.7.0)
43
+ rspec-core (~> 3.7.0)
44
+ rspec-expectations (~> 3.7.0)
45
+ rspec-mocks (~> 3.7.0)
46
+ rspec-core (3.7.0)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-expectations (3.7.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.7.0)
51
+ rspec-mocks (3.7.0)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.7.0)
54
+ rspec-support (3.7.0)
55
+ sqlite3 (1.3.13)
56
+ thor (0.20.0)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.4)
59
+ thread_safe (~> 0.1)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (= 5.2.0.beta1)
66
+ activesupport (>= 4.2.0, < 5.2.0)
67
+ appraisal (~> 2.2.0)
68
+ batch-loader-active-record!
69
+ bundler (~> 1.16)
70
+ pry-byebug (~> 3.5)
71
+ rake (~> 10.0)
72
+ rspec (~> 3.0)
73
+ sqlite3 (~> 1.3.13)
74
+
75
+ BUNDLED WITH
76
+ 1.16.0
@@ -32,7 +32,7 @@ module BatchLoaderActiveRecord
32
32
  custom_key += [instance_scope.to_sql.hash] unless instance_scope.nil?
33
33
  BatchLoader.for(instance.id).batch(default_value: [], key: custom_key) do |model_ids, loader|
34
34
  relation = relation_with_scope(instance_scope)
35
- if reflection.through_reflection?
35
+ if reflection.through_reflection
36
36
  instances = fetch_for_model_ids(model_ids, relation: relation)
37
37
  instances.each do |instance|
38
38
  loader.call(instance.public_send(:_instance_id)) { |value| value << instance }
@@ -119,7 +119,7 @@ module BatchLoaderActiveRecord
119
119
  end
120
120
 
121
121
  def reflection_join(orig_reflection, model_class)
122
- reflection = orig_reflection.through_reflection? ? orig_reflection.through_reflection : orig_reflection
122
+ reflection = orig_reflection.through_reflection || orig_reflection
123
123
  id_path = id_path_for(reflection, model_class)
124
124
  table_name = reflection.active_record.table_name
125
125
  id_column = reflection.belongs_to? ? reflection.foreign_key : reflection.active_record.primary_key
@@ -1,3 +1,3 @@
1
1
  module BatchLoaderActiveRecord
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch-loader-active-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mathieul
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-27 00:00:00.000000000 Z
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: batch-loader
@@ -24,46 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.2.0
27
- - !ruby/object:Gem::Dependency
28
- name: activerecord
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 4.2.0
34
- - - "<"
35
- - !ruby/object:Gem::Version
36
- version: 5.2.0
37
- type: :runtime
38
- prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 4.2.0
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: 5.2.0
47
- - !ruby/object:Gem::Dependency
48
- name: activesupport
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 4.2.0
54
- - - "<"
55
- - !ruby/object:Gem::Version
56
- version: 5.2.0
57
- type: :runtime
58
- prerelease: false
59
- version_requirements: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 4.2.0
64
- - - "<"
65
- - !ruby/object:Gem::Version
66
- version: 5.2.0
67
27
  - !ruby/object:Gem::Dependency
68
28
  name: bundler
69
29
  requirement: !ruby/object:Gem::Requirement
@@ -134,6 +94,40 @@ dependencies:
134
94
  - - "~>"
135
95
  - !ruby/object:Gem::Version
136
96
  version: 1.3.13
97
+ - !ruby/object:Gem::Dependency
98
+ name: activesupport
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 4.2.0
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: 5.2.0
107
+ type: :development
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 4.2.0
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: 5.2.0
117
+ - !ruby/object:Gem::Dependency
118
+ name: appraisal
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: 2.2.0
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: 2.2.0
137
131
  description: Active record lazy association generator leveraging batch-loader to avoid
138
132
  N+1 DB queries.
139
133
  email:
@@ -145,6 +139,7 @@ files:
145
139
  - ".gitignore"
146
140
  - ".rspec"
147
141
  - ".travis.yml"
142
+ - Appraisals
148
143
  - CHANGELOG.md
149
144
  - CODE_OF_CONDUCT.md
150
145
  - Gemfile
@@ -155,6 +150,15 @@ files:
155
150
  - batch-loader-active-record.gemspec
156
151
  - bin/console
157
152
  - bin/setup
153
+ - gemfiles/.bundle/config
154
+ - gemfiles/activerecord_4_2.gemfile
155
+ - gemfiles/activerecord_4_2.gemfile.lock
156
+ - gemfiles/activerecord_5_0.gemfile
157
+ - gemfiles/activerecord_5_0.gemfile.lock
158
+ - gemfiles/activerecord_5_1.gemfile
159
+ - gemfiles/activerecord_5_1.gemfile.lock
160
+ - gemfiles/activerecord_5_2.gemfile
161
+ - gemfiles/activerecord_5_2.gemfile.lock
158
162
  - lib/batch-loader-active-record.rb
159
163
  - lib/batch_loader_active_record.rb
160
164
  - lib/batch_loader_active_record/association_manager.rb