-
Notifications
You must be signed in to change notification settings - Fork 130
/
Copy pathline-bot-api.gemspec
31 lines (24 loc) · 1.16 KB
/
line-bot-api.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
version = File.read("#{__dir__}/lib/line/bot/version.rb").match(/VERSION *= *['"]([^'"]+)/)[1] or raise
raise "Invalid version format <#{version}>" unless version.match?(/\A\d+\.\d+\.\d+(?:[+-][\w.-]+)?\z/)
Gem::Specification.new do |spec|
spec.name = "line-bot-api"
spec.version = version
spec.authors = ["LINE Corporation"]
spec.summary = "SDK of the LINE Messaging API for Ruby"
spec.description = "SDK of the LINE Messaging API for Ruby"
spec.homepage = "https://github.com/line/line-bot-sdk-ruby"
spec.license = "Apache-2.0"
spec.files = %w(CONTRIBUTING.md LICENSE README.md line-bot-api.gemspec) + Dir['lib/**/*.rb'] + Dir['sig/**/*.rbs']
spec.require_paths = ["lib"]
spec.metadata = {
"bug_tracker_uri" => "#{spec.homepage}/issues",
"changelog_uri" => "#{spec.homepage}/releases",
"documentation_uri" => "https://rubydoc.info/gems/#{spec.name}/#{spec.version}",
"homepage_uri" => spec.homepage,
"source_code_uri" => spec.homepage,
}
spec.required_ruby_version = '>= 3.2.0'
spec.add_runtime_dependency "multipart-post", "~> 2.4"
# gems that aren't default gems as of Ruby 3.4
spec.add_runtime_dependency "base64", "~> 0.2"
end