cprobert-s3sync 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/bin/s3sync +10 -0
- metadata +3 -4
- data/cprobert-s3sync.gemspec +0 -50
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWFmZjE2YjczOTI4ZDAwNzkwMGVmMjc4YjI0OGYzZGQwYTZlNjY1Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjgzM2M1ODQ1MmE3ZTIyNjA1Nzg0YTZmODcyMjcxYjExZjc3M2E1Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTIyNWQ0MjU2ZTAxNjI0ZjkwMDhkMzhjNzU3ZDk0YzczMjFlYjQxMjI0ZGQ5
|
10
|
+
MTViODdiMmEzZjM3ZmUzMzM4NzNiYzE2OTQxZWRmYWE4MDg3YjFmMGE2MmMy
|
11
|
+
YjE5MzRjYjFhNjk4NzJmNmMxNzI0N2RiZDYzY2I2M2I4ZTExYjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODlmZDJmMzE5NmNkZGNjNmI4NDVmZjBkMWM4NjhlOGRkNjc1ZjlmNjBkNjAy
|
14
|
+
NGRmYjZmMjZlZTQxMzAxMWEwNzk4ZTI5ZGQ3NDljZjllNWUyMjcyNGE5OGFk
|
15
|
+
MmI3OTcwNGU3NGVjYjBhNWI4YTUwOTU1YTZkOGQ3YjE2N2Y0MjA=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.2
|
data/bin/s3sync
CHANGED
@@ -510,12 +510,22 @@ ENDUSAGE
|
|
510
510
|
headers['x-amz-acl'] = 'public-read' if $S3syncOptions['--public-read']
|
511
511
|
headers['Expires'] = $S3syncOptions['--expires'] if $S3syncOptions['--expires']
|
512
512
|
headers['Cache-Control'] = $S3syncOptions['--cache-control'] if $S3syncOptions['--cache-control']
|
513
|
+
|
514
|
+
|
513
515
|
fType = @path.split('.').last
|
516
|
+
|
517
|
+
# is the file names myfile.gz.ext
|
518
|
+
if @path.split('.')[-2] == "gz"
|
519
|
+
headers['Content-Encoding'] = "gzip"
|
520
|
+
puts "Adding gzip header to #{@path}"
|
521
|
+
end
|
522
|
+
# is the file names myfile.ext.gz
|
514
523
|
if ($S3syncOptions['--gzip'] || "gz").split(",").include? fType
|
515
524
|
headers['Content-Encoding'] = "gzip"
|
516
525
|
fType = @path.split('.')[-2]
|
517
526
|
end
|
518
527
|
debug("File extension: #{fType}")
|
528
|
+
|
519
529
|
if defined?($mimeTypes) and fType != '' and (mType = $mimeTypes[fType]) and mType != ''
|
520
530
|
debug("Mime type: #{mType}")
|
521
531
|
headers['Content-Type'] = mType
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cprobert-s3sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cprobert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: cprobert@gmail.com
|
@@ -27,7 +27,6 @@ files:
|
|
27
27
|
- VERSION
|
28
28
|
- bin/s3cmd
|
29
29
|
- bin/s3sync
|
30
|
-
- cprobert-s3sync.gemspec
|
31
30
|
- docs/README.txt
|
32
31
|
- docs/README_s3cmd.txt
|
33
32
|
- docs/s3config.yml.example
|
@@ -62,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
61
|
version: '0'
|
63
62
|
requirements: []
|
64
63
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.1
|
64
|
+
rubygems_version: 2.4.1
|
66
65
|
signing_key:
|
67
66
|
specification_version: 4
|
68
67
|
summary: Fork of s3sync to be compatible with ruby 1.9.3
|
data/cprobert-s3sync.gemspec
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: cprobert-s3sync 1.4.1 ruby lib
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = "cprobert-s3sync"
|
9
|
-
s.version = "1.4.1"
|
10
|
-
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
-
s.authors = ["cprobert"]
|
13
|
-
s.date = "2013-10-28"
|
14
|
-
s.email = "cprobert@gmail.com"
|
15
|
-
s.executables = ["s3sync", "s3cmd"]
|
16
|
-
s.extra_rdoc_files = [
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
"History.txt",
|
21
|
-
"Manifest.txt",
|
22
|
-
"PostInstall.txt",
|
23
|
-
"README.rdoc",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"bin/s3cmd",
|
27
|
-
"bin/s3sync",
|
28
|
-
"cprobert-s3sync.gemspec",
|
29
|
-
"docs/README.txt",
|
30
|
-
"docs/README_s3cmd.txt",
|
31
|
-
"docs/s3config.yml.example",
|
32
|
-
"lib/s3sync.rb",
|
33
|
-
"lib/s3sync/HTTPStreaming.rb",
|
34
|
-
"lib/s3sync/S3.rb",
|
35
|
-
"lib/s3sync/S3_s3sync_mod.rb",
|
36
|
-
"lib/s3sync/S3encoder.rb",
|
37
|
-
"lib/s3sync/s3config.rb",
|
38
|
-
"lib/s3sync/s3try.rb",
|
39
|
-
"script/console",
|
40
|
-
"script/destroy",
|
41
|
-
"script/generate",
|
42
|
-
"test/test_helper.rb",
|
43
|
-
"test/test_s3sync.rb"
|
44
|
-
]
|
45
|
-
s.homepage = "https://github.com/cprobert/s3sync"
|
46
|
-
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = "2.1.10"
|
48
|
-
s.summary = "Fork of s3sync to be compatible with ruby 1.9.3"
|
49
|
-
end
|
50
|
-
|