prooflink_connect 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,18 @@
1
+ bundler_args: --binstubs
2
+
3
+ rvm:
4
+ - 1.8.7
5
+ - 1.9.2
6
+ - ree
7
+
8
+ script: "bundle exec rspec spec"
9
+
10
+ notifications:
11
+ recipients:
12
+ - markmulder@gmail.com
13
+ - stephan@ka.ag
14
+
15
+ branches:
16
+ only:
17
+ - master
18
+
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prooflink_connect (0.0.14)
4
+ prooflink_connect (0.0.16)
5
5
  activesupport
6
6
  httparty
7
7
  json
@@ -9,23 +9,23 @@ PATH
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- activesupport (3.0.9)
12
+ activesupport (3.0.10)
13
13
  addressable (2.2.6)
14
14
  crack (0.1.8)
15
15
  diff-lcs (1.1.2)
16
16
  httparty (0.7.8)
17
17
  crack (= 0.1.8)
18
18
  json (1.5.3)
19
- rspec (2.4.0)
20
- rspec-core (~> 2.4.0)
21
- rspec-expectations (~> 2.4.0)
22
- rspec-mocks (~> 2.4.0)
23
- rspec-core (2.4.0)
24
- rspec-expectations (2.4.0)
19
+ rspec (2.6.0)
20
+ rspec-core (~> 2.6.0)
21
+ rspec-expectations (~> 2.6.0)
22
+ rspec-mocks (~> 2.6.0)
23
+ rspec-core (2.6.4)
24
+ rspec-expectations (2.6.0)
25
25
  diff-lcs (~> 1.1.2)
26
- rspec-mocks (2.4.0)
27
- webmock (1.6.2)
28
- addressable (>= 2.2.2)
26
+ rspec-mocks (2.6.0)
27
+ webmock (1.7.2)
28
+ addressable (~> 2.2, > 2.2.5)
29
29
  crack (>= 0.1.7)
30
30
 
31
31
  PLATFORMS
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # Prooflink Connect
1
+ # Prooflink Connect [![Build Status](http://travis-ci.org/prooflink/prooflink_connect.png)](http://travis-ci.org/prooflink/prooflink_connect)
2
+
2
3
  =================
3
4
 
