lib/gh.rb in gh-0.4.2 vs lib/gh.rb in gh-0.5.0

- old
+ new

@@ -4,16 +4,18 @@ module GH autoload :Cache, 'gh/cache' autoload :Case, 'gh/case' autoload :Error, 'gh/error' + autoload :FaradayAdapter, 'gh/faraday_adapter' autoload :Instrumentation, 'gh/instrumentation' autoload :LazyLoader, 'gh/lazy_loader' autoload :LinkFollower, 'gh/link_follower' autoload :MergeCommit, 'gh/merge_commit' autoload :Normalizer, 'gh/normalizer' autoload :Pagination, 'gh/pagination' + autoload :Parallel, 'gh/parallel' autoload :Remote, 'gh/remote' autoload :Response, 'gh/response' autoload :ResponseWrapper, 'gh/response_wrapper' autoload :Stack, 'gh/stack' autoload :Wrapper, 'gh/wrapper' @@ -33,13 +35,14 @@ def self.current=(backend) Thread.current[:GH] = backend end extend SingleForwardable - def_delegators :current, :api_host, :[], :reset, :load, :post, :delete, :patch, :put + def_delegators :current, :api_host, :[], :reset, :load, :post, :delete, :patch, :put, :in_parallel, :in_parallel? DefaultStack = Stack.new do use Instrumentation + use Parallel use Pagination use LinkFollower use MergeCommit use LazyLoader use Cache