Skip to content

Commit

Permalink
set minimum required ruby version to 2.1.3
Browse files Browse the repository at this point in the history
because of bug in Vector#cross_product in previous versions
  • Loading branch information
Jordan Stephens committed Dec 31, 2014
1 parent e1bee5b commit 4b2fb2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -81,7 +81,7 @@ Once you have an initial orbit defined, you can get updated *position* (`r`) and
* Only point objects are considered in a two-body environment.
* Perturbations due to atmospheric drag, solar radiation, etc are not considered.
* Nodal precession is not considered.
* Ruby 2.1 or greater is required because STL Vector#cross_product was not defined until Ruby 2.1
* Ruby 2.1.3 or greater is required because of a bug in STL `Vector#cross_product` which was present before that release.

## Specs

Expand Down
1 change: 1 addition & 0 deletions kepler.gemspec
Expand Up @@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.1.3"

spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down

0 comments on commit 4b2fb2c

Please sign in to comment.