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 CHANGED
@@ -14,5 +14,5 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = "dailycred"
16
16
  gem.require_paths = ["lib"]
17
- gem.version = "0.1.24"
17
+ gem.version = "0.1.25"
18
18
  end
@@ -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 => "http://localhost:9000",
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" : #{@opts[:triggers].to_s}
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.24
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 00:00:00.000000000 Z
12
+ date: 2012-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth