pgexplain 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -3
- data/VERSION +1 -1
- data/lib/pg_explain.rb +1 -1
- data/pgexplain.gemspec +1 -1
- data/rails/init.rb +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -41,15 +41,15 @@ Original:
|
|
41
41
|
|
42
42
|
- In you environment.rb
|
43
43
|
|
44
|
-
|
44
|
+
Pg_explain::configure :color => false, :analyze = true
|
45
45
|
|
46
46
|
- To disable the plugin
|
47
47
|
|
48
|
-
|
48
|
+
Pg_explain::disable
|
49
49
|
|
50
50
|
- To enable the plugin
|
51
51
|
|
52
|
-
|
52
|
+
Pg_explain::enable
|
53
53
|
|
54
54
|
== Needed things
|
55
55
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/pg_explain.rb
CHANGED
data/pgexplain.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pgexplain}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ramon Salvad\303\263", "Marcus Wyatt"]
|
data/rails/init.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'pg_explain'
|
2
2
|
require 'adapter_extensions'
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
Pg_explain::configure :color => true, :analyze => false
|
5
|
+
Pg_explain::enable if Rails.env == "development" # Get Ready for Rails 3.0 (RAILS_ENV deprecated.)
|