gmt 0.2.1 → 0.2.2
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/ext/gmt/gmt.c +8 -0
- data/lib/gmt.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7c16625a1784afc2bc4bea4595cedbe3625c278c74c1c8468a82a10b43530de
|
|
4
|
+
data.tar.gz: 1a506fcdc8edeeaddf2f7ad7da5ffbf7c6c23822e4d5164f8c70f24cef471d80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43dbd14bf6d41a49bd91c0afe5f210e35f4b5e914a2f71f7f958f75841fd5cda975d5ecbda503c42f25b048dda643e03cf79438f7443dff12e9d9a304103dff3
|
|
7
|
+
data.tar.gz: 5a9a237244a07dad68258d383863f44d526fb5397826f0b146bd3ed18aa4e172f1b345cb8e771c628ada316c8e4c44dd2b2d9647da82483a32cc5ceaed8419e0
|
data/ext/gmt/gmt.c
CHANGED
|
@@ -214,6 +214,10 @@ GMT_FUN(sphtriangulate)
|
|
|
214
214
|
|
|
215
215
|
/* Convert or extract subsets of data */
|
|
216
216
|
|
|
217
|
+
#if API_AT_LEAST(6, 2, 0)
|
|
218
|
+
GMT_FUN(gmtbinstats)
|
|
219
|
+
#endif
|
|
220
|
+
|
|
217
221
|
GMT_FUN(gmtconnect)
|
|
218
222
|
GMT_FUN(gmtconvert)
|
|
219
223
|
GMT_FUN(gmtselect)
|
|
@@ -377,6 +381,10 @@ void Init_gmt(void)
|
|
|
377
381
|
|
|
378
382
|
/* Convert or extract subsets of data */
|
|
379
383
|
|
|
384
|
+
#if API_AT_LEAST(6, 2, 0)
|
|
385
|
+
RB_DPM(gmtbinstats);
|
|
386
|
+
#endif
|
|
387
|
+
|
|
380
388
|
RB_DPM(gmtconnect);
|
|
381
389
|
RB_DPM(gmtconvert);
|
|
382
390
|
RB_DPM(gmtselect);
|
data/lib/gmt.rb
CHANGED
|
@@ -426,6 +426,9 @@ class GMT
|
|
|
426
426
|
|
|
427
427
|
# @!group Convert or extract subsets of data
|
|
428
428
|
|
|
429
|
+
# Bin spatial data and determine statistics per bin
|
|
430
|
+
wrapper_other :gmtbinstats
|
|
431
|
+
|
|
429
432
|
# Connect segments into more complete lines or polygons
|
|
430
433
|
wrapper_other :gmtconnect
|
|
431
434
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gmt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- J.J. Green
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|