selbackup 0.1.1 → 0.1.3
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 +4 -4
- data/LICENSE.fr +12 -0
- data/lib/selbackup.rb +2 -1
- data/selbackup.gemspec +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f72aa466f3a2490e4353381f36449066bf0f80e
|
4
|
+
data.tar.gz: 70714192da0d8bac93c5580d8ef82586ad20d8ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cabb8fa02e93cb6a67899dd858e26955d4d739438e615a800f58224490b6e5638d82fc407c09e635e07f8cbc317f17a0fbc324457030b9ee3bc37bff5990893
|
7
|
+
data.tar.gz: a8c0d2afb756c6f91c329b31ba2531fb2ef3d055b0e05a14c2cd0bd4632e3cc8724b361b3c1d4af0db5c41274d4faa29b5e7c888f5e3c5ad7fe924033cd57277
|
data/LICENSE.fr
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
FAITES CE QUE VOUS VOULEZ DE CETTE PUTAIN DE LICENCE PUBLIQUE
|
2
|
+
version 2, december 2012
|
3
|
+
|
4
|
+
Copyright (C) 2012 Sam Hocevar <sam@hocevar.net>
|
5
|
+
|
6
|
+
Tous le monde à la permission de copier et distribuer verbatim ou modifier les copies de cette licence, toutes les modifications sont permises à condition que le nom soit modifié.
|
7
|
+
|
8
|
+
FAITES CE QUE VOUS VOULEZ DE CETTE PUTAIN DE LICENCE PUBLIQUE
|
9
|
+
TERMES ET CONDITIONS POUR LA COPIE, LA DISTRIBUTION ET LA MODIFICATION
|
10
|
+
|
11
|
+
0. Tu as juste à faire ce que bon te semble de cette licence.
|
12
|
+
|
data/lib/selbackup.rb
CHANGED
@@ -301,7 +301,8 @@ class SelBackup
|
|
301
301
|
name_parts = file[:key].split('/').last.split('-')
|
302
302
|
file[:key] = "#{filename}/#{name_parts[1]}-#{name_parts[2]}-#{name_parts[3]}-#{name_parts[0]}-#{filename}"
|
303
303
|
end
|
304
|
-
|
304
|
+
# 104857600 bytes => 100 megabytes
|
305
|
+
bucket.files.create(key: file[:key], body: file[:body], multipart_chunk_size: 104857600)
|
305
306
|
end
|
306
307
|
|
307
308
|
|
data/selbackup.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'selbackup'
|
3
|
-
s.version = '0.1.
|
4
|
-
s.date = '
|
3
|
+
s.version = '0.1.3'
|
4
|
+
s.date = '2015-09-01'
|
5
5
|
s.summary = "Backup to s3 with rtation system"
|
6
6
|
s.description = "Backups files to amazon s3 server"
|
7
7
|
s.has_rdoc = true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selbackup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Ninon pour Selectra sarl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Backups files to amazon s3 server
|
14
14
|
email: simon.ninon@gmail.com
|
@@ -19,6 +19,7 @@ files:
|
|
19
19
|
- Gemfile
|
20
20
|
- Gemfile.lock
|
21
21
|
- LICENSE
|
22
|
+
- LICENSE.fr
|
22
23
|
- README.fr.md
|
23
24
|
- README.md
|
24
25
|
- Rakefile
|
@@ -36,17 +37,17 @@ require_paths:
|
|
36
37
|
- lib
|
37
38
|
required_ruby_version: !ruby/object:Gem::Requirement
|
38
39
|
requirements:
|
39
|
-
- -
|
40
|
+
- - ">="
|
40
41
|
- !ruby/object:Gem::Version
|
41
42
|
version: '0'
|
42
43
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
|
-
- -
|
45
|
+
- - ">="
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
48
|
requirements: []
|
48
49
|
rubyforge_project:
|
49
|
-
rubygems_version: 2.
|
50
|
+
rubygems_version: 2.4.6
|
50
51
|
signing_key:
|
51
52
|
specification_version: 4
|
52
53
|
summary: Backup to s3 with rtation system
|