-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathGemfile
More file actions
29 lines (23 loc) · 1014 Bytes
/
Gemfile
File metadata and controls
29 lines (23 loc) · 1014 Bytes
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
source 'https://rubygems.org'
# Specify your gem's dependencies in fluent-plugin-chatwork.gemspec
gemspec
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.6.0")
# faraday v2.0.0+ requires Ruby 2.6.0+
gem "faraday", "< 2.0.0"
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.3.0")
# multipart-post uses `Object.deprecate_constant`, but this available since Ruby 2.3.0+
# https://github.com/socketry/multipart-post/blob/v2.2.0/lib/multipart/post/parts.rb#L152
gem "multipart-post", "< 2.2.0"
# serverengine uses `&.`, but this available since Ruby 2.3.0+
# https://github.com/treasure-data/serverengine/blob/v2.3.0/lib/serverengine/server.rb#L83
gem "serverengine", "< 2.3.0"
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.7.0")
# term-ansicolor 1.9.0+ doesn't work on Ruby < 2.7
gem "term-ansicolor", "< 1.9.0"
end
if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create("4.0.0")
# rdoc is bundled gem since ruby 4.0
gem "rdoc"
end