quadtree 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +3 -0
  3. data/Rakefile +73 -70
  4. data/VERSION +1 -1
  5. data/quadtree.gemspec +49 -48
  6. metadata +15 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3af576a2f5b263f66ef4c19dbef45d11706d116890952e902998e7901a4a1e64
4
- data.tar.gz: 1fbb8959e240b401961b151b9b9e38b5e625ebf789a669de413840d5eafacb13
3
+ metadata.gz: ba919d27be942e42dc6edd9398140f081ac683f918340a3d5eae457e8841a717
4
+ data.tar.gz: a32d5b55029729568c3e82fd09fd27d016dc223d21b8b878709cbcf75d3ba26c
5
5
  SHA512:
6
- metadata.gz: b2e7bcdb34cd9bab9e62d64693cf92da6abbfe10bc02b29e7c3d32c47700f95164f7fd9668671240a376fd1f0b897d5106f6d2cfcfdb6c51f85934d5c4af22ee
7
- data.tar.gz: b3dc79c678daa6367ff51e7202ded3b2b5bf83e53e9311dfca9285469dd737a2509b79da9d41433240bcf6e1d7ea606833a96e7cffa8329375418cdf5d3115e4
6
+ metadata.gz: 2b9b8c38cc2f26a02d21bee390d0ff2e18c9f9c89b7e3ac26bda513f2f83d6c6ece19ba822d40bf0c16f4015415c60d042520f88bb94949206744e490b1a8892
7
+ data.tar.gz: 43765b252354e57697b4ed811375959fe9db207417ff5ef012c9cb63f62e729740fb06a836be61e06b2f2541d0916f905969fb94d536fc600a2eb423b59e5cde
data/.gitattributes ADDED
@@ -0,0 +1,3 @@
1
+
2
+ *.gemspec text eol=lf
3
+ *.yml text eol=lf
data/Rakefile CHANGED
@@ -1,70 +1,73 @@
1
- lib = File.expand_path("../lib", __FILE__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
-
4
- require "rake/version_task"
5
- require "bundler/gem_tasks"
6
- require "rspec/core/rake_task"
7
- require "yard"
8
- require "yard/rake/yardoc_task"
9
- require 'rubocop/rake_task'
10
- require "quadtree"
11
-
12
- RSpec::Core::RakeTask.new(:spec)
13
-
14
- spec = Gem::Specification.new do |s|
15
- s.name = "quadtree"
16
- s.version = Quadtree::VERSION
17
- s.authors = ["Jan Lindblom"]
18
- s.email = ["janlindblom@fastmail.fm"]
19
-
20
- s.summary = %q{Quadtrees in Ruby.}
21
- s.homepage = "https://github.com/janlindblom/ruby-quadtree"
22
- s.license = "MIT"
23
-
24
- s.files = `git ls-files -z`.split("\x0").reject do |f|
25
- f.match(%r{^(bin|test|spec|features|.github)/}) ||
26
- f == ".gitignore" ||
27
- f == ".editorconfig" ||
28
- f == ".rspec" ||
29
- f == ".gitlab-ci.yml" ||
30
- f == ".rubocop.yml" ||
31
- f == ".rubocop_todo.yml" ||
32
- f == "Jenkinsfile"
33
- end
34
- s.bindir = "exe"
35
- s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
36
- s.require_paths = ["lib"]
37
-
38
- s.required_ruby_version = '>= 2.6.0'
39
-
40
- s.add_development_dependency "bundler", "~> 2"
41
- s.add_development_dependency "rake", "~> 13"
42
- s.add_development_dependency "rspec", "~> 3"
43
- s.add_development_dependency "pry", "~> 0.14"
44
- s.add_development_dependency "yard", "~> 0.9"
45
- s.add_development_dependency "simplecov", "~> 0.21"
46
- s.add_development_dependency "simplecov-cobertura", "~> 2.1"
47
- s.add_development_dependency "rspec_junit_formatter", "~> 0.6"
48
- s.add_development_dependency "rubocop", "~> 1"
49
- s.add_runtime_dependency "version", "~> 1"
50
- end
51
-
52
- Rake::VersionTask.new do |task|
53
- task.with_gemspec = spec
54
- task.with_git = false
55
- end
56
-
57
- YARD::Rake::YardocTask.new do |t|
58
- t.files = ['lib/**/*.rb']
59
- t.stats_options = ['--list-undoc']
60
- end
61
-
62
- RuboCop::RakeTask.new(:rubocop) do |task|
63
- task.patterns = ['lib/**/*.rb']
64
- # only show the files with failures
65
- task.formatters = ['worst']
66
- # don't abort rake on failure
67
- task.fail_on_error = false
68
- end
69
-
70
- task :default => :spec
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'rake/version_task'
5
+ require 'bundler/gem_tasks'
6
+ require 'rspec/core/rake_task'
7
+ require 'yard'
8
+ require 'yard/rake/yardoc_task'
9
+ require 'rubocop/rake_task'
10
+ require 'quadtree'
11
+
12
+ RSpec::Core::RakeTask.new(:spec)
13
+
14
+ spec = Gem::Specification.new do |s|
15
+ s.name = 'quadtree'
16
+ s.version = Quadtree::VERSION
17
+ s.authors = ['Jan Lindblom']
18
+ s.email = ['janlindblom@fastmail.fm']
19
+
20
+ s.summary = 'Quadtrees in Ruby.'
21
+ s.homepage = 'https://github.com/janlindblom/ruby-quadtree'
22
+ s.metadata['homepage_uri'] = s.homepage
23
+ s.metadata['source_code_uri'] = 'https://github.com/janlindblom/ruby-quadtree'
24
+ s.license = 'MIT'
25
+
26
+ s.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(bin|test|spec|features|.github)/}) ||
28
+ f == '.gitignore' ||
29
+ f == '.editorconfig' ||
30
+ f == '.rspec' ||
31
+ f == '.gitlab-ci.yml' ||
32
+ f == '.rubocop.yml' ||
33
+ f == '.rubocop_todo.yml' ||
34
+ f == 'Jenkinsfile' ||
35
+ f == 'tea.yaml'
36
+ end
37
+ s.bindir = 'exe'
38
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
39
+ s.require_paths = ['lib']
40
+
41
+ s.required_ruby_version = '>= 2.6.0'
42
+
43
+ s.add_development_dependency 'bundler', '~> 2'
44
+ s.add_development_dependency 'rake', '~> 13.1'
45
+ s.add_development_dependency 'rspec', '~> 3.13'
46
+ s.add_development_dependency 'pry', '~> 0.14'
47
+ s.add_development_dependency 'yard', '~> 0.9'
48
+ s.add_development_dependency 'simplecov', '~> 0.22'
49
+ s.add_development_dependency 'simplecov-cobertura', '~> 2.1'
50
+ s.add_development_dependency 'rspec_junit_formatter', '~> 0.6'
51
+ s.add_development_dependency 'rubocop', '~> 1.62'
52
+ s.add_runtime_dependency 'version', '~> 1'
53
+ end
54
+
55
+ Rake::VersionTask.new do |task|
56
+ task.with_gemspec = spec
57
+ task.with_git = false
58
+ end
59
+
60
+ YARD::Rake::YardocTask.new do |t|
61
+ t.files = ['lib/**/*.rb']
62
+ t.stats_options = ['--list-undoc']
63
+ end
64
+
65
+ RuboCop::RakeTask.new(:rubocop) do |task|
66
+ task.patterns = ['lib/**/*.rb']
67
+ # only show the files with failures
68
+ task.formatters = ['worst']
69
+ # don't abort rake on failure
70
+ task.fail_on_error = false
71
+ end
72
+
73
+ task default: :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.10
1
+ 1.0.11
data/quadtree.gemspec CHANGED
@@ -1,48 +1,49 @@
1
- # -*- encoding: utf-8 -*-
2
- # stub: quadtree 1.0.10 ruby lib
3
-
4
- Gem::Specification.new do |s|
5
- s.name = "quadtree".freeze
6
- s.version = "1.0.10"
7
-
8
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib".freeze]
10
- s.authors = ["Jan Lindblom".freeze]
11
- s.bindir = "exe".freeze
12
- s.date = "2023-01-20"
13
- s.email = ["janlindblom@fastmail.fm".freeze]
14
- s.files = ["CODE_OF_CONDUCT.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "lib/quadtree.rb".freeze, "lib/quadtree/axis_aligned_bounding_box.rb".freeze, "lib/quadtree/point.rb".freeze, "lib/quadtree/quadtree.rb".freeze, "lib/quadtree/unknown_type_error.rb".freeze, "lib/quadtree/version.rb".freeze, "quadtree.gemspec".freeze]
15
- s.homepage = "https://github.com/janlindblom/ruby-quadtree".freeze
16
- s.licenses = ["MIT".freeze]
17
- s.required_ruby_version = Gem::Requirement.new(">= 2.6.0".freeze)
18
- s.rubygems_version = "3.3.26".freeze
19
- s.summary = "Quadtrees in Ruby.".freeze
20
-
21
- if s.respond_to? :specification_version then
22
- s.specification_version = 4
23
- end
24
-
25
- if s.respond_to? :add_runtime_dependency then
26
- s.add_development_dependency(%q<bundler>.freeze, ["~> 2"])
27
- s.add_development_dependency(%q<rake>.freeze, ["~> 13"])
28
- s.add_development_dependency(%q<rspec>.freeze, ["~> 3"])
29
- s.add_development_dependency(%q<pry>.freeze, ["~> 0.14"])
30
- s.add_development_dependency(%q<yard>.freeze, ["~> 0.9"])
31
- s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.21"])
32
- s.add_development_dependency(%q<simplecov-cobertura>.freeze, ["~> 2.1"])
33
- s.add_development_dependency(%q<rspec_junit_formatter>.freeze, ["~> 0.6"])
34
- s.add_development_dependency(%q<rubocop>.freeze, ["~> 1"])
35
- s.add_runtime_dependency(%q<version>.freeze, ["~> 1"])
36
- else
37
- s.add_dependency(%q<bundler>.freeze, ["~> 2"])
38
- s.add_dependency(%q<rake>.freeze, ["~> 13"])
39
- s.add_dependency(%q<rspec>.freeze, ["~> 3"])
40
- s.add_dependency(%q<pry>.freeze, ["~> 0.14"])
41
- s.add_dependency(%q<yard>.freeze, ["~> 0.9"])
42
- s.add_dependency(%q<simplecov>.freeze, ["~> 0.21"])
43
- s.add_dependency(%q<simplecov-cobertura>.freeze, ["~> 2.1"])
44
- s.add_dependency(%q<rspec_junit_formatter>.freeze, ["~> 0.6"])
45
- s.add_dependency(%q<rubocop>.freeze, ["~> 1"])
46
- s.add_dependency(%q<version>.freeze, ["~> 1"])
47
- end
48
- end
1
+ # -*- encoding: utf-8 -*-
2
+ # stub: quadtree 1.0.11 ruby lib
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "quadtree".freeze
6
+ s.version = "1.0.11"
7
+
8
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.metadata = { "homepage_uri" => "https://github.com/janlindblom/ruby-quadtree", "source_code_uri" => "https://github.com/janlindblom/ruby-quadtree" } if s.respond_to? :metadata=
10
+ s.require_paths = ["lib".freeze]
11
+ s.authors = ["Jan Lindblom".freeze]
12
+ s.bindir = "exe".freeze
13
+ s.date = "2024-03-19"
14
+ s.email = ["janlindblom@fastmail.fm".freeze]
15
+ s.files = [".gitattributes".freeze, "CODE_OF_CONDUCT.md".freeze, "Gemfile".freeze, "LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "lib/quadtree.rb".freeze, "lib/quadtree/axis_aligned_bounding_box.rb".freeze, "lib/quadtree/point.rb".freeze, "lib/quadtree/quadtree.rb".freeze, "lib/quadtree/unknown_type_error.rb".freeze, "lib/quadtree/version.rb".freeze, "quadtree.gemspec".freeze]
16
+ s.homepage = "https://github.com/janlindblom/ruby-quadtree".freeze
17
+ s.licenses = ["MIT".freeze]
18
+ s.required_ruby_version = Gem::Requirement.new(">= 2.6.0".freeze)
19
+ s.rubygems_version = "3.2.33".freeze
20
+ s.summary = "Quadtrees in Ruby.".freeze
21
+
22
+ if s.respond_to? :specification_version then
23
+ s.specification_version = 4
24
+ end
25
+
26
+ if s.respond_to? :add_runtime_dependency then
27
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 2"])
28
+ s.add_development_dependency(%q<rake>.freeze, ["~> 13.1"])
29
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.13"])
30
+ s.add_development_dependency(%q<pry>.freeze, ["~> 0.14"])
31
+ s.add_development_dependency(%q<yard>.freeze, ["~> 0.9"])
32
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.22"])
33
+ s.add_development_dependency(%q<simplecov-cobertura>.freeze, ["~> 2.1"])
34
+ s.add_development_dependency(%q<rspec_junit_formatter>.freeze, ["~> 0.6"])
35
+ s.add_development_dependency(%q<rubocop>.freeze, ["~> 1.62"])
36
+ s.add_runtime_dependency(%q<version>.freeze, ["~> 1"])
37
+ else
38
+ s.add_dependency(%q<bundler>.freeze, ["~> 2"])
39
+ s.add_dependency(%q<rake>.freeze, ["~> 13.1"])
40
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.13"])
41
+ s.add_dependency(%q<pry>.freeze, ["~> 0.14"])
42
+ s.add_dependency(%q<yard>.freeze, ["~> 0.9"])
43
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.22"])
44
+ s.add_dependency(%q<simplecov-cobertura>.freeze, ["~> 2.1"])
45
+ s.add_dependency(%q<rspec_junit_formatter>.freeze, ["~> 0.6"])
46
+ s.add_dependency(%q<rubocop>.freeze, ["~> 1.62"])
47
+ s.add_dependency(%q<version>.freeze, ["~> 1"])
48
+ end
49
+ end
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.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lindblom
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-20 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '13'
33
+ version: '13.1'
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: '13'
40
+ version: '13.1'
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.13'
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.13'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pry
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.21'
89
+ version: '0.22'
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.21'
96
+ version: '0.22'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov-cobertura
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1'
131
+ version: '1.62'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '1'
138
+ version: '1.62'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: version
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -157,6 +157,7 @@ executables: []
157
157
  extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
+ - ".gitattributes"
160
161
  - CODE_OF_CONDUCT.md
161
162
  - Gemfile
162
163
  - LICENSE.txt
@@ -173,7 +174,9 @@ files:
173
174
  homepage: https://github.com/janlindblom/ruby-quadtree
174
175
  licenses:
175
176
  - MIT
176
- metadata: {}
177
+ metadata:
178
+ homepage_uri: https://github.com/janlindblom/ruby-quadtree
179
+ source_code_uri: https://github.com/janlindblom/ruby-quadtree
177
180
  post_install_message:
178
181
  rdoc_options: []
179
182
  require_paths:
@@ -189,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
192
  - !ruby/object:Gem::Version
190
193
  version: 1.3.1
191
194
  requirements: []
192
- rubygems_version: 3.3.26
195
+ rubygems_version: 3.2.33
193
196
  signing_key:
194
197
  specification_version: 4
195
198
  summary: Quadtrees in Ruby.