forked from aws/aws-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
98 lines (84 loc) · 2.39 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
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'
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'
# oj drop support for Ruby under 2.0 since 3.3.5
gem 'oj', '<= 3.3.4'
# cucumber drop support for Ruby under 2.1 after 3.0.0
gem 'cucumber', '3.0.0'
# hashdiff drop support for Ruby under 2.0 since 0.3.9
gem 'hashdiff', '0.3.8'
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', '3.0.0'
elsif RUBY_VERSION < '2.2'
gem 'addressable'
gem 'webmock'
# cucumber drop support for Ruby under 2.2 after 3.0.0
gem 'cucumber', '3.0.0'
else
gem 'addressable'
gem 'webmock'
gem 'cucumber'
end
gem 'rspec'
gem 'json-schema'
gem 'multipart-post'
# faster xml libraries
gem 'libxml-ruby' unless ENV['PURE_RUBY']
gem 'nokogiri', '1.6.8.1' unless ENV['PURE_RUBY']
gem 'oga'
# faster json libraries
if !ENV['PURE_RUBY']
gem 'json', '1.8.3' if RUBY_VERSION == '1.9.3'
if ENV['OLD_OJ']
gem 'oj', '1.3.0'
else
gem 'oj' unless RUBY_VERSION == '1.9.3'
end
if ENV['OLD_OX']
# As ox suggestion
gem 'ox', '~> 2.8.1'
else
gem 'ox'
end
end
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
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 'yard', '~> 0.9.11'
gem 'yard-sitemap', '~> 1.0'
gem 'rdiscount'
end
group :repl do
gem 'pry'
end