Skip to content

Commit

Permalink
Add runtime dependency for windows instead of mentioning it in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ojab committed Nov 18, 2020
1 parent c626073 commit 55342d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ a standalone library.

* Ruby 2.4+, JRuby 9+

Windows users **must** ensure the `ffi` gem (`>= 1.0.11`) is installed in order to use ChildProcess.

# Usage

The object returned from `ChildProcess.build` will implement `ChildProcess::AbstractProcess`.
Expand Down
2 changes: 2 additions & 0 deletions childprocess.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.4.0'

s.add_runtime_dependency "ffi", "~> 1.0", ">= 1.0.11" if Gem.win_platform?

s.add_development_dependency "rspec", "~> 3.0"
s.add_development_dependency "yard", "~> 0.0"
s.add_development_dependency 'coveralls', '< 1.0'
Expand Down

0 comments on commit 55342d1

Please sign in to comment.