quadtree 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc9cc583b61c883d9a87db4c67b44aba28c850afa772d7af3ffe653586380f1e
4
- data.tar.gz: f7b082ebf586454e003e617bb7129ccf0da6527bec7dee815c6df17c0ba6da2a
3
+ metadata.gz: 78274ec810f20ddb345e5af2f239011c45bb493005acb132cacb1ca23146b463
4
+ data.tar.gz: cac53ba45cdb796ea599d820d2c8c8f9eee3a41b3f73f2d7ec3b0eedf0542e8a
5
5
  SHA512:
6
- metadata.gz: dc01d1dec2bdb2331ef0130aa86c6a84a857541c140cfc8544768ec1abd5d9d53a94e2a881dd2c2b0b12f292e280880a9763e4bf5f924f88f4dd85cea08102fb
7
- data.tar.gz: c48b82659ef22d240587d48a48051d87dd121f0cc21439d0a2349055516888f93196d21c0409c5fb7bfc300f8c0fce5d93e9dbbbdb44f25333668ca62b84ec5a
6
+ metadata.gz: 7fbebccb0db1cb2aff816ff0fb9dd2de44bdb8fce97f7f0abe25d158ea192b95639e80a2aee49734df8f08b0aa7717e0f2bb18dfad590e57f2b26105fed51298
7
+ data.tar.gz: 1d1107de6c8641e61f605c552aefb5b54bedaeabb0a3f4e644913a8f61846bd91079a5b2e20dafc8b14a45301b71c494eecf8288881b2a96cf2dc7541affd1bb
data/.editorconfig CHANGED
@@ -6,4 +6,7 @@ indent_size = 2
6
6
  end_of_line = lf
7
7
  charset = utf-8
8
8
  trim_trailing_whitespace = true
9
- insert_final_newline = true
9
+ insert_final_newline = true
10
+
11
+ [*.yml]
12
+ indent_size = 4
@@ -5,6 +5,7 @@ image: ruby:2.4.0
5
5
  pipelines:
6
6
  default:
7
7
  - step:
8
+ name: Ruby 2.4
8
9
  caches:
9
10
  - bundler
10
11
  script:
@@ -13,4 +14,4 @@ pipelines:
13
14
 
14
15
  definitions:
15
16
  caches:
16
- bundler: ./vendor
17
+ bundler: ./vendor
@@ -47,10 +47,10 @@ module Quadtree
47
47
  end
48
48
 
49
49
  subdivide! if @north_west.nil?
50
- return true if @north_west.insert(point)
51
- return true if @north_east.insert(point)
52
- return true if @south_west.insert(point)
53
- return true if @south_east.insert(point)
50
+ return true if @north_west.insert!(point)
51
+ return true if @north_east.insert!(point)
52
+ return true if @south_west.insert!(point)
53
+ return true if @south_east.insert!(point)
54
54
 
55
55
  false
56
56
  end
@@ -1,3 +1,3 @@
1
1
  module Quadtree
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quadtree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lindblom