prooflink_connect 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ class ProoflinkConnect::Invite < ActiveResource::Base
3
3
  attr_accessor :api_key
4
4
 
5
5
  def site
6
- URI.parse("#{ProoflinkConnect.config.protocol}://#{ProoflinkConnect.config.provider_endpoint}/")
6
+ URI.parse("#{ProoflinkConnect.config.protocol}://#{ProoflinkConnect.config.subdomain}.#{ProoflinkConnect.config.provider_endpoint}/")
7
7
  end
8
8
 
9
9
  def api_key
@@ -11,6 +11,8 @@ class ProoflinkConnect::Invite < ActiveResource::Base
11
11
  end
12
12
  end
13
13
 
14
+ attr_accessor :locale
15
+
14
16
  self.site = self.site
15
17
  self.element_name = 'invite'
16
18
  self.format = :json
@@ -21,6 +23,7 @@ class ProoflinkConnect::Invite < ActiveResource::Base
21
23
 
22
24
  def save
23
25
  prefix_options[:api_key] = self.class.api_key
26
+ prefix_options[:locale] = self.locale||"nl"
24
27
  super
25
28
  end
26
29
  end
@@ -1,3 +1,3 @@
1
1
  module ProoflinkConnect
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
5
5
  s.name = "prooflink_connect"
6
6
  s.version = ProoflinkConnect::VERSION
7
7
  s.platform = Gem::Platform::RUBY
8
- s.authors = ["Chiel Wester"]
9
- s.email = "chiel.wester@holder.nl"
8
+ s.authors = ["Chiel Wester", "Jeroen Bulters"]
9
+ s.email = ["chiel.wester@holder.nl", "jeroen@bulte.rs"]
10
10
  s.homepage = "https://github.com/chielwester/prooflink_connect"
11
11
  s.summary = "Make a connection to the prooflink connect api"
12
12
  s.description = "Make a connection to the prooflink connect api for single sign on authentication"
metadata CHANGED
@@ -1,21 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prooflink_connect
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
5
- prerelease: false
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chiel Wester
14
+ - Jeroen Bulters
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-05-10 00:00:00 +02:00
19
+ date: 2011-05-18 00:00:00 +02:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -77,7 +78,9 @@ dependencies:
77
78
  type: :development
78
79
  version_requirements: *id004
79
80
  description: Make a connection to the prooflink connect api for single sign on authentication
80
- email: chiel.wester@holder.nl
81
+ email:
82
+ - chiel.wester@holder.nl
83
+ - jeroen@bulte.rs
81
84
  executables: []
82
85
 
83
86
  extensions: []
@@ -134,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
137
  requirements: []
135
138
 
136
139
  rubyforge_project: prooflink_connect
137
- rubygems_version: 1.3.7
140
+ rubygems_version: 1.6.2
138
141
  signing_key:
139
142
  specification_version: 3
140
143
  summary: Make a connection to the prooflink connect api