4
5
  Library to connect to the [prooflink](http://www.prooflink.com) identity service provider
@@ -25,4 +26,4 @@ Usage
25
26
  -----
26
27
 
27
28
  To make use of this gem you need an account on prooflink with an api key
28
- Adjust the prooflink configuration settings in your environment.rb:
29
+ Adjust the prooflink configuration settings in your environment.rb:
@@ -6,14 +6,15 @@ module ProoflinkConnect
6
6
  @@defaults = {
7
7
  :provider_endpoint => "prooflink.com",
8
8
  :subdomain => "example",
9
- :protocol => "https"
9
+ :protocol => "https",
10
+ :locale => "en"
10
11
  }
11
12
 
12
13
  def initialize
13
14
  @@defaults.each_pair{|k,v| self.send("#{k}=",v)}
14
15
  end
15
16
 
16
- attr_accessor :provider_endpoint, :subdomain, :api_key, :protocol
17
+ attr_accessor :provider_endpoint, :subdomain, :api_key, :protocol, :locale
17
18
 
18
19
  def validate!
19
20
  raise InvalidConfigurationError if [:provider_endpoint, :subdomain, :api_key, :protocol].any?{|option|send(option).blank?}
@@ -26,4 +27,4 @@ module ProoflinkConnect
26
27
  class InvalidConfigurationError < ::StandardError
27
28
  end
28
29
  end
29
- end
30
+ end
@@ -1,5 +1,7 @@
1
1
  require 'httparty'
2
2
  require "active_support/core_ext/hash/keys"
3
+ require "active_support/core_ext/hash/reverse_merge"
4
+ require "json"
3
5
 
4
6
  class ProoflinkConnect::Invite
5
7
  attr_reader :configuration, :attributes
@@ -10,19 +12,32 @@ class ProoflinkConnect::Invite
10
12
  @configuration = configuration
11
13
  end
12
14
 
13
- def save
15
+ def save(params = {})
16
+ return false if created?
17
+
14
18
  uri = configuration.base_uri + "/invites"
15
- params = { "invite" => attributes, "api_key" => configuration.api_key, "locale" => locale || 'nl' }
19
+ params.reverse_merge! "invite" => attributes, "api_key" => configuration.api_key, "locale" => locale || 'nl'
20
+
16
21
  response = HTTParty.post(uri, :body => params)
17
22
 
18
- if response.headers["status"] == "200"
23
+ if response.code == 200
19
24
  self.attributes.merge! JSON.parse(response.body)["entry"].stringify_keys
20
25
  end
21
26
 
22
- return !attributes["id"].nil?
27
+ return created?
28
+ end
29
+
30
+ def url
31
+ attributes["invite_url"] if created?
23
32
  end
24
33
 
25
34
  def person
26
- ProoflinkConnect::PortableContacts::Person.new(attributes)
35
+ @person ||= ProoflinkConnect::PortableContacts::Person.new(attributes)
36
+ end
37
+
38
+ private
39
+
40
+ def created?
41
+ !!attributes["id"]
27
42
  end
28
43
  end
@@ -2,12 +2,29 @@ require 'httparty'
2
2
 
3
3
  module ProoflinkConnect
4
4
  class Share
5
- def self.post(transaction, message)
5
+ def self.post(transaction, message, position = nil)
6
6
  uri = ProoflinkConnect.config.base_uri + "/shares/post_share_transaction"
7
7
  api_key = ProoflinkConnect.config.api_key
8
8
  params = {"api_key" => api_key, "transaction" => transaction,
9
9
  "message" => message, "format" => "json"}
10
+ params["position"] = position if position
10
11
  response = HTTParty.post(uri, :body => params)
11
12
  end
13
+
14
+ def self.embedded(options = {}, config = ProoflinkConnect.config)
15
+ options = {
16
+ :width => "400px",
17
+ :height => "355px",
18
+ :locale => config.locale
19
+ }.merge(options)
20
+
21
+ src = "#{config.base_uri}/#{options[:locale]}/shares/embedded/new?message=#{options[:message]}"
22
+ src << "&position=#{CGI.escape(options[:position])}" if options[:position]
23
+ styling = "width: #{options[:width]}; height: #{options[:height]};"
24
+ styling << " border: 0; display: block;"
25
+ default_options = "frameborder='0' allowTransparency='true'"
26
+ html = "<iframe src='#{src}' style='#{styling}' #{default_options}></iframe>"
27
+ html.respond_to?(:html_safe) ? html.html_safe : html
28
+ end
12
29
  end
13
30
  end
@@ -1,3 +1,3 @@
1
1
  module ProoflinkConnect
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
@@ -1,3 +1,5 @@
1
+ require 'cgi'
2
+
1
3
  module ProoflinkConnect
2
4
  autoload :Configuration, "prooflink_connect/configuration"
3
5
  autoload :Assertion, "prooflink_connect/assertion"
@@ -15,18 +17,26 @@ module ProoflinkConnect
15
17
  end
16
18
 
17
19
  def self.embedded(options = {}, config = ProoflinkConnect.config)
20
+ # needed because you didn't have to use px explicitly in the old situation
21
+ [:width, :height].each do |dimension|
22
+ if options[dimension] && !options[dimension].include?("%")
23
+ options[dimension] << "px"
24
+ end
25
+ end
26
+
18
27
  options = {
19
28
  :subdomain => config.subdomain,
20
29
  :token_url => 'https://example.com/auth/callbacks',
21
30
  :forced_connect => '0',
22
31
  :embed_forms => '0',
23
- :width => 520,
24
- :height => 250}.merge(options)
32
+ :width => '520px',
33
+ :height => '250px'}.merge(options)
34
+
25
35
  domain_part = [options[:subdomain], config.provider_endpoint].compact.join(".")
26
36
  path_part = [options[:locale], 'authentications', 'embedded'].compact.join("/")
27
37
  query_part = "token_url=#{options[:token_url]}&forced_connect=#{options[:forced_connect]}&embed_forms=#{options[:embed_forms]}"
28
38
  frame_url = "#{config.protocol}://#{domain_part}/#{path_part}?#{query_part}"
29
- html = "<iframe src='#{frame_url}' style='width: #{options[:width]}px; height: #{options[:height]}px; border: 0;display: block' frameborder='0' allowTransparency='true'></iframe>"
39
+ html = "<iframe src='#{frame_url}' style='width: #{options[:width]}; height: #{options[:height]}; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
30
40
  html.respond_to?(:html_safe) ? html.html_safe : html
31
41
  end
32
42
  end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ describe ProoflinkConnect::Configuration do
4
+ it "provides defaults" do
5
+ ProoflinkConnect.config.base_uri.should == "https://example.prooflink.com"
6
+ end
7
+
8
+ it "returns correct url" do
9
+ ProoflinkConnect.configure do |config|
10
+ config.provider_endpoint = "local-prooflink.com"
11
+ config.subdomain = "testing"
12
+ config.protocol = "http"
13
+ end
14
+ ProoflinkConnect.config.base_uri.should == "http://testing.local-prooflink.com"
15
+ end
16
+
17
+ it "sets locale" do
18
+ ProoflinkConnect.configure do |config|
19
+ config.locale = "en"
20
+ end
21
+ ProoflinkConnect.config.locale.should == "en"
22
+ end
23
+ end
24
+
@@ -0,0 +1,48 @@
1
+ require 'spec_helper'
2
+
3
+ describe ProoflinkConnect::Invite do
4
+ before do
5
+ reset_configuration
6
+ end
7
+
8
+ it "creates a Prooflink invite" do
9
+ attributes = {:email => 'newuser@prooflink.com'}
10
+
11
+ stub_request(:post, "https://example.prooflink.com/invites").
12
+ with(:body => "invite[email]=newuser%40prooflink.com&api_key=1234&locale=nl").
13
+ to_return(:status => 200, :body => {
14
+ "entry" => {
15
+ "name" => {},
16
+ "displayName" => "Prooflink",
17
+ "id" => "cg6a1Turx70NWzkkwrbGRDRvImY=\n",
18
+ "invite_url" => "url"
19
+ }
20
+ }.to_json, :headers => {})
21
+
22
+ invite = ProoflinkConnect::Invite.new(attributes)
23
+ invite.save.should == true
24
+ invite.save.should == false
25
+ invite.url.should == "url"
26
+ end
27
+
28
+ it "creates a Prooflink invite with custom parameters" do
29
+ attributes = {:email => 'newuser@prooflink.com'}
30
+ expected_parameters = {"locale"=>["nl"], "api_key"=>["4567"], "invite[email]"=>["newuser@prooflink.com"]}
31
+
32
+ stub_request(:post, "https://example.prooflink.com/invites").
33
+ with{|request| expected_parameters == CGI.parse(request.body)}.
34
+ to_return(:status => 200, :body => {
35
+ "entry" => {
36
+ "name" => {},
37
+ "displayName" => "Prooflink",
38
+ "id" => "cg6a1Turx70NWzkkwrbGRDRvImY=\n",
39
+ "invite_url" => "url"
40
+ }
41
+ }.to_json, :headers => {})
42
+
43
+ invite = ProoflinkConnect::Invite.new(attributes)
44
+ invite.save({"api_key" => "4567"}).should == true
45
+ end
46
+
47
+ end
48
+
@@ -2,15 +2,57 @@ require 'spec_helper'
2
2
 
3
3
  describe ProoflinkConnect::Share do
4
4
  before do
5
- ProoflinkConnect.configure do |config|
6
- config.api_key = "1234"
7
- end
5
+ reset_configuration
8
6
  end
9
7
 
10
8
  it "posts a message to Prooflink" do
9
+ expected_parameters = {"format"=>["json"], "api_key"=>["1234"], "message"=>["This is pretty awesome"], "transaction"=>["pl2"]}
10
+ stub_request(:post, "https://example.prooflink.com/shares/post_share_transaction").
11
+ with{|request| expected_parameters == CGI.parse(request.body)}.
12
+ to_return(:status => 200, :body => "", :headers => {})
13
+ ProoflinkConnect::Share.post("pl2", "This is pretty awesome")
14
+ end
15
+
16
+ it "passes position parameters" do
17
+ expected_parameters = {"format"=>["json"], "api_key"=>["1234"], "message"=>["This is pretty awesome"], "transaction"=>["pl2"], "position" => ["frontpage"]}
11
18
  stub_request(:post, "https://example.prooflink.com/shares/post_share_transaction").
12
- with(:body => "format=json&api_key=1234&message=This%20is%20pretty%20awesome&transaction=pl1").
19
+ with{|request| expected_parameters == CGI.parse(request.body)}.
13
20
  to_return(:status => 200, :body => "", :headers => {})
