From 8d50b95ce2a970a96b929b07a9d2534eec21e2ca Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Mon, 17 Apr 2023 07:58:02 +0100 Subject: [PATCH] Merge pull request #1546 from rspec/remove-relish Remove mentions to Relish --- Gemfile-custom.sample | 1 - Rakefile | 30 ------------------------------ 2 files changed, 31 deletions(-) diff --git a/Gemfile-custom.sample b/Gemfile-custom.sample index a5017674b..4a8642532 100644 --- a/Gemfile-custom.sample +++ b/Gemfile-custom.sample @@ -1,6 +1,5 @@ group :development do gem 'interactive_rspec' - gem 'relish', '~> 0.6.0' gem 'guard-rspec', '~> 1.2.1' gem 'growl', '1.0.3' gem 'spork', '0.9.0' diff --git a/Rakefile b/Rakefile index bf3328d73..a13330e9e 100644 --- a/Rakefile +++ b/Rakefile @@ -30,36 +30,6 @@ namespace :clobber do end end -with_changelog_in_features = lambda do |&block| - begin - sh "cp Changelog.md features/" - block.call - ensure - sh "rm features/Changelog.md" - end -end - -desc "Push docs/cukes to relishapp using the relish-client-gem" -task :relish, :version do |_t, args| - raise "rake relish[VERSION]" unless args[:version] - - with_changelog_in_features.call do - if `relish versions rspec/rspec-mocks`.split.map(&:strip).include? args[:version] - puts "Version #{args[:version]} already exists" - else - sh "relish versions:add rspec/rspec-mocks:#{args[:version]}" - end - sh "relish push rspec/rspec-mocks:#{args[:version]}" - end -end - -desc "Push to relish staging environment" -task :relish_staging do - with_changelog_in_features.call do - sh "relish push rspec-staging/rspec-mocks" - end -end - task :default => [:spec, :cucumber] task :verify_private_key_present do