ruby-mext 0.21.5 → 0.21.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/gruff/gruff.rake +1 -1
- data/lib/tasks/gruff/polynomial.rake +17 -0
- data/lib/version.rb +1 -1
- data/ruby-mext.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d543e0e00be11dea0f00c0ce6d9679d4a4c75763f4ff106eee0a262e1a0405c
|
4
|
+
data.tar.gz: 68ec005980d394bc22d3a17f3ab4c62706d02fc795a90b731b9393556ab338e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69bd963b1dcfa608bf0735b2b7c568e949621c591146f495456866fec37688398ebc9a712905e5af8ac9c597e8408845f7ed96c50d1edc3e353522d286ccced9
|
7
|
+
data.tar.gz: 271c3f54fbcf26341fbf1ab681b0c04742eae5fd00fd2ec05b92118e990a85415ec7f1b90c3a13717f38132b9146d892671b2fa9400beb7064db7e9abc8d36f7
|
data/lib/tasks/gruff/gruff.rake
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require File.expand_path(File.join(['..'] * 4, 'spec', 'fixtures', 'polynomial_dataset'), __FILE__)
|
3
|
+
require File.expand_path(File.join('..', 'gruff_plot'), __FILE__)
|
4
|
+
|
5
|
+
namespace :plot do
|
6
|
+
|
7
|
+
desc 'plot the Polynomial dataset'
|
8
|
+
task :polynomial => :create_output_dir do
|
9
|
+
ranges = [ Range.new(0, 0) ]
|
10
|
+
p = Mext::Gruff::Plotter.new('polynomial_dataset', 800, Mext::Spec::Fixtures::Math::POLYNOMIAL_DATASET, ranges)
|
11
|
+
p.plot do
|
12
|
+
|args|
|
13
|
+
Math::Polynomial.new(args)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
data/lib/version.rb
CHANGED
data/ruby-mext.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-mext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicola Bernardini
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: gruff
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -200,6 +200,7 @@ files:
|
|
200
200
|
- lib/tasks/gruff/gruff.rake
|
201
201
|
- lib/tasks/gruff/gruff_plot.rb
|
202
202
|
- lib/tasks/gruff/line.rake
|
203
|
+
- lib/tasks/gruff/polynomial.rake
|
203
204
|
- lib/tasks/gruff/stepwise.rake
|
204
205
|
- lib/version.rb
|
205
206
|
- ruby-mext.gemspec
|