forked from litaio/lita
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lita.gemspec
54 lines (46 loc) · 2.15 KB
/
lita.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "lita/version"
Gem::Specification.new do |spec|
spec.name = "lita"
current_branch = `git branch --show-current`.strip
branch_commit = `git rev-parse HEAD`.strip[0..6]
if current_branch == 'main'
spec.version = Lita::VERSION
else
spec.version = "#{Lita::VERSION}-#{branch_commit}"
end
spec.authors = ["Jimmy Cuadra"]
spec.email = ["jimmy@jimmycuadra.com"]
spec.description = "ChatOps for Ruby."
spec.summary = "ChatOps framework for Ruby. Lita is a robot companion for your chat room."
spec.homepage = "https://github.com/acima-credit/lita"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.0.0"
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = spec.homepage
spec.metadata['allowed_push_host'] = 'https://rubygems.pkg.github.com/acima-credit'
spec.add_runtime_dependency "bundler", "~> 2.3.7"
spec.add_runtime_dependency "faraday", "~> 2.5.2"
spec.add_runtime_dependency "faraday-rack", "~> 2.0.0"
spec.add_runtime_dependency "http_router", "~> 0.11.2"
spec.add_runtime_dependency "i18n", "~> 1.8.10"
spec.add_runtime_dependency "ice_nine", "~> 0.11.2"
spec.add_runtime_dependency "puma", "~> 5.6.4"
spec.add_runtime_dependency "rack", "~> 2.2.3"
spec.add_runtime_dependency "rb-readline", "~> 0.5.5"
spec.add_runtime_dependency "redis-namespace", "~> 1.8.1"
spec.add_runtime_dependency "thor", "~> 1.2.0"
spec.add_development_dependency "pry-byebug", "~> 3.9.0"
spec.add_development_dependency "rack-test", "~> 1.1.0"
spec.add_development_dependency "rake", "~> 13.0.3"
spec.add_development_dependency "rspec", "~> 3.10.0"
spec.add_development_dependency "rubocop", "~> 1.17.0"
spec.add_development_dependency "simplecov", "~> 0.21.2"
end