forked from aws/aws-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
118 lines (103 loc) · 2.79 KB
/
Gemfile
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# frozen_string_literal: true
source 'https://rubygems.org'
if RUBY_VERSION == '1.9.3'
# rake 12.3.0 drop support for Ruby < 2.0
gem 'rake', '12.2.1', require: false
else
gem 'rake', require: false
end
gem 'jmespath'
if RUBY_VERSION >= '2.1' && !ENV['NO_H2']
# http 2 requires ruby version >= 2.1
# over alpn with tls
# requires ruby version >= 2.3 and openssl >=1.0.2
gem 'http-2'
end
# faster xml libraries
unless ENV['PURE_RUBY']
gem 'nokogiri', '>= 1.6.8.1'
if RUBY_VERSION == '1.9.3'
# oga syntax breaks for 1.9.3 on newer versions
gem 'oga', '2.15'
else
gem 'oga'
end
unless defined?(JRUBY_VERSION)
gem 'libxml-ruby'
if ENV['OLD_OX']
# As ox suggestion
gem 'ox', '~> 2.8.1'
else
gem 'ox'
end
end
end
# faster json libraries
unless ENV['PURE_RUBY']
gem 'json', '1.8.3' if RUBY_VERSION == '1.9.3'
unless defined?(JRUBY_VERSION)
if ENV['OLD_OJ']
gem 'oj', '1.3.0'
else
if RUBY_VERSION == '1.9.3'
# oj drop support for Ruby under 2.0 since 3.3.5
gem 'oj', '<= 3.3.4'
else
gem 'oj'
end
end
end
end
group :test do
if RUBY_VERSION == '1.9.3'
# '3.8.3' fails 1.9.3 test suits
gem 'rspec-expectations', '3.8.2'
# webmock depends on addressable, but the latest version of addressable
# has a dependency on ~> 2.0 of public_suffix which is not compatible
# with Ruby 1.9.3
gem 'addressable', '2.4.0'
# webmock dropped support for Ruby 1.9.3 after version 2.2.0
gem 'webmock', '2.2.0'
# cucumber drop support for Ruby under 2.1 after 3.0.0
gem 'cucumber', '2.99.0'
# hashdiff drop support for Ruby under 2.0 since 0.3.9
gem 'hashdiff', '0.3.8'
# crack added a dependency on rexml in 0.4.5
gem 'crack', '0.4.4'
elsif RUBY_VERSION == '2.0.0'
# public_suffix released 3.0.3 which support ruby >= 2.1
gem 'public_suffix', '2.0.5'
# addressable 2.6.0 relaxed version on public_suffix < 4
gem 'addressable', '2.5.2'
gem 'webmock'
# cucumber drop support for Ruby under 2.2 after 3.0.0
gem 'cucumber', '2.99.0'
# Versions of rexml above 3.2.4 introduce breaking changes for ruby 2.0.0
gem 'rexml', '3.2.4'
elsif RUBY_VERSION < '2.2'
gem 'addressable'
gem 'webmock'
# cucumber drop support for Ruby under 2.2 after 3.0.0
gem 'cucumber', '2.99.0'
else
gem 'addressable'
gem 'webmock'
gem 'cucumber'
end
gem 'multipart-post'
gem 'rspec'
end
group :build do
# using this to fix poorly formatted HTML in API docs
gem 'kramdown', '1.14.0' # pinned to support Ruby 1.9.3
gem 'mustache', '0.99.8' # pinned to support Ruby 1.9.3
end
group :docs do
gem 'rdiscount', platforms: :ruby
gem 'yard', '~> 0'
gem 'yard-sitemap', '~> 1.0'
end
group :repl do
gem 'pry'
gem 'byebug'
end