numo-gnuplot 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +25 -17
- data/lib/numo/gnuplot.rb +3 -3
- data/numo-gnuplot.gemspec +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 207eee52a40503388116fc6745dfc547abb4ae4b
|
4
|
+
data.tar.gz: 87f57e24d3f81c0a2b134473307c11efc9744df1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a30b8b85142e87bec88504dcc573d4ac0e367587c4cc0a97da21347a0af3efc09a989c4ae0d71970f617c98229415ea12a281c9670cadc08f09a5afd157573e1
|
7
|
+
data.tar.gz: d07566c07f3f1f3366e41e74f80a531fdd440b4fc001461c97034a7f5fe3d5efa6aa21023fd994d9a1ae25dcc9115a3928926fac7e4f0dccc41c1b766e325138
|
data/LICENSE
CHANGED
@@ -1,21 +1,29 @@
|
|
1
|
-
|
1
|
+
BSD 3-Clause License
|
2
2
|
|
3
|
-
Copyright (c) 2016 Masahiro TANAKA
|
3
|
+
Copyright (c) 2016, Masahiro TANAKA
|
4
|
+
All rights reserved.
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
11
8
|
|
12
|
-
|
13
|
-
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this
|
10
|
+
list of conditions and the following disclaimer.
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
14
|
+
and/or other materials provided with the distribution.
|
15
|
+
|
16
|
+
* Neither the name of the copyright holder nor the names of its
|
17
|
+
contributors may be used to endorse or promote products derived from
|
18
|
+
this software without specific prior written permission.
|
19
|
+
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/lib/numo/gnuplot.rb
CHANGED
@@ -18,7 +18,7 @@ module Numo
|
|
18
18
|
|
19
19
|
class Gnuplot
|
20
20
|
|
21
|
-
VERSION = "0.2.
|
21
|
+
VERSION = "0.2.3"
|
22
22
|
POOL = []
|
23
23
|
DATA_FORMAT = "%.7g"
|
24
24
|
|
@@ -364,7 +364,7 @@ class Gnuplot
|
|
364
364
|
@history << s
|
365
365
|
@last_message = []
|
366
366
|
while line=@ior.gets
|
367
|
-
break if /^_end_of_cmd_$/ =~ line
|
367
|
+
break if /^_end_of_cmd_$/ =~ line.chomp
|
368
368
|
puts ">"+line if @debug
|
369
369
|
@last_message << line
|
370
370
|
end
|
@@ -836,7 +836,7 @@ class Gnuplot
|
|
836
836
|
if @text
|
837
837
|
s = ""
|
838
838
|
@n.times{|i| s << line_str(i)+"\n"}
|
839
|
-
s + "e"
|
839
|
+
s + "e\n"
|
840
840
|
elsif defined? Numo::NArray
|
841
841
|
m = @data.size
|
842
842
|
x = Numo::DFloat.zeros(@n,m)
|
data/numo-gnuplot.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Gnuplot interface for Ruby.}
|
13
13
|
spec.description = %q{Gnuplot interface for Ruby with simple and similar inteface with Gnuplot.}
|
14
14
|
spec.homepage = "https://github.com/ruby-numo/gnuplot"
|
15
|
+
spec.license = "BSD-3-Clause"
|
15
16
|
|
16
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
17
18
|
# delete this section to allow pushing this gem to any host.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-gnuplot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro TANAKA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,8 @@ files:
|
|
66
66
|
- numo-gnuplot.gemspec
|
67
67
|
- setup.rb
|
68
68
|
homepage: https://github.com/ruby-numo/gnuplot
|
69
|
-
licenses:
|
69
|
+
licenses:
|
70
|
+
- BSD-3-Clause
|
70
71
|
metadata: {}
|
71
72
|
post_install_message:
|
72
73
|
rdoc_options: []
|
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
85
|
version: '0'
|
85
86
|
requirements: []
|
86
87
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.6.
|
88
|
+
rubygems_version: 2.6.11
|
88
89
|
signing_key:
|
89
90
|
specification_version: 4
|
90
91
|
summary: Gnuplot interface for Ruby.
|