bullet 5.5.0 → 5.6.0
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 +4 -4
- data/.travis.yml +1 -5
- data/CHANGELOG.md +9 -0
- data/Gemfile +6 -1
- data/Gemfile.rails-5.0 +1 -1
- data/Gemfile.rails-5.1 +15 -0
- data/Hacking.md +1 -1
- data/README.md +11 -19
- data/lib/bullet/active_record5.rb +44 -62
- data/lib/bullet/detector/association.rb +2 -2
- data/lib/bullet/detector/n_plus_one_query.rb +6 -5
- data/lib/bullet/ext/object.rb +1 -1
- data/lib/bullet/ext/string.rb +1 -1
- data/lib/bullet/notification/base.rb +1 -1
- data/lib/bullet/rack.rb +1 -1
- data/lib/bullet/stack_trace_filter.rb +2 -1
- data/lib/bullet/version.rb +1 -1
- data/lib/generators/bullet/install_generator.rb +46 -0
- data/spec/bullet/detector/n_plus_one_query_spec.rb +11 -11
- data/spec/integration/{active_record4 → active_record}/association_spec.rb +1 -1
- data/spec/support/mongo_seed.rb +2 -10
- metadata +7 -7
- data/spec/integration/active_record5/association_spec.rb +0 -768
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bullet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Huang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -58,6 +58,7 @@ files:
|
|
|
58
58
|
- Gemfile.rails-4.1
|
|
59
59
|
- Gemfile.rails-4.2
|
|
60
60
|
- Gemfile.rails-5.0
|
|
61
|
+
- Gemfile.rails-5.1
|
|
61
62
|
- Guardfile
|
|
62
63
|
- Hacking.md
|
|
63
64
|
- MIT-LICENSE
|
|
@@ -94,6 +95,7 @@ files:
|
|
|
94
95
|
- lib/bullet/registry/object.rb
|
|
95
96
|
- lib/bullet/stack_trace_filter.rb
|
|
96
97
|
- lib/bullet/version.rb
|
|
98
|
+
- lib/generators/bullet/install_generator.rb
|
|
97
99
|
- perf/benchmark.rb
|
|
98
100
|
- rails/init.rb
|
|
99
101
|
- spec/bullet/detector/association_spec.rb
|
|
@@ -113,8 +115,7 @@ files:
|
|
|
113
115
|
- spec/bullet/registry/base_spec.rb
|
|
114
116
|
- spec/bullet/registry/object_spec.rb
|
|
115
117
|
- spec/bullet_spec.rb
|
|
116
|
-
- spec/integration/
|
|
117
|
-
- spec/integration/active_record5/association_spec.rb
|
|
118
|
+
- spec/integration/active_record/association_spec.rb
|
|
118
119
|
- spec/integration/counter_cache_spec.rb
|
|
119
120
|
- spec/integration/mongoid/association_spec.rb
|
|
120
121
|
- spec/models/address.rb
|
|
@@ -177,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
177
178
|
version: 1.3.6
|
|
178
179
|
requirements: []
|
|
179
180
|
rubyforge_project:
|
|
180
|
-
rubygems_version: 2.
|
|
181
|
+
rubygems_version: 2.6.12
|
|
181
182
|
signing_key:
|
|
182
183
|
specification_version: 4
|
|
183
184
|
summary: help to kill N+1 queries and unused eager loading.
|
|
@@ -199,8 +200,7 @@ test_files:
|
|
|
199
200
|
- spec/bullet/registry/base_spec.rb
|
|
200
201
|
- spec/bullet/registry/object_spec.rb
|
|
201
202
|
- spec/bullet_spec.rb
|
|
202
|
-
- spec/integration/
|
|
203
|
-
- spec/integration/active_record5/association_spec.rb
|
|
203
|
+
- spec/integration/active_record/association_spec.rb
|
|
204
204
|
- spec/integration/counter_cache_spec.rb
|
|
205
205
|
- spec/integration/mongoid/association_spec.rb
|
|
206
206
|
- spec/models/address.rb
|