mock-aws-s3 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
@@ -12,7 +12,7 @@ module AWS
12
12
  Value.new OpenStruct.new(:body=>data)
13
13
  end
14
14
 
15
- def url_for(key, bucket = nil)
15
+ def url_for(key, bucket = nil, options={})
16
16
  "file://#{File.expand_path(path!(bucket, key))}"
17
17
  end
18
18
 
@@ -21,7 +21,7 @@ module AWS
21
21
  bucket = Bucket.new(:name => bucket)
22
22
  object = bucket.new_object
23
23
  object.key = key
24
- object
24
+ object
25
25
  end
26
26
 
27
27
  # def stream(key, bucket = nil, options = {}, &block)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mock-aws-s3}
8
- s.version = "0.4.0"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joshua Krall"]
12
- s.date = %q{2010-11-11}
12
+ s.date = %q{2010-12-12}
13
13
  s.description = %q{A Mock AWS::S3 so you can use it in your tests without hitting the network.}
14
14
  s.email = %q{joshuakrall@pobox.com}
15
15
  s.extra_rdoc_files = [
@@ -24,8 +24,7 @@ Gem::Specification.new do |s|
24
24
  "lib/mock-aws-s3.rb",
25
25
  "lib/mock/aws/s3/object.rb",
26
26
  "mock-aws-s3.gemspec",
27
- "pkg/mock-aws-s3-0.1.0.gem",
28
- "pkg/mock-aws-s3-0.4.0.gem",
27
+ "pkg/mock-aws-s3-0.5.0.gem",
29
28
  "spec/mock-aws-s3_spec.rb",
30
29
  "spec/spec.opts",
31
30
  "spec/spec_helper.rb"
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mock-aws-s3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 4
8
+ - 5
9
9
  - 0
10
- version: 0.4.0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Krall
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-11 00:00:00 -06:00
18
+ date: 2010-12-12 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -51,8 +51,7 @@ files:
51
51
  - lib/mock-aws-s3.rb
52
52
  - lib/mock/aws/s3/object.rb
53
53
  - mock-aws-s3.gemspec
54
- - pkg/mock-aws-s3-0.1.0.gem
55
- - pkg/mock-aws-s3-0.4.0.gem
54
+ - pkg/mock-aws-s3-0.5.0.gem
56
55
  - spec/mock-aws-s3_spec.rb
57
56
  - spec/spec.opts
58
57
  - spec/spec_helper.rb
Binary file
Binary file