k-tree 0.0.3 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a26a9f09696eb072c1a789a1091a561b513cdb98
4
- data.tar.gz: ce73ccd1d92acc1307ff795df3c5e17005fadba9
3
+ metadata.gz: 0bf792900397bb23908a145b3520439fa4b3442b
4
+ data.tar.gz: 60f24167585f9dab5a41276b90d9490f896a6806
5
5
  SHA512:
6
- metadata.gz: 3c6f66b98bd7a264875d1dd10638c169e33976e1e53812d727c9f15cd059ddf5e637849d6612b3489cf36d5c3c68b67114505ed62cb0c6759a35b896a7c50813
7
- data.tar.gz: 200156de8b40ecbf946d522911ece00fa0f8832afdfec371b9d9f0465bc818a3d96469af767a04093af2cb703195410bf1dc1a6535bb028f0ac5eabce67f2589
6
+ metadata.gz: 73501a12587c8448049d4dc867067d1382ded264f9a023b60b8e196dea47405d56137584e02913ce67fd981d4f9bf02b438a1b36831f34d493884d5b773b51be
7
+ data.tar.gz: 61add220b2536d1d07abc0df0fd2aa6e3cffc44489b4c48918684372b23dd9ec823f62a1d104fe502ed471d94cc0137c6371e0bf9e51a3a5385d7308eb390a36
@@ -0,0 +1 @@
1
+ 2.4.0
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 3
4
+ :patch: 6
5
5
  :special: ''
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ - 2.0.0
5
+ - rbx-2
6
+ - ruby-head
7
+ - jruby-head
data/Gemfile CHANGED
@@ -2,13 +2,15 @@ source "http://rubygems.org"
2
2
 
3
3
  # Add dependencies to develop your gem here.
4
4
  # Include everything needed to run rake, tests, features, etc.
5
+ gem 'semver', '~> 1'
6
+ gem "json", "~> 2.0", ">= 2.0.2"
7
+
5
8
  group :development do
6
- gem "rspec", "~> 2"
9
+ gem "rspec", "~> 3"
7
10
  gem "yard", "~> 0"
8
11
  gem "rdoc", "~> 3"
9
12
  gem "bundler", "~> 1"
10
- gem "jeweler", "~> 2"
13
+ gem "juwelier", "~> 2"
11
14
  gem "simplecov", "~> 0"
12
- gem 'semver', '~> 1'
13
15
  gem 'guard-rspec', '~> 0'
14
16
  end
@@ -1,31 +1,27 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.8)
4
+ addressable (2.4.0)
5
5
  builder (3.2.2)
6
- celluloid (0.16.0)
7
- timers (~> 4.0.0)
8
- coderay (1.1.0)
6
+ coderay (1.1.1)
9
7
  descendants_tracker (0.0.4)
10
8
  thread_safe (~> 0.3, >= 0.3.1)
11
9
  diff-lcs (1.2.5)
12
10
  docile (1.1.5)
13
- faraday (0.9.1)
11
+ faraday (0.9.2)
14
12
  multipart-post (>= 1.2, < 3)
15
- ffi (1.9.8)
13
+ ffi (1.9.14)
16
14
  formatador (0.2.5)
17
- git (1.2.9.1)
18
- github_api (0.12.3)
19
- addressable (~> 2.3)
15
+ git (1.3.0)
16
+ github_api (0.14.5)
17
+ addressable (~> 2.4.0)
20
18
  descendants_tracker (~> 0.0.4)
21
19
  faraday (~> 0.8, < 0.10)
22
- hashie (>= 3.3)
23
- multi_json (>= 1.7.5, < 2.0)
24
- nokogiri (~> 1.6.3)
25
- oauth2
26
- guard (2.12.6)
20
+ hashie (>= 3.4)
21
+ oauth2 (~> 1.0)
22
+ guard (2.14.0)
27
23
  formatador (>= 0.2.4)
28
- listen (~> 2.7)
24
+ listen (>= 2.7, < 4.0)
29
25
  lumberjack (~> 1.0)
