shibboleth-rails 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ <%= form_tag user_session_path do %>
2
+ Login as:
3
+ <%= select_tag :user_id, options_from_collection_for_select(@users, :id, :name_n) %>
4
+ <%= submit_tag "Login" %>
5
+ <% end %>
@@ -1,5 +1,5 @@
1
1
  module Shibboleth
2
2
  module Rails
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -18,6 +18,5 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_runtime_dependency "rails", '>3.0'
22
- s.add_runtime_dependency "haml"
21
+ s.add_runtime_dependency "rails", '~> 3.0'
23
22
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shibboleth-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - mikegee
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-15 00:00:00 Z
18
+ date: 2011-09-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -23,7 +23,7 @@ dependencies:
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ">"
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
28
  hash: 7
29
29
  segments:
@@ -32,20 +32,6 @@ dependencies:
32
32
  version: "3.0"
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: haml
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
47
- type: :runtime
48
- version_requirements: *id002
49
35
  description: Environment variables that Shibboleth sets are used to determine 'current_user'. An interface to login as any user is also provided for running in development.
50
36
  email:
51
37
  - gee.24@osu.edu
@@ -60,7 +46,7 @@ files:
60
46
  - Gemfile
61
47
  - Rakefile
62
48
  - app/controllers/user_sessions_controller.rb
63
- - app/views/user_sessions/new.html.haml
49
+ - app/views/user_sessions/new.html.erb
64
50
  - config/routes.rb
65
51
  - lib/shibboleth-rails.rb
66
52
  - lib/shibboleth-rails/controller_additions.rb
@@ -102,5 +88,5 @@ rubygems_version: 1.8.10
102
88
  signing_key:
103
89
  specification_version: 3
104
90
  summary: This Rails plugin integrates Shibboletth single signon.
105
- test_files:
106
- - spec/controllers/user_sessions_controller_spec.rb
91
+ test_files: []
92
+
@@ -1,4 +0,0 @@
1
- = form_tag user_session_path do
2
- Login as:
3
- = select_tag :user_id, options_from_collection_for_select(@users, :id, :name_n)
4
- = submit_tag "Login"