uchouhan-rubycas-server 1.1.a → 1.2.a

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.
@@ -0,0 +1,47 @@
1
+ class CreateInitialStructure < ActiveRecord::Migration
2
+ def self.up
3
+ # Oracle table names cannot exceed 30 chars...
4
+ # See http://code.google.com/p/rubycas-server/issues/detail?id=15
5
+ create_table 'casserver_lt', :force => true do |t|
6
+ t.string 'ticket', :null => false
7
+ t.timestamp 'created_on', :null => false
8
+ t.datetime 'consumed', :null => true
9
+ t.string 'client_hostname', :null => false
10
+ end
11
+
12
+ create_table 'casserver_st', :force => true do |t|
13
+ t.string 'ticket', :null => false
14
+ t.text 'service', :null => false
15
+ t.timestamp 'created_on', :null => false
16
+ t.datetime 'consumed', :null => true
17
+ t.string 'client_hostname', :null => false
18
+ t.string 'username', :null => false
19
+ t.string 'type', :null => false
20
+ t.integer 'granted_by_pgt_id', :null => true
21
+ t.integer 'granted_by_tgt_id', :null => true
22
+ end
23
+
24
+ create_table 'casserver_tgt', :force => true do |t|
25
+ t.string 'ticket', :null => false
26
+ t.timestamp 'created_on', :null => false
27
+ t.string 'client_hostname', :null => false
28
+ t.string 'username', :null => false
29
+ t.text 'extra_attributes', :null => true
30
+ end
31
+
32
+ create_table 'casserver_pgt', :force => true do |t|
33
+ t.string 'ticket', :null => false
34
+ t.timestamp 'created_on', :null => false
35
+ t.string 'client_hostname', :null => false
36
+ t.string 'iou', :null => false
37
+ t.integer 'service_ticket_id', :null => false
38
+ end
39
+ end # self.up
40
+
41
+ def self.down
42
+ drop_table 'casserver_pgt'
43
+ drop_table 'casserver_tgt'
44
+ drop_table 'casserver_st'
45
+ drop_table 'casserver_lt'
46
+ end # self.down
47
+ end
@@ -1,7 +1,7 @@
1
1
 
2
2
  $gemspec = Gem::Specification.new do |s|
3
3
  s.name = 'uchouhan-rubycas-server'
4
- s.version = '1.1.a'
4
+ s.version = '1.2.a'
5
5
  s.authors = ["Umang Chouhan"]
6
6
  s.email = ["uchouhan@optimiscorp.com"]
7
7
  s.homepage = 'http://github.com/uchouhan/cas'
@@ -10,7 +10,7 @@ $gemspec = Gem::Specification.new do |s|
10
10
 
11
11
  s.files = [
12
12
  "CHANGELOG", "LICENSE", "README.md", "Rakefile", "setup.rb",
13
- "bin/*", "db/*", "lib/**/*.rb", "public/**/*", "po/**/*", "mo/**/*", "resources/*.*",
13
+ "bin/*", "db/**/*", "lib/**/*.rb", "public/**/*", "po/**/*", "mo/**/*", "resources/*.*",
14
14
  "tasks/**/*.rake", "vendor/**/*", "script/*", "lib/**/*.erb", "lib/**/*.builder",
15
15
  "rubycas-server.gemspec"
16
16
  ].map{|p| Dir[p]}.flatten
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uchouhan-rubycas-server
3
3
  version: !ruby/object:Gem::Version
4
- hash: 118
4
+ hash: 122
5
5
  prerelease: true
6
6
  segments:
7
7
  - 1
8
- - 1
8
+ - 2
9
9
  - a
10
- version: 1.1.a
10
+ version: 1.2.a
11
11
  platform: ruby
12
12
  authors:
13
13
  - Umang Chouhan
@@ -38,6 +38,7 @@ files:
38
38
  - setup.rb
39
39
  - bin/rubycas-server
40
40
  - bin/rubycas-server-ctl
41
+ - db/migrate/001_create_initial_structure.rb
41
42
  - lib/casserver/authenticators/active_directory_ldap.rb
42
43
  - lib/casserver/authenticators/authlogic_crypto_providers/aes256.rb
43
44
  - lib/casserver/authenticators/authlogic_crypto_providers/bcrypt.rb