prooflink_connect 0.0.12 → 0.0.13
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.
|
@@ -18,7 +18,7 @@ module ProoflinkConnect::PortableContacts
|
|
|
18
18
|
# OpenSocial singular fields
|
|
19
19
|
:about_me, :body_type, :current_location, :drinker, :ethnicity, :fashion, :happiest_when,
|
|
20
20
|
:humor, :living_arrangement, :looking_for, :profile_song, :profile_video, :relationship_status,
|
|
21
|
-
:religion, :romance, :scared_of, :sexual_orientation, :smoker, :status
|
|
21
|
+
:religion, :romance, :scared_of, :sexual_orientation, :smoker, :status, :extra
|
|
22
22
|
]
|
|
23
23
|
PLURAL_FIELDS = [
|
|
24
24
|
# Portable contacts plural fields
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
module ProoflinkConnect
|
|
2
2
|
class ShareButton
|
|
3
3
|
attr_accessor :message
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
def initialize(message = nil)
|
|
6
6
|
@message = message
|
|
7
7
|
end
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
def to_html
|
|
10
|
-
"<iframe src='#{ProoflinkConnect.config.protocol}://#{[ProoflinkConnect.config.subdomain, ProoflinkConnect.config.provider_endpoint].compact.join(".")}/shares/button?message=#{@message}' style='width: 100px; height: 100px; border: 0;display: block' frameborder='0'></iframe>".html_safe
|
|
10
|
+
"<iframe src='#{ProoflinkConnect.config.protocol}://#{[ProoflinkConnect.config.subdomain, ProoflinkConnect.config.provider_endpoint].compact.join(".")}/shares/button?message=#{CGI.escape @message}' style='width: 100px; height: 100px; border: 0;display: block' frameborder='0'></iframe>".html_safe
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prooflink_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 5
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 13
|
|
10
|
+
version: 0.0.13
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Chiel Wester
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2011-05-
|
|
19
|
+
date: 2011-05-20 00:00:00 +02:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|