omniauth-scaffold 0.1.25 → 0.1.26
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 +3 -3
- metadata +1 -1
data/lib/omniauth-scaffold.rb
CHANGED
@@ -46,9 +46,9 @@ module Omniauth
|
|
46
46
|
# content += " config.active_record.default_timezone = :local\n"
|
47
47
|
insert_into_file( "config/application.rb", content.force_encoding('ASCII-8BIT'), after: "# config.time_zone = 'Central Time (US & Canada)'\n" )
|
48
48
|
insert_into_file( "config/application.rb", " config.i18n.default_locale = :ja\n", after: "# config.i18n.default_locale = :de\n" )
|
49
|
-
|
50
|
-
|
51
|
-
content
|
49
|
+
content = "\n # For Heroku\n"
|
50
|
+
content += " config.assets.initialize_on_precompile = false\n"
|
51
|
+
content += "\n # For Tapp\n"
|
52
52
|
content += " Tapp.config.default_printer = :awesome_print\n"
|
53
53
|
insert_into_file( "config/application.rb", content.force_encoding('ASCII-8BIT'), after: "config.assets.version = '1.0'\n" )
|
54
54
|
|