30
26
  nenv (~> 0.1)
31
27
  notiffany (~> 0.0)
@@ -34,74 +30,79 @@ GEM
34
30
  thor (>= 0.18.1)
35
31
  guard-rspec (0.7.3)
36
32
  guard (>= 0.10.0)
37
- hashie (3.4.2)
38
- highline (1.7.2)
39
- hitimes (1.2.2)
40
- jeweler (2.0.1)
33
+ hashie (3.4.6)
34
+ highline (1.7.8)
35
+ json (2.0.2)
36
+ juwelier (2.3.2)
41
37
  builder
42
- bundler (>= 1.0)
38
+ bundler (>= 1.13)
43
39
  git (>= 1.2.5)
44
40
  github_api
45
41
  highline (>= 1.6.15)
46
42
  nokogiri (>= 1.5.10)
43
+ psych (~> 2.2)
47
44
  rake
48
45
  rdoc
49
- json (1.8.3)
50
- jwt (1.5.0)
51
- listen (2.10.1)
52
- celluloid (~> 0.16.0)
53
- rb-fsevent (>= 0.9.3)
54
- rb-inotify (>= 0.9)
55
- lumberjack (1.0.9)
46
+ semver
47
+ jwt (1.5.6)
48
+ listen (3.1.5)
49
+ rb-fsevent (~> 0.9, >= 0.9.4)
50
+ rb-inotify (~> 0.9, >= 0.9.7)
51
+ ruby_dep (~> 1.2)
52
+ lumberjack (1.0.10)
56
53
  method_source (0.8.2)
57
- mini_portile (0.6.2)
58
- multi_json (1.11.1)
59
- multi_xml (0.5.5)
54
+ mini_portile2 (2.1.0)
55
+ multi_json (1.12.1)
56
+ multi_xml (0.6.0)
60
57
  multipart-post (2.0.0)
61
- nenv (0.2.0)
62
- nokogiri (1.6.6.2)
63
- mini_portile (~> 0.6.0)
64
- notiffany (0.0.6)
58
+ nenv (0.3.0)
59
+ nokogiri (1.6.8.1)
60
+ mini_portile2 (~> 2.1.0)
61
+ notiffany (0.1.1)
65
62
  nenv (~> 0.1)
66
63
  shellany (~> 0.0)
67
- oauth2 (1.0.0)
64
+ oauth2 (1.2.0)
68
65
  faraday (>= 0.8, < 0.10)
69
66
  jwt (~> 1.0)
70
67
  multi_json (~> 1.3)
71
68
  multi_xml (~> 0.5)
72
- rack (~> 1.2)
73
- pry (0.10.1)
69
+ rack (>= 1.2, < 3)
70
+ pry (0.10.4)
74
71
  coderay (~> 1.1.0)
75
72
  method_source (~> 0.8.1)
76
73
  slop (~> 3.4)
77
- rack (1.6.4)
78
- rake (10.4.2)
79
- rb-fsevent (0.9.5)
80
- rb-inotify (0.9.5)
74
+ psych (2.2.2)
75
+ rack (2.0.1)
76
+ rake (12.0.0)
77
+ rb-fsevent (0.9.8)
78
+ rb-inotify (0.9.7)
81
79
  ffi (>= 0.5.0)
82
- rdoc (3.12.2)
83
- json (~> 1.4)
84
- rspec (2.99.0)
85
- rspec-core (~> 2.99.0)
86
- rspec-expectations (~> 2.99.0)
87
- rspec-mocks (~> 2.99.0)
88
- rspec-core (2.99.2)
89
- rspec-expectations (2.99.2)
90
- diff-lcs (>= 1.1.3, < 2.0)
91
- rspec-mocks (2.99.4)
80
+ rdoc (3.9.5)
81
+ rspec (3.5.0)
82
+ rspec-core (~> 3.5.0)
83
+ rspec-expectations (~> 3.5.0)
84
+ rspec-mocks (~> 3.5.0)
85
+ rspec-core (3.5.4)
86
+ rspec-support (~> 3.5.0)
87
+ rspec-expectations (3.5.0)
88
+ diff-lcs (>= 1.2.0, < 2.0)
89
+ rspec-support (~> 3.5.0)
90
+ rspec-mocks (3.5.0)
91
+ diff-lcs (>= 1.2.0, < 2.0)
92
+ rspec-support (~> 3.5.0)
93
+ rspec-support (3.5.0)
94
+ ruby_dep (1.5.0)
92
95
  semver (1.0.1)