14
- ProoflinkConnect::Share.post("pl1", "This is pretty awesome")
21
+ ProoflinkConnect::Share.post("pl2", "This is pretty awesome", "frontpage")
22
+ end
23
+
24
+ context "sharing iframe" do
25
+ it "generates necessary html" do
26
+ result = "<iframe src='https://example.prooflink.com/en/shares/embedded/new?message=placeholder' style='width: 400px; height: 355px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
27
+ ProoflinkConnect::Share.embedded(:message => "placeholder").should == result
28
+ end
29
+
30
+ it "allows setting width and height" do
31
+ result = "<iframe src='https://example.prooflink.com/en/shares/embedded/new?message=placeholder' style='width: 100%; height: 200px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
32
+ ProoflinkConnect::Share.embedded(:message => "placeholder", :width => "100%", :height => "200px").should == result
33
+ end
34
+
35
+ it "adds the position query param" do
36
+ result = "<iframe src='https://example.prooflink.com/en/shares/embedded/new?message=placeholder&position=spec' style='width: 400px; height: 355px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
37
+ ProoflinkConnect::Share.embedded(:message => "placeholder", :position => "spec").should == result
38
+ end
39
+
40
+ it "url encodes position" do
41
+ result = "<iframe src='https://example.prooflink.com/en/shares/embedded/new?message=placeholder&position=spec+with+spaces' style='width: 400px; height: 355px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
42
+ ProoflinkConnect::Share.embedded(:message => "placeholder", :position => "spec with spaces").should == result
43
+ end
44
+
45
+ it "uses correct locale" do
46
+ ProoflinkConnect.configure do |config|
47
+ config.locale = "nl"
48
+ end
49
+ result = "<iframe src='https://example.prooflink.com/nl/shares/embedded/new?message=placeholder' style='width: 400px; height: 355px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
50
+ ProoflinkConnect::Share.embedded(:message => "placeholder").should == result
51
+ end
52
+
53
+ it "allows passing in locale" do
54
+ result = "<iframe src='https://example.prooflink.com/nl/shares/embedded/new?message=placeholder' style='width: 400px; height: 355px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
55
+ ProoflinkConnect::Share.embedded(:message => "placeholder", :locale => "nl").should == result
56
+ end
15
57
  end
16
58
  end
@@ -1,7 +1,28 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe ProoflinkConnect do
4
- it "should work" do
5
- pending "tests are to come"
4
+ it "returns iframe html with defaults" do
5
+ result = "<iframe src='https://example.prooflink.com/authentications/embedded?token_url=https://example.com/auth/callbacks&forced_connect=0&embed_forms=0' style='width: 520px; height: 250px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
6
+ ProoflinkConnect.embedded.should == result
6
7
  end
7
- end
8
+
9
+ it "allows pixels or percentage for width" do
10
+ result = "<iframe src='https://example.prooflink.com/authentications/embedded?token_url=https://example.com/auth/callbacks&forced_connect=0&embed_forms=0' style='width: 100%; height: 250px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
11
+ ProoflinkConnect.embedded({:width => "100%"}).should == result
12
+ end
13
+
14
+ it "adds px to width if not given" do
15
+ result = "<iframe src='https://example.prooflink.com/authentications/embedded?token_url=https://example.com/auth/callbacks&forced_connect=0&embed_forms=0' style='width: 100px; height: 250px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
16
+ ProoflinkConnect.embedded({:width => "100"}).should == result
17
+ end
18
+
19
+ it "allows pixels or percentage for height" do
20
+ result = "<iframe src='https://example.prooflink.com/authentications/embedded?token_url=https://example.com/auth/callbacks&forced_connect=0&embed_forms=0' style='width: 520px; height: 100%; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
21
+ ProoflinkConnect.embedded({:height => "100%"}).should == result
22
+ end
23
+
24
+ it "adds px to height if not given" do
25
+ result = "<iframe src='https://example.prooflink.com/authentications/embedded?token_url=https://example.com/auth/callbacks&forced_connect=0&embed_forms=0' style='width: 520px; height: 100px; border: 0; display: block;' frameborder='0' allowTransparency='true'></iframe>"
26
+ ProoflinkConnect.embedded({:height => "100"}).should == result
27
+ end
28
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,13 @@
1
1
  require File.expand_path('../../lib/prooflink_connect', __FILE__)
2
2
  require 'rspec'
3
3
  require 'webmock/rspec'
