flyerhzm-bullet 1.0.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.
- data/MIT-LICENSE +20 -0
- data/README.textile +243 -0
- data/Rakefile +32 -0
- data/VERSION +1 -0
- data/bullet.gemspec +54 -0
- data/lib/bullet/association.rb +150 -0
- data/lib/bullet/logger.rb +9 -0
- data/lib/bullet.rb +14 -0
- data/lib/bulletware.rb +25 -0
- data/lib/hack/active_record.rb +95 -0
- data/rails/init.rb +4 -0
- data/spec/bullet_association_spec.rb +679 -0
- data/spec/spec.opts +8 -0
- data/spec/spec_helper.rb +10 -0
- data/tasks/bullet_tasks.rake +9 -0
- metadata +69 -0
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: flyerhzm-bullet
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Richard Huang
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-08-26 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: This plugin is aimed to give you some performance suggestion about ActiveRecord usage, what should use but not use, such as eager loading, counter cache and so on, what should not use but use, such as unused eager loading. Now it provides you the suggestion of eager loading and unused eager loading. The others are todo, next may be couter cache.
|
17
|
+
email: flyerhzm@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README.textile
|
24
|
+
files:
|
25
|
+
- MIT-LICENSE
|
26
|
+
- README.textile
|
27
|
+
- Rakefile
|
28
|
+
- VERSION
|
29
|
+
- bullet.gemspec
|
30
|
+
- lib/bullet.rb
|
31
|
+
- lib/bullet/association.rb
|
32
|
+
- lib/bullet/logger.rb
|
33
|
+
- lib/bulletware.rb
|
34
|
+
- lib/hack/active_record.rb
|
35
|
+
- rails/init.rb
|
36
|
+
- spec/bullet_association_spec.rb
|
37
|
+
- spec/spec.opts
|
38
|
+
- spec/spec_helper.rb
|
39
|
+
- tasks/bullet_tasks.rake
|
40
|
+
has_rdoc: false
|
41
|
+
homepage: http://www.huangzhimin.com/projects/4-bullet
|
42
|
+
licenses:
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options:
|
45
|
+
- --charset=UTF-8
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: "0"
|
53
|
+
version:
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0"
|
59
|
+
version:
|
60
|
+
requirements: []
|
61
|
+
|
62
|
+
rubyforge_project:
|
63
|
+
rubygems_version: 1.3.5
|
64
|
+
signing_key:
|
65
|
+
specification_version: 3
|
66
|
+
summary: A plugin to kill N+1 queries and unused eager loading
|
67
|
+
test_files:
|
68
|
+
- spec/spec_helper.rb
|
69
|
+
- spec/bullet_association_spec.rb
|