93
96
  shellany (0.0.1)
94
- simplecov (0.10.0)
97
+ simplecov (0.12.0)
95
98
  docile (~> 1.1.0)
96
- json (~> 1.8)
99
+ json (>= 1.8, < 3)
97
100
  simplecov-html (~> 0.10.0)
98
101
  simplecov-html (0.10.0)
99
102
  slop (3.6.0)
100
- thor (0.19.1)
103
+ thor (0.19.4)
101
104
  thread_safe (0.3.5)
102
- timers (4.0.1)
103
- hitimes
104
- yard (0.8.7.6)
105
+ yard (0.9.5)
105
106
 
106
107
  PLATFORMS
107
108
  ruby
@@ -109,9 +110,13 @@ PLATFORMS
109
110
  DEPENDENCIES
110
111
  bundler (~> 1)
111
112
  guard-rspec (~> 0)
112
- jeweler (~> 2)
113
+ json (~> 2.0, >= 2.0.2)
114
+ juwelier (~> 2)
113
115
  rdoc (~> 3)
114
- rspec (~> 2)
116
+ rspec (~> 3)
115
117
  semver (~> 1)
116
118
  simplecov (~> 0)
117
119
  yard (~> 0)
120
+
121
+ BUNDLED WITH
122
+ 1.13.6
@@ -14,6 +14,7 @@ and are therefore enumerable.
14
14
 
15
15
  == Gem Version
