rails-assets-for-upyun 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rails-assets-for-upyun.rb +3 -1
- data/rails-assets-for-upyun.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9fbdd69a2b81d0a3bdf08fee5c795b8658ada71
|
4
|
+
data.tar.gz: f3996ffcbd4ec4e285b69a0fb73eb447dd929940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7362e2a22cc857d5377a6db064346d5a161ba18573b7fabe727c6fb194c29adbe397657ca9abe9a643782cc9af9c66fb7c3dda0b00a52c4572467ebf2590710f
|
7
|
+
data.tar.gz: 023a42f15e2cb6bdd7293f9dfcb857d95690fe02df9cf985807a1d49169da7665bf0531b4b9328c100995e69df168b28bd15b888dc6dcf58bedb2c8ed47eb996
|
data/README.md
CHANGED
@@ -14,7 +14,9 @@ class RailsAssetsForUpyun
|
|
14
14
|
nil
|
15
15
|
end
|
16
16
|
end
|
17
|
-
|
17
|
+
if size == (file_size = File.size file)
|
18
|
+
puts "skipping #{file}.."
|
19
|
+
else
|
18
20
|
file_content = File.read(file)
|
19
21
|
puts "uploading #{file}.."
|
20
22
|
RestClient.put("#{upyun_ap}#{url}", file_content,{\
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-assets-for-upyun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Yin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|