rubycas-server 0.7.1 → 0.7.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/bin/rubycas-server CHANGED
@@ -8,11 +8,10 @@ else
8
8
  require 'rubygems'
9
9
 
10
10
  # make things backwards-compatible for rubygems < 0.9.0
11
- if respond_to?(:require_gem)
12
- puts "WARNING: aliasing gem to require_gem in #{__FILE__} -- you should update your RubyGems system!"
11
+ unless Object.method_defined? :gem
13
12
  alias gem require_gem
14
13
  end
15
-
14
+
16
15
  gem 'picnic'
17
16
  end
18
17
 
@@ -8,11 +8,10 @@ else
8
8
  require 'rubygems'
9
9
 
10
10
  # make things backwards-compatible for rubygems < 0.9.0
11
- if respond_to?(:require_gem)
12
- puts "WARNING: aliasing gem to require_gem in #{__FILE__} -- you should update your RubyGems system!"
11
+ unless Object.method_defined? :gem
13
12
  alias gem require_gem
14
13
  end
15
-
14
+
16
15
  gem 'picnic'
17
16
  end
18
17
 
data/config/hoe.rb CHANGED
@@ -10,7 +10,7 @@ DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
10
10
  EXTRA_DEPENDENCIES = [
11
11
  'activesupport',
12
12
  'activerecord',
13
- ['picnic', '>= 0.7.0']
13
+ ['picnic', '= 0.7.0']
14
14
  ] # An array of rubygem dependencies [name, version]
15
15
 
16
16
  @config_file = "~/.rubyforge/user-config.yml"
@@ -1,8 +1,6 @@
1
1
  # The #.#.# comments (e.g. "2.1.3") refer to section numbers in the CAS protocol spec
2
2
  # under http://www.ja-sig.org/products/cas/overview/protocol/index.html
3
3
 
4
- require 'cas'
5
-
6
4
  module CASServer::Controllers
7
5
 
8
6
  # 2.1
@@ -19,13 +19,12 @@ else
19
19
  require 'rubygems'
20
20
 
21
21
  # make things backwards-compatible for rubygems < 0.9.0
22
- if respond_to?(:require_gem)
23
- puts "WARNING: aliasing gem to require_gem in #{__FILE__} -- you should update your RubyGems system!"
22
+ if Object.method_defined?(:require_gem)
24
23
  alias gem require_gem
25
24
  end
26
-
25
+
27
26
  require 'picnic'
28
27
  end
29
28
 
30
29
  # used for serializing user extra_attributes (see #service_validate in views.rb)
31
- require 'yaml'
30
+ require 'yaml'
@@ -2,7 +2,7 @@ module CASServer
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 1
5
+ TINY = '1.1'
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycas-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Zukowski
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-11 00:00:00 -05:00
12
+ date: 2009-04-01 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.7.0
23
+ version: 1.8.2
24
24
  version:
25
25
  description: Provides single sign-on authentication for web applications using the CAS protocol.
26
26
  email: