backup2qiniu 3.5.0 → 3.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 82e295432931ffab3e289e6aaae20b30160aaca3
4
+ data.tar.gz: 4d6478e6fee62871e05712e9dcd29058237d935e
5
+ SHA512:
6
+ metadata.gz: feca92f31bbc2b3ecc813e13610f6083ddafdf2011838956ffe9ba7835e77ca5d98cdd3e1f346d8ce37e85cc2763ac428e25d7b7f01db60ba12460a19452cf7b
7
+ data.tar.gz: 5ea7da1eb92b3d4524874e5480b1d6b69a101056c1284f3635b25e97d9ac96cde60d1a1ca5eafa805e8ec47c5629aeb99ed0f43a30ef9d948673817b1f50e354
data/Gemfile.lock CHANGED
@@ -1,51 +1,48 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- backup2qiniu (3.5.0)
5
- backup (>= 3.4.0)
4
+ backup2qiniu (3.11.0)
5
+ backup (~> 3.4)
6
6
  qiniu-rs (~> 3.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- backup (3.5.0)
12
- builder (= 3.2.0)
11
+ backup (3.11.0)
12
+ builder (= 3.2.2)
13
13
  dropbox-sdk (= 1.5.1)
14
- excon (= 0.20.1)
14
+ excon (= 0.25.3)
15
15
  faraday (= 0.8.7)
16
- fog (= 1.10.1)
16
+ fog (= 1.13.0)
17
17
  formatador (= 0.2.4)
18
- hipchat (= 0.8.0)
18
+ hipchat (= 0.11.0)
19
19
  httparty (= 0.11.0)
20
- i18n (= 0.6.4)
21
- json (= 1.7.7)
22
- mail (= 2.5.3)
20
+ json (= 1.8.0)
21
+ mail (= 2.5.4)
23
22
  mime-types (= 1.23)
24
- multi_json (= 1.7.2)
25
- multi_xml (= 0.5.3)
23
+ multi_json (= 1.7.7)
24
+ multi_xml (= 0.5.4)
26
25
  multipart-post (= 1.2.0)
27
- net-scp (= 1.1.0)
28
- net-sftp (= 2.1.1)
29
- net-ssh (= 2.6.7)
30
- nokogiri (= 1.5.9)
26
+ net-scp (= 1.1.2)
27
+ net-sftp (= 2.1.2)
28
+ net-ssh (= 2.6.8)
29
+ nokogiri (= 1.5.10)
31
30
  open4 (= 1.3.0)
32
- parallel (= 0.6.4)
33
31
  polyglot (= 0.3.3)
34
- prowler (= 1.3.1)
35
32
  ruby-hmac (= 0.4.0)
36
33
  simple_oauth (= 0.2.0)
37
34
  thor (= 0.18.1)
38
- treetop (= 1.4.12)
39
- twitter (= 4.6.2)
40
- builder (3.2.0)
35
+ treetop (= 1.4.14)
36
+ twitter (= 4.8.1)
37
+ builder (3.2.2)
41
38
  dropbox-sdk (1.5.1)
42
39
  json
43
- excon (0.20.1)
40
+ excon (0.25.3)
44
41
  faraday (0.8.7)
45
42
  multipart-post (~> 1.1)
46
- fog (1.10.1)
43
+ fog (1.13.0)
47
44
  builder
48
- excon (~> 0.20)
45
+ excon (~> 0.25.0)
49
46
  formatador (~> 0.2.0)
50
47
  mime-types
51
48
  multi_json (~> 1.0)
@@ -54,46 +51,43 @@ GEM
54
51
  nokogiri (~> 1.5.0)
55
52
  ruby-hmac
56
53
  formatador (0.2.4)
57
- hipchat (0.8.0)
58
- httparty
54
+ hipchat (0.11.0)
59
55
  httparty
60
56
  httparty (0.11.0)
61
57
  multi_json (~> 1.0)
62
58
  multi_xml (>= 0.5.2)
63
- i18n (0.6.4)
64
- json (1.7.7)
65
- mail (2.5.3)
66
- i18n (>= 0.4.0)
59
+ json (1.8.0)
60
+ mail (2.5.4)
67
61
  mime-types (~> 1.16)
68
62
  treetop (~> 1.4.8)
69
63
  mime-types (1.23)
70
- multi_json (1.7.2)
71
- multi_xml (0.5.3)
64
+ multi_json (1.7.7)
65
+ multi_xml (0.5.4)
72
66
  multipart-post (1.2.0)
73
- net-scp (1.1.0)
67
+ net-scp (1.1.2)
74
68
  net-ssh (>= 2.6.5)
75
- net-sftp (2.1.1)
69
+ net-sftp (2.1.2)
76
70
  net-ssh (>= 2.6.5)
77
- net-ssh (2.6.7)
78
- nokogiri (1.5.9)
71
+ net-ssh (2.6.8)
72
+ netrc (0.8.0)
73
+ nokogiri (1.5.10)
79
74
  open4 (1.3.0)
80
- parallel (0.6.4)
81
75
  polyglot (0.3.3)
82
- prowler (1.3.1)
83
- qiniu-rs (3.4.2)
76
+ qiniu-rs (3.4.10)
84
77
  json (~> 1.7)
85
78
  mime-types (~> 1.19)
86
79
  rest-client (~> 1.6)
87
80
  ruby-hmac (~> 0.4)
88
- rest-client (1.6.7)
89
- mime-types (>= 1.16)
81
+ rest-client (1.7.2)
82
+ mime-types (>= 1.16, < 3.0)
83
+ netrc (~> 0.7)
90
84
  ruby-hmac (0.4.0)
91
85
  simple_oauth (0.2.0)
92
86
  thor (0.18.1)
93
- treetop (1.4.12)
87
+ treetop (1.4.14)
94
88
  polyglot
95
89
  polyglot (>= 0.3.1)
96
- twitter (4.6.2)
90
+ twitter (4.8.1)
97
91
  faraday (~> 0.8, < 0.10)
98
92
  multi_json (~> 1.0)
99
93
  simple_oauth (~> 0.2)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Backup2qiniu
2
2
 
3
- 备份你的数据、文件到 [qiniutek.com](http://www.qiniutek.com/)
3
+ 备份你的数据、文件到 [qiniu.com](http://www.qiniu.com/)
4
4
 
5
5
  ## 使用方法
6
6
 
@@ -9,7 +9,7 @@
9
9
  * 运行 backup generate:model --trigger=mysql_backup_qiniu
10
10
  * 获取上传秘钥
11
11
  * 运行 backup2qiniu gen_token
12
- * 如果不担心黑客入侵后通过你的备份配置删除你的备份,那么可以直接访问 https://dev.qiniutek.com/account/keys, 找到你的 "Access Key" 和 "Access Secret"
12
+ * 如果不担心黑客入侵后通过你的备份配置删除你的备份,那么可以直接访问 https://portal.qiniu.com/setting/key, 找到你的 "ACCESS KEY" 和 "SECRET KEY"
13
13
  * 修改 ~/Backup/models/mysql_backup_qiniu.rb, 改为如下的形式
14
14
 
15
15
  ```ruby
data/backup2qiniu.gemspec CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/backup2qiniu/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["LI Daobing"]
6
6
  gem.email = ["lidaobing@gmail.com"]
7
- gem.description = %q{backup to qiniutek.com}
8
- gem.summary = %q{backup to qiniutek.com}
7
+ gem.description = %q{backup to qiniu.com}
8
+ gem.summary = %q{backup to qiniu.com}
9
9
  gem.homepage = "https://github.com/lidaobing/backup2qiniu"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
@@ -14,6 +14,6 @@ Gem::Specification.new do |gem|
14
14
  gem.name = "backup2qiniu"
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Backup2qiniu::VERSION
17
- gem.add_dependency 'backup', '>= 3.4.0'
17
+ gem.add_dependency 'backup', '~> 3.4'
18
18
  gem.add_dependency 'qiniu-rs', '~> 3.1'
19
19
  end
@@ -5,7 +5,7 @@ module Backup2qiniu
5
5
  class CLI < Thor
6
6
  desc 'gen_token', 'Generate a Upload Token for backup'
7
7
  def gen_token
8
- puts 'input your keys (you can find them on https://dev.qiniutek.com/account/keys)'
8
+ puts 'input your keys (you can find them on https://portal.qiniu.com/setting/key)'
9
9
  token = get_param("Access Key")
10
10
  secret = get_param("Secret Key")
11
11
  Qiniu::RS.establish_connection! :access_key => token, :secret_key => secret
@@ -1,3 +1,3 @@
1
1
  module Backup2qiniu
2
- VERSION = "3.5.0"
2
+ VERSION = "3.11.0"
3
3
  end
metadata CHANGED
@@ -1,49 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup2qiniu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
5
- prerelease:
4
+ version: 3.11.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - LI Daobing
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-08 00:00:00.000000000 Z
11
+ date: 2014-11-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: backup
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 3.4.0
19
+ version: '3.4'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 3.4.0
26
+ version: '3.4'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: qiniu-rs
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '3.1'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '3.1'
46
- description: backup to qiniutek.com
41
+ description: backup to qiniu.com
47
42
  email:
48
43
  - lidaobing@gmail.com
49
44
  executables:
@@ -51,7 +46,7 @@ executables:
51
46
  extensions: []
52
47
  extra_rdoc_files: []
53
48
  files:
54
- - .gitignore
49
+ - ".gitignore"
55
50
  - Gemfile
56
51
  - Gemfile.lock
57
52
  - LICENSE
@@ -67,27 +62,25 @@ files:
67
62
  - lib/backup2qiniu/version.rb
68
63
  homepage: https://github.com/lidaobing/backup2qiniu
69
64
  licenses: []
65
+ metadata: {}
70
66
  post_install_message:
71
67
  rdoc_options: []
72
68
  require_paths:
73
69
  - lib
74
70
  required_ruby_version: !ruby/object:Gem::Requirement
75
- none: false
76
71
  requirements:
77
- - - ! '>='
72
+ - - ">="
78
73
  - !ruby/object:Gem::Version
79
74
  version: '0'
80
75
  required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
76
  requirements:
83
- - - ! '>='
77
+ - - ">="
84
78
  - !ruby/object:Gem::Version
85
79
  version: '0'
86
80
  requirements: []
87
81
  rubyforge_project:
88
- rubygems_version: 1.8.25
82
+ rubygems_version: 2.4.2
89
83
  signing_key:
90
- specification_version: 3
91
- summary: backup to qiniutek.com
84
+ specification_version: 4
85
+ summary: backup to qiniu.com
92
86
  test_files: []
93
- has_rdoc: