ruby-fann 1.3.2 → 1.4.0

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: 00c8b18955c60b5065c9a7651e0ec29025875b40d08c7243ae33729def2744d8
4
- data.tar.gz: bfaa2fc0c5365e990341b8671cb10bed9305fcedde3a2bc210b62fbcc40cc32d
3
+ metadata.gz: 5f69931c60a95be5f61615040e3f17707fb55fc973927c4fc2923a175074ca69
4
+ data.tar.gz: 713eae27835fa17800ccb988b6c10bdcfef71dff2efa8022a1e6f1176d848c25
5
5
  SHA512:
6
- metadata.gz: 7032504c501bf7ef8b25a68b38f80c8af1717188a7d10660fe33cbf48ede29a7751abfe2083d048dcc66506ec6fff7893b8b90eda2d9873167a3e95d0d10f41b
7
- data.tar.gz: 22c57fa3b15ab68babaa531baa7cee54023a0bb65c423d25dba1a1bae237f9e40b3e6515c2648ff8fdeeee68b3375eee4ac4759bb7d7c1974e2123df119e7908
6
+ metadata.gz: 405e429b1e74019c26c04a62ac0723666776c6d953ccb900e48d382493b325dfa2b75ac97f073da09bd0715b140f3403a33378aa905141a7146a278f66fed2ec
7
+ data.tar.gz: e6b67dcd28e795afc1e2cab87a1270aa06032dba06fda0030163acb97ea2ca3f1ae6db1859028575607ff3246fb35a365b84d932784793dacd4cddb7c2440e16
data/README.md CHANGED
@@ -93,6 +93,7 @@ https://github.com/bigohstudios/tictactoe
93
93
  3. dignati
94
94
  4. Michal Pokorny
95
95
  5. Scott Li (locksley)
96
+ 6. alex.slotty
96
97
 
97
98
  ## Contributing
98
99
 
@@ -9,4 +9,4 @@ require 'mkmf'
9
9
  #dir_config('fann', '.')
10
10
  $objs=["ruby_fann.o", "doublefann.o"]
11
11
  have_header("doublefann.h")
12
- create_makefile("ruby_fann")
12
+ create_makefile("ruby_fann/ruby_fann")
@@ -4,7 +4,7 @@
4
4
  FANN_EXTERNAL struct fann_train_data * FANN_API fann_create_train_from_rb_ary2(
5
5
  unsigned int num_data,
6
6
  unsigned int num_input,
7
- unsigned int num_output)
7
+ unsigned long num_output)
8
8
  {
9
9
  return 0;
10
10
  }
@@ -18,7 +18,7 @@ FANN_EXTERNAL struct fann_train_data * FANN_API fann_create_train_from_rb_ary(
18
18
  VALUE outputs
19
19
  )
20
20
  {
21
- unsigned int i, j;
21
+ unsigned long i, j;
22
22
  fann_type *data_input, *data_output;
23
23
  struct fann_train_data *data = (struct fann_train_data *)malloc(sizeof(struct fann_train_data));
24
24
  unsigned int num_input = RARRAY_LEN(RARRAY_PTR(inputs)[0]);
@@ -1,8 +1,8 @@
1
1
  module RubyFann
2
2
  module VERSION
3
3
  MAJOR = 1
4
- MINOR = 3
5
- TINY = 2
4
+ MINOR = 4
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-fann
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tangledpath
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Bindings to use FANN from within ruby/rails environment
14
14
  email:
@@ -49,7 +49,7 @@ files:
49
49
  homepage: http://github.com/tangledpath/ruby-fann
50
50
  licenses: []
51
51
  metadata: {}
52
- post_install_message:
52
+ post_install_message:
53
53
  rdoc_options: []
54
54
  require_paths:
55
55
  - lib
@@ -65,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.1.4
69
- signing_key:
68
+ rubygems_version: 3.2.3
69
+ signing_key:
70
70
  specification_version: 4
71
71
  summary: Bindings to use FANN from within ruby/rails environment. Fann is a is a
72
72
  free open source neural network library, which implements multilayer artificial