blackwinter-gnuplot 2.3.5.1 → 2.3.5.3
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 +7 -0
- data/Rakefile +3 -0
- data/lib/gnuplot.rb +4 -3
- data/lib/gnuplot/version.rb +1 -1
- metadata +36 -66
- data/examples/.gitignore +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 65cb111632524f9f233ecf9a9494e3989f83c374
|
4
|
+
data.tar.gz: 4385dfde79f695b04ffcd31b2206d24d6206a421
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6390628c74f16e863f63a2139791546490d980ba8221fe24759545ac7001ca739b6804b4de9e6f8bb70d4abb13f79e712f54ce9ae36c0477f6d333ca91f0eb35
|
7
|
+
data.tar.gz: 6a333675f2b2e2bf90c362e339a7bad92c49d0fc62cd34f58d34869c7ad2b86d794276c9108cd0b69e7ac2a894e98a1ee5cebb4b7b3c6114c1cec4c942412ced
|
data/Rakefile
CHANGED
@@ -11,6 +11,9 @@ Jeweler::Tasks.new { |s|
|
|
11
11
|
s.authors = ['Roger Pack', 'Jens Wille']
|
12
12
|
s.email = ['rogerpack2005@gmail.com', 'jens.wille@uni-koeln.de']
|
13
13
|
s.homepage = 'http://github.com/blackwinter/ruby_gnuplot'
|
14
|
+
s.files = FileList[
|
15
|
+
'[A-Z]*', 'examples/*', 'lib/**/*.rb', 'test/**/test_*.rb'
|
16
|
+
].to_a
|
14
17
|
|
15
18
|
s.add_dependency 'ruby-nuggets'
|
16
19
|
}
|
data/lib/gnuplot.rb
CHANGED
@@ -50,13 +50,14 @@ module Gnuplot
|
|
50
50
|
#
|
51
51
|
# See the {GNUPLOT documentation}[http://gnuplot.sourceforge.net/documentation.html]
|
52
52
|
# for information on the persist flag.
|
53
|
-
def open(persist = true, mode =
|
54
|
-
IO.popen(gnuplot(persist), mode) { |gp| yield gp }
|
53
|
+
def open(persist = true, mode = nil, opts = {})
|
54
|
+
IO.popen(gnuplot(persist), mode || 'w', opts) { |gp| yield gp }
|
55
55
|
end
|
56
56
|
|
57
57
|
# Wraps the calls to Gnuplot.open and Gnuplot::Plot.new.
|
58
58
|
def plot(persist = true, *args, &block)
|
59
|
-
|
59
|
+
opts = args.last.is_a?(Hash) ? args.pop : {}
|
60
|
+
open(persist, 'w', opts) { |gp| Plot.new(gp, *args, &block) }
|
60
61
|
end
|
61
62
|
|
62
63
|
# If +file+ is a file name that has a Gnuplot.terminal associated with it,
|
data/lib/gnuplot/version.rb
CHANGED
metadata
CHANGED
@@ -1,58 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: blackwinter-gnuplot
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 3
|
9
|
-
- 5
|
10
|
-
- 1
|
11
|
-
version: 2.3.5.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.5.3
|
12
5
|
platform: ruby
|
13
|
-
authors:
|
6
|
+
authors:
|
14
7
|
- Roger Pack
|
15
8
|
- Jens Wille
|
16
9
|
autorequire:
|
17
10
|
bindir: bin
|
18
11
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
dependencies:
|
23
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-09-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
24
15
|
name: ruby-nuggets
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
hash: 3
|
32
|
-
segments:
|
33
|
-
- 0
|
34
|
-
version: "0"
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
35
21
|
type: :runtime
|
36
|
-
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
37
28
|
description:
|
38
|
-
email:
|
29
|
+
email:
|
39
30
|
- rogerpack2005@gmail.com
|
40
31
|
- jens.wille@uni-koeln.de
|
41
32
|
executables: []
|
42
|
-
|
43
33
|
extensions: []
|
44
|
-
|
45
|
-
extra_rdoc_files:
|
34
|
+
extra_rdoc_files:
|
46
35
|
- ChangeLog
|
47
36
|
- LICENSE.txt
|
48
37
|
- README.rdoc
|
49
|
-
files:
|
38
|
+
files:
|
50
39
|
- AUTHORS.txt
|
51
40
|
- ChangeLog
|
52
41
|
- LICENSE.txt
|
53
42
|
- README.rdoc
|
54
43
|
- Rakefile
|
55
|
-
- examples/.gitignore
|
56
44
|
- examples/discrete_points.rb
|
57
45
|
- examples/histogram.rb
|
58
46
|
- examples/multiple_data_sets.rb
|
@@ -62,45 +50,27 @@ files:
|
|
62
50
|
- lib/gnuplot.rb
|
63
51
|
- lib/gnuplot/version.rb
|
64
52
|
- test/test_gnuplot.rb
|
65
|
-
has_rdoc: true
|
66
53
|
homepage: http://github.com/blackwinter/ruby_gnuplot
|
67
54
|
licenses: []
|
68
|
-
|
55
|
+
metadata: {}
|
69
56
|
post_install_message:
|
70
57
|
rdoc_options: []
|
71
|
-
|
72
|
-
require_paths:
|
58
|
+
require_paths:
|
73
59
|
- lib
|
74
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
none: false
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
hash: 3
|
89
|
-
segments:
|
90
|
-
- 0
|
91
|
-
version: "0"
|
60
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
92
70
|
requirements: []
|
93
|
-
|
94
71
|
rubyforge_project:
|
95
|
-
rubygems_version:
|
72
|
+
rubygems_version: 2.0.7
|
96
73
|
signing_key:
|
97
|
-
specification_version:
|
74
|
+
specification_version: 4
|
98
75
|
summary: Utility library to aid in interacting with GNUPLOT
|
99
|
-
test_files:
|
100
|
-
- examples/discrete_points.rb
|
101
|
-
- examples/histogram.rb
|
102
|
-
- examples/multiple_data_sets.rb
|
103
|
-
- examples/output_file1.rb
|
104
|
-
- examples/output_file2.rb
|
105
|
-
- examples/sine_wave.rb
|
106
|
-
- test/test_gnuplot.rb
|
76
|
+
test_files: []
|
data/examples/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
sine_wave_example*.*
|