simple_blobstore_server 1.2980.0 → 1.2981.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ec422331fb04637dbf5a537eadbf8cd6b156e12
4
- data.tar.gz: 56087bcb12364484eec495b5d0b1db390acd25fa
3
+ metadata.gz: 9c382ab2c4af9b5ba01828eb248b0dd6b3e4ab4a
4
+ data.tar.gz: 27ab4639dd22d46b81dd3db2c148d6999497e0dc
5
5
  SHA512:
6
- metadata.gz: 678d950be2eb840f5644d63b168aa23152f8e928c8724614a69fc4888445fdc725f9651adc155ee9a11cf5b7ca23dfdd3066e7dbec1836a23746bc0a12eb7b1a
7
- data.tar.gz: 3996121b0d132092f705403808e792c349e5cbefda6669182f5cd55891c9671ae3f46b2313436a4659bfca683c0e81c78b386f49a126fd743344ead636a3c6fd
6
+ metadata.gz: c1ffe7bb4847b79567c130ffa4ac5ada529aeac396f9c889d42777848241dc275984c43fcea8ad5944fcff1f63994536a21841f15f43d284739d5bc4f47aa27e
7
+ data.tar.gz: 65edc939a9b92fb49289c46dfe14f5f1717fbdf8db4892028349cc2b6fc36dc0dd7682da4f39667866fc1b01762284efdc8b1dd0bc055f333d4cdc743a36530e
@@ -19,7 +19,7 @@ module Bosh
19
19
  @path = config["path"]
20
20
  @nginx_path = config["nginx_path"]
21
21
 
22
- if File.exists?(@path)
22
+ if File.exist?(@path)
23
23
  raise "Invalid path" unless File.directory?(@path)
24
24
  else
25
25
  FileUtils.mkdir_p(@path)
@@ -106,7 +106,7 @@ module Bosh
106
106
 
107
107
  head "/resources/:id" do
108
108
  file_name = get_file_name(params[:id])
109
- File.exists?(file_name) ? status(200) : status(404)
109
+ File.exist?(file_name) ? status(200) : status(404)
110
110
  end
111
111
 
112
112
  get "/resources/:id" do
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module SimpleBlobstoreServer
3
- VERSION = '1.2980.0'
3
+ VERSION = '1.2981.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_blobstore_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2980.0
4
+ version: 1.2981.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - VMware
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-02 00:00:00.000000000 Z
11
+ date: 2015-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thin
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '0'
83
83
  description: |-
84
84
  BOSH Simple Blobstore Server
85
- cb6c5e
85
+ 4246cc
86
86
  email: support@cloudfoundry.com
87
87
  executables:
88
88
  - simple_blobstore_server