bullet 1.7.4 → 1.7.5
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/README.textile +6 -0
- data/VERSION +1 -1
- data/bullet.gemspec +6 -6
- data/lib/bulletware.rb +1 -1
- metadata +5 -5
data/README.textile
CHANGED
@@ -120,6 +120,12 @@ To get Growl support up-and-running for Bullet, follow the steps below:
|
|
120
120
|
|
121
121
|
****************************************************************************
|
122
122
|
|
123
|
+
h2. Ruby 1.9 issue
|
124
|
+
|
125
|
+
ruby-growl gem has an issue about md5 in ruby 1.9, if you use growl and ruby 1.9, check this gist http://gist.github.com/300184
|
126
|
+
|
127
|
+
****************************************************************************
|
128
|
+
|
123
129
|
h2. Important
|
124
130
|
|
125
131
|
If you encounter the following errors in development environment:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.5
|
data/bullet.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bullet}
|
8
|
-
s.version = "1.7.
|
8
|
+
s.version = "1.7.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Richard Huang"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-02-12}
|
13
13
|
s.description = %q{The Bullet plugin is designed to help you increase your application's performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries) or when you're using eager loading that isn't necessary.}
|
14
14
|
s.email = %q{flyerhzm@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -44,11 +44,11 @@ Gem::Specification.new do |s|
|
|
44
44
|
s.rubygems_version = %q{1.3.5}
|
45
45
|
s.summary = %q{A plugin to kill N+1 queries and unused eager loading}
|
46
46
|
s.test_files = [
|
47
|
-
"spec/
|
48
|
-
"spec/bullet/
|
47
|
+
"spec/bullet/association_for_chris_spec.rb",
|
48
|
+
"spec/bullet/association_for_peschkaj_spec.rb",
|
49
49
|
"spec/bullet/association_spec.rb",
|
50
|
-
"spec/bullet/
|
51
|
-
"spec/
|
50
|
+
"spec/bullet/counter_spec.rb",
|
51
|
+
"spec/spec_helper.rb"
|
52
52
|
]
|
53
53
|
|
54
54
|
if s.respond_to? :specification_version then
|
data/lib/bulletware.rb
CHANGED
@@ -22,7 +22,7 @@ class Bulletware
|
|
22
22
|
response_body ||= response.body
|
23
23
|
Bullet.end_request
|
24
24
|
no_browser_cache(headers) if Bullet.disable_browser_cache
|
25
|
-
[status, headers, response_body]
|
25
|
+
[status, headers, [response_body]]
|
26
26
|
end
|
27
27
|
|
28
28
|
# fix issue if response's body is a Proc
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-12 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -72,8 +72,8 @@ signing_key:
|
|
72
72
|
specification_version: 3
|
73
73
|
summary: A plugin to kill N+1 queries and unused eager loading
|
74
74
|
test_files:
|
75
|
-
- spec/spec_helper.rb
|
76
|
-
- spec/bullet/counter_spec.rb
|
77
|
-
- spec/bullet/association_spec.rb
|
78
75
|
- spec/bullet/association_for_chris_spec.rb
|
79
76
|
- spec/bullet/association_for_peschkaj_spec.rb
|
77
|
+
- spec/bullet/association_spec.rb
|
78
|
+
- spec/bullet/counter_spec.rb
|
79
|
+
- spec/spec_helper.rb
|