Add gemspec requirements attribute

This information will appear on the gem's page on rubygems.org.
http://guides.rubygems.org/specification-reference/#requirements

[ci skip]
This commit is contained in:
Guilherme Simoes 2016-07-27 01:28:02 +01:00
parent f7687df5a7
commit 72b9eca193
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Qt Dependency and Installation Issues
capybara-webkit depends on a WebKit implementation from Qt, a cross-platform
development toolkit. You'll need to download the Qt libraries to build and
install the gem. You can find instructions for downloading and installing QT on
install the gem. You can find instructions for downloading and installing Qt on
the
[capybara-webkit wiki](https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit).
capybara-webkit requires Qt version 4.8 or greater.

View File

@ -19,6 +19,8 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 1.9.0"
s.requirements << "Qt >= 4.8"
s.add_runtime_dependency("capybara", ">= 2.3.0", "< 2.8.0")
s.add_runtime_dependency("json")