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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/gmt/gmt.c +8 -0
  3. data/lib/gmt.rb +3 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 022e26f3ae09a259ba342cab4ed53d469ce9adba239cb1d6def587c383537293
4
- data.tar.gz: 18a9d16c538a093b3cd1d4daa6e48861f15b8d6687b7dea63eda45d688c42767
3
+ metadata.gz: e7c16625a1784afc2bc4bea4595cedbe3625c278c74c1c8468a82a10b43530de
4
+ data.tar.gz: 1a506fcdc8edeeaddf2f7ad7da5ffbf7c6c23822e4d5164f8c70f24cef471d80
5
5
  SHA512:
6
- metadata.gz: 0d5edbe55be22cdfeb039bfa8cdd91d20fc067c300546a60f5a72e51bba1e602b78067ae035cc1cc68826afbd6bdc1348f815c44308532597b5bad3785b0a874
7
- data.tar.gz: 80d956f883d259d96f81c46b2f99e8c0463ee6f37a96f1f7b9fbf9e664deedba0dada8194bf48b0ca4d747f04f0f85f63b24c09acfeb3cf1ee0153aad487086e
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.1
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-01-18 00:00:00.000000000 Z
11
+ date: 2021-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler