minimum-omniauth-scaffold 0.1.2 → 0.1.3
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 +4 -4
- data/lib/minimum/omniauth/scaffold.rb +3 -2
- data/lib/minimum/omniauth/scaffold/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9edb2d59ecf23e33b00268e92b5bc16a7b1f4dcf
|
4
|
+
data.tar.gz: ae237f9a91e52a9382a0417cad0b4c56ffdb32b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebb83022d112f0264a95b67f4bfd09eca88dee6148d607d284bd4d911a29a48fe1d6d2b8336a8a25bf3b5d27ff5be08c9a1682490d31cbf118cf2120a6b5cad3
|
7
|
+
data.tar.gz: 84c11cdd3bfc8b25e41eeb33b1c691f18cc9ab799ff438478deddb82de294c371ae039dcd4a64fded9d6458528a947c564d5a5f304ce286a915143b91e824e01
|
@@ -42,11 +42,12 @@ module Minimum
|
|
42
42
|
# content += " config.active_record.default_timezone = :local\n"
|
43
43
|
insert_into_file( "config/application.rb", content.force_encoding('ASCII-8BIT'), after: "# config.time_zone = 'Central Time (US & Canada)'\n" )
|
44
44
|
insert_into_file( "config/application.rb", " config.i18n.default_locale = :ja\n", after: "# config.i18n.default_locale = :de\n" )
|
45
|
-
content = "
|
45
|
+
content = " # For Heroku\n"
|
46
46
|
content += " config.assets.initialize_on_precompile = false\n"
|
47
47
|
content += "\n # For Tapp\n"
|
48
48
|
content += " Tapp.config.default_printer = :awesome_print\n"
|
49
|
-
|
49
|
+
content += "\n"
|
50
|
+
insert_into_file( "config/application.rb", content.force_encoding('ASCII-8BIT'), after: "class Application < Rails::Application\n" )
|
50
51
|
|
51
52
|
# ----- production.rb ----- #
|
52
53
|
insert_into_file( "config/environments/production.rb", " config.force_ssl = true\n", after: "# config.force_ssl = true\n" ) # 強制SSL設定
|