synapses-cas 0.1.6 → 0.1.7

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.
@@ -161,7 +161,7 @@ port: 443
161
161
 
162
162
  database:
163
163
  adapter: postgresql
164
- database: synapses_ws_development
164
+ database: synapses_ws_production
165
165
  username: postgres
166
166
  password: postgres
167
167
  host: localhost
@@ -231,7 +231,7 @@ authenticator:
231
231
  class: CASServer::Authenticators::SQLEncrypted
232
232
  database:
233
233
  adapter: postgresql
234
- database: synapses_ws_development
234
+ database: synapses_ws_production
235
235
  username: postgres
236
236
  password: postgres
237
237
  host: localhost
@@ -239,7 +239,7 @@ authenticator:
239
239
  username_column: email
240
240
  # password_column: password_hash
241
241
  encrypt_function: 'user.password_hash == Digest::SHA256.hexdigest("#{@password}#{user.password_salt}") && (user.status == "A")'
242
- extra_attributes: name, default_locale, must_change_password, linkedin_profile
242
+ extra_attributes: name, default_locale, must_change_password, linkedin_profile, id, picture_file_name
243
243
  #
244
244
  # When replying to a CAS client's validation request, the server will normally
245
245
  # provide the client with the authenticated user's username. However it is
@@ -570,7 +570,7 @@ enable_single_sign_out: true
570
570
  # By default any service can authenticate and a blank white list will also
571
571
  # allow any service to authenticate. Services are listed on a single line
572
572
  # separated by a comma.
573
- service_whitelist: http://localhost:3000,http://localhost:3001,http://localhost:3002
573
+ service_whitelist: http://localhost:3000,http://localhost:3001,http://localhost:3002,http://192.168.1.194:3000,http://192.168.1.194:3001,http://192.168.1.194:3002
574
574
  #default_service: http://localhost:3000
575
575
  ##### OTHER ####################################################################
576
576
 
@@ -533,6 +533,8 @@ module CASServer
533
533
 
534
534
  # 2.3.1
535
535
  get "#{uri_path}/logout" do
536
+ puts '>>>>>>>>>>>>>>>>>>>>>>>>'
537
+ puts 'Logout'
536
538
  CASServer::Utils::log_controller_action(self.class, params)
537
539
 
538
540
  # The behaviour here is somewhat non-standard. Rather than showing just a blank
@@ -1,6 +1,6 @@
1
1
  $gemspec = Gem::Specification.new do |s|
2
2
  s.name = 'synapses-cas'
3
- s.version = '0.1.6'
3
+ s.version = '0.1.7'
4
4
  s.authors = ["Synapses Group"]
5
5
  s.email = ["tiago@synapses.com.br"]
6
6
  s.homepage = 'https://github.com/synapsesgroup/synapses-cas'
@@ -28,11 +28,13 @@ $gemspec = Gem::Specification.new do |s|
28
28
 
29
29
  s.add_dependency("activerecord", ">= 2.3.12", "< 3.1")
30
30
  s.add_dependency("activesupport", ">= 2.3.12", "< 3.1")
31
+ s.add_dependency("activeresource", ">= 2.3.12", "< 3.1")
31
32
  s.add_dependency("sinatra", "~> 1.0")
32
33
  s.add_dependency("sinatra-r18n")
33
34
  s.add_dependency("crypt-isaac", "~> 0.9.1")
34
35
  s.add_dependency("pg")
35
36
  s.add_dependency("bcrypt-ruby")
37
+ s.add_dependency("net-ldap", "~> 0.1.1")
36
38
 
37
39
 
38
40
  s.add_development_dependency("rack-test")
@@ -44,9 +46,7 @@ $gemspec = Gem::Specification.new do |s|
44
46
 
45
47
 
46
48
 
47
- # for authenticator specs
48
- s.add_development_dependency("net-ldap", "~> 0.1.1")
49
- s.add_development_dependency("activeresource", ">= 2.3.12", "< 3.1")
49
+
50
50
 
51
51
  s.rdoc_options = [
52
52
  '--quiet', '--title', 'RubyCAS-Server Documentation', '--opname',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synapses-cas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-20 00:00:00.000000000 Z
12
+ date: 2012-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -55,6 +55,28 @@ dependencies:
55
55
  - - <
56
56
  - !ruby/object:Gem::Version
57
57
  version: '3.1'
58
+ - !ruby/object:Gem::Dependency
59
+ name: activeresource
60
+ requirement: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 2.3.12
66
+ - - <
67
+ - !ruby/object:Gem::Version
68
+ version: '3.1'
69
+ type: :runtime
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: 2.3.12
77
+ - - <
78
+ - !ruby/object:Gem::Version
79
+ version: '3.1'
58
80
  - !ruby/object:Gem::Dependency
59
81
  name: sinatra
60
82
  requirement: !ruby/object:Gem::Requirement
@@ -135,6 +157,22 @@ dependencies:
135
157
  - - ! '>='
136
158
  - !ruby/object:Gem::Version
137
159
  version: '0'
160
+ - !ruby/object:Gem::Dependency
161
+ name: net-ldap
162
+ requirement: !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - ~>
166
+ - !ruby/object:Gem::Version
167
+ version: 0.1.1
168
+ type: :runtime
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ none: false
172
+ requirements:
173
+ - - ~>
174
+ - !ruby/object:Gem::Version
175
+ version: 0.1.1
138
176
  - !ruby/object:Gem::Dependency
139
177
  name: rack-test
140
178
  requirement: !ruby/object:Gem::Requirement
@@ -231,44 +269,6 @@ dependencies:
231
269
  - - ~>
232
270
  - !ruby/object:Gem::Version
233
271
  version: 1.3.1
234
- - !ruby/object:Gem::Dependency
235
- name: net-ldap
236
- requirement: !ruby/object:Gem::Requirement
237
- none: false
238
- requirements:
239
- - - ~>
240
- - !ruby/object:Gem::Version
241
- version: 0.1.1
242
- type: :development
243
- prerelease: false
244
- version_requirements: !ruby/object:Gem::Requirement
245
- none: false
246
- requirements:
247
- - - ~>
248
- - !ruby/object:Gem::Version
249
- version: 0.1.1
250
- - !ruby/object:Gem::Dependency
251
- name: activeresource
252
- requirement: !ruby/object:Gem::Requirement
253
- none: false
254
- requirements:
255
- - - ! '>='
256
- - !ruby/object:Gem::Version
257
- version: 2.3.12
258
- - - <
259
- - !ruby/object:Gem::Version
260
- version: '3.1'
261
- type: :development
262
- prerelease: false
263
- version_requirements: !ruby/object:Gem::Requirement
264
- none: false
265
- requirements:
266
- - - ! '>='
267
- - !ruby/object:Gem::Version
268
- version: 2.3.12
269
- - - <
270
- - !ruby/object:Gem::Version
271
- version: '3.1'
272
272
  description: Provides single sign-on authentication for web applications using the
273
273
  CAS protocol.
274
274
  email:
@@ -401,3 +401,4 @@ test_files:
401
401
  - spec/spec.opts
402
402
  - spec/spec_helper.rb
403
403
  - spec/utils_spec.rb
404
+ has_rdoc: true