4
+
5
+ def reset_configuration
6
+ ProoflinkConnect.configure do |config|
7
+ config.provider_endpoint = "prooflink.com"
8
+ config.subdomain = "example"
9
+ config.protocol = "https"
10
+ config.api_key = "1234"
11
+ config.locale = "en"
12
+ end
13
+ end
metadata CHANGED
@@ -1,122 +1,94 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: prooflink_connect
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.16
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 15
10
- version: 0.0.15
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Chiel Wester
14
9
  - Jeroen Bulters
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2011-08-08 00:00:00 +02:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2011-08-30 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: json
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2153535480 !ruby/object:Gem::Requirement
26
18
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
34
23
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: httparty
38
24
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *2153535480
26
+ - !ruby/object:Gem::Dependency
27
+ name: httparty
28
+ requirement: &2153534980 !ruby/object:Gem::Requirement
40
29
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
48
34
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: activesupport
52
35
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *2153534980
37
+ - !ruby/object:Gem::Dependency
38
+ name: activesupport
39
+ requirement: &2153534380 !ruby/object:Gem::Requirement
54
40
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
62
45
  type: :runtime
63
- version_requirements: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: bundler
66
46
  prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *2153534380
48
+ - !ruby/object:Gem::Dependency
49
+ name: bundler
50
+ requirement: &2153533560 !ruby/object:Gem::Requirement
68
51
  none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 23
73
- segments:
74
- - 1
75
- - 0
76
- - 0
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
77
55
  version: 1.0.0
78
56
  type: :development
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
81
- name: rspec
82
57
  prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *2153533560
59
+ - !ruby/object:Gem::Dependency
60
+ name: rspec
61
+ requirement: &2153532900 !ruby/object:Gem::Requirement
84
62
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
92
67
  type: :development
93
- version_requirements: *id005
94
- - !ruby/object:Gem::Dependency
95
- name: webmock
96
68
  prerelease: false
97
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *2153532900
70
+ - !ruby/object:Gem::Dependency
71
+ name: webmock
72
+ requirement: &2153532120 !ruby/object:Gem::Requirement
98
73
  none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- hash: 3
103
- segments:
104
- - 0
105
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
106
78
  type: :development
107
- version_requirements: *id006
79
+ prerelease: false
80
+ version_requirements: *2153532120
108
81
  description: Make a connection to the prooflink connect api for single sign on authentication
109
- email:
82
+ email:
110
83
  - chiel.wester@holder.nl
111
84
  - jeroen@bulte.rs
112
85
  executables: []
113
-
114
86
  extensions: []
115
-
116
87
  extra_rdoc_files: []
117
-
118
- files:
88
+ files:
119
89
  - .gitignore
90
+ - .rspec
91
+ - .travis.yml
120
92
  - Gemfile
121
93
  - Gemfile.lock
122
94
  - README.md
@@ -132,44 +104,33 @@ files:
132
104
  - lib/prooflink_connect/share_button.rb
133
105
  - lib/prooflink_connect/version.rb
134
106
  - prooflink_connect.gemspec
107
+ - spec/prooflink_connect/configuration_spec.rb
108
+ - spec/prooflink_connect/invite_spec.rb
135
109
  - spec/prooflink_connect/share_spec.rb
136
110
  - spec/prooflink_connect_spec.rb
137
111
  - spec/spec_helper.rb
138
- has_rdoc: true
139
112
  homepage: https://github.com/prooflink/prooflink_connect
140
113
  licenses: []
141
-
142
114
  post_install_message:
143
115
  rdoc_options: []
144
-
145
- require_paths:
116
+ require_paths:
146
117
  - lib
147
- required_ruby_version: !ruby/object:Gem::Requirement
118
+ required_ruby_version: !ruby/object:Gem::Requirement
148
119
  none: false
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- hash: 3
153
- segments:
154
- - 0
155
- version: "0"
156
- required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
125
  none: false
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- hash: 23
162
- segments:
163
- - 1
164
- - 3
165
- - 6
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
166
129
  version: 1.3.6
167
130
  requirements: []
168
-
169
131
  rubyforge_project: prooflink_connect
170
- rubygems_version: 1.6.2
132
+ rubygems_version: 1.8.8
171
133
  signing_key:
172
134
  specification_version: 3
173
135
  summary: Make a connection to the prooflink connect api
174
136
  test_files: []
175
-