Rakefile in attributor-4.0.0 vs Rakefile in attributor-4.0.1
- old
+ new
@@ -12,9 +12,17 @@
RSpec::Core::RakeTask.new do |spec|
spec.rspec_opts = ["-c"]
spec.pattern = FileList['spec/**/*_spec.rb']
end
+desc "console"
+task :console do
+ require 'bundler'
+ Bundler.require(:default, :development, :test)
+ require_relative 'lib/attributor'
+ pry
+end
+
task :default => :spec
require 'yard'
YARD::Rake::YardocTask.new