s3snapshot 0.0.4 → 0.0.5

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.
@@ -31,7 +31,7 @@ module S3snapshot
31
31
  path = "#{prefix_path}/#{file[@local_dir.length+1..-1]}"
32
32
 
33
33
  puts "uploading '#{file}' to '#{@bucket_name}/#{path}'"
34
- bucket.files.create(:key =>path, :body => File.read(file))
34
+ bucket.files.create(:key =>path, :body => File.open(file))
35
35
  end
36
36
 
37
37
 
@@ -1,3 +1,3 @@
1
1
  module S3snapshot
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/s3snapshot.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.version = S3snapshot::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Todd"]
10
- s.email = ["foo@bar.com"]
11
- s.homepage = ""
10
+ s.email = ["todd@spidertracks.co.nz"]
11
+ s.homepage = "https://github.com/spidertracks/s3snapshot"
12
12
  s.summary = %q{Uploads to s3}
13
13
  s.description = %q{see summary}
14
14
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3snapshot
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Todd
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-21 00:00:00 Z
18
+ date: 2011-09-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: fog
@@ -67,7 +67,7 @@ dependencies:
67
67
  version_requirements: *id003
68
68
  description: see summary
69
69
  email:
70
- - foo@bar.com
70
+ - todd@spidertracks.co.nz
71
71
  executables:
72
72
  - s3snapshot
73
73
  extensions: []
@@ -94,7 +94,7 @@ files:
94
94
  - lib/s3snapshot/time_factory.rb
95
95
  - lib/s3snapshot/version.rb
96
96
  - s3snapshot.gemspec
97
- homepage: ""
97
+ homepage: https://github.com/spidertracks/s3snapshot
98
98
  licenses: []
99
99
 
100
100
  post_install_message:
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  requirements: []
124
124
 
125
125
  rubyforge_project: s3snapshot
126
- rubygems_version: 1.8.2
126
+ rubygems_version: 1.8.3
127
127
  signing_key:
128
128
  specification_version: 3
129
129
  summary: Uploads to s3