Skip to content

Commit 092eb82

Browse files
committed
modified: CHANGELOG.md
modified: lib/math_demo/t_points.rb modified: lib/math_demo/version.rb modified: math_demo.gemspec
1 parent ab0c2a6 commit 092eb82

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1+
** v0.3.0 Use latest versions of propane and jruby **
22
** v0.2.0 Use latest versions of propane and jruby **

lib/math_demo/t_points.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

lib/math_demo/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22
# A wrapper for version
33
module MathDemo
4-
VERSION = '0.2.0'.freeze
4+
VERSION = '0.3.0'.freeze
55
end

math_demo.gemspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ Gem::Specification.new do |spec|
99
spec.author = 'monkstone'
1010
spec.email = '[email protected]'
1111
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'

0 commit comments

Comments
 (0)