elastic-backup-2s3 0.1.3 → 0.1.4

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: 75fee2b2d32678ae729f1695176b55a1e77140eb
4
- data.tar.gz: 226aa5ec35680adf178c53f16aa0bd560c15efd6
3
+ metadata.gz: f96d46aad6e5d40d4e9c59c43613a97ea5444d76
4
+ data.tar.gz: f5ebde4f5cb4fdbfc200eb0bc66dfde09c6f4f7c
5
5
  SHA512:
6
- metadata.gz: f2ab70b23a6577f5f76ed963d43f8baada38f1c35fe977c01e4fde28b3e1d735fc81daed4be67910f47443824b46dbbc49edbcfab333e082180c1b29d7a7af82
7
- data.tar.gz: ea4d19a5cfb46efead19f13c287e3f6a3765b6787b56c95f5b5043791b54aa573714ab426ded21dd95a50693d9fb209cf2cbf4c0093425f7004a1b4f91e7083b
6
+ metadata.gz: 4f9f0b50637e88ba34cf82b7c75e1bb6315037bd9cd712902cad507ab62d3ccef9919b5ec094f36dc5b9a87269297bb860a3937619066328c6f0dbc544a274bc
7
+ data.tar.gz: 4a3a4e425c1ecbc910ebe319b68b3ed06c4f685fc44cfe3cd1fae0b709f44d6cab718f4d6c544b9d5ebc9a48ce88992d159743147131a10d64f468161f86b339
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 3
4
+ :patch: 4
5
5
  :special: ''
data/Gemfile.lock CHANGED
@@ -9,12 +9,12 @@ GEM
9
9
  tzinfo (~> 1.1)
10
10
  addressable (2.4.0)
11
11
  awesome_print (1.7.0)
12
- aws-sdk (2.3.13)
13
- aws-sdk-resources (= 2.3.13)
14
- aws-sdk-core (2.3.13)
12
+ aws-sdk (2.3.16)
13
+ aws-sdk-resources (= 2.3.16)
14
+ aws-sdk-core (2.3.16)
15
15
  jmespath (~> 1.0)
16
- aws-sdk-resources (2.3.13)
17
- aws-sdk-core (= 2.3.13)
16
+ aws-sdk-resources (2.3.16)
17
+ aws-sdk-core (= 2.3.16)
18
18
  binding_of_caller (0.7.2)
19
19
  debug_inspector (>= 0.0.1)
20
20
  builder (3.2.2)
@@ -26,18 +26,18 @@ GEM
26
26
  thread_safe (~> 0.3, >= 0.3.1)
27
27
  diff-lcs (1.2.5)
28
28
  docile (1.1.5)
29
- elasticsearch (1.0.17)
30
- elasticsearch-api (= 1.0.17)
31
- elasticsearch-transport (= 1.0.17)
32
- elasticsearch-api (1.0.17)
29
+ elasticsearch (1.0.18)
30
+ elasticsearch-api (= 1.0.18)
31
+ elasticsearch-transport (= 1.0.18)
32
+ elasticsearch-api (1.0.18)
33
33
  multi_json
34
- elasticsearch-transport (1.0.17)
34
+ elasticsearch-transport (1.0.18)
35
35
  faraday
36
36
  multi_json
37
37
  faraday (0.9.2)
38
38
  multipart-post (>= 1.2, < 3)
39
39
  git (1.3.0)
40
- github_api (0.14.0)
40
+ github_api (0.14.1)
41
41
  addressable (~> 2.4.0)
42
42
  descendants_tracker (~> 0.0.4)
43
43
  faraday (~> 0.8, < 0.10)
@@ -98,7 +98,7 @@ GEM
98
98
  binding_of_caller (>= 0.7)
99
99
  pry (>= 0.9.11)
100
100
  rack (1.6.4)
101
- rake (11.1.2)
101
+ rake (11.2.2)
102
102
  rdoc (3.12.2)
103
103
  json (~> 1.4)
104
104
  rspec (2.99.0)
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: elastic-backup-2s3 0.1.3 ruby lib
5
+ # stub: elastic-backup-2s3 0.1.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "elastic-backup-2s3"
9
- s.version = "0.1.3"
9
+ s.version = "0.1.4"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Fred Mitchell"]
14
- s.date = "2016-06-10"
14
+ s.date = "2016-06-24"
15
15
  s.description = "\n I simply want to be able to control the backup and\n restoration of the Elasticsearch cluster to S3\n without any fuss or having to dilly around with\n curl -XPUTS and friends.\n\n So here it is, and we now support Shared Volumes. See\n the docs on the --fs flag.\n\n There are many features I wish to add to this, and\n if you have any suggestions, please feel free to send\n them my way!"
16
16
  s.email = "fred.mitchell@gmx.de"
17
17
  s.executables = ["es-snapshot"]
@@ -15,4 +15,9 @@ require 'active_support/hash_with_indifferent_access'
15
15
  require_relative 'elastic-backup-2s3/snapshot'
16
16
 
17
17
  module ElasticBackup
18
+ S3POSTDOCS = <<-LONGDESC
19
+ S3URL is the full S3 url including the snapshot name, for S3 backups.
20
+ POSTAMBLE is the name of the snapshot you wish to delete, for FS backups.
21
+ LONGDESC
22
+
18
23
  end
@@ -6,10 +6,6 @@ require_relative 'cli/list'
6
6
  module ElasticBackup
7
7
  module Cli
8
8
  class Main < Thor
9
- long_desc <<-LONGDESC
10
- Main long desc
11
- LONGDESC
12
-
13
9
  class_option :verbose, type: :numeric,
14
10
  banner: '[1|2|3]',
15
11
  desc: "Verbosity setting.",
@@ -67,6 +63,8 @@ module ElasticBackup
67
63
  end
68
64
 
69
65
  desc 'restore [[S3URL|POSTAMBLE] ES]', 'Restore indices from S3 or Shared Volume to Elasticsearch. The POSTAMBLE is appended to the Shared Volume path. Simply make it a "." if none.'
66
+ long_desc S3POSTDOCS
67
+
70
68
  def restore s3url, es
71
69
  Snapshot.restore s3url, Snapshot.esurl(suri: es), options
72
70
  end
@@ -2,7 +2,9 @@
2
2
  module ElasticBackup
3
3
  module Cli
4
4
  class Delete < Thor
5
- desc 'snapshot [ES S3URL]', 'Delete a snapshot or kill one in progress.'
5
+ desc 'snapshot [ES S3URL|POSTAMBLE]', 'Delete a snapshot or kill one in progress.'
6
+ long_desc S3POSTDOCS
7
+
6
8
  option :repo, type: :string,
7
9
  aliases: '-r',
8
10
  banner: "[NAME]",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-backup-2s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-10 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semver