Auto-require gems in the "docs" bundle

pull/62/head
Thibaut 11 years ago
parent 2c56b4349a
commit c0be178556

@ -1,5 +1,5 @@
require 'bundler/setup'
Bundler.setup :docs
Bundler.require :docs
require 'active_support/core_ext'
I18n.enforce_available_locales = true

@ -1,5 +1,3 @@
require 'html/pipeline'
module Docs
class Filter < ::HTML::Pipeline::Filter
def css(*args)

@ -1,5 +1,3 @@
require 'nokogiri'
module Docs
class Parser
def initialize(content)

@ -1,5 +1,3 @@
require 'typhoeus'
module Docs
class Request < Typhoeus::Request
include Instrumentable

@ -1,5 +1,3 @@
require 'typhoeus'
module Docs
class Requester < Typhoeus::Hydra
attr_reader :request_options

@ -1,5 +1,4 @@
require 'set'
require 'html/pipeline'
module Docs
class Scraper < Doc

@ -1,6 +1,5 @@
require 'test_helper'
require 'docs'
require 'typhoeus'
class DocsResponseTest < MiniTest::Spec
let :response do

Loading…
Cancel
Save