gdrivestrg 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
1
|
<%- if devise_mapping.omniauthable? %>
|
2
|
-
<a href='#' onclick="js:google_login('<%= omniauth_authorize_path(resource_name, :google_oauth2) %>', '<%= "#{request.protocol}#{
|
2
|
+
<a href='#' onclick="js:google_login('<%= omniauth_authorize_path(resource_name, :google_oauth2) %>', '<%= "#{request.protocol}#{Kernel.const_get(Gdrivestrg.app_name)::Application.config.app_host_and_port}" %>', '<%= "#{request.protocol}#{Kernel.const_get(Gdrivestrg.app_name)::Application.config.app_host_and_port}" %>');" id="btn-sign_in">
|
3
3
|
<center><div class="btn btn-info" >
|
4
4
|
<p><%= "Sign in with " %></p>
|
5
5
|
<%= image_tag("gdrivestrg/google.png") %>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<%- if devise_mapping.omniauthable? %>
|
2
|
-
<a href='#' onclick="js:google_login('<%= omniauth_authorize_path(resource_name, :google_oauth2) %>', '<%= "#{request.protocol}#{request.
|
3
|
-
<center><div class="btn
|
2
|
+
<a href='#' onclick="js:google_login('<%= omniauth_authorize_path(resource_name, :google_oauth2) %>', '<%= "#{request.protocol}#{request.host}:#{Kernel.const_get(Gdrivestrg.app_name)::Application.config.app_port}" %>', '<%= "#{request.protocol}#{request.host}:#{Kernel.const_get(Gdrivestrg.app_name)::Application.config.app_port}" %>');" id="btn-sign_in">
|
3
|
+
<center><div class="btn btn-info" >
|
4
4
|
<p><%= "Sign in with " %></p>
|
5
5
|
<%= image_tag("gdrivestrg/google.png") %>
|
6
6
|
</div></center>
|
data/lib/gdrivestrg/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdrivestrg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
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: 2013-06-
|
12
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|