diff --git a/lib/ap.rb b/lib/ap.rb deleted file mode 100644 index 793a9af..0000000 --- a/lib/ap.rb +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2010-2013 Michael Dvorkin -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# -# Keeping this for backwards compatibility to allow -# require "ap" -# -require File.dirname(__FILE__) + "/awesome_print" diff --git a/spec/misc_spec.rb b/spec/misc_spec.rb index d9db988..f6be128 100644 --- a/spec/misc_spec.rb +++ b/spec/misc_spec.rb @@ -44,9 +44,8 @@ RSpec.describe "AwesomePrint" do expect(ap object).to eq(object) end - # Require different file name this time (lib/ap.rb vs. lib/awesome_print). it "several require 'awesome_print' should do no harm" do - require File.expand_path(File.dirname(__FILE__) + '/../lib/ap') + require File.expand_path(File.dirname(__FILE__) + '/../lib/awesome_print') expect { rand.ai }.not_to raise_error end