diff --git a/.gitignore b/.gitignore index 7efe96a..014e236 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ +*.gem +/.yardoc /cache /coverage +/debug.runfile /dev /doc -/gems /Gemfile.lock -/.yardoc -/debug.rb -*.gem \ No newline at end of file +/gems \ No newline at end of file diff --git a/Gemfile b/Gemfile index 176b56b..d6bd210 100644 --- a/Gemfile +++ b/Gemfile @@ -3,8 +3,8 @@ source 'https://rubygems.org' gem 'byebug' gem 'lp' gem 'rspec' -gem 'runfile' -gem 'runfile-tasks' +gem 'runfile', require: false +gem 'runfile-tasks', require: false gem 'simplecov' gemspec diff --git a/Runfile b/Runfile index e6531b7..25c52ab 100644 --- a/Runfile +++ b/Runfile @@ -1,16 +1,8 @@ -require "runfile-tasks" -require_relative 'lib/webcache' +require 'webcache' title "WebCache Developer Toolbelt" summary "Runfile tasks for building the WebCache gem" version WebCache::VERSION -RunfileTasks::RubyGems.all 'webcache' -RunfileTasks::Testing.rspec - -help "Run interactive console" -action :console, :c do - system "bundle exec bin/console" -end - -require_relative 'debug' if File.exist? 'debug.rb' \ No newline at end of file +import_gem 'runfile-tasks/gem' +import 'debug' diff --git a/bin/console b/bin/console deleted file mode 100644 index 547e6ad..0000000 --- a/bin/console +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env ruby - -require 'irb' -require 'irb/completion' # easy tab completion -require 'webcache' - -IRB.start