Rakefile in loofah-2.2.3 vs Rakefile in loofah-2.3.0

- old
+ new

@@ -1,9 +1,8 @@ -require 'rubygems' -gem 'hoe', '>= 2.3.0' -require 'hoe' -require 'concourse' +require "rubygems" +require "hoe" +require "concourse" Hoe.plugin :git Hoe.plugin :gemspec Hoe.plugin :bundler Hoe.plugin :debugging @@ -11,26 +10,26 @@ Hoe.spec "loofah" do developer "Mike Dalessio", "mike.dalessio@gmail.com" developer "Bryan Helmkamp", "bryan@brynary.com" self.extra_rdoc_files = FileList["*.md"] - self.history_file = "CHANGELOG.md" - self.readme_file = "README.md" - self.license "MIT" + self.history_file = "CHANGELOG.md" + self.readme_file = "README.md" + self.license "MIT" - extra_deps << ["nokogiri", ">=1.5.9"] - extra_deps << ["crass", "~> 1.0.2"] + extra_deps << ["nokogiri", ">=1.5.9"] + extra_deps << ["crass", "~> 1.0.2"] - extra_dev_deps << ["rake", ">=0.8"] + extra_dev_deps << ["rake", "~> 12.3"] extra_dev_deps << ["minitest", "~>2.2"] extra_dev_deps << ["rr", "~>1.2.0"] - extra_dev_deps << ["json", ">=0"] - extra_dev_deps << ["hoe-gemspec", ">=0"] - extra_dev_deps << ["hoe-debugging", ">=0"] - extra_dev_deps << ["hoe-bundler", ">=0"] - extra_dev_deps << ["hoe-git", ">=0"] - extra_dev_deps << ["concourse", ">=0.15.0"] + extra_dev_deps << ["json", "~> 2.2.0"] + extra_dev_deps << ["hoe-gemspec", "~> 1.0"] + extra_dev_deps << ["hoe-debugging", "~> 2.0"] + extra_dev_deps << ["hoe-bundler", "~> 1.5"] + extra_dev_deps << ["hoe-git", "~> 1.6"] + extra_dev_deps << ["concourse", ">=0.26.0"] end task :gemspec do system %q(rake debug_gem | grep -v "^\(in " > loofah.gemspec) end @@ -69,11 +68,14 @@ Dir.chdir "doc" do system "rsync -avz --delete * rubyforge.org:/var/www/gforge-projects/loofah/loofah" end end -desc "generate whitelists from W3C specifications" -task :generate_whitelists do - load "tasks/generate-whitelists" +desc "generate safelists from W3C specifications" +task :generate_safelists do + load "tasks/generate-safelists" end -Concourse.new("loofah").create_tasks! +Concourse.new("loofah", fly_target: "ci") do |c| + c.add_pipeline "loofah", "loofah.yml" + c.add_pipeline "loofah-pr", "loofah-pr.yml" +end