couchdb_rebuild_view_indices 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +11 -0
- data/.ruby-version +1 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +2 -0
- data/bin/console +15 -0
- data/bin/rebuild-view-indices +64 -0
- data/bin/setup +8 -0
- data/certs/kuleszaj.pem +22 -0
- data/couchdb_rebuild_view_indices.gemspec +34 -0
- data/lib/couchdb_rebuild_view_indices.rb +89 -0
- data/lib/couchdb_rebuild_view_indices/version.rb +4 -0
- metadata +137 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9c3c9d19b84c77d07c60d136cbf756efee30210e
|
4
|
+
data.tar.gz: fabe310e670c87cbf6149316a6629ff03bf0a77e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c3a18028a9ecb0e5c90d96d744df62adf8fbb2779b18a87fe07c2cc5558bc3d6e708284e6e3845bc8734fdef29dc4ece2cb537e55141fca5e781193a23131119
|
7
|
+
data.tar.gz: aa870cf195381cfb33862bfd5cb97146845f1ac1e8faab63cec95e16926ee3063bdc8d770b00da25dbf32f4751b17d5412369aa650683fbb1fd352130bf5883e
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/.gitignore
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.3
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Justin Kulesza
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Couchdb Rebuild View Indices
|
2
|
+
|
3
|
+
This is a simple utilize to initiate the rebuild of indices associated with the views of CouchDB design documents. This is particularly useful after migrating a CouchDB via a restore from a dumped file.
|
4
|
+
|
5
|
+
Generally, CouchDB updates the indices of views for design documents when accessed. However, if an entire CouchDB with much data has just been restored, it is difficult to ensure that all indexes are updated prior to running a live system against the new CouchDB.
|
6
|
+
|
7
|
+
This utility enumerates and accesses all views for all design documents, which causes CouchDB to initiate a rebuild of all indices.
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'couchdb_rebuild_view_indices'
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install couchdb_rebuild_view_indices
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
```
|
28
|
+
bin/rebuild-view-indices
|
29
|
+
|
30
|
+
Usage: rebuild-view-indices [options]
|
31
|
+
-u, --username [USERNAME] Username for basic auth. (e.g. 'admin')
|
32
|
+
-p, --password [PASSWORD] Password for basic auth. (e.g. 'secret')
|
33
|
+
-H, --host [HOST] CouchDB Host. (e.g. '192.168.0.1')
|
34
|
+
-P, --port [PORT] CouchDB Port. (default: 5984)
|
35
|
+
--protocol [PROTOCOL] Protocol for HTTP requests. (default: http)
|
36
|
+
-h, --help Show this message.
|
37
|
+
-R, --retries [RETRIES] Number of times to retry a request before timing out. (default: 10)
|
38
|
+
-d, --database DATABASE CouchDB database. (e.g. 'default')
|
39
|
+
-v, --verbose Turn on debug logging.
|
40
|
+
```
|
41
|
+
|
42
|
+
## Development
|
43
|
+
|
44
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
45
|
+
|
46
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
47
|
+
|
48
|
+
## Contributing
|
49
|
+
|
50
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kuleszaj/couchdb_rebuild_view_indices.
|
51
|
+
|
52
|
+
## License
|
53
|
+
|
54
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). See [LICENSE.txt](LICENSE.txt).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'couchdb_rebuild_view_indices'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start
|
@@ -0,0 +1,64 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'optparse'
|
5
|
+
require 'couchdb_rebuild_view_indices'
|
6
|
+
|
7
|
+
options = {}
|
8
|
+
|
9
|
+
OptionParser.new do |opts|
|
10
|
+
opts.banner = 'Usage: rebuild-view-indices [options]'
|
11
|
+
|
12
|
+
opts.on('-u', '--username [USERNAME]', \
|
13
|
+
"Username for basic auth. (e.g. 'admin')") do |u|
|
14
|
+
options[:username] = u
|
15
|
+
end
|
16
|
+
|
17
|
+
opts.on('-p', '--password [PASSWORD]', \
|
18
|
+
"Password for basic auth. (e.g. 'secret')") do |p|
|
19
|
+
options[:password] = p
|
20
|
+
end
|
21
|
+
|
22
|
+
opts.on('-H', '--host [HOST]', \
|
23
|
+
"CouchDB Host. (e.g. '192.168.0.1')") do |h|
|
24
|
+
options[:host] = h
|
25
|
+
end
|
26
|
+
|
27
|
+
opts.on('-P', '--port [PORT]', \
|
28
|
+
'CouchDB Port. (default: 5984)') do |p|
|
29
|
+
options[:port] = p
|
30
|
+
end
|
31
|
+
|
32
|
+
opts.on('--protocol [PROTOCOL]', \
|
33
|
+
'Protocol for HTTP requests. (default: http)') do |p|
|
34
|
+
options[:protocol] = p
|
35
|
+
end
|
36
|
+
|
37
|
+
opts.on('-h', '--help', 'Show this message.') do
|
38
|
+
puts opts
|
39
|
+
exit
|
40
|
+
end
|
41
|
+
|
42
|
+
opts.on('-R', '--retries [RETRIES]', \
|
43
|
+
'Number of times to retry a request ' \
|
44
|
+
'before timing out. (default: 10)') do |r|
|
45
|
+
options[:retries] = r
|
46
|
+
end
|
47
|
+
|
48
|
+
opts.on('-d', '--database DATABASE', \
|
49
|
+
"CouchDB database. (e.g. 'default')") do |d|
|
50
|
+
options[:database] = d
|
51
|
+
end
|
52
|
+
|
53
|
+
opts.on('-v', '--verbose', \
|
54
|
+
"Turn on debug logging.") do |v|
|
55
|
+
options[:log_level] = Logger::DEBUG
|
56
|
+
end
|
57
|
+
|
58
|
+
if ARGV.empty?
|
59
|
+
puts opts
|
60
|
+
exit
|
61
|
+
end
|
62
|
+
end.parse!
|
63
|
+
|
64
|
+
CouchdbRebuildViewIndices::Indexer.new(options).run!
|
data/bin/setup
ADDED
data/certs/kuleszaj.pem
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBRMQ8wDQYDVQQDDAZqdXN0
|
3
|
+
aW4xEzARBgoJkiaJk/IsZAEZFgNrdWwxFDASBgoJkiaJk/IsZAEZFgRlc3phMRMw
|
4
|
+
EQYKCZImiZPyLGQBGRYDb3JnMB4XDTE3MDExNTE1MzYwNloXDTE4MDExNTE1MzYw
|
5
|
+
NlowUTEPMA0GA1UEAwwGanVzdGluMRMwEQYKCZImiZPyLGQBGRYDa3VsMRQwEgYK
|
6
|
+
CZImiZPyLGQBGRYEZXN6YTETMBEGCgmSJomT8ixkARkWA29yZzCCASIwDQYJKoZI
|
7
|
+
hvcNAQEBBQADggEPADCCAQoCggEBAMMPoWdgN2VPdt4GlszzSmQhJLA3qGzNqhAm
|
8
|
+
DgZ4UE+oUqEjzLggRt7GRDAqo2kIpoAOfKwWvkUtZTzPlmCD9pIi6IcY/h1XjDgG
|
9
|
+
PbEbQFPIYwNe2oQRTkasBLUodRPi2/SvJgc/oaIICjf+W3ldOk9etqCAnJpNdWQ5
|
10
|
+
xNUuzRPR4SRpllHR9pn7A3bXr1kJWDgtwJuR+nQbBwxkb9DXK9ojMfPXYVQtpRDt
|
11
|
+
tflVsOdr2rYtmBCMdLFdnx3AGuHzTRa+m1/LFrDWbZGVBWmtuNVuwnGBA7jzFgnp
|
12
|
+
qxrzehdkraULIdtVbByx+SHE8QzI1rHtWtS55Nf7qWgROeP9RdMCAwEAAaN5MHcw
|
13
|
+
CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFKl1NM+wk8cJugW4phfc
|
14
|
+
qxjiS3JtMB4GA1UdEQQXMBWBE2p1c3RpbkBrdWwuZXN6YS5vcmcwHgYDVR0SBBcw
|
15
|
+
FYETanVzdGluQGt1bC5lc3phLm9yZzANBgkqhkiG9w0BAQUFAAOCAQEAl+i/1WvS
|
16
|
+
j/WCqO/FBh9JLw9k/vVQkBo+RmRo2otGPLPV4mtdJeVGOmGWNvM65tb+b1H/5MaC
|
17
|
+
tDG4mTJDw6Gn0H7cUgksUOGMDn7L1dZ7q/o4e50MGwkA6fEKMy51bZyR+AacUEEJ
|
18
|
+
Qx+pjBsNxHISAoUdGyMTVbMb7OLGUWeAnsxI26I0mW96xdvzy9mIOkQuEG/MeHTk
|
19
|
+
sC+ikfyYkGZt1Q1B0oqiOIoy4HtmX8iEOf1kWLJse+NOcgoLIawALaaCzCOQvE6a
|
20
|
+
s0YPoqenoiIPZrSgLyugysS2vHx1VJ5sdKLvuF15kAYFgMhkrgPiF7cR6xUcexVz
|
21
|
+
HQ9Ni70Ad8rXaQ==
|
22
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'couchdb_rebuild_view_indices/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'couchdb_rebuild_view_indices'
|
9
|
+
spec.version = CouchdbRebuildViewIndices::VERSION
|
10
|
+
spec.authors = ['Justin Kulesza']
|
11
|
+
spec.email = ['justin.kulesza@atomicobject.com']
|
12
|
+
|
13
|
+
spec.summary = 'Simple utility to initiate the rebuild of indices '
|
14
|
+
'assocated with views in CouchDB design documents.'
|
15
|
+
spec.description = 'Simple utility to initiate the rebuild of indices '
|
16
|
+
'assocated with views in CouchDB design documents.'
|
17
|
+
|
18
|
+
spec.homepage = 'https://github.com/kuleszaj/couchdb_rebuild_view_indices'
|
19
|
+
spec.license = 'MIT'
|
20
|
+
|
21
|
+
spec.files = `git ls-files -z`.split("\x0").reject \
|
22
|
+
{ |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
+
spec.bindir = 'bin'
|
24
|
+
spec.executables = spec.files.grep(%r{rebuild-view-indices}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.cert_chain = ['certs/kuleszaj.pem']
|
28
|
+
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/
|
29
|
+
|
30
|
+
spec.add_development_dependency 'bundler', '~> 1.11'
|
31
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
32
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
33
|
+
spec.add_development_dependency 'rubocop', '~> 0.43.0'
|
34
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'couchdb_rebuild_view_indices/version'
|
3
|
+
require 'net/http'
|
4
|
+
require 'json'
|
5
|
+
require 'logger'
|
6
|
+
|
7
|
+
module CouchdbRebuildViewIndices
|
8
|
+
# Class for describing an indexer of CouchDB design documents.
|
9
|
+
class Indexer
|
10
|
+
|
11
|
+
attr_writer :options
|
12
|
+
|
13
|
+
@@default_options = {
|
14
|
+
host: '127.0.0.1',
|
15
|
+
retries: 10,
|
16
|
+
port: 5984,
|
17
|
+
protocol: 'http',
|
18
|
+
log_level: Logger::INFO
|
19
|
+
}
|
20
|
+
|
21
|
+
def initialize(options)
|
22
|
+
@options = @@default_options.merge!(options)
|
23
|
+
@logger = Logger.new(STDOUT)
|
24
|
+
@logger.level = @options[:log_level]
|
25
|
+
@logger.debug 'Running with options:'
|
26
|
+
@logger.debug @options
|
27
|
+
end
|
28
|
+
|
29
|
+
def run!
|
30
|
+
docs = get_design_docs(design_docs_uri)
|
31
|
+
docs.each do |doc|
|
32
|
+
next unless doc['doc'].key?('views')
|
33
|
+
iterate_on_views(doc['id'], doc['doc']['views'])
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def iterate_on_views(document_id, views)
|
40
|
+
views.each do |view|
|
41
|
+
@logger.info "Requesting view: #{document_id}/_view/#{view[0]}"
|
42
|
+
res = make_request_with_retries(
|
43
|
+
view_uri(document_id, view[0]),
|
44
|
+
@options[:retries]
|
45
|
+
)
|
46
|
+
@logger.info 'OK!' if res.code == '200'
|
47
|
+
@logger.info 'Error!' if res.code != '200'
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def get_design_docs(uri)
|
52
|
+
JSON.parse(make_request_with_retries(uri).body)['rows']
|
53
|
+
end
|
54
|
+
|
55
|
+
def design_docs_uri
|
56
|
+
URI::HTTP.build(
|
57
|
+
scheme: @options[:protocol],
|
58
|
+
host: @options[:host],
|
59
|
+
port: @options[:port],
|
60
|
+
path: "/#{@options[:database]}/_all_docs",
|
61
|
+
query: 'startkey=%22_design/%22&endkey=%22_design0%22&include_docs=true'
|
62
|
+
)
|
63
|
+
end
|
64
|
+
|
65
|
+
def view_uri(document_id, view)
|
66
|
+
URI::HTTP.build(
|
67
|
+
scheme: @options[:protocol],
|
68
|
+
host: @options[:host],
|
69
|
+
port: @options[:port],
|
70
|
+
path: "/#{@options[:database]}/#{document_id}/_view/#{view}"
|
71
|
+
)
|
72
|
+
end
|
73
|
+
|
74
|
+
def make_request_with_retries(uri, retries = 1)
|
75
|
+
raise Net::ReadTimeout if retries.negative?
|
76
|
+
req = Net::HTTP::Get.new(uri)
|
77
|
+
|
78
|
+
if @options[:username] && @options[:password]
|
79
|
+
req.basic_auth @options[:username], @options[:password]
|
80
|
+
end
|
81
|
+
|
82
|
+
begin
|
83
|
+
Net::HTTP.start(uri.hostname, uri.port) { |http| http.request(req) }
|
84
|
+
rescue Net::ReadTimeout
|
85
|
+
make_request_with_retries(url, retries - 1)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: couchdb_rebuild_view_indices
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Justin Kulesza
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBRMQ8wDQYDVQQDDAZqdXN0
|
14
|
+
aW4xEzARBgoJkiaJk/IsZAEZFgNrdWwxFDASBgoJkiaJk/IsZAEZFgRlc3phMRMw
|
15
|
+
EQYKCZImiZPyLGQBGRYDb3JnMB4XDTE3MDExNTE1MzYwNloXDTE4MDExNTE1MzYw
|
16
|
+
NlowUTEPMA0GA1UEAwwGanVzdGluMRMwEQYKCZImiZPyLGQBGRYDa3VsMRQwEgYK
|
17
|
+
CZImiZPyLGQBGRYEZXN6YTETMBEGCgmSJomT8ixkARkWA29yZzCCASIwDQYJKoZI
|
18
|
+
hvcNAQEBBQADggEPADCCAQoCggEBAMMPoWdgN2VPdt4GlszzSmQhJLA3qGzNqhAm
|
19
|
+
DgZ4UE+oUqEjzLggRt7GRDAqo2kIpoAOfKwWvkUtZTzPlmCD9pIi6IcY/h1XjDgG
|
20
|
+
PbEbQFPIYwNe2oQRTkasBLUodRPi2/SvJgc/oaIICjf+W3ldOk9etqCAnJpNdWQ5
|
21
|
+
xNUuzRPR4SRpllHR9pn7A3bXr1kJWDgtwJuR+nQbBwxkb9DXK9ojMfPXYVQtpRDt
|
22
|
+
tflVsOdr2rYtmBCMdLFdnx3AGuHzTRa+m1/LFrDWbZGVBWmtuNVuwnGBA7jzFgnp
|
23
|
+
qxrzehdkraULIdtVbByx+SHE8QzI1rHtWtS55Nf7qWgROeP9RdMCAwEAAaN5MHcw
|
24
|
+
CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFKl1NM+wk8cJugW4phfc
|
25
|
+
qxjiS3JtMB4GA1UdEQQXMBWBE2p1c3RpbkBrdWwuZXN6YS5vcmcwHgYDVR0SBBcw
|
26
|
+
FYETanVzdGluQGt1bC5lc3phLm9yZzANBgkqhkiG9w0BAQUFAAOCAQEAl+i/1WvS
|
27
|
+
j/WCqO/FBh9JLw9k/vVQkBo+RmRo2otGPLPV4mtdJeVGOmGWNvM65tb+b1H/5MaC
|
28
|
+
tDG4mTJDw6Gn0H7cUgksUOGMDn7L1dZ7q/o4e50MGwkA6fEKMy51bZyR+AacUEEJ
|
29
|
+
Qx+pjBsNxHISAoUdGyMTVbMb7OLGUWeAnsxI26I0mW96xdvzy9mIOkQuEG/MeHTk
|
30
|
+
sC+ikfyYkGZt1Q1B0oqiOIoy4HtmX8iEOf1kWLJse+NOcgoLIawALaaCzCOQvE6a
|
31
|
+
s0YPoqenoiIPZrSgLyugysS2vHx1VJ5sdKLvuF15kAYFgMhkrgPiF7cR6xUcexVz
|
32
|
+
HQ9Ni70Ad8rXaQ==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2017-01-15 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: bundler
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1.11'
|
43
|
+
type: :development
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.11'
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rake
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '10.0'
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '10.0'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rspec
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '3.0'
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '3.0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rubocop
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 0.43.0
|
85
|
+
type: :development
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 0.43.0
|
92
|
+
description: 'Simple utility to initiate the rebuild of indices '
|
93
|
+
email:
|
94
|
+
- justin.kulesza@atomicobject.com
|
95
|
+
executables:
|
96
|
+
- rebuild-view-indices
|
97
|
+
extensions: []
|
98
|
+
extra_rdoc_files: []
|
99
|
+
files:
|
100
|
+
- ".gitignore"
|
101
|
+
- ".ruby-version"
|
102
|
+
- Gemfile
|
103
|
+
- LICENSE.txt
|
104
|
+
- README.md
|
105
|
+
- Rakefile
|
106
|
+
- bin/console
|
107
|
+
- bin/rebuild-view-indices
|
108
|
+
- bin/setup
|
109
|
+
- certs/kuleszaj.pem
|
110
|
+
- couchdb_rebuild_view_indices.gemspec
|
111
|
+
- lib/couchdb_rebuild_view_indices.rb
|
112
|
+
- lib/couchdb_rebuild_view_indices/version.rb
|
113
|
+
homepage: https://github.com/kuleszaj/couchdb_rebuild_view_indices
|
114
|
+
licenses:
|
115
|
+
- MIT
|
116
|
+
metadata: {}
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
requirements: []
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 2.5.2
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Simple utility to initiate the rebuild of indices
|
137
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|