niceql 0.1.3 → 0.1.4
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.
- checksums.yaml +5 -5
- data/.travis.yml +2 -4
- data/README.md +35 -95
- data/err_now.png +0 -0
- data/err_was.png +0 -0
- data/lib/niceql/version.rb +1 -1
- data/lib/niceql.rb +33 -207
- data/niceql.gemspec +2 -6
- data/to_niceql.png +0 -0
- metadata +16 -65
- data/CHANGELOG.md +0 -44
- data/lib/benchmark/cat.rb +0 -34
- data/lib/benchmark/gsub.rb +0 -34
- data/lib/benchmark/txt +0 -748
- data/lib/generators/niceql/install_generator.rb +0 -14
- data/lib/generators/templates/niceql_initializer.rb +0 -11
- data/lib/niceql/string.rb +0 -5
@@ -1,14 +0,0 @@
|
|
1
|
-
module Niceql
|
2
|
-
module Generators
|
3
|
-
class InstallGenerator < Rails::Generators::Base
|
4
|
-
source_root File.expand_path("../../templates", __FILE__)
|
5
|
-
desc "Creates Niceql initializer for your application"
|
6
|
-
|
7
|
-
def copy_initializer
|
8
|
-
template "niceql_initializer.rb", "config/initializers/niceql.rb"
|
9
|
-
|
10
|
-
puts "Install complete!"
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
Niceql.configure do |c|
|
2
|
-
# You can adjust pg_adapter in prooduction at your own risk!
|
3
|
-
# If you need it in production use exec_niceql
|
4
|
-
# default: false
|
5
|
-
# c.pg_adapter_with_nicesql = Rails.env.development?
|
6
|
-
|
7
|
-
# this are default settings, change it to your project needs
|
8
|
-
# c.indentation_base = 2
|
9
|
-
# c.open_bracket_is_newliner = false
|
10
|
-
# c.prettify_active_record_log_output = false
|
11
|
-
end
|