shrine-webdav 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shrine/{webdav.rb → storage/webdav.rb} +4 -2
- data/shrine-webdav.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd2b1d205b1bf8156e9e2012af459a4006ca6b3c
|
4
|
+
data.tar.gz: e933550a6bf5b00dd2913f2c6452a9b07c36b53a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3ecbce7d30601bab187544f8654be9cb7599a80ae9f1e7bac60d79035b34359e2a001df306686c30ce070490b4f6972b6b1209f7d97f164ff3c683157a1533a
|
7
|
+
data.tar.gz: 516e0c8ebeba3067e1e0b5903e76512d19dee824f8ab97e640a5a4181c2e90c27da32c8ae19a3fcf1ece159e3a9e92ab23a7ed4b72897eeffd5ff213b9b72430
|
@@ -43,8 +43,10 @@ class Shrine
|
|
43
43
|
|
44
44
|
def mkpath_to_file(path_to_file)
|
45
45
|
last_slash = path_to_file.rindex('/')
|
46
|
-
|
47
|
-
|
46
|
+
if last_slash
|
47
|
+
path = path_to_file[0..last_slash]
|
48
|
+
mkpath(path)
|
49
|
+
end
|
48
50
|
end
|
49
51
|
|
50
52
|
def mkpath(path)
|
data/shrine-webdav.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shrine-webdav
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Kushmantsev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shrine
|
@@ -129,7 +129,7 @@ files:
|
|
129
129
|
- LICENSE.txt
|
130
130
|
- README.md
|
131
131
|
- Rakefile
|
132
|
-
- lib/shrine/webdav.rb
|
132
|
+
- lib/shrine/storage/webdav.rb
|
133
133
|
- shrine-webdav.gemspec
|
134
134
|
homepage: https://github.com/funbox/shrine-webdav
|
135
135
|
licenses:
|