sql_output 0.1.1 → 0.2.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/README.rdoc +17 -11
- data/VERSION +1 -1
- data/sql_output.gemspec +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
= sql_output
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
==
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
Gem to print the SQL queries generated by ActiveRecord in the Rails console
|
|
4
|
+
|
|
5
|
+
== Installation
|
|
6
|
+
|
|
7
|
+
sudo gem install sql_output
|
|
8
|
+
|
|
9
|
+
== Usage
|
|
10
|
+
|
|
11
|
+
First, require the gem either in the rails console or add it as a dependency.
|
|
12
|
+
|
|
13
|
+
To start printing the output:
|
|
14
|
+
|
|
15
|
+
SqlOutput.start
|
|
16
|
+
|
|
17
|
+
To stop it:
|
|
18
|
+
|
|
19
|
+
SqlOutput.stop
|
|
14
20
|
|
|
15
21
|
== Copyright
|
|
16
22
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.2.0
|
data/sql_output.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sql_output
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 23
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
8
|
+
- 2
|
|
9
|
+
- 0
|
|
10
|
+
version: 0.2.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jordi Noguera
|