16
16
  {<img src="https://badge.fury.io/rb/k-tree.png" alt="Gem Version" />}[http://badge.fury.io/rb/k-tree]
17
+ {<img src="https://travis-ci.org/flajann2/k-tree.svg?branch=master" alt="Travis" />}[https://travis-ci.org/flajann2/k-tree]
17
18
 
18
19
  == Usage
19
20
 
data/Rakefile CHANGED
@@ -17,8 +17,8 @@ rescue Bundler::BundlerError => e
17
17
  end
18
18
  require 'rake'
19
19
 
20
- require 'jeweler'
21
- Jeweler::Tasks.new do |gem|
20
+ require 'juwelier'
21
+ Juwelier::Tasks.new do |gem|
22
22
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
23
23
  gem.name = "k-tree"
24
24
  gem.homepage = "http://github.com/flajann2/k-tree"
@@ -43,7 +43,7 @@ Jeweler::Tasks.new do |gem|
43
43
  '.idea/**/*', '.idea/**/.*', '.yardoc/**/*',
44
44
  'Guardfile'
45
45
  end
46
- Jeweler::RubygemsDotOrgTasks.new
46
+ Juwelier::RubygemsDotOrgTasks.new
47
47
 
48
48
  require 'rspec/core'
49
49
  require 'rspec/core/rake_task'
@@ -1,19 +1,19 @@
1
- # Generated by jeweler
1
+ # Generated by juwelier
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: k-tree 0.0.3 ruby lib
5
+ # stub: k-tree 0.0.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "k-tree"
9
- s.version = "0.0.3"
8
+ s.name = "k-tree".freeze
9
+ s.version = "0.0.6"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Fred Mitchell"]
14
- s.date = "2015-06-21"
15
- s.description = "\n This is a data structure to represent and manage k-trees,\n primarily created for use in RubyNEAT, but may see other possible applications.\n The goal here is to be roebust in the creation of your k-tree, to allow\n you to prune during creation, since, especially for higher-dimensional trees,\n the number of leaf node can become very large.\n\n So a parent will have children nodes created down to the desired resolution,\n and immediately after the creation of the children, will check to see if there's\n enough variance among the children to keep them. If not, they are pruned immediately.\n "
16
- s.email = "fred.mitchell@gmx.de"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Fred Mitchell".freeze]
14
+ s.date = "2016-12-26"
15
+ s.description = "\n This is a data structure to represent and manage k-trees,\n primarily created for use in RubyNEAT, but may see other possible applications.\n The goal here is to be roebust in the creation of your k-tree, to allow\n you to prune during creation, since, especially for higher-dimensional trees,\n the number of leaf node can become very large.\n\n So a parent will have children nodes created down to the desired resolution,\n and immediately after the creation of the children, will check to see if there's\n enough variance among the children to keep them. If not, they are pruned immediately.\n ".freeze
16
+ s.email = "fred.mitchell@gmx.de".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.rdoc"
@@ -21,7 +21,9 @@ Gem::Specification.new do |s|
21
21
  s.files = [
22
22
  ".document",
23
23
  ".rspec",
24
+ ".ruby-version",
24
25
  ".semver",
26
+ ".travis.yml",
25
27
  "Gemfile",
26
28
  "Gemfile.lock",
27
29
  "LICENSE.txt",
@@ -33,43 +35,46 @@ Gem::Specification.new do |s|
33
35
  "spec/k-tree_spec.rb",
34
36
  "spec/spec_helper.rb"
35
37
  ]
36
- s.homepage = "http://github.com/flajann2/k-tree"
37
- s.licenses = ["MIT"]
38
- s.required_ruby_version = Gem::Requirement.new(">= 2.0")
39
- s.rubygems_version = "2.4.5"
40
- s.summary = "K-Tree is a generalization of quadtrees and octrees."
38
+ s.homepage = "http://github.com/flajann2/k-tree".freeze
39
+ s.licenses = ["MIT".freeze]
40
+ s.required_ruby_version = Gem::Requirement.new(">= 2.0".freeze)
41
+ s.rubygems_version = "2.6.8".freeze
42
+ s.summary = "K-Tree is a generalization of quadtrees and octrees.".freeze
41
43
 
42
44
  if s.respond_to? :specification_version then
43
45
  s.specification_version = 4
44
46
 
45
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
46
- s.add_development_dependency(%q<rspec>, ["~> 2"])
47
- s.add_development_dependency(%q<yard>, ["~> 0"])
48
- s.add_development_dependency(%q<rdoc>, ["~> 3"])
49
- s.add_development_dependency(%q<bundler>, ["~> 1"])
50
- s.add_development_dependency(%q<jeweler>, ["~> 2"])
51
- s.add_development_dependency(%q<simplecov>, ["~> 0"])
52
- s.add_development_dependency(%q<semver>, ["~> 1"])
53
- s.add_development_dependency(%q<guard-rspec>, ["~> 0"])
48
+ s.add_runtime_dependency(%q<semver>.freeze, ["~> 1"])
49
+ s.add_runtime_dependency(%q<json>.freeze, [">= 2.0.2", "~> 2.0"])
50
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3"])
51
+ s.add_development_dependency(%q<yard>.freeze, ["~> 0"])
52
+ s.add_development_dependency(%q<rdoc>.freeze, ["~> 3"])
53
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1"])
54
+ s.add_development_dependency(%q<juwelier>.freeze, ["~> 2"])
55
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0"])
56
+ s.add_development_dependency(%q<guard-rspec>.freeze, ["~> 0"])
54
57
  else
55
- s.add_dependency(%q<rspec>, ["~> 2"])
56
- s.add_dependency(%q<yard>, ["~> 0"])
57
- s.add_dependency(%q<rdoc>, ["~> 3"])
58
- s.add_dependency(%q<bundler>, ["~> 1"])
59
- s.add_dependency(%q<jeweler>, ["~> 2"])
60
- s.add_dependency(%q<simplecov>, ["~> 0"])
61
- s.add_dependency(%q<semver>, ["~> 1"])
62
- s.add_dependency(%q<guard-rspec>, ["~> 0"])
58
+ s.add_dependency(%q<semver>.freeze, ["~> 1"])
59
+ s.add_dependency(%q<json>.freeze, [">= 2.0.2", "~> 2.0"])
60
+ s.add_dependency(%q<rspec>.freeze, ["~> 3"])
61
+ s.add_dependency(%q<yard>.freeze, ["~> 0"])
62
+ s.add_dependency(%q<rdoc>.freeze, ["~> 3"])
63
+ s.add_dependency(%q<bundler>.freeze, ["~> 1"])
64
+ s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
65
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0"])
66
+ s.add_dependency(%q<guard-rspec>.freeze, ["~> 0"])
63
67
  end
64
68
  else
65
- s.add_dependency(%q<rspec>, ["~> 2"])
66
- s.add_dependency(%q<yard>, ["~> 0"])
67
- s.add_dependency(%q<rdoc>, ["~> 3"])
68
- s.add_dependency(%q<bundler>, ["~> 1"])
69
- s.add_dependency(%q<jeweler>, ["~> 2"])
70
- s.add_dependency(%q<simplecov>, ["~> 0"])
71
- s.add_dependency(%q<semver>, ["~> 1"])
72
- s.add_dependency(%q<guard-rspec>, ["~> 0"])
69
+ s.add_dependency(%q<semver>.freeze, ["~> 1"])
70
+ s.add_dependency(%q<json>.freeze, [">= 2.0.2", "~> 2.0"])
71
+ s.add_dependency(%q<rspec>.freeze, ["~> 3"])
72
+ s.add_dependency(%q<yard>.freeze, ["~> 0"])
73
+ s.add_dependency(%q<rdoc>.freeze, ["~> 3"])
74
+ s.add_dependency(%q<bundler>.freeze, ["~> 1"])
75
+ s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
76
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0"])
77
+ s.add_dependency(%q<guard-rspec>.freeze, ["~> 0"])
73
78
  end
74
79
  end
75
80
 
metadata CHANGED
@@ -1,29 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k-tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-21 00:00:00.000000000 Z
11
+ date: 2016-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: semver
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.2
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: '2.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 2.0.2
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
13
47
  - !ruby/object:Gem::Dependency
14
48
  name: rspec
15
49
  requirement: !ruby/object:Gem::Requirement
16
50
  requirements:
17
51
  - - "~>"
18
52
  - !ruby/object:Gem::Version
19
- version: '2'
53
+ version: '3'
20
54
  type: :development
21
55
  prerelease: false
22
56
  version_requirements: !ruby/object:Gem::Requirement
23
57
  requirements:
24
58
  - - "~>"
25
59
  - !ruby/object:Gem::Version
26
- version: '2'
60
+ version: '3'
27
61
  - !ruby/object:Gem::Dependency
28
62
  name: yard
29
63
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +101,7 @@ dependencies:
67
101
  - !ruby/object:Gem::Version
68
102
  version: '1'
69
103
  - !ruby/object:Gem::Dependency
70
- name: jeweler
104
+ name: juwelier
71
105
  requirement: !ruby/object:Gem::Requirement
72
106
  requirements:
73
107
  - - "~>"
@@ -94,20 +128,6 @@ dependencies:
94
128
  - - "~>"
95
129
  - !ruby/object:Gem::Version
96
130
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: semver
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1'
111
131
  - !ruby/object:Gem::Dependency
112
132
  name: guard-rspec
113
133
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +159,9 @@ extra_rdoc_files:
139
159
  files:
140
160
  - ".document"
141
161
  - ".rspec"
162
+ - ".ruby-version"
142
163
  - ".semver"
164
+ - ".travis.yml"
143
165
  - Gemfile
144
166
  - Gemfile.lock
145
167
  - LICENSE.txt
@@ -170,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
192
  version: '0'
171
193
  requirements: []
172
194
  rubyforge_project:
173
- rubygems_version: 2.4.5
195
+ rubygems_version: 2.6.8
174
196
  signing_key:
175
197
  specification_version: 4
176
198
  summary: K-Tree is a generalization of quadtrees and octrees.