This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch whimsy-nogem
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/whimsy-nogem by this push:
     new 5b32846  Restore gem whimsy-asf reference
5b32846 is described below

commit 5b32846e3d859d0e9f6ec59b48fa2ad2e993985f
Author: Sebb <[email protected]>
AuthorDate: Sat Aug 7 19:30:59 2021 +0100

    Restore gem whimsy-asf reference
---
 lib/Gemfile                    | 1 +
 lib/Rakefile                   | 2 --
 lib/spec/lib/committee_spec.rb | 2 --
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/Gemfile b/lib/Gemfile
index bc81476..b4c0e17 100644
--- a/lib/Gemfile
+++ b/lib/Gemfile
@@ -11,4 +11,5 @@ gem 'pdf-reader'
 # For Travis testing
 group :test do
   gem 'rspec'
+  gem 'whimsy-asf', path: File.expand_path('..', __dir__)
 end
diff --git a/lib/Rakefile b/lib/Rakefile
index dd8896d..5d632d8 100644
--- a/lib/Rakefile
+++ b/lib/Rakefile
@@ -1,5 +1,3 @@
-$LOAD_PATH.unshift File.dirname(__FILE__)
-
 require 'rspec/core/rake_task'
 
 RSpec::Core::RakeTask.new(:spec)
diff --git a/lib/spec/lib/committee_spec.rb b/lib/spec/lib/committee_spec.rb
index 7b17901..368c671 100644
--- a/lib/spec/lib/committee_spec.rb
+++ b/lib/spec/lib/committee_spec.rb
@@ -1,8 +1,6 @@
 # encoding: utf-8
 # frozen_string_literal: true
 
-$LOAD_PATH.unshift '/srv/whimsy/lib'
-
 require 'spec_helper'
 require 'whimsy/asf'
 

Reply via email to