matrix_boost 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: edf1ea7cf2375607d1680ad931b9da4740bd94ed4751bb11076c7f76f8eb3466
4
- data.tar.gz: 8b8fde75f0be426b15b1fb44493bc5cb8373985a718edb429686d558d7e63535
3
+ metadata.gz: 5699ef178a5e4dce6a6348973a2c89f34b25e32fe7e300db840ed9e1771bca6e
4
+ data.tar.gz: ecc24a6653e474cb8a5fdd18cfd7d3d9f50696270578285d7f68463a8937f6ab
5
5
  SHA512:
6
- metadata.gz: b40d23ee4416f3f411cf9e68f597f468cfd8f60dec26a32053b108e60edb3be7a1c338cf7afb9a52fdc32e36b68798d39410daf7e99c746eb800d000cab0b7f1
7
- data.tar.gz: f287eabc86984559b619340f54a6ac044223b680e86502ba4b3cde448c755dcd00ae2965fc158851f91d7f410e6e8c5860127048667ea72ce7b49e116adb4f2d
6
+ metadata.gz: f3425f31a28d61637ce121a6822c0d9a4b96c5b7563611625d58a80966d2cf9eb9b3caecebdb74f74d6f93e0d9df3c9e6528d7e5b503036ea9f42d28b9d70491
7
+ data.tar.gz: 88ffdde0f231e52f18bb3ad8459d7b8fe81bcd29b4e702cbea315be512df8d6511bc98c889ddc24faaffe89b91b61e3b3a6c33b3a2fec915a25e6e9cdf72f73b
data/.gitignore CHANGED
@@ -7,7 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  Gemfile.lock
10
- ext/*.o
11
- ext/*.bundle
12
- ext/Makefile
10
+ ext/**/*.o
11
+ ext/**/*.bundle
12
+ ext/**/Makefile
13
13
  *.gem
data/Rakefile CHANGED
@@ -11,14 +11,15 @@ end
11
11
 
12
12
  task :compile do
13
13
  puts "Compiling extension"
14
- `cd ext && make clean`
15
- `cd ext && ruby extconf.rb`
16
- `cd ext && make`
14
+ `cd ext/matrix_boost && make clean`
15
+ `cd ext/matrix_boost && ruby extconf.rb`
16
+ `cd ext/matrix_boost && make`
17
17
  puts "Done"
18
18
  end
19
19
 
20
20
  task :benchmark_multiply do
21
21
  require "matrix_boost"
22
+ require "benchmark"
22
23
 
23
24
  dim = 4
24
25
  n = 10000
@@ -0,0 +1,3 @@
1
+ require "mkmf"
2
+
3
+ create_makefile "matrix_boost/extension"
@@ -1,5 +1,4 @@
1
1
  #include "ruby/ruby.h"
2
- #include "ruby/encoding.h"
3
2
  #include "matrices.h"
4
3
 
5
4
  void print_obj(VALUE o) {
File without changes
File without changes
data/lib/matrix_boost.rb CHANGED
@@ -1,6 +1,5 @@
1
- require "extension"
1
+ require "matrix_boost/extension"
2
2
  require "matrix"
3
- require "benchmark"
4
3
 
5
4
  module MatrixBoost
6
5
  class << self
@@ -1,3 +1,3 @@
1
1
  module MatrixBoost
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matrix_boost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Bajena
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-18 00:00:00.000000000 Z
11
+ date: 2020-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -70,10 +70,10 @@ files:
70
70
  - bin/console
71
71
  - bin/rake
72
72
  - bin/setup
73
- - ext/extconf.rb
74
- - ext/extension.c
75
- - ext/matrices.c
76
- - ext/matrices.h
73
+ - ext/matrix_boost/extconf.rb
74
+ - ext/matrix_boost/extension.c
75
+ - ext/matrix_boost/matrices.c
76
+ - ext/matrix_boost/matrices.h
77
77
  - lib/matrix_boost.rb
78
78
  - lib/matrix_boost/core_extensions.rb
79
79
  - lib/matrix_boost/version.rb
data/ext/extconf.rb DELETED
@@ -1,3 +0,0 @@
1
- require "mkmf"
2
-
3
- create_makefile "extension"