timesteps 0.9.7 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/NEWS.md +8 -0
- data/lib/timesteps/timestep_range.rb +8 -9
- data/timesteps.gemspec +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5e250a6b62bd9f9ac48c4a23390fd8dbc50a887c65c020a8e5a31c34231699c
|
4
|
+
data.tar.gz: b0e3d2bd61e0ca504eb904398092f575a0e75ac12e2b34b7c5e52afc97a97749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b41b5827d9535d55a86b30e2bf8e64d95ea7d9db62282af44b2b0bc6ed89c640f6261232cab56e294355b65b6092db40ba32397681b99d38b9c591ef2dd6a68
|
7
|
+
data.tar.gz: 349f595b0f3d10c5babdc26aec689b7cf0826de7e1a4cd879af7a6cdf3ccbc6cb77ad86bf983cfa6913ac4595bed076efd4ec7fc5dd0774f6476054d27b7bba8
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--no-private
|
data/NEWS.md
ADDED
@@ -13,16 +13,15 @@ class TimeStep::Range
|
|
13
13
|
if last
|
14
14
|
case start
|
15
15
|
when Numeric
|
16
|
-
raise "start and last types doesn't match" unless last.is_a?(Numeric)
|
17
16
|
when DateTime, DateTimeLike, String
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
17
|
+
start = timestep.index_at(start)
|
18
|
+
else
|
19
|
+
raise "unknown type of argument"
|
20
|
+
end
|
21
|
+
case last
|
22
|
+
when Numeric
|
23
|
+
when DateTime, DateTimeLike, String
|
24
|
+
last = timestep.index_at(last)
|
26
25
|
else
|
27
26
|
raise "unknown argument"
|
28
27
|
end
|
data/timesteps.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timesteps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroki Motoyoshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: " A library for time conversion and intercomparison of multiple time
|
14
14
|
series data \n in the case of handling time series data of the type that specifies
|
@@ -22,7 +22,9 @@ executables: []
|
|
22
22
|
extensions: []
|
23
23
|
extra_rdoc_files: []
|
24
24
|
files:
|
25
|
+
- ".yardopts"
|
25
26
|
- LICENSES
|
27
|
+
- NEWS.md
|
26
28
|
- Note.ja.md
|
27
29
|
- README.md
|
28
30
|
- Rakefile
|