dailycred 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- data/dailycred.gemspec +1 -1
- data/lib/generators/templates/omniauth.rb +1 -1
- data/lib/middleware/middleware.rb +2 -2
- metadata +2 -2
data/dailycred.gemspec
CHANGED
@@ -5,7 +5,7 @@ dc_id = Rails.configuration.DAILYCRED_CLIENT_ID
|
|
5
5
|
dc_secret = Rails.configuration.DAILYCRED_SECRET_KEY
|
6
6
|
|
7
7
|
dc_options = { :client_options => {
|
8
|
-
:site => "
|
8
|
+
:site => "https://www.dailycred.com",
|
9
9
|
:authorize_url => '/oauth/authorize',
|
10
10
|
:token_url => '/oauth/access_token'
|
11
11
|
} }
|
@@ -57,8 +57,8 @@ class Dailycred
|
|
57
57
|
#{'<!--' unless @opts[:sdk]}<script src="#{@opts[:url]}/public/js/dailycred.coffee"></script>
|
58
58
|
<script>
|
59
59
|
DC.init({
|
60
|
-
"showModal" : #{@opts[:modal]}
|
61
|
-
"triggers"
|
60
|
+
"showModal" : #{@opts[:modal]}
|
61
|
+
#{',"modal":{"triggers":'+@opts[:triggers].to_s+'}' if @opts[:modal]}
|
62
62
|
});
|
63
63
|
</script>#{'-->' unless @opts[:sdk]}
|
64
64
|
<!-- end dailycred -->
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dailycred
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
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-09-
|
12
|
+
date: 2012-09-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|