rpx_now 0.6.8 → 0.6.9

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.
@@ -31,9 +31,9 @@ Examples
31
31
  View
32
32
  ----
33
33
  #'mywebsite' is your subdomain/realm on RPX
34
- <%=RPXNow.embed_code('mywebsite',rpx_token_sessions_url)%>
34
+ <%=RPXNow.embed_code('mywebsite', url_for(:controller=>:session, :action=>:rpx_token))%>
35
35
  OR
36
- <%=RPXNow.popup_code('Login here...', 'mywebsite', rpx_token_sessions_url, options)%>
36
+ <%=RPXNow.popup_code('Login here...', 'mywebsite', url_for(:controller=>:session, :action=>:rpx_token), options)%>
37
37
 
38
38
  ###Options
39
39
  `:language=>'en'` rpx tries to detect the users language, but you may overwrite it [possible languages](https://rpxnow.com/docs#sign-in_localization)
@@ -42,7 +42,7 @@ View
42
42
 
43
43
  ###Unobtrusive / JS-last
44
44
  `popup_code` can also be called with `:unobtrusive=>true` ( --> just link without javascript include).
45
- To still get the normal popup add `RPXNow.popup_source('mywebsite',rpx_token_sessions_url, [options])`.
45
+ To still get the normal popup add `RPXNow.popup_source('mywebsite', url_for(:controller=>:session, :action=>:rpx_token), [options])`.
46
46
  Options like :language / :flags should be given for both.
47
47
 
48
48
  environment.rb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.8
1
+ 0.6.9
@@ -1,6 +1,6 @@
1
1
  require 'net/http'
2
2
  require 'net/https'
3
- require 'json_pure'
3
+ require 'json/pure'
4
4
 
5
5
  require 'rpx_now/api'
6
6
  require 'rpx_now/contacts_collection'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rpx_now}
8
- s.version = "0.6.8"
8
+ s.version = "0.6.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2009-10-26}
12
+ s.date = %q{2009-10-28}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.markdown"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpx_now
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-26 00:00:00 +01:00
12
+ date: 2009-10-28 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency