Commit 194ff1a7 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'rs-remove-explicit-elasticsearch-requires' into 'master'

Remove explicit requires from lib/elasticsearch

See merge request !1807
parents 63acb810 195d27fd
...@@ -3,14 +3,24 @@ ...@@ -3,14 +3,24 @@
require 'rubygems' require 'rubygems'
require 'bundler/setup' require 'bundler/setup'
require 'json' require 'json'
require 'active_model'
require 'active_support' require 'active_support'
require 'active_support/core_ext' require 'active_support/core_ext'
require 'benchmark' require 'benchmark'
$: << File.expand_path('../lib', File.dirname(__FILE__)) $: << File.expand_path('../lib', File.dirname(__FILE__))
require 'linguist'
require 'open3'
require 'rugged'
require 'gitlab/elastic/client' require 'gitlab/elastic/client'
require 'elasticsearch/model'
require 'elasticsearch/git' require 'elasticsearch/git'
require 'elasticsearch/git/encoder_helper'
require 'elasticsearch/git/lite_blob'
require 'elasticsearch/git/model'
require 'elasticsearch/git/repository'
Thread.abort_on_exception = true Thread.abort_on_exception = true
......
require "elasticsearch/git/model"
require "elasticsearch/git/repository"
module Elasticsearch module Elasticsearch
module Git module Git
end end
......
require 'active_support/concern'
require 'charlock_holmes'
module Elasticsearch module Elasticsearch
module Git module Git
module EncoderHelper module EncoderHelper
......
require 'linguist'
require 'elasticsearch/git/encoder_helper'
module Elasticsearch module Elasticsearch
module Git module Git
class LiteBlob class LiteBlob
......
require 'active_support/concern'
require 'active_model'
require 'elasticsearch/model'
module Elasticsearch module Elasticsearch
module Git module Git
module Model module Model
......
require 'active_support/concern'
require 'active_model'
require 'elasticsearch'
require 'elasticsearch/git/model'
require 'elasticsearch/git/encoder_helper'
require 'elasticsearch/git/lite_blob'
require 'rugged'
require 'open3'
module Elasticsearch module Elasticsearch
module Git module Git
module Repository module Repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment