gnuplotrb 0.3.3 → 0.3.4
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 +4 -4
- data/README.rdoc +2 -0
- data/lib/gnuplotrb/staff/dataset.rb +3 -1
- data/lib/gnuplotrb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0565bcecdb956b436309936bcd581b1cdef790ac
|
|
4
|
+
data.tar.gz: 0ab14013f3cec9a7ec3301b34410911606ee75fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ff911f83b5aabfb25f6fbe91d22b0790156b7dc7a723ec1364de82d8fe99f1ca2110ff55d5e21f9f9f0c9dc0463fea515581b8b8bcd99579231080234a2434d
|
|
7
|
+
data.tar.gz: 948be58c06f703c9a8a9e63ce9e4deba014be815ada8c93c2015d5ad681b371313c877c86c3a1825a1a4a90b28858867802b7e41b4c34fab3cebe8fb4c90552f
|
data/README.rdoc
CHANGED
|
@@ -9,7 +9,9 @@ This software has been developed as a product in Google Summer of Code 2015 (GSo
|
|
|
9
9
|
{<img src="https://gemnasium.com/dilcom/gnuplotrb.svg" alt="Dependency Status" />}[https://gemnasium.com/dilcom/gnuplotrb]
|
|
10
10
|
|
|
11
11
|
{<img src="https://travis-ci.org/SciRuby/gnuplotrb.svg" alt="Build Status" />}[https://travis-ci.org/SciRuby/gnuplotrb]
|
|
12
|
+
|
|
12
13
|
{<img src="https://codeclimate.com/github/sciruby/gnuplotrb/badges/gpa.svg" alt="Code quality" />}[https://codeclimate.com/github/sciruby/gnuplotrb]
|
|
14
|
+
|
|
13
15
|
{<img src="https://codeclimate.com/github/sciruby/gnuplotrb/badges/coverage.svg" alt="Test coverage" />}[https://codeclimate.com/github/sciruby/gnuplotrb]
|
|
14
16
|
|
|
15
17
|
== Table of contents
|
|
@@ -249,7 +249,9 @@ module GnuplotRB
|
|
|
249
249
|
# Create new value for 'using' option based on column count
|
|
250
250
|
def get_daru_columns(data, cnt)
|
|
251
251
|
new_opt = (2..cnt).to_a.join(':')
|
|
252
|
-
if
|
|
252
|
+
# check if DateTimeIndex. If not, assume it is Daru::Index and check for
|
|
253
|
+
# numeric value in the index.
|
|
254
|
+
if data.index.instance_of?(Daru::DateTimeIndex) || data.index.first[0].is_a?(Numeric)
|
|
253
255
|
"1:#{new_opt}"
|
|
254
256
|
else
|
|
255
257
|
"#{new_opt}:xtic(1)"
|
data/lib/gnuplotrb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gnuplotrb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Evgrafov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: hamster
|