source 'https://rubygems.org'

gemspec
if RUBY_VERSION >= '2.3.0'
  gem 'json'
else
  gem 'json', '~> 1.8'
end

if RUBY_VERSION < '2.0.0'
  gem 'rake', '~> 12.2.0'
else
  gem 'rake'
end

group :development, :test do
  gem 'rspec', '~> 3.2'
  gem 'rake-compiler'
  gem 'ruby-prof', :platforms => :mri
  gem 'yard'
  gem 'activesupport'

  if ENV['CI']
    gem 'mime-types', '1.25' # v2.0+ does not support ruby 1.8
  else
    if RUBY_VERSION >= '2.0.0'
      gem 'byebug', platforms: :mri
    end
    gem 'pry', platforms: :jruby
  end
end

group :test do
  gem 'fuubar'
  gem 'rfc'
end
