forked from CGA1123/slack-ruby-block-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslack_block_kit.gemspec
More file actions
37 lines (32 loc) · 1.23 KB
/
slack_block_kit.gemspec
File metadata and controls
37 lines (32 loc) · 1.23 KB
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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'slack_block_kit'
Gem::Specification.new do |spec|
spec.name = 'slack_block_kit'
spec.version = Slack::BlockKit::VERSION
spec.authors = ['Christian Gregg']
spec.email = ['c_arlt@hotmail.com']
spec.summary = "A ruby wrapper for Slack's Block Kit"
spec.homepage = 'https://github.com/CGA1123/slack_block_kit-ruby'
spec.license = 'MIT'
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
end
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.5'
spec.add_development_dependency 'bundler', '< 2.0'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-rspec'
end