From 34711df25d0f842965157851d90045fb55c15ea6 Mon Sep 17 00:00:00 2001 From: Julian Nadeau Date: Wed, 24 Apr 2019 15:19:32 -0400 Subject: [PATCH] Fix require issue, bump version --- Gemfile.lock | 4 ++-- lib/extended_bundler/backports.rb | 5 ++--- lib/extended_bundler/errors/version.rb | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 46ee46d..6dbbdbe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - extended_bundler-errors (0.3.1) + extended_bundler-errors (0.3.2) GEM remote: https://rubygems.org/ @@ -23,4 +23,4 @@ DEPENDENCIES rake (~> 10.0) BUNDLED WITH - 1.16.2 + 1.17.2 diff --git a/lib/extended_bundler/backports.rb b/lib/extended_bundler/backports.rb index 65e72ec..a61280e 100644 --- a/lib/extended_bundler/backports.rb +++ b/lib/extended_bundler/backports.rb @@ -1,10 +1,9 @@ require 'bundler/version' +# We need to make sure ParallelInstaller is defined before we can patch it +require 'bundler/installer/parallel_installer' # In Bundler <= 1.17, we do not have the `after-install` hook, so monkey patch Bundler to include it if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.17') - # We need to make sure ParallelInstaller is defined before we can patch it - require 'bundler/installer/parallel_installer' - module Bundler class ParallelInstaller private diff --git a/lib/extended_bundler/errors/version.rb b/lib/extended_bundler/errors/version.rb index b4b7046..bc7c1ee 100644 --- a/lib/extended_bundler/errors/version.rb +++ b/lib/extended_bundler/errors/version.rb @@ -1,6 +1,6 @@ module ExtendedBundler module Errors - VERSION = "0.3.1" + VERSION = "0.3.2" HOMEPAGE = "http://github.com/jules2689/extended_bundler-errors" end end