source 'http://rubygems.org'

group :development do
  gem 'juwelier', '~> 2.0'
  gem 'rspec_junit_formatter'
end

group :test, :development do
  gem 'rake', '>= 10.0'
  gem 'rspec', '~> 3.1'

  unless ENV['NO_ACTIVERECORD']
    gem 'activerecord', '~> 4.1.0'
    gem 'activerecord-oracle_enhanced-adapter', '~> 1.5.0'
    gem 'simplecov', '>= 0'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'ruby-oci8', '~> 2.1'
  end
end

source 'http://rubygems.org'

group :development do
  gem 'juwelier', '~> 2.0'
  gem 'rspec_junit_formatter'
end

group :test, :development do
  gem 'rake', '>= 10.0'
  gem 'rspec', '~> 3.1'

  unless ENV['NO_ACTIVERECORD']
    gem 'activerecord', '~> 4.1.0'
    gem 'activerecord-oracle_enhanced-adapter', '~> 1.5.0'
    gem 'simplecov', '>= 0'
  end

  platforms :ruby, :mswin, :mingw do
    gem 'ruby-oci8', '~> 2.1'

    if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.4.0')
      gem 'json', github: 'flori/json', branch: 'v1.8'
    end
  end
end

Use git branch v1.8 for json gem for ruby >= 2.4 and aciverecord 4.1
Use git branch v1.8 for json gem for ruby >= 2.4 and aciverecord 4.1
