geometry-in-ruby 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/geometry-in-ruby.gemspec +1 -1
- data/lib/geometry/arc.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTdjMTNiMjQ5N2ZkMmQwZmFlNTdjYzEwNjExZjE0ZWM1ODdmOGY2NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWE2MjRmMTllNTk3NmJmMzY1MzczZTMxYmQ1NmU1OWRhN2RkNmI0Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODYxZTg4YTVmNjc0MGE2MjdiZDk1MWFkZTJhOWI2MWVhNDAxZGMxNjM3Zjk1
|
10
|
+
ZDgxOGU1YjlkYzBkZTYwZjY4MTU5ZjA5Y2MwMWYwMGU5OGQxZjM5MjBiZjA1
|
11
|
+
MDQ3NWQ3YjNiMTgyMWEwNjFjNWI4MzdmNDBiYWQ5NmIxNDA1Y2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmJmYzg5MzZhNWZjZDIxYTZkNTM2ZWVjMzdjY2NhYWJkNWViYmQzNzY1OWZi
|
14
|
+
MGUzYTMzNGFkODUyZjY3NDM5MWFkYzMwN2JjZGYzYWE2NmQ2M2E2YjgzYzFj
|
15
|
+
MWM0ZGE2YTFkOWQ4NmQzZTJkZGMwMDhiN2VjNDliYTEyNjdkYzg=
|
data/geometry-in-ruby.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "geometry-in-ruby"
|
6
|
-
s.version = '0.0.
|
6
|
+
s.version = '0.0.4'
|
7
7
|
s.authors = ["Brandon Fosdick", "Meseker Yohannes"]
|
8
8
|
s.email = ["meseker.yohannes@gmail.com"]
|
9
9
|
s.homepage = "http://github.com/meseker/geometry"
|
data/lib/geometry/arc.rb
CHANGED
@@ -19,6 +19,11 @@ An {Arc} with its center at [1,1] and a radius of 2 that starts at the X-axis an
|
|
19
19
|
attr_reader :center
|
20
20
|
attr_reader :radius
|
21
21
|
attr_reader :start_angle, :end_angle
|
22
|
+
attr_writer :options
|
23
|
+
def options
|
24
|
+
@options = {} if !@options
|
25
|
+
@option
|
26
|
+
end
|
22
27
|
|
23
28
|
# @overload new(center, start, end)
|
24
29
|
# Create a new {Arc} given center, start and end {Point}s
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geometry-in-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Fosdick
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Geometric primitives and algorithms for Ruby
|
15
15
|
email:
|