public
Description: A replacement for Ruby's builtin Pathname, which is unbearably slow
Homepage: http://github.com/stouset/pathname3
Clone URL: git://github.com/stouset/pathname3.git
pathname3 / pathname3.gemspec
100644 32 lines (26 sloc) 1.245 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Gem::Specification.new do |s|
  s.author = 'Stephen Touset'
  s.email = 'stephen@touset.org'
  s.homepage = 'http://github.com/stouset/pathname3/'
  
  s.name = 'pathname3'
  s.version = '1.2.3'
  s.platform = Gem::Platform::RUBY
  s.description = 'Faster replacement for pathname and pathname2'
  s.summary = <<-DESC.strip.gsub(/\s+/, ' ')
pathname3 is a third attempt at rewriting the eminently useful Pathname
library in Ruby. The first version (packaged with Ruby) is extremely slow
for many operations, as is the second one (by Daniel J. Berger).
This version attempts to combine the best parts of both predecessors,
while also maintaining speed. Namely, we use Daniel's String-based
approach, while dumping Facade and sending messages to FileTest, File,
Dir, and FileUtils explicitly (for clarity and predictability).
Windows support will be provided in a later release. Donations of code
toward this end would be appreciated.
DESC
  
  s.files = %w{ CHANGES README LICENSE }
  s.files += %w{ pathname3.gemspec }
  s.files += %w{ lib/pathname3.rb }
  s.files += %w{ test/lib/test_pathname.rb }
  s.files += %w{ test/lib/test_pathname3.rb }
  
  s.has_rdoc = true
end