omniauth-scaffold 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,10 +2,10 @@
|
|
2
2
|
twitter_key: <%= ENV['TWITTER_KEY'] %>
|
3
3
|
twitter_secret: <%= ENV['TWITTER_SECRET'] %>
|
4
4
|
|
5
|
-
# GitHub OAuth Setting
|
6
|
-
github_client_id: <%= ENV['GITHUB_CLIENT_ID'] %>
|
7
|
-
github_secret: <%= ENV['GITHUB_SECRET'] %>
|
8
|
-
|
9
5
|
# Facebook OAuth Setting
|
10
6
|
facebook_app_id: <%= ENV['FACEBOOK_APP_ID'] %>
|
11
7
|
facebook_app_secret: <%= ENV['FACEBOOK_APP_SECRET'] %>
|
8
|
+
|
9
|
+
# GitHub OAuth Setting
|
10
|
+
github_client_id: <%= ENV['GITHUB_CLIENT_ID'] %>
|
11
|
+
github_secret: <%= ENV['GITHUB_SECRET'] %>
|
data/lib/omniauth-scaffold.rb
CHANGED
@@ -43,7 +43,7 @@ module Omniauth
|
|
43
43
|
|
44
44
|
# ----- application.rb ----- #
|
45
45
|
content = " config.time_zone = 'Tokyo'\n"
|
46
|
-
content += " config.active_record.default_timezone = :local\n"
|
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
49
|
content = "\n # For Heroku\n"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails_config
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
|
-
rubygems_version: 1.8.
|
165
|
+
rubygems_version: 1.8.23
|
166
166
|
signing_key:
|
167
167
|
specification_version: 3
|
168
168
|
summary: OmniAuth Scaffold
|