File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1-
1+ ** v0.3.0 Use latest versions of propane and jruby **
22** v0.2.0 Use latest versions of propane and jruby **
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ def <<(pt)
2020 end
2121
2222 def collinear?
23- full? ? ( positions [ 0 ] - positions [ 1 ] ) . cross ( positions [ 1 ] - positions [ 2 ] ) . zero? : false
23+ pos1 = positions [ 1 ]
24+ full? ? ( positions [ 0 ] - pos1 ) . cross ( pos1 - positions [ 2 ] ) . zero? : false
2425 end
2526
2627 # returns positions as an array of Vec2D
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22# A wrapper for version
33module MathDemo
4- VERSION = '0.2 .0' . freeze
4+ VERSION = '0.3 .0' . freeze
55end
Original file line number Diff line number Diff line change @@ -9,18 +9,19 @@ Gem::Specification.new do |spec|
99 spec . author = 'monkstone'
10101111 spec . description = <<-EOS
12- Math Demo uses propane (a ruby wrapper for the processing art framework)
12+ Geomerative art using the ruby Matrix class to generate circumcircles around
13+ triangles, created from moving points
1314 EOS
14- spec . summary = %q{Example of creating a propane app.}
15+ spec . summary = %q{An example of a propane app as gem .}
1516 spec . homepage = "https://ruby-processing.github.io/propane/"
16- spec . post_install_message = %q{Congratulations you've just installed a propane gem .}
17+ spec . post_install_message = %q{Congratulations you've just installed propane.}
1718 spec . license = 'GPL-3.0'
1819 spec . files = FileList [ 'bin/**/*' , 'lib/**/*' ] . exclude ( /jar/ ) . to_a
1920 spec . executables = spec . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
2021 spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
2122 spec . require_paths = [ 'lib' ]
2223 spec . required_ruby_version = '>= 2.3'
23- spec . add_runtime_dependency 'propane' , '~> 2.3 '
24+ spec . add_runtime_dependency 'propane' , '~> 2.6 '
2425 spec . platform = 'java'
2526 spec . add_development_dependency 'rake' , '~> 12'
2627 spec . add_development_dependency 'minitest' , '~> 5.10'
You can’t perform that action at this time.
0 commit comments