castanet 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ --no-private
2
+ --markup markdown
3
+ --hide-void-return
4
+ --files lib/castanet/**/*.rl
5
+ --files History.md
data/History.md CHANGED
@@ -1,4 +1,20 @@
1
- 0.0.1 (unreleased)
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`,
@@ -1,6 +1,7 @@
1
1
  require 'castanet'
2
2
 
3
3
  require 'net/http'
4
+ require 'net/https'
4
5
  require 'uri'
5
6
 
6
7
  module Castanet
@@ -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 void
93
+ # @return [ProxyTicket] self
94
94
  def reify!
95
95
  uri = URI.parse(proxy_url).tap do |u|
96
96
  u.query = grant_parameters
@@ -1,3 +1,3 @@
1
1
  module Castanet
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
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-03 00:00:00 -06:00
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/client.rb
139
- - lib/castanet/proxy_ticket.rb
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/responses.rb
148
- - lib/castanet/service_ticket.rb
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: ""