geometry 6.5 → 6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.github/workflows/ruby.yml +21 -0
- data/Gemfile +3 -0
- data/README.markdown +1 -2
- data/geometry.gemspec +5 -1
- data/lib/geometry/annulus.rb +2 -2
- data/lib/geometry/arc.rb +72 -1
- data/lib/geometry/edge.rb +21 -4
- data/lib/geometry/line.rb +2 -2
- data/lib/geometry/obround.rb +1 -2
- data/lib/geometry/path.rb +27 -0
- data/lib/geometry/point.rb +21 -6
- data/lib/geometry/point_iso.rb +0 -2
- data/lib/geometry/point_one.rb +0 -2
- data/lib/geometry/point_zero.rb +0 -1
- data/lib/geometry/polygon.rb +13 -12
- data/lib/geometry/polyline.rb +6 -6
- data/lib/geometry/rectangle.rb +12 -12
- data/lib/geometry/rotation.rb +5 -3
- data/lib/geometry/size.rb +1 -3
- data/lib/geometry/square.rb +13 -11
- data/lib/geometry/transformation/composition.rb +1 -1
- data/lib/geometry/triangle.rb +1 -1
- data/test/geometry/arc.rb +98 -0
- data/test/geometry/circle.rb +3 -3
- data/test/geometry/edge.rb +16 -2
- data/test/geometry/line.rb +3 -3
- data/test/geometry/path.rb +16 -0
- data/test/geometry/point.rb +18 -0
- data/test/geometry/point_iso.rb +21 -21
- data/test/geometry/point_one.rb +1 -1
- data/test/geometry/point_zero.rb +1 -1
- data/test/geometry/polygon.rb +1 -1
- data/test/geometry/rectangle.rb +6 -1
- data/test/geometry/rotation.rb +1 -1
- data/test/geometry/size_one.rb +1 -1
- data/test/geometry/size_zero.rb +1 -1
- data/test/geometry/square.rb +15 -10
- data/test/geometry/transformation.rb +1 -1
- data/test/geometry/vector.rb +1 -1
- metadata +63 -10
- data/.travis.yml +0 -12
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geometry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '6.
|
4
|
+
version: '6.6'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Fosdick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '13'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '13'
|
13
41
|
description: Geometric primitives and algorithms for Ruby
|
14
42
|
email:
|
15
43
|
- bfoz@bfoz.net
|
@@ -17,8 +45,8 @@ executables: []
|
|
17
45
|
extensions: []
|
18
46
|
extra_rdoc_files: []
|
19
47
|
files:
|
20
|
-
- .
|
21
|
-
- .
|
48
|
+
- ".github/workflows/ruby.yml"
|
49
|
+
- ".gitignore"
|
22
50
|
- Gemfile
|
23
51
|
- LICENSE
|
24
52
|
- README.markdown
|
@@ -86,18 +114,43 @@ require_paths:
|
|
86
114
|
- lib
|
87
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
116
|
requirements:
|
89
|
-
- -
|
117
|
+
- - ">="
|
90
118
|
- !ruby/object:Gem::Version
|
91
119
|
version: '2.0'
|
92
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
|
-
- -
|
122
|
+
- - ">="
|
95
123
|
- !ruby/object:Gem::Version
|
96
124
|
version: '0'
|
97
125
|
requirements: []
|
98
|
-
|
99
|
-
rubygems_version: 2.4.5
|
126
|
+
rubygems_version: 3.0.3.1
|
100
127
|
signing_key:
|
101
128
|
specification_version: 4
|
102
129
|
summary: Geometric primitives and algoritms
|
103
|
-
test_files:
|
130
|
+
test_files:
|
131
|
+
- test/geometry.rb
|
132
|
+
- test/geometry/annulus.rb
|
133
|
+
- test/geometry/arc.rb
|
134
|
+
- test/geometry/bezier.rb
|
135
|
+
- test/geometry/circle.rb
|
136
|
+
- test/geometry/edge.rb
|
137
|
+
- test/geometry/line.rb
|
138
|
+
- test/geometry/obround.rb
|
139
|
+
- test/geometry/path.rb
|
140
|
+
- test/geometry/point.rb
|
141
|
+
- test/geometry/point_iso.rb
|
142
|
+
- test/geometry/point_one.rb
|
143
|
+
- test/geometry/point_zero.rb
|
144
|
+
- test/geometry/polygon.rb
|
145
|
+
- test/geometry/polyline.rb
|
146
|
+
- test/geometry/rectangle.rb
|
147
|
+
- test/geometry/regular_polygon.rb
|
148
|
+
- test/geometry/rotation.rb
|
149
|
+
- test/geometry/size.rb
|
150
|
+
- test/geometry/size_one.rb
|
151
|
+
- test/geometry/size_zero.rb
|
152
|
+
- test/geometry/square.rb
|
153
|
+
- test/geometry/transformation.rb
|
154
|
+
- test/geometry/transformation/composition.rb
|
155
|
+
- test/geometry/triangle.rb
|
156
|
+
- test/geometry/vector.rb
|
data/.travis.yml
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.0.0
|
4
|
-
- 2.1.1
|
5
|
-
deploy:
|
6
|
-
provider: rubygems
|
7
|
-
api_key:
|
8
|
-
secure: aCCrqOZ4pR5ACbPHfsurZbY2KOT3Qs5DZ7cJEG6Haa3sJXoMQ2srCtE2hsH1VO8idmrkHvl3wCEO9zNLOdx2x40xlaLVQ+wixtFKW1u9nnxjw4zszyyaxDIc8qnFsRNh6j997wyT2Sqx1YuQ8I82DnTh2I28mnxS51O33KeB0is=
|
9
|
-
gem: geometry
|
10
|
-
on:
|
11
|
-
tags: true
|
12
|
-
repo: bfoz/geometry
|