Rakefile in csl-1.1.0 vs Rakefile in csl-1.2.0

- old
+ new

@@ -11,20 +11,18 @@ $:.unshift(File.join(File.dirname(__FILE__), './lib')) require 'csl/version' -desc 'Run an IRB session with CSL loaded' -task :console, [:script] do |t,args| +desc 'Run a Pry session with CSL loaded' +task :console do ARGV.clear - require 'irb' - require 'irb/completion' + require 'pry' require 'csl' - IRB.conf[:SCRIPT] = args.script - IRB.start + Pry.start end require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| @@ -46,9 +44,19 @@ system "git push --tags" system "gem push csl-#{CSL::VERSION}.gem" end task :default => [:spec, :cucumber] + +task :check_warnings do + $VERBOSE = true + require 'csl' + + CSL::Style.new + CSL::Locale.new + + puts CSL::VERSION +end begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError => e