niceql 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7919448f67585220d4fd6aaa4fd779558acf89c
4
- data.tar.gz: 6c6ee86d5794ccaed63eade5c6cd0c6eb1d9abaa
3
+ metadata.gz: 74fac1f8e6213748766ad42774bf8709b5acff43
4
+ data.tar.gz: 5ed4e1400203de4cd5b049beda67a6a535c528f6
5
5
  SHA512:
6
- metadata.gz: 7abca0d3a40cfdc74105631f3996f87691deb49db0c8580db00a07f42cc480c99700802092d11d03e3f94346da23d29986df9af028902a42a6cf9a1598be8861
7
- data.tar.gz: c320c6ad90c99b1b3621aa88c6fa88e8af1655f5eeb18746e7218e3eac6bab1dd722f7d0011314820f3ee69b816b49e34d080e7a1a5bf529e0c65dd4ec3d28a2
6
+ metadata.gz: ec87b1f2aca25e59a17dd687febe0bf83e9f5e238a98f628ce2a4e9958dbfb725f3dc3c4da56c497af2ebdfc578806df9cf511397a19f160ed4c6036d8028655
7
+ data.tar.gz: 19631eaab9bedf8ffbad5ee86e217f9e7da50e662d12114aef165d0953d1977b8474253e1b2f3c508fcb71075dc2c068a477ecad4c5980f498992b7a5ff0b323
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.1.16
2
+ * Add prettify_active_record_log_output to rails config generator
3
+
1
4
  # 0.1.15
2
5
  * JOIN verb refactored, INNER|OUTER will be also colored properly
3
6
  * prettify_active_record_log_output added to config, now you can set it to true
data/README.md CHANGED
@@ -49,6 +49,10 @@ Niceql.configure do |c|
49
49
  # uncomment next string to enable in development
50
50
  # c.pg_adapter_with_nicesql = Rails.env.development?
51
51
 
52
+ # uncomment next string if you want to log prettified SQL inside ActiveRecord logging.
53
+ # Default = false
54
+ # c.prettify_active_record_log_output = true
55
+
52
56
  # spaces count for one indentation
53
57
  c.indentation_base = 2
54
58
 
@@ -3,6 +3,9 @@ Niceql.configure do |c|
3
3
  # If you need it in production use exec_niceql
4
4
  # default: false
5
5
  # c.pg_adapter_with_nicesql = Rails.env.development?
6
+
7
+ # this are default settings, change it to your project needs
6
8
  # c.indentation_base = 2
7
9
  # c.open_bracket_is_newliner = false
10
+ # c.prettify_active_record_log_output = false
8
11
  end
@@ -1,3 +1,3 @@
1
1
  module Niceql
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niceql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl