rubyneat 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semver +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +23 -21
- data/README.md +4 -0
- data/lib/rubyneat/cli/main.rb +1 -0
- data/lib/rubyneat/rubyneat.rb +4 -6
- data/rubyneat.gemspec +6 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a6f2a42dab29be7ddf9b258e50d8e7d57a937a
|
4
|
+
data.tar.gz: 216565b37ed08a9ec11044d47fe362f16943b5fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 326f054e5a2abb475f14a3f86c33e875fd3b8a1cb60b0fd31498f9fe004913bcfef5ba69205a6dc8843214a44b0808196ece287b050715808f2146f9ef4ef654
|
7
|
+
data.tar.gz: e47a4abeae9401c60c67b8d593b67d890dd23210f63d2ba53dec605f35481a793b4dff8e38306545134a606ac4a6100a1df2806cbbddede38a3f544b675f39ba
|
data/.semver
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -22,7 +22,7 @@ GEM
|
|
22
22
|
ffi (1.9.18)
|
23
23
|
formatador (0.2.5)
|
24
24
|
git (1.3.0)
|
25
|
-
github_api (0.
|
25
|
+
github_api (0.17.0)
|
26
26
|
addressable (~> 2.4.0)
|
27
27
|
descendants_tracker (~> 0.0.4)
|
28
28
|
faraday (~> 0.8, < 0.10)
|
@@ -45,24 +45,27 @@ GEM
|
|
45
45
|
rspec (>= 2.99.0, < 4.0)
|
46
46
|
hashie (3.5.5)
|
47
47
|
highline (1.7.8)
|
48
|
-
json (2.0
|
49
|
-
juwelier (2.
|
48
|
+
json (2.1.0)
|
49
|
+
juwelier (2.4.5)
|
50
50
|
builder
|
51
51
|
bundler (>= 1.13)
|
52
52
|
git (>= 1.2.5)
|
53
53
|
github_api
|
54
54
|
highline (>= 1.6.15)
|
55
|
+
kamelcase (~> 0)
|
55
56
|
nokogiri (>= 1.5.10)
|
56
57
|
psych (~> 2.2)
|
57
58
|
rake
|
58
59
|
rdoc
|
59
60
|
semver2
|
60
61
|
jwt (1.5.6)
|
62
|
+
kamelcase (0.0.0)
|
63
|
+
semver2 (~> 3)
|
61
64
|
listen (3.1.5)
|
62
65
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
63
66
|
rb-inotify (~> 0.9, >= 0.9.7)
|
64
67
|
ruby_dep (~> 1.2)
|
65
|
-
lumberjack (1.0.
|
68
|
+
lumberjack (1.0.12)
|
66
69
|
method_source (0.8.2)
|
67
70
|
mime-types (2.99.3)
|
68
71
|
mini_portile2 (2.1.0)
|
@@ -70,7 +73,7 @@ GEM
|
|
70
73
|
multi_xml (0.6.0)
|
71
74
|
multipart-post (2.0.0)
|
72
75
|
nenv (0.3.0)
|
73
|
-
nokogiri (1.7.
|
76
|
+
nokogiri (1.7.2)
|
74
77
|
mini_portile2 (~> 2.1.0)
|
75
78
|
notiffany (0.1.1)
|
76
79
|
nenv (~> 0.1)
|
@@ -90,40 +93,39 @@ GEM
|
|
90
93
|
aquarium (~> 0)
|
91
94
|
json (~> 2.0, >= 2.0.2)
|
92
95
|
semver2 (~> 3)
|
93
|
-
rack (2.0.
|
96
|
+
rack (2.0.3)
|
94
97
|
rake (12.0.0)
|
95
98
|
rb-fsevent (0.9.8)
|
96
99
|
rb-inotify (0.9.8)
|
97
100
|
ffi (>= 0.5.0)
|
98
101
|
rb-readline (0.5.4)
|
99
102
|
rdoc (5.1.0)
|
100
|
-
rspec (3.
|
101
|
-
rspec-core (~> 3.
|
102
|
-
rspec-expectations (~> 3.
|
103
|
-
rspec-mocks (~> 3.
|
104
|
-
rspec-core (3.
|
105
|
-
rspec-support (~> 3.
|
106
|
-
rspec-expectations (3.
|
103
|
+
rspec (3.6.0)
|
104
|
+
rspec-core (~> 3.6.0)
|
105
|
+
rspec-expectations (~> 3.6.0)
|
106
|
+
rspec-mocks (~> 3.6.0)
|
107
|
+
rspec-core (3.6.0)
|
108
|
+
rspec-support (~> 3.6.0)
|
109
|
+
rspec-expectations (3.6.0)
|
107
110
|
diff-lcs (>= 1.2.0, < 2.0)
|
108
|
-
rspec-support (~> 3.
|
109
|
-
rspec-mocks (3.
|
111
|
+
rspec-support (~> 3.6.0)
|
112
|
+
rspec-mocks (3.6.0)
|
110
113
|
diff-lcs (>= 1.2.0, < 2.0)
|
111
|
-
rspec-support (~> 3.
|
112
|
-
rspec-support (3.
|
114
|
+
rspec-support (~> 3.6.0)
|
115
|
+
rspec-support (3.6.0)
|
113
116
|
ruby_dep (1.5.0)
|
114
|
-
semver (1.0.1)
|
115
117
|
semver2 (3.4.2)
|
116
118
|
shellany (0.0.1)
|
117
119
|
simplecov (0.14.1)
|
118
120
|
docile (~> 1.1.0)
|
119
121
|
json (>= 1.8, < 3)
|
120
122
|
simplecov-html (~> 0.10.0)
|
121
|
-
simplecov-html (0.10.
|
123
|
+
simplecov-html (0.10.1)
|
122
124
|
slop (3.6.0)
|
123
125
|
statistics2 (0.54)
|
124
126
|
thor (0.19.4)
|
125
127
|
thread_safe (0.3.6)
|
126
|
-
yard (0.9.
|
128
|
+
yard (0.9.9)
|
127
129
|
|
128
130
|
PLATFORMS
|
129
131
|
ruby
|
@@ -142,7 +144,7 @@ DEPENDENCIES
|
|
142
144
|
queue_ding
|
143
145
|
rb-readline (~> 0)
|
144
146
|
rspec (~> 3)
|
145
|
-
|
147
|
+
semver2 (~> 3)
|
146
148
|
simplecov (~> 0)
|
147
149
|
statistics2 (~> 0)
|
148
150
|
thor (~> 0)
|
data/README.md
CHANGED
data/lib/rubyneat/cli/main.rb
CHANGED
@@ -30,6 +30,7 @@ module RubyNEAT
|
|
30
30
|
|
31
31
|
class Main < Thor
|
32
32
|
class_option :verbose, type: :numeric, banner: '[1|2|3]', aliases: '-v'
|
33
|
+
class_option :logging, type: :string, banner: '[info|warn|err|debug]', aliases: ['--log', '-l']
|
33
34
|
|
34
35
|
desc 'list <type>', 'List the requested type.'
|
35
36
|
subcommand 'list', List
|
data/lib/rubyneat/rubyneat.rb
CHANGED
@@ -11,14 +11,12 @@ require 'queue_ding'
|
|
11
11
|
|
12
12
|
The RubyNEAT system incorporates the basis of the NEAT algorithm. Flexibility
|
13
13
|
is the key here, allowing RubyNEAT to be leverage in a variety of applications.
|
14
|
-
|
15
|
-
=== Requirements
|
16
|
-
We make no effort to support Ruby versions less than 2.0.0. I know this will
|
17
|
-
be a problem to some, but you are strongly urged to upgrade.
|
18
14
|
=end
|
19
15
|
|
20
|
-
$log
|
21
|
-
$log
|
16
|
+
if $log.nil?
|
17
|
+
$log = Logger.new(STDOUT)
|
18
|
+
$log.level = Logger::INFO
|
19
|
+
end
|
22
20
|
AwesomePrint.defaults = { plain: true }
|
23
21
|
|
24
22
|
=begin rdoc
|
data/rubyneat.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rubyneat 0.4.
|
5
|
+
# stub: rubyneat 0.4.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rubyneat".freeze
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Fred Mitchell".freeze]
|
14
|
-
s.date = "2017-
|
14
|
+
s.date = "2017-05-19"
|
15
15
|
s.description = "\n RubyNEAT -- Neural Evolution of Augmenting Topologies for Ruby.\n By way of an enhanced form of Genetic Algorithms -- the NEAT algorithm,\n populations of neural nets are evolved to handle pre-defined goals.\n\n RubyNEAT is the first implementation of the NEAT algorithm for Ruby, and\n it leverages Ruby's power to implement the NEAT algorithm in a way that would\n be difficult to do in other languages. The 'activation function' is largely\n standalone. Basically, activation is achieved by functional programming.\n\n Meaning, once your network is evolved, you can extract it as source code you\n can then utilize without the RubyNEAT engine.\n\n RubyNEAT can be used for nearly any Machine Learning task you can dream of,\n because it's also extensible and modular. See http://rubyneat.com for the\n details.\n ".freeze
|
16
16
|
s.email = "lordalveric@yahoo.com".freeze
|
17
17
|
s.executables = ["neat".freeze]
|
@@ -81,7 +81,7 @@ Gem::Specification.new do |s|
|
|
81
81
|
s.add_runtime_dependency(%q<bond>.freeze, ["~> 0"])
|
82
82
|
s.add_runtime_dependency(%q<rb-readline>.freeze, ["~> 0"])
|
83
83
|
s.add_runtime_dependency(%q<queue_ding>.freeze, [">= 0"])
|
84
|
-
s.add_runtime_dependency(%q<
|
84
|
+
s.add_runtime_dependency(%q<semver2>.freeze, ["~> 3"])
|
85
85
|
s.add_development_dependency(%q<rspec>.freeze, ["~> 3"])
|
86
86
|
s.add_development_dependency(%q<yard>.freeze, ["~> 0"])
|
87
87
|
s.add_development_dependency(%q<guard>.freeze, ["~> 2"])
|
@@ -100,7 +100,7 @@ Gem::Specification.new do |s|
|
|
100
100
|
s.add_dependency(%q<bond>.freeze, ["~> 0"])
|
101
101
|
s.add_dependency(%q<rb-readline>.freeze, ["~> 0"])
|
102
102
|
s.add_dependency(%q<queue_ding>.freeze, [">= 0"])
|
103
|
-
s.add_dependency(%q<
|
103
|
+
s.add_dependency(%q<semver2>.freeze, ["~> 3"])
|
104
104
|
s.add_dependency(%q<rspec>.freeze, ["~> 3"])
|
105
105
|
s.add_dependency(%q<yard>.freeze, ["~> 0"])
|
106
106
|
s.add_dependency(%q<guard>.freeze, ["~> 2"])
|
@@ -120,7 +120,7 @@ Gem::Specification.new do |s|
|
|
120
120
|
s.add_dependency(%q<bond>.freeze, ["~> 0"])
|
121
121
|
s.add_dependency(%q<rb-readline>.freeze, ["~> 0"])
|
122
122
|
s.add_dependency(%q<queue_ding>.freeze, [">= 0"])
|
123
|
-
s.add_dependency(%q<
|
123
|
+
s.add_dependency(%q<semver2>.freeze, ["~> 3"])
|
124
124
|
s.add_dependency(%q<rspec>.freeze, ["~> 3"])
|
125
125
|
s.add_dependency(%q<yard>.freeze, ["~> 0"])
|
126
126
|
s.add_dependency(%q<guard>.freeze, ["~> 2"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyneat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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: 2017-
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: distribution
|
@@ -171,19 +171,19 @@ dependencies:
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
174
|
+
name: semver2
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
179
|
+
version: '3'
|
180
180
|
type: :runtime
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
186
|
+
version: '3'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: rspec
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|