quadtree 1.0.7 → 1.0.9
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 +5 -5
- data/LICENSE.txt +1 -1
- data/README.md +9 -7
- data/Rakefile +18 -10
- data/VERSION +1 -1
- data/lib/quadtree/axis_aligned_bounding_box.rb +155 -108
- data/lib/quadtree/point.rb +161 -107
- data/lib/quadtree/quadtree.rb +222 -148
- data/lib/quadtree/unknown_type_error.rb +8 -7
- data/lib/quadtree/version.rb +7 -5
- data/lib/quadtree.rb +16 -14
- data/quadtree.gemspec +25 -32
- metadata +36 -26
- data/.editorconfig +0 -12
- data/.gitignore +0 -208
- data/.rspec +0 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quadtree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lindblom
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3
|
47
|
+
version: '3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3
|
54
|
+
version: '3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.14'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: yard
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,52 +86,63 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
89
|
+
version: '0.21'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
96
|
+
version: '0.21'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec_junit_formatter
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.6'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.6'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rubocop
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
117
|
+
version: '1'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
124
|
+
version: '1'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: version
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1
|
131
|
+
version: '1'
|
118
132
|
type: :runtime
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '1
|
125
|
-
description:
|
138
|
+
version: '1'
|
139
|
+
description:
|
126
140
|
email:
|
127
141
|
- janlindblom@fastmail.fm
|
128
142
|
executables: []
|
129
143
|
extensions: []
|
130
144
|
extra_rdoc_files: []
|
131
145
|
files:
|
132
|
-
- ".editorconfig"
|
133
|
-
- ".gitignore"
|
134
|
-
- ".rspec"
|
135
146
|
- CODE_OF_CONDUCT.md
|
136
147
|
- Gemfile
|
137
148
|
- LICENSE.txt
|
@@ -145,11 +156,11 @@ files:
|
|
145
156
|
- lib/quadtree/unknown_type_error.rb
|
146
157
|
- lib/quadtree/version.rb
|
147
158
|
- quadtree.gemspec
|
148
|
-
homepage: https://
|
159
|
+
homepage: https://github.com/janlindblom/ruby-quadtree
|
149
160
|
licenses:
|
150
161
|
- MIT
|
151
162
|
metadata: {}
|
152
|
-
post_install_message:
|
163
|
+
post_install_message:
|
153
164
|
rdoc_options: []
|
154
165
|
require_paths:
|
155
166
|
- lib
|
@@ -164,9 +175,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
175
|
- !ruby/object:Gem::Version
|
165
176
|
version: 1.3.1
|
166
177
|
requirements: []
|
167
|
-
|
168
|
-
|
169
|
-
signing_key:
|
178
|
+
rubygems_version: 3.3.26
|
179
|
+
signing_key:
|
170
180
|
specification_version: 4
|
171
181
|
summary: Quadtrees in Ruby.
|
172
182
|
test_files: []
|
data/.editorconfig
DELETED
data/.gitignore
DELETED
@@ -1,208 +0,0 @@
|
|
1
|
-
|
2
|
-
# Created by https://www.gitignore.io/api/vim,ruby,linux,emacs,macos,windows,visualstudiocode
|
3
|
-
|
4
|
-
### Emacs ###
|
5
|
-
# -*- mode: gitignore; -*-
|
6
|
-
*~
|
7
|
-
\#*\#
|
8
|
-
/.emacs.desktop
|
9
|
-
/.emacs.desktop.lock
|
10
|
-
*.elc
|
11
|
-
auto-save-list
|
12
|
-
tramp
|
13
|
-
.\#*
|
14
|
-
|
15
|
-
# Org-mode
|
16
|
-
.org-id-locations
|
17
|
-
*_archive
|
18
|
-
|
19
|
-
# flymake-mode
|
20
|
-
*_flymake.*
|
21
|
-
|
22
|
-
# eshell files
|
23
|
-
/eshell/history
|
24
|
-
/eshell/lastdir
|
25
|
-
|
26
|
-
# elpa packages
|
27
|
-
/elpa/
|
28
|
-
|
29
|
-
# reftex files
|
30
|
-
*.rel
|
31
|
-
|
32
|
-
# AUCTeX auto folder
|
33
|
-
/auto/
|
34
|
-
|
35
|
-
# cask packages
|
36
|
-
.cask/
|
37
|
-
dist/
|
38
|
-
|
39
|
-
# Flycheck
|
40
|
-
flycheck_*.el
|
41
|
-
|
42
|
-
# server auth directory
|
43
|
-
/server/
|
44
|
-
|
45
|
-
# projectiles files
|
46
|
-
.projectile
|
47
|
-
projectile-bookmarks.eld
|
48
|
-
|
49
|
-
# directory configuration
|
50
|
-
.dir-locals.el
|
51
|
-
|
52
|
-
# saveplace
|
53
|
-
places
|
54
|
-
|
55
|
-
# url cache
|
56
|
-
url/cache/
|
57
|
-
|
58
|
-
# cedet
|
59
|
-
ede-projects.el
|
60
|
-
|
61
|
-
# smex
|
62
|
-
smex-items
|
63
|
-
|
64
|
-
# company-statistics
|
65
|
-
company-statistics-cache.el
|
66
|
-
|
67
|
-
# anaconda-mode
|
68
|
-
anaconda-mode/
|
69
|
-
|
70
|
-
### Linux ###
|
71
|
-
|
72
|
-
# temporary files which can be created if a process still has a handle open of a deleted file
|
73
|
-
.fuse_hidden*
|
74
|
-
|
75
|
-
# KDE directory preferences
|
76
|
-
.directory
|
77
|
-
|
78
|
-
# Linux trash folder which might appear on any partition or disk
|
79
|
-
.Trash-*
|
80
|
-
|
81
|
-
# .nfs files are created when an open file is removed but is still being accessed
|
82
|
-
.nfs*
|
83
|
-
|
84
|
-
### macOS ###
|
85
|
-
*.DS_Store
|
86
|
-
.AppleDouble
|
87
|
-
.LSOverride
|
88
|
-
|
89
|
-
# Icon must end with two \r
|
90
|
-
Icon
|
91
|
-
|
92
|
-
# Thumbnails
|
93
|
-
._*
|
94
|
-
|
95
|
-
# Files that might appear in the root of a volume
|
96
|
-
.DocumentRevisions-V100
|
97
|
-
.fseventsd
|
98
|
-
.Spotlight-V100
|
99
|
-
.TemporaryItems
|
100
|
-
.Trashes
|
101
|
-
.VolumeIcon.icns
|
102
|
-
.com.apple.timemachine.donotpresent
|
103
|
-
|
104
|
-
# Directories potentially created on remote AFP share
|
105
|
-
.AppleDB
|
106
|
-
.AppleDesktop
|
107
|
-
Network Trash Folder
|
108
|
-
Temporary Items
|
109
|
-
.apdisk
|
110
|
-
|
111
|
-
### Ruby ###
|
112
|
-
*.gem
|
113
|
-
*.rbc
|
114
|
-
/.config
|
115
|
-
/coverage/
|
116
|
-
/InstalledFiles
|
117
|
-
/pkg/
|
118
|
-
/spec/reports/
|
119
|
-
/spec/examples.txt
|
120
|
-
/test/tmp/
|
121
|
-
/test/version_tmp/
|
122
|
-
/tmp/
|
123
|
-
|
124
|
-
# rspec failure tracking
|
125
|
-
.rspec_status
|
126
|
-
|
127
|
-
|
128
|
-
# Used by dotenv library to load environment variables.
|
129
|
-
.env
|
130
|
-
|
131
|
-
## Specific to RubyMotion:
|
132
|
-
.dat*
|
133
|
-
.repl_history
|
134
|
-
build/
|
135
|
-
*.bridgesupport
|
136
|
-
build-iPhoneOS/
|
137
|
-
build-iPhoneSimulator/
|
138
|
-
|
139
|
-
## Specific to RubyMotion (use of CocoaPods):
|
140
|
-
#
|
141
|
-
# We recommend against adding the Pods directory to your .gitignore. However
|
142
|
-
# you should judge for yourself, the pros and cons are mentioned at:
|
143
|
-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
144
|
-
#
|
145
|
-
# vendor/Pods/
|
146
|
-
|
147
|
-
## Documentation cache and generated files:
|
148
|
-
/.yardoc/
|
149
|
-
/_yardoc/
|
150
|
-
/doc/
|
151
|
-
/rdoc/
|
152
|
-
|
153
|
-
## Environment normalization:
|
154
|
-
/.bundle/
|
155
|
-
/vendor/bundle
|
156
|
-
/lib/bundler/man/
|
157
|
-
|
158
|
-
# for a library or gem, you might want to ignore these files since the code is
|
159
|
-
# intended to run in multiple environments; otherwise, check them in:
|
160
|
-
Gemfile.lock
|
161
|
-
# .ruby-version
|
162
|
-
# .ruby-gemset
|
163
|
-
|
164
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
165
|
-
.rvmrc
|
166
|
-
|
167
|
-
### Vim ###
|
168
|
-
# swap
|
169
|
-
.sw[a-p]
|
170
|
-
.*.sw[a-p]
|
171
|
-
# session
|
172
|
-
Session.vim
|
173
|
-
# temporary
|
174
|
-
.netrwhist
|
175
|
-
# auto-generated tag files
|
176
|
-
tags
|
177
|
-
|
178
|
-
### VisualStudioCode ###
|
179
|
-
.vscode/*
|
180
|
-
!.vscode/settings.json
|
181
|
-
!.vscode/tasks.json
|
182
|
-
!.vscode/launch.json
|
183
|
-
!.vscode/extensions.json
|
184
|
-
.history
|
185
|
-
|
186
|
-
### Windows ###
|
187
|
-
# Windows thumbnail cache files
|
188
|
-
Thumbs.db
|
189
|
-
ehthumbs.db
|
190
|
-
ehthumbs_vista.db
|
191
|
-
|
192
|
-
# Folder config file
|
193
|
-
Desktop.ini
|
194
|
-
|
195
|
-
# Recycle Bin used on file shares
|
196
|
-
$RECYCLE.BIN/
|
197
|
-
|
198
|
-
# Windows Installer files
|
199
|
-
*.cab
|
200
|
-
*.msi
|
201
|
-
*.msm
|
202
|
-
*.msp
|
203
|
-
|
204
|
-
# Windows shortcuts
|
205
|
-
*.lnk
|
206
|
-
|
207
|
-
|
208
|
-
# End of https://www.gitignore.io/api/vim,ruby,linux,emacs,macos,windows,visualstudiocode
|
data/.rspec
DELETED