castanet 0.0.1 → 0.0.2
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.
- data/.yardopts +5 -0
- data/History.md +17 -1
- data/README.md +4 -0
- data/lib/castanet/client.rb +1 -0
- data/lib/castanet/proxy_ticket.rb +2 -2
- data/lib/castanet/version.rb +1 -1
- metadata +12 -11
data/.yardopts
ADDED
data/History.md
CHANGED
@@ -1,4 +1,20 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2 (2011-02-14)
|
2
|
+
==================
|
3
|
+
|
4
|
+
Errors fixed
|
5
|
+
------------
|
6
|
+
|
7
|
+
- `castanet/client.rb` now `require`s `net/https` to properly activate the
|
8
|
+
HTTPS bits of `Net::HTTP`. (Dates to version 0.0.1.)
|
9
|
+
- A formatting error in the documentation for `Castanet::ProxyTicket` was
|
10
|
+
fixed. (Dates to version 0.0.1.)
|
11
|
+
|
12
|
+
Minor enhancements
|
13
|
+
------------------
|
14
|
+
|
15
|
+
- Included this changelog in the YARD docs.
|
16
|
+
|
17
|
+
0.0.1 (2011-02-03)
|
2
18
|
==================
|
3
19
|
|
4
20
|
- Initial release.
|
data/README.md
CHANGED
@@ -16,6 +16,10 @@ server](https://ctms-ci.nubic.northwestern.edu/hudson/job/castanet/).
|
|
16
16
|
Getting started
|
17
17
|
===============
|
18
18
|
|
19
|
+
Castanet is distributed as a Rubygem, and can be installed like any other Rubygem:
|
20
|
+
|
21
|
+
gem install castanet
|
22
|
+
|
19
23
|
Mix `Castanet::Client` into the objects that need CAS client behavior.
|
20
24
|
|
21
25
|
Objects that include `Castanet::Client` must implement `cas_url`,
|
data/lib/castanet/client.rb
CHANGED
@@ -54,7 +54,7 @@ module Castanet
|
|
54
54
|
# issued via {#reify!} have higher precedence.
|
55
55
|
#
|
56
56
|
# If a proxy ticket was neither supplied at instantiation nor requested via
|
57
|
-
# {#reify!}, then ticket will return nil.
|
57
|
+
# {#reify!}, then `ticket` will return nil.
|
58
58
|
#
|
59
59
|
# @return [String, nil] the proxy ticket
|
60
60
|
def ticket
|
@@ -90,7 +90,7 @@ module Castanet
|
|
90
90
|
# you may find this method useful.
|
91
91
|
#
|
92
92
|
# @raise [ProxyTicketError] if a proxy ticket cannot be issued
|
93
|
-
# @return
|
93
|
+
# @return [ProxyTicket] self
|
94
94
|
def reify!
|
95
95
|
uri = URI.parse(proxy_url).tap do |u|
|
96
96
|
u.query = grant_parameters
|
data/lib/castanet/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- David Yip
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-14 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -132,21 +132,22 @@ extensions: []
|
|
132
132
|
extra_rdoc_files: []
|
133
133
|
|
134
134
|
files:
|
135
|
+
- .yardopts
|
135
136
|
- README.md
|
136
137
|
- History.md
|
137
138
|
- LICENSE
|
138
|
-
- lib/castanet/
|
139
|
-
- lib/castanet/
|
140
|
-
- lib/castanet/proxy_ticket_error.rb
|
141
|
-
- lib/castanet/query_building.rb
|
142
|
-
- lib/castanet/responses/common.rl
|
143
|
-
- lib/castanet/responses/proxy.rb
|
139
|
+
- lib/castanet/service_ticket.rb
|
140
|
+
- lib/castanet/responses.rb
|
144
141
|
- lib/castanet/responses/proxy.rl
|
142
|
+
- lib/castanet/responses/proxy.rb
|
145
143
|
- lib/castanet/responses/ticket_validate.rb
|
144
|
+
- lib/castanet/responses/common.rl
|
146
145
|
- lib/castanet/responses/ticket_validate.rl
|
147
|
-
- lib/castanet/
|
148
|
-
- lib/castanet/
|
146
|
+
- lib/castanet/proxy_ticket_error.rb
|
147
|
+
- lib/castanet/client.rb
|
149
148
|
- lib/castanet/version.rb
|
149
|
+
- lib/castanet/proxy_ticket.rb
|
150
|
+
- lib/castanet/query_building.rb
|
150
151
|
- lib/castanet.rb
|
151
152
|
has_rdoc: true
|
152
153
|
homepage: ""
|