Commit 1cd26ca
committed
Some refactoring and enhancements
Some refactoring and enhancements
Some refactoring and enhancements
Vital changes for Rails integration
1) Add validation tests (+ error class in order to pass)
2) Fixed login ticket lifetime bug (maximum_unused_login_ticket_lifetime was not used in login ticket validation)
3) Add remember_me functionality in the core
4) Change how service tickets are generated. Now each service tickets inherits from TicketGrantingTicket
in a way to imitate activerecord's belongs_to/has_many.
5) Other minor improvements
6) Tested with rubycas-server-rails engine
Fix exception for activerecord adapter
Add rake to gemfile
Remove duplicate gem
Add rspec to gemfile
method overloading in setup hash or file
Update README.md
Update to rspec 3.1, fix tests, add circleci
wip
Update to rspec 3.1, fix tests
add more specific gem versions
add ruby-version for circleci
update ruby version in circle.yml
remove .ruby-version file
Update README.md
Enhance adapter pattern
Extract memory adapter to another gem
Add basic adapter api
update version
relax rake and bundler dependencies
Remove in_memory adapter
wip
add rubycas-server-memory as test dependency in bundler
refactor module methods, fix tests
move module-based tickets generation api to Generations module
transform validations/generations to instance methods
fix tests
let instead of instance vars
minor changes
bump version
Update README.md
remove root dir method
fix tests
User masters gemfile
Add rubycas-server-memory to gemfile1 parent ea7e7a6 commit 1cd26ca
File tree
26 files changed
+514
-400
lines changed- lib
- rubycas-server-core
- adapters
- in_memory
- tickets
- spec
- config
- rubycas-server-core
- tickets
26 files changed
+514
-400
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
11 | 58 | | |
12 | 59 | | |
13 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 0 additions & 50 deletions
This file was deleted.
0 commit comments