gmt 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
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: e7c16625a1784afc2bc4bea4595cedbe3625c278c74c1c8468a82a10b43530de
4
- data.tar.gz: 1a506fcdc8edeeaddf2f7ad7da5ffbf7c6c23822e4d5164f8c70f24cef471d80
3
+ metadata.gz: 8c3d9adf57be499c296fab1aa6c6c23d1001d17709f96c0cfc62d5a3fa344a66
4
+ data.tar.gz: e51bafc40060577b2bc98a376dcc23b863e586697122e28335582ac0ffea522b
5
5
  SHA512:
6
- metadata.gz: 43dbd14bf6d41a49bd91c0afe5f210e35f4b5e914a2f71f7f958f75841fd5cda975d5ecbda503c42f25b048dda643e03cf79438f7443dff12e9d9a304103dff3
7
- data.tar.gz: 5a9a237244a07dad68258d383863f44d526fb5397826f0b146bd3ed18aa4e172f1b345cb8e771c628ada316c8e4c44dd2b2d9647da82483a32cc5ceaed8419e0
6
+ metadata.gz: 29d50bccf9a8868617653da560a520e2af073e81dcd8a99e75086f4108abfd6516f4a08073cadad8d78b60687434c06032299708b5dac9c674a09c2b5fdf9ed1
7
+ data.tar.gz: 8f57a9db15bd3a1d5afbd899af330632e6fc72fec26c64c5ba64781ec939d42cc502a07b9d373ce02e1874e423d607dab608735d155b360130a66c81a3746ec4
data/ext/gmt/gmt.c CHANGED
@@ -203,6 +203,10 @@ GMT_FUN(gmtinfo)
203
203
  GMT_FUN(gmtset)
204
204
  GMT_FUN(grdinfo)
205
205
 
206
+ #if API_AT_LEAST(6, 3, 0)
207
+ GMT_FUN(grdselect)
208
+ #endif
209
+
206
210
  /* Mathematical operations on tables or grids */
207
211
 
208
212
  GMT_FUN(gmtmath)
@@ -370,6 +374,10 @@ void Init_gmt(void)
370
374
  RB_DPM(gmtset);
371
375
  RB_DPM(grdinfo);
372
376
 
377
+ #if API_AT_LEAST(6, 3, 0)
378
+ RB_DPM(grdselect);
379
+ #endif
380
+
373
381
  /* Mathematical operations on tables or grids */
374
382
 
375
383
  RB_DPM(gmtmath);
data/lib/gmt.rb CHANGED
@@ -402,6 +402,9 @@ class GMT
402
402
  # Get information about grid files
403
403
  wrapper_other :grdinfo
404
404
 
405
+ # Make selections or determine common regions from 2-D grids, images or 3-D cubes
406
+ wrapper_other :grdselect
407
+
405
408
 
406
409
  # @!group Mathematical operations on tables or grids
407
410
 
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.2
4
+ version: 0.2.3
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-07-09 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler