-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathesse.gemspec
56 lines (50 loc) · 2.67 KB
/
esse.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# frozen_string_literal: true
require_relative 'lib/esse/version'
# rubocop:disable Metrics/BlockLength
Gem::Specification.new do |spec|
spec.name = 'esse'
spec.version = Esse::VERSION
spec.authors = ['Marcos G. Zimmermann']
spec.email = ['[email protected]']
spec.summary = %(Pure Ruby and framework-agnostic ElasticSearch/OpenSearch toolkit for building indexers and searchers)
spec.description = 'With all elegance of Ruby and ElasticSearch flexibility this gem brings to you the best of both ' \
'worlds. Provides a solid architecture allowing to easily Extract, Transform, Enrich and Load ' \
'data from any data source into ElasticSearch/OpenSearch and also to search it. It is framework-agnostic, ' \
'which means you can use it with any Ruby framework or even without any framework at all.'
spec.homepage = 'https://github.com/marcosgz/esse'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/marcosgz/esse'
spec.metadata['changelog_uri'] = 'https://github.com/marcosgz/esse/blob/master/CHANGELOG.md'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
# spec.files = Dir.chdir(File.expand_path(__dir__)) do
# `git ls-files -z`.split("\x0").reject do |f|
# f.match(%r{^(test|spec|features|ci|bin)/})
# end
# end
# >> @TODO Remove this.. I'm just using while developing the CLI with uncommited changes
gitignore = File.read('.gitignore').split("\n").map { |f| File.expand_path(f, __FILE__) }
spec.files = Dir.glob('{lib,exec}/**/*', File::FNM_DOTMATCH).reject do |f|
File.directory?(f) || gitignore.include?(f)
end
# <<<<
spec.bindir = 'exec'
spec.executables = spec.files.grep(%r{^exec/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'multi_json'
spec.add_dependency 'thor', '>= 0.19'
spec.add_development_dependency 'awesome_print'
spec.add_development_dependency 'dotenv'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'webmock', '~> 3.14'
spec.add_development_dependency 'yard', '~> 0.9.20'
spec.add_development_dependency 'standard', '~> 1.3'
spec.add_development_dependency 'rubocop', '~> 1.20'
spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.5'
spec.add_development_dependency 'rubocop-rspec', '~> 2.4'
end
# rubocop:enable Metrics/BlockLength