blobstore_client 1.5.0.pre.1391 → 1.5.0.pre.1435

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.
@@ -1,15 +1,20 @@
1
+ require 'securerandom'
2
+
1
3
  module Bosh::Blobstore
2
4
  class NullBlobstoreClient
3
5
  def create(contents, id = nil)
6
+ SecureRandom.uuid
4
7
  end
5
8
 
6
9
  def get(id, file = nil, options = nil)
10
+ raise NotFound, "Blobstore object '#{id}' not found"
7
11
  end
8
12
 
9
13
  def delete(oid)
10
14
  end
11
15
 
12
16
  def exists?(oid)
17
+ false
13
18
  end
14
19
  end
15
20
  end
@@ -3,7 +3,7 @@
3
3
  module Bosh
4
4
  module Blobstore
5
5
  class Client
6
- VERSION = '1.5.0.pre.1391'
6
+ VERSION = '1.5.0.pre.1435'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blobstore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.pre.1391
4
+ version: 1.5.0.pre.1435
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-22 00:00:00.000000000 Z
12
+ date: 2013-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 1.5.0.pre.1391
101
+ version: 1.5.0.pre.1435
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 1.5.0.pre.1391
109
+ version: 1.5.0.pre.1435
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: rspec
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -141,7 +141,7 @@ dependencies:
141
141
  version: '0'
142
142
  description: ! 'BOSH blobstore client
143
143
 
144
- a7d75a'
144
+ 496235'
145
145
  email: support@cloudfoundry.com
146
146
  executables:
147
147
  - blobstore_client_console