Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1420 from rspec/remove-relish
Browse files Browse the repository at this point in the history
Remove Relish
  • Loading branch information
JonRowe committed Apr 17, 2023
1 parent b05570f commit b1ea579
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
6 changes: 2 additions & 4 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,8 @@ Enhancements:
can cause uses of `super` to trigger infinite recursion. (Myron Marston, #816)
* Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, #845)
* Add `#with_captures` to the
[match matcher](https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/match-matcher)
which allows a user to specify expected captures when matching a regex
against a string. (Sam Phippen, #848)
* Add `#with_captures` to the match matcher which allows a user to specify expected
captures when matching a regex against a string. (Sam Phippen, #848)
* Always print compound failure messages in the multi-line form. Trying
to print it all on a single line didn't read very well. (Myron Marston, #859)

Expand Down
1 change: 0 additions & 1 deletion Gemfile-custom.sample
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
30 changes: 0 additions & 30 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,6 @@ RSpec::Core::RakeTask.new(:spec) do |t|
t.ruby_opts = %w[-w]
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 |_task, args|
raise "rake relish[VERSION]" unless args[:version]

with_changelog_in_features.call do
if `relish versions rspec/rspec-expectations`.split.map(&:strip).include? args[:version]
puts "Version #{args[:version]} already exists"
else
sh "relish versions:add rspec/rspec-expectations:#{args[:version]}"
end
sh "relish push rspec/rspec-expectations:#{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-expectations"
end
end

namespace :clobber do
desc "delete generated .rbc files"
task :rbc do
Expand Down

0 comments on commit b1ea579

Please sign in to comment.