elastic-backup-2s3 0.1.4 → 0.1.5

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: f96d46aad6e5d40d4e9c59c43613a97ea5444d76
4
- data.tar.gz: f5ebde4f5cb4fdbfc200eb0bc66dfde09c6f4f7c
3
+ metadata.gz: 3d38383ae25098fd4f1158500d89f90b585bdfe1
4
+ data.tar.gz: b87161f4e9b378259dc6eb648b16e1fecc0046da
5
5
  SHA512:
6
- metadata.gz: 4f9f0b50637e88ba34cf82b7c75e1bb6315037bd9cd712902cad507ab62d3ccef9919b5ec094f36dc5b9a87269297bb860a3937619066328c6f0dbc544a274bc
7
- data.tar.gz: 4a3a4e425c1ecbc910ebe319b68b3ed06c4f685fc44cfe3cd1fae0b709f44d6cab718f4d6c544b9d5ebc9a48ce88992d159743147131a10d64f468161f86b339
6
+ metadata.gz: b586275827b3433ff3683a97e36962daa3e7268f23533db4df548d8ecd4f2b0f0bc3b58129e47fc4cb0b37d9c032788e3bc8e72762da279a9efed6101cedc2b5
7
+ data.tar.gz: f113701d75a0e159b28738d87c1ae3c43f3e65d9d035f2a8ed63da4f993d0663c4134dd93157ff5f9ad477b5cf3deeb06895d08878120ab0f4caf463ff548e5e
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 4
4
+ :patch: 5
5
5
  :special: ''
data/Gemfile.lock CHANGED
@@ -9,18 +9,18 @@ GEM
9
9
  tzinfo (~> 1.1)
10
10
  addressable (2.4.0)
11
11
  awesome_print (1.7.0)
12
- aws-sdk (2.3.16)
13
- aws-sdk-resources (= 2.3.16)
14
- aws-sdk-core (2.3.16)
12
+ aws-sdk (2.3.21)
13
+ aws-sdk-resources (= 2.3.21)
14
+ aws-sdk-core (2.3.21)
15
15
  jmespath (~> 1.0)
16
- aws-sdk-resources (2.3.16)
17
- aws-sdk-core (= 2.3.16)
16
+ aws-sdk-resources (2.3.21)
17
+ aws-sdk-core (= 2.3.21)
18
18
  binding_of_caller (0.7.2)
19
19
  debug_inspector (>= 0.0.1)
20
20
  builder (3.2.2)
21
21
  byebug (9.0.5)
22
22
  coderay (1.1.1)
23
- colorize (0.7.7)
23
+ colorize (0.8.1)
24
24
  debug_inspector (0.0.2)
25
25
  descendants_tracker (0.0.4)
26
26
  thread_safe (~> 0.3, >= 0.3.1)
@@ -37,20 +37,18 @@ GEM
37
37
  faraday (0.9.2)
38
38
  multipart-post (>= 1.2, < 3)
39
39
  git (1.3.0)
40
- github_api (0.14.1)
40
+ github_api (0.14.3)
41
41
  addressable (~> 2.4.0)
42
42
  descendants_tracker (~> 0.0.4)
43
43
  faraday (~> 0.8, < 0.10)
44
44
  hashie (>= 3.4)
45
- oauth2
45
+ oauth2 (~> 1.0.0)
46
46
  hashie (3.4.4)
47
47
  highline (1.7.8)
48
48
  i18n (0.7.0)
49
49
  interception (0.5)
50
- jmespath (1.2.4)
51
- json_pure (>= 1.8.1)
50
+ jmespath (1.3.0)
52
51
  json (1.8.3)
53
- json_pure (1.8.3)
54
52
  juwelier (2.1.2)
55
53
  builder
56
54
  bundler (>= 1.0)
@@ -61,7 +59,7 @@ GEM
61
59
  rake
62
60
  rdoc
63
61
  semver
64
- jwt (1.5.1)
62
+ jwt (1.5.4)
65
63
  method_source (0.8.2)
66
64
  mini_portile2 (2.1.0)
67
65
  minitest (5.9.0)
@@ -71,21 +69,21 @@ GEM
71
69
  nokogiri (1.6.8)
72
70
  mini_portile2 (~> 2.1.0)
73
71
  pkg-config (~> 1.1.7)
74
- oauth2 (1.1.0)
72
+ oauth2 (1.0.0)
75
73
  faraday (>= 0.8, < 0.10)
76
- jwt (~> 1.0, < 1.5.2)
74
+ jwt (~> 1.0)
77
75
  multi_json (~> 1.3)
78
76
  multi_xml (~> 0.5)
79
- rack (>= 1.2, < 3)
77
+ rack (~> 1.2)
80
78
  pkg-config (1.1.7)
81
- pry (0.10.3)
79
+ pry (0.10.4)
82
80
  coderay (~> 1.1.0)
83
81
  method_source (~> 0.8.1)
84
82
  slop (~> 3.4)
85
83
  pry-byebug (3.4.0)
86
84
  byebug (~> 9.0)
87
85
  pry (~> 0.10)
88
- pry-doc (0.8.0)
86
+ pry-doc (0.9.0)
89
87
  pry (~> 0.9)
90
88
  yard (~> 0.8)
91
89
  pry-remote (0.1.8)
@@ -110,9 +108,9 @@ GEM
110
108
  diff-lcs (>= 1.1.3, < 2.0)
111
109
  rspec-mocks (2.99.4)
112
110
  semver (1.0.1)
113
- simplecov (0.11.2)
111
+ simplecov (0.12.0)
114
112
  docile (~> 1.1.0)
115
- json (~> 1.8)
113
+ json (>= 1.8, < 3)
116
114
  simplecov-html (~> 0.10.0)
117
115
  simplecov-html (0.10.0)
118
116
  slop (3.6.0)
@@ -121,7 +119,7 @@ GEM
121
119
  thread_safe (0.3.5)
122
120
  tzinfo (1.2.2)
123
121
  thread_safe (~> 0.1)
124
- yard (0.8.7.6)
122
+ yard (0.9.0)
125
123
 
126
124
  PLATFORMS
127
125
  ruby
data/README.org CHANGED
@@ -125,6 +125,7 @@
125
125
  ** Release Notes
126
126
  | Date | Version | Description |
127
127
  |------------+---------+-------------------------------------------------------------------------|
128
+ | 2016-07-12 | v0.1.5 | Fixed single index restore bug. |
128
129
  | 2016-06-10 | v0.1.3 | Added a new --nv flag to switch off shared FS verification. |
129
130
  | 2016-05-02 | v0.1.2 | Fixed a couple of minor issues with the restore from shared volume. |
130
131
  | 2016-04-22 | v0.1.0 | Support for FS volume backups added |
@@ -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.4 ruby lib
5
+ # stub: elastic-backup-2s3 0.1.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "elastic-backup-2s3"
9
- s.version = "0.1.4"
9
+ s.version = "0.1.5"
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-24"
14
+ s.date = "2016-07-12"
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"]
@@ -113,8 +113,9 @@ module ElasticBackup
113
113
  repository: opt[:repo],
114
114
  snapshot: snapname,
115
115
  wait_for_completion: opt[:wait],
116
- master_timeout: opt[:timeout]
117
- }
116
+ master_timeout: opt[:timeout],
117
+ body: {}}
118
+ cmd[:body][:indices] = opt[:indices].join(',') unless opt[:indices].nil?
118
119
  ap cmd if opt[:dryrun] || (opt[:verbose] >= 2)
119
120
  unless opt[:dryrun]
120
121
  ret = MultiJson.load elastic.snapshot.restore(cmd)
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.4
4
+ version: 0.1.5
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-24 00:00:00.000000000 Z
11
+ date: 2016-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semver