miasma-local 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe6f6ccb34846d1cf010a0e6f5b55fec5ac3876a
4
- data.tar.gz: 8bdcb05a82f8436018bb7644a9642120f7cf6e0b
3
+ metadata.gz: e28c940ec6f1ad866a968999e8e9742e65f11308
4
+ data.tar.gz: 4aec1e385ed0b4f67a2d8ff132e87a103bc2b71f
5
5
  SHA512:
6
- metadata.gz: 97404a955ca6e204413efe4cb253b3d32594192b09b8e043bd16e20df1344edacea54372c1ce8302db27245e5e799bf7e829a5fbfc64ad3e6a6d1809732140f1
7
- data.tar.gz: 71cf55afe2f70f55b46ee836f7555dce38974ce71d8f553428d64eac75f4915e729371cc8fbc97a7fce6cfe4c8aa3b13897363d85b0b678491bc90f6a153f0d5
6
+ metadata.gz: acc147426ac14e17dda5327265ca994d869c794cbc8457c3d827c0de2a960ff2d9a72a6da9f6af6c1c98c8009cb8e8fde5db734d845234bd82a780646159e7b1
7
+ data.tar.gz: 7180c2ab0f29e2455b2a448ed9d0cdc530115606e4f8ee1c1eb12f630989cd25c5f18a56dc6da7232e3bced6b708963bcb8068d2efb4e694de2cf7b7993a5a98
@@ -1,3 +1,6 @@
1
+ ## v0.1.6
2
+ * Always escape paths when dealing with local system
3
+
1
4
  ## v0.1.4
2
5
  * Use streamable helper for file body
3
6
 
@@ -1,4 +1,4 @@
1
1
  module MiasmaLocal
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.1.4')
3
+ VERSION = Gem::Version.new('0.1.6')
4
4
  end
@@ -216,9 +216,7 @@ module Miasma
216
216
 
217
217
  # @return [String] escaped file path
218
218
  def file_path(file)
219
- file.name.split('/').map do |part|
220
- uri_escape(part)
221
- end.join('/')
219
+ uri_escape(file.name)
222
220
  end
223
221
 
224
222
  # Provide full path for object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-11 00:00:00.000000000 Z
11
+ date: 2015-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: miasma