omniauth-scaffold 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/omniauth-scaffold/version.rb +1 -1
- data/lib/omniauth-scaffold.rb +1 -1
- metadata +1 -1
data/lib/omniauth-scaffold.rb
CHANGED
@@ -45,7 +45,7 @@ module Omniauth
|
|
45
45
|
|
46
46
|
# ----- development.rb ----- #
|
47
47
|
content = "\n # For LogRotate\n"
|
48
|
-
content += " config.logger = Logger.new(
|
48
|
+
content += " config.logger = Logger.new( 'log/development.log', 5, 1*1024*1024 ) # 1MB * 5\n"
|
49
49
|
insert_into_file( "config/environments/development.rb", content.force_encoding('ASCII-8BIT'), after: "config.assets.debug = true\n" )
|
50
50
|
gsub_file "config/environments/development.rb", /(config.assets.debug = true)+/, "# config.assets.debug = true"
|
51
51
|
insert_into_file( "config/environments/development.rb", " config.assets.debug = false\n", after: "config.assets.debug = true\n" )
|