fog 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/fog.gemspec +2 -2
- data/lib/fog/aws/requests/s3/get_object.rb +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -41,7 +41,7 @@ fog helps you interact with cloud services. fog is a work in progress.
|
|
41
41
|
|
42
42
|
# models
|
43
43
|
bucket = s3.buckets.create(:name => 'bucketname')
|
44
|
-
bucket.objects.create(:
|
44
|
+
bucket.objects.create(:key => 'objectname', :body => 'objectbody')
|
45
45
|
|
46
46
|
bucket = s3.buckets.get('bucketname')
|
47
47
|
object = bucket.objects.get('objectname')
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.37
|
data/fog.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fog}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.37"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["geemus (Wesley Beary)"]
|
12
|
-
s.date = %q{2009-12-
|
12
|
+
s.date = %q{2009-12-18}
|
13
13
|
s.default_executable = %q{fog}
|
14
14
|
s.description = %q{brings clouds to you}
|
15
15
|
s.email = %q{me@geemus.com}
|
@@ -101,9 +101,9 @@ else
|
|
101
101
|
data = StringIO.new(object[:body])
|
102
102
|
remaining = data.length
|
103
103
|
while remaining > 0
|
104
|
-
chunk = data.read([remaining,
|
104
|
+
chunk = data.read([remaining, Excon::CHUNK_SIZE].min)
|
105
105
|
block.call(chunk)
|
106
|
-
remaining -=
|
106
|
+
remaining -= Excon::CHUNK_SIZE
|
107
107
|
end
|
108
108
|
end
|
109
109
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-18 00:00:00 -08:00
|
13
13
|
default_executable: fog
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|