niceql 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
data/lib/niceql/string.rb DELETED
@@ -1,5 +0,0 @@
1
- class String
2
- def match?(pattern)
3
- self =~ pattern
4
- end
5
- end unless String.method_defined?(:match?)