right_aws 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/Manifest.txt +0 -1
- data/README.txt +12 -0
- data/lib/right_aws.rb +1 -2
- metadata +2 -3
- data/lib/awsbase/file_fix.rb +0 -33
data/History.txt
CHANGED
@@ -167,6 +167,13 @@ Initial release.
|
|
167
167
|
- Monkey-patch of the Ruby File class on Windows platforms to correct a problem in lstat.
|
168
168
|
The lstat bug was causing failure of very large file uploads on Windows [ Contributed by Benjamin Allfree ]
|
169
169
|
- Fixed parsing of the ETag field for S3 objects
|
170
|
+
|
171
|
+
-- 1.7.3
|
172
|
+
|
173
|
+
Release Notes:
|
174
|
+
|
175
|
+
- Removed the 1.7.2 monkey-patch of the Ruby File class on Windows. This patch broke Rails 2.0.
|
176
|
+
The patch is now included in the README for anyone to use at their own risk.
|
170
177
|
|
171
178
|
|
172
179
|
|
data/Manifest.txt
CHANGED
data/README.txt
CHANGED
@@ -84,6 +84,18 @@ multithreaded mode.
|
|
84
84
|
|
85
85
|
== KNOWN ISSUES:
|
86
86
|
|
87
|
+
- 7/08: A user has reported that uploads of large files on Windows may be broken on some
|
88
|
+
Win platforms due to a buggy File.lstat.size. Use the following monkey-patch at your own risk,
|
89
|
+
as it has been proven to break Rails 2.0 on Windows:
|
90
|
+
|
91
|
+
require 'win32/file'
|
92
|
+
class File
|
93
|
+
def lstat
|
94
|
+
self.stat
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
|
87
99
|
- Attempting to use the Gibberish plugin (used by the Beast forum app)
|
88
100
|
will break right_aws as well as lots of other code. Gibberish
|
89
101
|
changes the semantics of core Ruby (specifically, the String class) and thus presents a reliability
|
data/lib/right_aws.rb
CHANGED
@@ -36,7 +36,6 @@ require 'right_http_connection'
|
|
36
36
|
|
37
37
|
$:.unshift(File.dirname(__FILE__))
|
38
38
|
require 'awsbase/benchmark_fix'
|
39
|
-
require 'awsbase/file_fix'
|
40
39
|
require 'awsbase/support'
|
41
40
|
require 'awsbase/right_awsbase'
|
42
41
|
require 'ec2/right_ec2'
|
@@ -53,7 +52,7 @@ module RightAws #:nodoc:
|
|
53
52
|
module VERSION #:nodoc:
|
54
53
|
MAJOR = 1
|
55
54
|
MINOR = 7
|
56
|
-
TINY =
|
55
|
+
TINY = 3
|
57
56
|
|
58
57
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
59
58
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RightScale, Inc.
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-10 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -37,7 +37,6 @@ files:
|
|
37
37
|
- README.txt
|
38
38
|
- Rakefile
|
39
39
|
- lib/awsbase/benchmark_fix.rb
|
40
|
-
- lib/awsbase/file_fix.rb
|
41
40
|
- lib/awsbase/right_awsbase.rb
|
42
41
|
- lib/awsbase/support.rb
|
43
42
|
- lib/ec2/right_ec2.rb
|
data/lib/awsbase/file_fix.rb
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (c) 2007-2008 RightScale Inc
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
-
# a copy of this software and associated documentation files (the
|
6
|
-
# "Software"), to deal in the Software without restriction, including
|
7
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
-
# the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be
|
13
|
-
# included in all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
# File.lstat.size doesn't report large sizes correctly in Ruby 1.8 (Windows).
|
26
|
-
if RUBY_PLATFORM[/mswin|mingw|bccwin|wince/i]
|
27
|
-
require 'win32/file'
|
28
|
-
class File
|
29
|
-
def lstat
|
30
|
-
self.stat
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|