grosser-rpx_now 0.5.4 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -4
- data/Rakefile +4 -4
- data/VERSION.yml +2 -2
- data/lib/rpx_now.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -88,15 +88,13 @@ A identifyer can only belong to one user (in doubt the last one it was mapped to
|
|
88
88
|
user.rpx.map(identifier) == RPXNow.map(identifier, user.id)
|
89
89
|
user.rpx.unmap(identifier) == RPXNow.unmap(identifier, user.id)
|
90
90
|
|
91
|
-
###Contacts
|
91
|
+
###Contacts (PRX Pro)
|
92
92
|
Retrieve all contacts for a given user:
|
93
93
|
RPXNow.contacts(identifier).each {|c| puts "#{c['displayName']}: #{c['emails']}}
|
94
94
|
|
95
95
|
TODO
|
96
96
|
====
|
97
|
-
- add provider?
|
98
|
-
- add get_contacts (premium rpx service)
|
99
|
-
|
97
|
+
- add provider / credentials helpers ?
|
100
98
|
|
101
99
|
Author
|
102
100
|
======
|
data/Rakefile
CHANGED
@@ -12,11 +12,11 @@ end
|
|
12
12
|
begin
|
13
13
|
require 'jeweler'
|
14
14
|
Jeweler::Tasks.new do |gem|
|
15
|
-
|
16
|
-
gem.name =
|
15
|
+
project_name = 'rpx_now'
|
16
|
+
gem.name = project_name
|
17
17
|
gem.summary = "Helper to simplify RPX Now user login/creation"
|
18
18
|
gem.email = "grosser.michael@gmail.com"
|
19
|
-
gem.homepage = "http://github.com/grosser/#{
|
19
|
+
gem.homepage = "http://github.com/grosser/#{project_name}"
|
20
20
|
gem.authors = ["Michael Grosser"]
|
21
21
|
gem.add_dependency ['activesupport']
|
22
22
|
end
|
@@ -24,4 +24,4 @@ rescue LoadError
|
|
24
24
|
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
25
25
|
end
|
26
26
|
|
27
|
-
task :update_gemspec => [:manifest, :build_gemspec]
|
27
|
+
task :update_gemspec => [:manifest, :build_gemspec]
|
data/VERSION.yml
CHANGED
data/lib/rpx_now.rb
CHANGED
@@ -149,7 +149,7 @@ EOF
|
|
149
149
|
require 'net/http'
|
150
150
|
require 'net/https'
|
151
151
|
request = Net::HTTP::Get.new(path)
|
152
|
-
request.form_data = data
|
152
|
+
request.form_data = data.map{|k,v| [k.to_s,v]}#symbol keys -> string because of ruby 1.9.x bug http://redmine.ruby-lang.org/issues/show/1351
|
153
153
|
make_request(request)
|
154
154
|
end
|
155
155
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grosser-rpx_now
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
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-06-
|
12
|
+
date: 2009-06-20 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|