Skip to content

Commit 83ec927

Browse files
committed
Add deprecation warnings
1 parent bf7dfba commit 83ec927

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# CypressDev
1+
# DEPRECATED: Use [cypress_on_rails](https://github.com/shakacode/cypress_on_rails) gem instead.
2+
3+
## CypressDev
24

35
[![Build Status](https://travis-ci.org/grantspeelman/cypress-on-rails.svg?branch=master)](https://travis-ci.org/grantspeelman/cypress-on-rails)
46

cypress-on-rails.gemspec

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@ Gem::Specification.new do |s|
88
s.author = ["miceportal team", 'Grant Petersen-Speelman']
99
s.email = ["info@miceportal.de", 'grantspeelman@gmail.com']
1010
s.homepage = "http://github.com/grantspeelman/cypress-on-rails"
11-
s.summary = "Integrates cypress with rails or rack applications"
12-
s.description = "Integrates cypress with rails or rack applications"
11+
s.summary = "Deprecated in favor of the 'cypress_on_rails' gem."
12+
s.description = "Deprecated in favor of the 'cypress_on_rails' gem."
13+
s.post_install_message = <<EOM
14+
+---------------------------------------------------------------------------+
15+
| |
16+
| NOTICE: cypress-on-rails is deprecated in the favor of cypress_on_rails |
17+
| |
18+
| Please update to use the 'cypress_on_rails' gem instead. |
19+
| See: https://github.com/shakacode/cypress_on_rails |
20+
| |
21+
+---------------------------------------------------------------------------+
22+
EOM
1323
s.rubyforge_project = s.name
1424
s.files = `git ls-files`.split("\n")
1525
s.test_files = `git ls-files -- {spec}/*`.split("\n")

0 commit comments

Comments
 (0)