backup2sndacs 3.3.0 → 3.3.1

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: ae2b75b20318476fcec722b9c82a199c431554f8
4
- data.tar.gz: 088cdb6048d923b16a4ef5adb7b21b6aac332a7c
3
+ metadata.gz: 4b9699f9937ffa0e5ec6e41294088f5e7a22370e
4
+ data.tar.gz: 53a68362e9417a344b32e0bd287fe9c73977ee51
5
5
  SHA512:
6
- metadata.gz: d6cdbf0951dc00a6eeed23f99229dc0065294c9fea22c353ca2f9271d96d5013f373a0acb6a36a9c900d48772debe63b55bc00760f174546fd9520804d3f516c
7
- data.tar.gz: f5d9234aeea1732512445ba178afb7856a19ff30ac5d1c27f8d559801c570b9b41f3b11076429422ebae8178f08257339c71f862a2d21aaec9564023f65c376c
6
+ metadata.gz: 1e45a931623cfcfc9bc2a6ffe1952acabf13a8039261f8832805aa72574dadde721805c9c9d27a9df4f1ebdf67b87020d2e4d1a68d50a6bbc34c5b092630da26
7
+ data.tar.gz: ef57db57c6755d3c5a7767ec8b185d56e9eee4c1a54f30a32aef672acd38b7a3c70bd7f99de4a010a58c6679e9ed18105b81eed8d412c553b8f510f16f4c0725
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- backup2sndacs (3.3.0)
4
+ backup2sndacs (3.3.1)
5
5
  backup (~> 3.3.0)
6
6
  sndacs (~> 0.2.0)
7
7
 
@@ -11,7 +11,7 @@ GEM
11
11
  backup (3.3.2)
12
12
  open4 (~> 1.3.0)
13
13
  thor (>= 0.15.4, < 2)
14
- mime-types (1.22)
14
+ mime-types (1.23)
15
15
  open4 (1.3.0)
16
16
  proxies (0.2.1)
17
17
  sndacs (0.2.4)
data/NEWS.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.3.1 (2013-04-28)
2
+
3
+ * support set path prefix
4
+
1
5
  ## 3.3.0 (2013-04-19)
2
6
 
3
7
  * works with backup 3.3.X
data/README.md CHANGED
@@ -32,6 +32,7 @@ Backup::Model.new(:mysql_backup_sndacs, 'example backup to sndacs') do
32
32
  s.access_key = 'replace with access key'
33
33
  s.access_secret = 'replace with access secret'
34
34
  s.bucket = 'backup2sndacs-test1'
35
+ s.path = 'backup'
35
36
  end
36
37
  end
37
38
  ```
@@ -7,6 +7,7 @@ module Backup
7
7
 
8
8
  attr_accessor :access_key, :access_secret
9
9
  attr_accessor :bucket
10
+ attr_accessor :path
10
11
 
11
12
  def initialize(model, storage_id = nil, &block)
12
13
  super(model, storage_id)
@@ -16,10 +17,6 @@ module Backup
16
17
  instance_eval(&block) if block_given?
17
18
  end
18
19
 
19
- def path
20
- ''
21
- end
22
-
23
20
  def remove!(pkg)
24
21
  remote_path = remote_path_for(pkg)
25
22
  transferred_files_for(pkg) do |local_file, remote_file|
@@ -1,3 +1,3 @@
1
1
  module Backup2sndacs
2
- VERSION = "3.3.0"
2
+ VERSION = "3.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup2sndacs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LI Daobing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-19 00:00:00.000000000 Z
11
+ date: 2013-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backup
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.0.2
79
+ rubygems_version: 2.0.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: backup to http://www.grandcloud.cn/product/ecs