swiftiply 0.6.0 → 0.6.1

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.
@@ -18,7 +18,7 @@ end
18
18
 
19
19
  module Swiftcore
20
20
  module Swiftiply
21
- Version = '0.6.0'
21
+ Version = '0.6.1'
22
22
 
23
23
  # Yeah, these constants look kind of tacky. Inside of tight loops,
24
24
  # though, using them makes a small but measurable difference, and those
@@ -232,7 +232,7 @@ module Swiftcore
232
232
 
233
233
  def find_static_file(docroot,path_info,client_name)
234
234
  path = File.join(docroot,path_info)
235
- path if FileTest.exist?(path) and FileTest.file?(path)
235
+ path if FileTest.exist?(path) and FileTest.file?(path) and File.expand_path(path).index(docroot) == 0
236
236
  end
237
237
 
238
238
  # Pushes a front end client (web browser) into the queue of clients
@@ -11,7 +11,7 @@ spec = Gem::Specification.new do |s|
11
11
  s.name = 'swiftiply'
12
12
  s.author = %q(Kirk Haines)
13
13
  s.email = %q(wyhaines@gmail.com)
14
- s.version = '0.6.0'
14
+ s.version = '0.6.1'
15
15
  s.summary = %q(A fast clustering proxy for web applications.)
16
16
  s.platform = Gem::Platform::RUBY
17
17
 
@@ -19,7 +19,7 @@ spec = Gem::Specification.new do |s|
19
19
  s.rdoc_options = %w(--title Swiftcore::Swiftiply --main README --line-numbers)
20
20
  s.extra_rdoc_files = %w(README)
21
21
  s.extensions << 'ext/fastfilereader/extconf.rb'
22
- s.files = Dir['**/*']
22
+ s.files = Dir['**/*']
23
23
  s.executables = %w(swiftiply mongrel_rails swiftiply_mongrel_rails)
24
24
  s.require_paths = %w(src)
25
25
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: swiftiply
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.0
7
- date: 2007-08-12 00:00:00 +02:00
6
+ version: 0.6.1
7
+ date: 2007-08-13 00:00:00 +02:00
8
8
  summary: A fast clustering proxy for web applications.
9
9
  require_paths:
10
10
  - src