-
Notifications
You must be signed in to change notification settings - Fork 0
/
values_at_nested.gemspec
34 lines (28 loc) · 1.25 KB
/
values_at_nested.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "date"
require "values_at_nested/version"
Gem::Specification.new do |spec|
spec.name = "values_at_nested"
spec.version = ValuesAtNested::VERSION
spec.date = Date.today.to_s
spec.authors = ["Abdullah Barrak"]
spec.email = ["abdullah@abarrak.com"]
spec.required_ruby_version = '>= 2.5'
spec.summary = "An extended version of ruby's `#values_at` hash method."
spec.description = "values_at_nested values extraction of given hash keys at various depth."
spec.homepage = "https://github.com/abarrak/values_at_nested"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 2.2"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "simplecov", "~> 0.21.0"
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0"
end