Sha256: 53a638487864064de69ba686fbc9cfd898ff4eac0c6a6280a5b549f2fea350f2
Contents?: true
Size: 863 Bytes
Versions: 10
Compression:
Stored size: 863 Bytes
Contents
suite_condition("Curb is not useful on JRuby") do RUBY_PLATFORM != 'java' end # There appears to be a bug in later curbs (> 0.8.6) that manifests in hangs of # this suite when run on Ruby 1.8.7 or REE, so don't run against that version # on those Rubies. curb_version_spec = RUBY_VERSION == "1.8.7" ? '0.8.5' : '~>0.8.8' gemfile <<-RB gem 'curb', '#{curb_version_spec}' gem 'rack' gem 'json', :platforms => [:rbx, :mri_18] # We try translating URIs through Addressable if it's there, so test with it. gem 'addressable', :require => 'addressable/uri' RB gemfile <<-RB gem 'curb', '#{curb_version_spec}' gem 'rack' gem 'json', :platforms => [:rbx, :mri_18] RB # Older curb's than 0.8.6 don't build against Ruby 2.2.0 if RUBY_VERSION < "2.2.0" gemfile <<-RB gem 'curb', '0.8.1' gem 'rack' gem 'json', :platforms => [:rbx, :mri_18] RB end
Version data entries
10 entries across 10 versions & 2 rubygems