ruby-gr 0.0.20 → 0.0.21
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.md +17 -17
- data/lib/gr.rb +21 -16
- data/lib/gr/plot.rb +14 -7
- data/lib/gr3.rb +9 -16
- data/lib/gr_commons/fiddley.rb +1 -1
- data/lib/gr_commons/gr_commons.rb +4 -0
- data/lib/gr_commons/search_shared_library.rb +31 -0
- data/lib/gr_commons/version.rb +1 -1
- data/lib/grm.rb +23 -16
- data/lib/grm/ffi.rb +23 -13
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20591722440c58b4cea29effed6bd13debcdc2c0383b40163d5b2fbc3f517f3e
|
4
|
+
data.tar.gz: 635fa83b40177e1c80936ca7fd949e2f2880c50710565db24e6e049f168d18ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b30985a6bc12803fd2aabc590ffaccf4a4b931a5d00bb1c8c443fec90fd60f799560edbe3454532650871a578222c3aafb6d949204fb74b4efc22b3ddc5b197e
|
7
|
+
data.tar.gz: 61e34d2541e1821f739d5c12be8524b9fbc7e0332223c2c89cda40b0f38fc2eaa3ad695e5dca2fd5c955ee1bc04f07d0c235a7ce6a59f11b093ea7707f68e31f
|
data/README.md
CHANGED
@@ -6,27 +6,27 @@
|
|
6
6
|
[](https://gitter.im/red-data-tools/en)
|
7
7
|
[](https://rubydoc.info/gems/ruby-gr)
|
8
8
|
|
9
|
-

|
10
|
-

|
11
|
-

|
12
|
-

|
13
|
-

|
14
|
-

|
15
|
-

|
16
|
-

|
17
|
-

|
18
|
-

|
19
|
-

|
20
|
-

|
21
|
-

|
22
|
-

|
23
|
-

|
9
|
+
[](examples/rdatasets.rb)
|
10
|
+
[](examples/fast_plots.rb)
|
11
|
+
[](examples/fast_plots.rb)
|
12
|
+
[](examples/fast_plots.rb)
|
13
|
+
[](examples/fast_plots.rb)
|
14
|
+
[](examples/fast_plots.rb)
|
15
|
+
[](examples/griddata.rb)
|
16
|
+
[](examples/2darray.rb)
|
17
|
+
[](examples/2dpolararray.rb)
|
18
|
+
[](examples/hexbin.rb)
|
19
|
+
[](examples/rdatasets.rb)
|
20
|
+
[](examples/rdatasets.rb)
|
21
|
+
[](examples/kws2.rb)
|
22
|
+
[](examples/face.rb)
|
23
|
+
[](examples/shade_ex.rb)
|
24
24
|
|
25
25
|
:bar_chart: [GR framework](https://github.com/sciapp/gr) - powerful visualization library - for Ruby
|
26
26
|
|
27
27
|
## Installation
|
28
28
|
|
29
|
-
GR.rb supports Ruby 2.
|
29
|
+
GR.rb supports Ruby 2.5+.
|
30
30
|
|
31
31
|
First, [install GR](#gr-installation). Next, set environment variable `GRDIR`.
|
32
32
|
|
@@ -83,7 +83,7 @@ GR.savefig("figure.png")
|
|
83
83
|
|
84
84
|
## API Overview
|
85
85
|
|
86
|
-
There are two different approaches to plotting with GR.rb. One way is to call Matlab-like APIs. The other is to call GR/GR3 native functions. We are planning to prepare a more object-oriented interface based on [GRUtils.jl](https://github.com/heliosdrm/GRUtils.jl) in the future.
|
86
|
+
There are two different approaches to plotting with GR.rb. One way is to call Matlab-like APIs. The other is to call GR/GR3 native functions. We are planning to prepare a [more object-oriented interface](https://github.com/kojix2/GRUtils.rb) based on [GRUtils.jl](https://github.com/heliosdrm/GRUtils.jl) in the future.
|
87
87
|
|
88
88
|
#### GR::Plot - A simple, matlab-style API.
|
89
89
|
|
data/lib/gr.rb
CHANGED
@@ -52,27 +52,20 @@ module GR
|
|
52
52
|
attr_accessor :ffi_lib
|
53
53
|
end
|
54
54
|
|
55
|
+
require_relative 'gr_commons/gr_commons'
|
56
|
+
extend GRCommons::SearchSharedLibrary
|
57
|
+
|
55
58
|
# Platforms | path
|
56
59
|
# Windows | bin/libgr.dll
|
57
60
|
# MacOSX | lib/libGR.so (NOT .dylib)
|
58
61
|
# Ubuntu | lib/libGR.so
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
RubyInstaller::Runtime.add_dll_directory(File.dirname(ffi_lib))
|
66
|
-
else
|
67
|
-
raise Error, 'Please set env variable GRDIR' unless ENV['GRDIR']
|
68
|
-
|
69
|
-
self.ffi_lib = File.expand_path('lib/libGR.so', ENV['GRDIR'])
|
70
|
-
end
|
71
|
-
|
72
|
-
# Change the default encoding to UTF-8.
|
73
|
-
ENV['GKS_ENCODING'] ||= 'utf8'
|
62
|
+
self.ffi_lib = case RbConfig::CONFIG['host_os']
|
63
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
64
|
+
search_shared_library('libgr.dll')
|
65
|
+
else
|
66
|
+
search_shared_library('libGR.so')
|
67
|
+
end
|
74
68
|
|
75
|
-
require_relative 'gr_commons/gr_commons'
|
76
69
|
require_relative 'gr/version'
|
77
70
|
require_relative 'gr/ffi'
|
78
71
|
require_relative 'gr/grbase'
|
@@ -509,6 +502,8 @@ module GR
|
|
509
502
|
# * 129 : FONT_PALATINO_BOLDITALIC
|
510
503
|
# * 130 : FONT_ZAPFCHANCERY_MEDIUMITALIC
|
511
504
|
# * 131 : FONT_ZAPFDINGBATS
|
505
|
+
# * 232 : FONT_COMPUTERMODERN
|
506
|
+
# * 233 : FONT_DEJAVUSANS
|
512
507
|
# @param precision [Integer] Text precision
|
513
508
|
# * 0 : TEXT_PRECISION_STRING
|
514
509
|
# * String precision (higher quality)
|
@@ -516,6 +511,8 @@ module GR
|
|
516
511
|
# * Character precision (medium quality)
|
517
512
|
# * 2 : TEXT_PRECISION_STROKE
|
518
513
|
# * Stroke precision (lower quality)
|
514
|
+
# * 3 : TEXT_PRECISION_OUTLINE
|
515
|
+
# * Outline precision (highest quality)
|
519
516
|
# The appearance of a font depends on the text precision value specified.
|
520
517
|
# STRING, CHARACTER or STROKE precision allows for a greater or lesser
|
521
518
|
# realization of the text primitives, for efficiency. STRING is the default
|
@@ -561,6 +558,14 @@ module GR
|
|
561
558
|
super
|
562
559
|
end
|
563
560
|
|
561
|
+
# Gets the current character height.
|
562
|
+
# This function gets the height of text output primitives. Text height is
|
563
|
+
# defined as a percentage of the default window. GR uses the default text
|
564
|
+
# height of 0.027 (2.7% of the height of the default window).
|
565
|
+
def inqcharheight
|
566
|
+
inquiry_double { |pt| super(pt) }
|
567
|
+
end
|
568
|
+
|
564
569
|
# Set the current character text angle up vector.
|
565
570
|
# @param ux [Numeric] Text up vector
|
566
571
|
# @param uy [Numeric] Text up vector
|
data/lib/gr/plot.rb
CHANGED
@@ -62,7 +62,7 @@ module GR
|
|
62
62
|
# label(singular form) is a original keyword arg which GR.jl does not have.
|
63
63
|
kvs[:labels] ||= [kvs[:label]] if kvs.has_key? :label
|
64
64
|
|
65
|
-
# Don't use
|
65
|
+
# Don't use ||= here, because we need to tell `false` from `nil`
|
66
66
|
kvs[:size] = [600, 450] unless kvs.has_key? :size
|
67
67
|
kvs[:ax] = false unless kvs.has_key? :ax
|
68
68
|
kvs[:subplot] = [0, 1, 0, 1] unless kvs.has_key? :subplot
|
@@ -185,8 +185,12 @@ module GR
|
|
185
185
|
minmax
|
186
186
|
end
|
187
187
|
|
188
|
-
major_count = %i[wireframe surface plot3 scatter3 polar polarhist
|
189
|
-
|
188
|
+
major_count = if %i[wireframe surface plot3 scatter3 polar polarhist
|
189
|
+
polarheatmap trisurf volume].include?(kind)
|
190
|
+
2
|
191
|
+
else
|
192
|
+
5
|
193
|
+
end
|
190
194
|
|
191
195
|
kvs[:xticks] = [kvs[:xticks], major_count] if kvs[:xticks].is_a? Numeric
|
192
196
|
kvs[:yticks] = [kvs[:yticks], major_count] if kvs[:yticks].is_a? Numeric
|
@@ -573,7 +577,9 @@ module GR
|
|
573
577
|
# Not yet.
|
574
578
|
end
|
575
579
|
|
576
|
-
GR.
|
580
|
+
# The following fonts are the default in GR.jl
|
581
|
+
# Japanese, Chinese, Korean, etc. cannot be displayed.
|
582
|
+
# GR.settextfontprec(232, 3) # CM Serif Roman
|
577
583
|
|
578
584
|
set_viewport(kind, kvs[:subplot])
|
579
585
|
unless kvs[:ax]
|
@@ -641,8 +647,7 @@ module GR
|
|
641
647
|
if z || c
|
642
648
|
if c
|
643
649
|
cmin, cmax = kvs[:crange]
|
644
|
-
c = c.
|
645
|
-
c.map! { |i| normalize_color(i, cmin, cmax) }
|
650
|
+
c = c.map { |i| normalize_color(i, cmin, cmax) }
|
646
651
|
cind = c.map { |i| (1000 + i * 255).round }
|
647
652
|
end
|
648
653
|
x.length.times do |i|
|
@@ -834,7 +839,7 @@ module GR
|
|
834
839
|
GR.setmarkertype(GR::MARKERTYPE_SOLID_CIRCLE)
|
835
840
|
if c
|
836
841
|
cmin, cmax = kvs[:crange]
|
837
|
-
c = c.map { |i| normalize_color(i, cmin, cmax) }
|
842
|
+
c = c.map { |i| normalize_color(i, cmin, cmax) }
|
838
843
|
cind = c.map { |i| (1000 + i * 255).round }
|
839
844
|
x.length.times do |i|
|
840
845
|
GR.setmarkercolorind(cind[i])
|
@@ -1040,7 +1045,9 @@ module GR
|
|
1040
1045
|
|
1041
1046
|
# Normalize a color c with the range [cmin, cmax]
|
1042
1047
|
# 0 <= normalize_color(c, cmin, cmax) <= 1
|
1048
|
+
# Note: narray.map{|i| normalize_color(i)} There's room for speedup.
|
1043
1049
|
def normalize_color(c, cmin, cmax)
|
1050
|
+
c = c.to_f # if c is Integer
|
1044
1051
|
c = c.clamp(cmin, cmax) - cmin
|
1045
1052
|
c /= (cmax - cmin) if cmin != cmax
|
1046
1053
|
c
|
data/lib/gr3.rb
CHANGED
@@ -60,27 +60,20 @@ module GR3
|
|
60
60
|
attr_accessor :ffi_lib
|
61
61
|
end
|
62
62
|
|
63
|
+
require_relative 'gr_commons/gr_commons'
|
64
|
+
extend GRCommons::SearchSharedLibrary
|
65
|
+
|
63
66
|
# Platforms | path
|
64
67
|
# Windows | bin/libGR3.dll
|
65
68
|
# MacOSX | lib/libGR3.so (NOT .dylib)
|
66
69
|
# Ubuntu | lib/libGR3.so
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
RubyInstaller::Runtime.add_dll_directory(File.dirname(ffi_lib))
|
74
|
-
else
|
75
|
-
raise Error, 'Please set env variable GRDIR' unless ENV['GRDIR']
|
76
|
-
|
77
|
-
self.ffi_lib = File.expand_path('lib/libGR3.so', ENV['GRDIR'])
|
78
|
-
end
|
70
|
+
self.ffi_lib = case RbConfig::CONFIG['host_os']
|
71
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
72
|
+
search_shared_library('libGR3.dll')
|
73
|
+
else
|
74
|
+
search_shared_library('libGR3.so')
|
75
|
+
end
|
79
76
|
|
80
|
-
# change the default encoding to UTF-8.
|
81
|
-
ENV['GKS_ENCODING'] ||= 'utf8'
|
82
|
-
|
83
|
-
require_relative 'gr_commons/gr_commons'
|
84
77
|
require_relative 'gr3/version'
|
85
78
|
require_relative 'gr3/ffi'
|
86
79
|
require_relative 'gr3/gr3base'
|
data/lib/gr_commons/fiddley.rb
CHANGED
@@ -13,7 +13,7 @@ module GRCommons
|
|
13
13
|
# NOTE: This module is only part of the original code.
|
14
14
|
# kojix2 adds, deletes, and modifies several methods.
|
15
15
|
module Fiddley
|
16
|
-
# NOTE: GR.rb supports 2.
|
16
|
+
# NOTE: GR.rb supports 2.5 +. Unpack 1 does not work under 2.3.
|
17
17
|
|
18
18
|
module Utils
|
19
19
|
# assumes short = 16bit, int = 32bit, long long = 64bit
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module GRCommons
|
2
|
+
module SearchSharedLibrary
|
3
|
+
def search_shared_library(gr_lib_name)
|
4
|
+
if Object.const_defined?(:RubyInstaller)
|
5
|
+
ENV['GRDIR'] ||= [
|
6
|
+
RubyInstaller::Runtime.msys2_installation.msys_path,
|
7
|
+
RubyInstaller::Runtime.msys2_installation.mingwarch
|
8
|
+
].join(File::ALT_SEPARATOR)
|
9
|
+
recursive_search(gr_lib_name, ENV['GRDIR']).tap do |path|
|
10
|
+
RubyInstaller::Runtime.add_dll_directory(File.dirname(path))
|
11
|
+
end
|
12
|
+
else
|
13
|
+
unless ENV['GRDIR']
|
14
|
+
warn 'Please set environment variable GRDIR'
|
15
|
+
exit 1
|
16
|
+
end
|
17
|
+
recursive_search(gr_lib_name, ENV['GRDIR'])
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def recursive_search(name, base_dir)
|
22
|
+
Dir.chdir(base_dir) do
|
23
|
+
if path = Dir["**/#{name}"].first
|
24
|
+
File.expand_path(path)
|
25
|
+
else
|
26
|
+
raise StandardError '#{name} not found in #{base_dir}'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
data/lib/gr_commons/version.rb
CHANGED
data/lib/grm.rb
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# Check Fiddle version.
|
4
|
+
require 'fiddle'
|
5
|
+
|
6
|
+
# Check if fiddle supports variadic arguments.
|
7
|
+
# Fiddle is a standard Gem and may not have VERSION constant.
|
8
|
+
if !Fiddle.const_defined?(:VERSION) ||
|
9
|
+
(Gem::Version.new(Fiddle::VERSION) <= Gem::Version.new('1.0.0'))
|
10
|
+
raise LoadError, <<~MSG
|
11
|
+
Failed to load GRM module
|
12
|
+
Fiddle 1.0.1 or higher is required to run GRM.
|
13
|
+
See https://github.com/ruby/fiddle
|
14
|
+
MSG
|
15
|
+
end
|
16
|
+
|
3
17
|
module GRM
|
4
18
|
class Error < StandardError; end
|
5
19
|
|
@@ -7,27 +21,20 @@ module GRM
|
|
7
21
|
attr_accessor :ffi_lib
|
8
22
|
end
|
9
23
|
|
24
|
+
require_relative 'gr_commons/gr_commons'
|
25
|
+
extend GRCommons::SearchSharedLibrary
|
26
|
+
|
10
27
|
# Platforms | path
|
11
28
|
# Windows | bin/libGRM.dll
|
12
29
|
# MacOSX | lib/libGRM.so (NOT .dylib)
|
13
30
|
# Ubuntu | lib/libGRM.so
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
RubyInstaller::Runtime.add_dll_directory(File.dirname(ffi_lib))
|
21
|
-
else
|
22
|
-
raise Error, 'Please set env variable GRDIR' unless ENV['GRDIR']
|
23
|
-
|
24
|
-
self.ffi_lib = File.expand_path('lib/libGRM.so', ENV['GRDIR'])
|
25
|
-
end
|
26
|
-
|
27
|
-
# change the default encoding to UTF-8.
|
28
|
-
ENV['GKS_ENCODING'] ||= 'utf8'
|
31
|
+
self.ffi_lib = case RbConfig::CONFIG['host_os']
|
32
|
+
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
|
33
|
+
search_shared_library('libGRM.dll')
|
34
|
+
else
|
35
|
+
search_shared_library('libGRM.so')
|
36
|
+
end
|
29
37
|
|
30
|
-
require_relative 'gr_commons/gr_commons'
|
31
38
|
require_relative 'grm/version'
|
32
39
|
require_relative 'grm/ffi'
|
33
40
|
require_relative 'grm/grmbase'
|
data/lib/grm/ffi.rb
CHANGED
@@ -21,15 +21,14 @@ module GRM
|
|
21
21
|
# header files.
|
22
22
|
|
23
23
|
# https://github.com/sciapp/gr/blob/master/lib/grm/args.h
|
24
|
-
|
25
24
|
try_extern 'grm_args_t *grm_args_new(void)'
|
26
25
|
try_extern 'void grm_args_delete(grm_args_t *args)'
|
27
|
-
# Fiddle does not currently support variable-length arguments in C.
|
28
26
|
try_extern 'int grm_args_push(grm_args_t *args, const char *key, const char *value_format, ...)'
|
29
27
|
try_extern 'int grm_args_push_buf(grm_args_t *args, const char *key, const char *value_format, const void *buffer, int apply_padding)'
|
30
28
|
try_extern 'int grm_args_contains(const grm_args_t *args, const char *keyword)'
|
31
29
|
try_extern 'void grm_args_clear(grm_args_t *args)'
|
32
30
|
try_extern 'void grm_args_remove(grm_args_t *args, const char *key)'
|
31
|
+
try_extern 'grm_args_ptr_t grm_length(double value, const char *unit)'
|
33
32
|
|
34
33
|
# https://github.com/sciapp/gr/blob/master/lib/grm/dump.h
|
35
34
|
try_extern 'void grm_dump(const grm_args_t *args, FILE *f)'
|
@@ -37,27 +36,38 @@ module GRM
|
|
37
36
|
try_extern 'char *grm_dump_json_str(void)'
|
38
37
|
|
39
38
|
# https://github.com/sciapp/gr/blob/master/lib/grm/event.h
|
40
|
-
|
41
|
-
|
42
|
-
# But GR's fiddley doesn't have it.
|
43
|
-
# try_extern 'int grm_register(grm_event_type_t type, grm_event_callback_t callback)'
|
44
|
-
# try_extern 'int grm_unregister(grm_event_type_t type)'
|
39
|
+
try_extern 'int grm_register(grm_event_type_t type, grm_event_callback_t callback)'
|
40
|
+
try_extern 'int grm_unregister(grm_event_type_t type)'
|
45
41
|
|
46
42
|
# https://github.com/sciapp/gr/blob/master/lib/grm/interaction.h
|
47
43
|
try_extern 'int grm_input(const grm_args_t *input_args)'
|
48
|
-
|
49
|
-
|
44
|
+
try_extern 'int grm_get_box(const int x1, const int y1, const int x2, const int y2, const int keep_aspect_ratio, int *x, int *y, int *w, int *h)'
|
45
|
+
try_extern 'grm_input(const grm_args_t *input_args)'
|
46
|
+
try_extern 'grm_tooltip_info_t *grm_get_tooltip(const int, const int)'
|
50
47
|
|
51
48
|
# https://github.com/sciapp/gr/blob/master/lib/grm/net.h
|
52
|
-
|
53
|
-
|
54
|
-
|
49
|
+
try_extern 'void *grm_open(int is_receiver, const char *name, unsigned int id,
|
50
|
+
const char *(*custom_recv)(const char *, unsigned int),
|
51
|
+
int (*custom_send)(const char *, unsigned int, const char *))'
|
55
52
|
try_extern 'grm_args_t *grm_recv(const void *p, grm_args_t *args)'
|
56
|
-
# Fiddle does not currently support variable-length arguments in C.
|
57
53
|
try_extern 'int grm_send(const void *p, const char *data_desc, ...)'
|
58
54
|
try_extern 'int grm_send_buf(const void *p, const char *data_desc, const void *buffer, int apply_padding)'
|
59
55
|
try_extern 'int grm_send_ref(const void *p, const char *key, char format, const void *ref, int len)'
|
60
56
|
try_extern 'int grm_send_args(const void *p, const grm_args_t *args)'
|
61
57
|
try_extern 'void grm_close(const void *p)'
|
58
|
+
|
59
|
+
# https://github.com/sciapp/gr/blob/master/lib/grm/plot.h
|
60
|
+
try_extern 'void grm_finalize(void)'
|
61
|
+
try_extern 'int grm_clear(void)'
|
62
|
+
try_extern 'unsigned int grm_max_plotid(void)'
|
63
|
+
try_extern 'int grm_merge(const grm_args_t *args)'
|
64
|
+
try_extern 'int grm_merge_extended(const grm_args_t *args, int hold, const char *identificator)'
|
65
|
+
try_extern 'int grm_merge_hold(const grm_args_t *args)'
|
66
|
+
try_extern 'int grm_merge_named(const grm_args_t *args, const char *identificator)'
|
67
|
+
try_extern 'int grm_plot(const grm_args_t *args)'
|
68
|
+
try_extern 'int grm_switch(unsigned int id)'
|
69
|
+
|
70
|
+
# https://github.com/sciapp/gr/blob/master/lib/grm/util.h
|
71
|
+
try_extern 'FILE *grm_get_stdout(void)'
|
62
72
|
end
|
63
73
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-gr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kojix2
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: histogram
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: fiddle
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: pry
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,6 +160,7 @@ files:
|
|
146
160
|
- lib/gr_commons/gr_common_utils.rb
|
147
161
|
- lib/gr_commons/gr_commons.rb
|
148
162
|
- lib/gr_commons/jupyter_support.rb
|
163
|
+
- lib/gr_commons/search_shared_library.rb
|
149
164
|
- lib/gr_commons/version.rb
|
150
165
|
- lib/grm.rb
|
151
166
|
- lib/grm/ffi.rb
|
@@ -164,7 +179,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
179
|
requirements:
|
165
180
|
- - ">="
|
166
181
|
- !ruby/object:Gem::Version
|
167
|
-
version: '2.
|
182
|
+
version: '2.5'
|
168
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
184
|
requirements:
|
170
185
|
- - ">="
|