Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 165
- Log:
Addresses the most serious part of Ticket #101. Although the form of
file reading used ought to self-close the file in question, it does
not seem to. Perhaps it is reliant on garbage collection of the
temporary File object, but garbage collection occurs so infrequently
that the file can stay open for a very long time - so long in fact
that "Too many open file" errors are seen during numerous visits to
the web site in a short space of time.In any event, although more verbose, the new code in the Gem is quite
explicit about closing the file after reading and, according to lsof,
does so imediately. As an efficiency note, it is clear that this
aspect of Hub needs a lot of work - the file gets opened and closed
very often (typically twice for a site-based access as the secure
cookie is first read, then written after last accessed time update).
- Author:
- rool
- Date:
- Sat Dec 23 17:15:01 +0000 2006
- Size:
- 1084 Bytes
1 | require 'rake' |
2 | |
3 | spec = Gem::Specification.new do |s| |
4 | s.platform = Gem::Platform::RUBY |
5 | s.name = 'hubssolib' |
6 | |
7 | s.version = '0.2.3' |
8 | s.author = 'Andrew Hodgkinson and others' |
9 | s.email = 'ahodgkin@rowing.org.uk' |
10 | s.homepage = 'http://pond.org.uk/ruby/hub/' |
11 | s.date = File.ctime('VERSION') |
12 | s.summary = 'Cross-application single sign-on support library.' |
13 | |
14 | s.description = <<-EOF |
15 | The Hub SSO Library supports single sign-on across multiple Rails |
16 | applications on the same host. The Hub application provides account |
17 | management facilities (sign up, log in, etc.). The library provides |
18 | read-only access to data set up by the application. Using the library, |
19 | external applications can see whether or not someone is logged in via |
20 | Hub and see what their assigned roles are. Each application determines |
21 | its own mappings between roles and permissions. |
22 | EOF |
23 | |
24 | s.files = FileList['lib/**/*.rb', '[A-Z]*'].to_a |
25 | s.has_rdoc = false # Sorry, no RDoc documentation yet |
26 | s.required_ruby_version = '>= 1.8.1' # Not tested on earlier versions |
27 | end |