pingram 1.0.31 → 1.0.33
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/Gemfile.lock +2 -2
- data/lib/pingram/api/account_api.rb +2 -2
- data/lib/pingram/api/broadcasts_api.rb +912 -0
- data/lib/pingram/api/library_api.rb +161 -0
- data/lib/pingram/api/sub_notifications_api.rb +167 -0
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +30 -0
- data/lib/pingram/models/broadcast_metrics_response.rb +480 -0
- data/lib/pingram/models/broadcast_response.rb +525 -0
- data/lib/pingram/models/broadcast_response_audience.rb +161 -0
- data/lib/pingram/models/create_broadcast_request.rb +366 -0
- data/lib/pingram/models/create_library_request.rb +192 -0
- data/lib/pingram/models/create_library_response.rb +346 -0
- data/lib/pingram/models/get_users_response_users_inner.rb +13 -1
- data/lib/pingram/models/get_users_response_users_inner_properties_value.rb +104 -0
- data/lib/pingram/models/list_broadcast_recipients_response.rb +175 -0
- data/lib/pingram/models/list_broadcast_recipients_response_recipients_inner.rb +324 -0
- data/lib/pingram/models/list_broadcasts_response.rb +175 -0
- data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +487 -0
- data/lib/pingram/models/list_library_response.rb +175 -0
- data/lib/pingram/models/list_library_response_items_inner.rb +344 -0
- data/lib/pingram/models/logs_get_response_logs_inner.rb +4 -4
- data/lib/pingram/models/mfa_status_response.rb +1 -1
- data/lib/pingram/models/post_user_request.rb +16 -4
- data/lib/pingram/models/schedule_broadcast_request.rb +165 -0
- data/lib/pingram/models/sender_post_body_to.rb +13 -1
- data/lib/pingram/models/sender_post_body_user.rb +13 -1
- data/lib/pingram/models/sub_notification.rb +242 -0
- data/lib/pingram/models/sub_notification_put_request.rb +164 -0
- data/lib/pingram/models/update_broadcast_request.rb +264 -0
- data/lib/pingram/models/user.rb +13 -1
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/gem_make.out +12 -10
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/mkmf.log +33 -6
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/Makefile +3 -3
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/console.c +101 -13
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/extconf.rb +27 -2
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/lib/io/console/size.rb +4 -2
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.2.gemspec → io-console-0.9.4.gemspec} +3 -3
- metadata +38 -18
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/.document +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/BSDL +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/README.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/win32_vk.inc +0 -0
|
@@ -3,13 +3,13 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv clean
|
|
7
7
|
cd libyaml && make clean
|
|
8
8
|
/bin/sh: 1: cd: can't cd to libyaml
|
|
9
9
|
make: [Makefile:283: clean-so] Error 2 (ignored)
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv
|
|
13
13
|
compiling psych.c
|
|
14
14
|
compiling psych_emitter.c
|
|
15
15
|
compiling psych_parser.c
|
|
@@ -18,11 +18,11 @@ compiling psych_yaml_tree.c
|
|
|
18
18
|
linking shared-object psych.so
|
|
19
19
|
|
|
20
20
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
21
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
22
|
-
/usr/bin/install -c -m 0755 psych.so ./.gem.
|
|
21
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv install
|
|
22
|
+
/usr/bin/install -c -m 0755 psych.so ./.gem.20260921-2455-lsmhvv
|
|
23
23
|
|
|
24
24
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
25
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
25
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv clean
|
|
26
26
|
cd libyaml && make clean
|
|
27
27
|
/bin/sh: 1: cd: can't cd to libyaml
|
|
28
28
|
make: [Makefile:283: clean-so] Error 2 (ignored)
|
|
@@ -3,16 +3,16 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7 clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7
|
|
10
10
|
compiling cparse.c
|
|
11
11
|
linking shared-object racc/cparse.so
|
|
12
12
|
|
|
13
13
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
14
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.
|
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7 install
|
|
15
|
+
/usr/bin/install -c -m 0755 cparse.so ./.gem.20260921-2455-jt54m7/racc
|
|
16
16
|
|
|
17
17
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
18
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
18
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7 clean
|
|
@@ -4,16 +4,16 @@ checking for rb_io_mode_t in ruby/io.h... no
|
|
|
4
4
|
creating Makefile
|
|
5
5
|
|
|
6
6
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
7
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
7
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm clean
|
|
8
8
|
|
|
9
9
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
10
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
10
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm
|
|
11
11
|
compiling stringio.c
|
|
12
12
|
linking shared-object stringio.so
|
|
13
13
|
|
|
14
14
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
15
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
16
|
-
/usr/bin/install -c -m 0755 stringio.so ./.gem.
|
|
15
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm install
|
|
16
|
+
/usr/bin/install -c -m 0755 stringio.so ./.gem.20260921-2455-xwj9rm
|
|
17
17
|
|
|
18
18
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
19
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
19
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm clean
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/Makefile
RENAMED
|
@@ -88,7 +88,7 @@ CCDLFLAGS = -fPIC
|
|
|
88
88
|
CFLAGS = $(CCDLFLAGS) $(cflags) -fPIC $(ARCH_FLAG)
|
|
89
89
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
|
90
90
|
DEFS =
|
|
91
|
-
CPPFLAGS = -DHAVE_RB_INTERNED_STR_CSTR -DHAVE_RB_RACTOR_LOCAL_STORAGE_VALUE_NEWKEY -DHAVE_RB_IO_DESCRIPTOR -DHAVE_TERMIOS_H -DHAVE_CFMAKERAW -DHAVE_SYS_IOCTL_H -DHAVE_RB_IO_WAIT=1 -DHAVE_RB_CATEGORY_WARN -DHAVE_CONST_RB_WARN_CATEGORY_DEPRECATED -DHAVE_TTYNAME_R -DHAVE_RB_PREPEND_MODULE -DENABLE_PATH_CHECK=0 $(DEFS) $(cppflags)
|
|
91
|
+
CPPFLAGS = -DHAVE_RB_INTERNED_STR_CSTR -DHAVE_RB_RACTOR_LOCAL_STORAGE_VALUE_NEWKEY -DHAVE_RB_IO_DESCRIPTOR -DHAVE_TERMIOS_H -DHAVE_CFMAKERAW -DHAVE_SYS_IOCTL_H -DHAVE_RB_IO_WAIT=1 -DHAVE_RB_CATEGORY_WARN -DHAVE_CONST_RB_WARN_CATEGORY_DEPRECATED -DHAVE_TTYNAME_R -DTTYNAME_R_RETURNS_INT -DHAVE_RB_PREPEND_MODULE -DENABLE_PATH_CHECK=0 $(DEFS) $(cppflags)
|
|
92
92
|
CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
|
|
93
93
|
ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed
|
|
94
94
|
dldflags = -Wl,--compress-debug-sections=zlib
|
|
@@ -164,8 +164,8 @@ TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
|
|
164
164
|
CLEANLIBS = $(TARGET_SO) false
|
|
165
165
|
CLEANOBJS = $(OBJS) *.bak
|
|
166
166
|
TARGET_SO_DIR_TIMESTAMP = $(TIMESTAMP_DIR)/.sitearchdir.-.io.time
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
###
|
|
168
|
+
all: # the default target
|
|
169
169
|
|
|
170
170
|
all: $(DLLIB)
|
|
171
171
|
static: $(STATIC_LIB)
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/console.c
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
static const char *const
|
|
7
|
-
IO_CONSOLE_VERSION = "0.9.
|
|
7
|
+
IO_CONSOLE_VERSION = "0.9.4";
|
|
8
8
|
|
|
9
9
|
#include "ruby.h"
|
|
10
10
|
#include "ruby/io.h"
|
|
@@ -178,6 +178,22 @@ typedef struct {
|
|
|
178
178
|
# define NIL_OR_UNDEF_P(obj) (NIL_P(obj) || UNDEF_P(obj))
|
|
179
179
|
#endif
|
|
180
180
|
|
|
181
|
+
static int
|
|
182
|
+
to_vtime(VALUE vtime)
|
|
183
|
+
{
|
|
184
|
+
VALUE v10 = INT2FIX(10);
|
|
185
|
+
vtime = rb_funcall3(vtime, '*', 1, &v10);
|
|
186
|
+
return NUM2INT(vtime);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
static unsigned char
|
|
190
|
+
clamp_uchar(int n)
|
|
191
|
+
{
|
|
192
|
+
if ((unsigned int)n >= UCHAR_MAX) n = UCHAR_MAX;
|
|
193
|
+
else if (n < 0) n = 0;
|
|
194
|
+
return (unsigned char)n;
|
|
195
|
+
}
|
|
196
|
+
|
|
181
197
|
static rawmode_arg_t *
|
|
182
198
|
rawmode_opt(int *argcp, VALUE *argv, int min_argc, int max_argc, rawmode_arg_t *opts)
|
|
183
199
|
{
|
|
@@ -209,13 +225,11 @@ rawmode_opt(int *argcp, VALUE *argv, int min_argc, int max_argc, rawmode_arg_t *
|
|
|
209
225
|
opts->vtime = 0;
|
|
210
226
|
opts->intr = 0;
|
|
211
227
|
if (!NIL_OR_UNDEF_P(vmin)) {
|
|
212
|
-
opts->vmin = NUM2INT(vmin);
|
|
228
|
+
opts->vmin = clamp_uchar(NUM2INT(vmin));
|
|
213
229
|
optp = opts;
|
|
214
230
|
}
|
|
215
231
|
if (!NIL_OR_UNDEF_P(vtime)) {
|
|
216
|
-
|
|
217
|
-
vtime = rb_funcall3(vtime, '*', 1, &v10);
|
|
218
|
-
opts->vtime = NUM2INT(vtime);
|
|
232
|
+
opts->vtime = clamp_uchar(to_vtime(vtime));
|
|
219
233
|
optp = opts;
|
|
220
234
|
}
|
|
221
235
|
switch (intr) {
|
|
@@ -762,6 +776,13 @@ conmode_init_copy(VALUE obj, VALUE obj2)
|
|
|
762
776
|
return obj;
|
|
763
777
|
}
|
|
764
778
|
|
|
779
|
+
static VALUE
|
|
780
|
+
conmode_get_echo(VALUE obj)
|
|
781
|
+
{
|
|
782
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
783
|
+
return echo_p(t) ? Qtrue : Qfalse;
|
|
784
|
+
}
|
|
785
|
+
|
|
765
786
|
static VALUE
|
|
766
787
|
conmode_set_echo(VALUE obj, VALUE f)
|
|
767
788
|
{
|
|
@@ -794,6 +815,58 @@ conmode_raw_new(int argc, VALUE *argv, VALUE obj)
|
|
|
794
815
|
return conmode_new(rb_obj_class(obj), &t);
|
|
795
816
|
}
|
|
796
817
|
|
|
818
|
+
static VALUE
|
|
819
|
+
conmode_get_min(VALUE obj)
|
|
820
|
+
{
|
|
821
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
822
|
+
#ifdef VMIN
|
|
823
|
+
return INT2FIX(t->c_cc[VMIN]);
|
|
824
|
+
#else
|
|
825
|
+
(void)t;
|
|
826
|
+
return Qnil;
|
|
827
|
+
#endif
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
static VALUE
|
|
831
|
+
conmode_set_min(VALUE obj, VALUE min)
|
|
832
|
+
{
|
|
833
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
834
|
+
int vmin = NIL_P(min) ? 1 : clamp_uchar(NUM2INT(min));
|
|
835
|
+
#ifdef VMIN
|
|
836
|
+
t->c_cc[VMIN] = vmin;
|
|
837
|
+
#else
|
|
838
|
+
(void)t;
|
|
839
|
+
(void)vmin;
|
|
840
|
+
#endif
|
|
841
|
+
return min;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
static VALUE
|
|
845
|
+
conmode_get_time(VALUE obj)
|
|
846
|
+
{
|
|
847
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
848
|
+
#ifdef VTIME
|
|
849
|
+
return rb_rational_new(INT2FIX(t->c_cc[VTIME]), INT2FIX(10));
|
|
850
|
+
#else
|
|
851
|
+
(void)t;
|
|
852
|
+
return Qnil;
|
|
853
|
+
#endif
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
static VALUE
|
|
857
|
+
conmode_set_time(VALUE obj, VALUE time)
|
|
858
|
+
{
|
|
859
|
+
conmode *t = rb_check_typeddata(obj, &conmode_type);
|
|
860
|
+
int vtime = NIL_P(time) ? 0 : clamp_uchar(to_vtime(time));
|
|
861
|
+
#ifdef VTIME
|
|
862
|
+
t->c_cc[VTIME] = vtime;
|
|
863
|
+
#else
|
|
864
|
+
(void)t;
|
|
865
|
+
(void)vtime;
|
|
866
|
+
#endif
|
|
867
|
+
return time;
|
|
868
|
+
}
|
|
869
|
+
|
|
797
870
|
#ifdef _WIN32
|
|
798
871
|
/*
|
|
799
872
|
* call-seq:
|
|
@@ -2135,10 +2208,17 @@ puts_call(VALUE io)
|
|
|
2135
2208
|
return rb_io_write(io, rb_default_rs);
|
|
2136
2209
|
}
|
|
2137
2210
|
|
|
2211
|
+
static VALUE
|
|
2212
|
+
funcall_with_rs(VALUE obj, ID mid)
|
|
2213
|
+
{
|
|
2214
|
+
const VALUE rs = rb_default_rs; /* rvalue in TruffleRuby */
|
|
2215
|
+
return rb_funcallv(obj, mid, 1, &rs);
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2138
2218
|
static VALUE
|
|
2139
2219
|
gets_call(VALUE io)
|
|
2140
2220
|
{
|
|
2141
|
-
return
|
|
2221
|
+
return funcall_with_rs(io, id_gets);
|
|
2142
2222
|
}
|
|
2143
2223
|
|
|
2144
2224
|
static VALUE
|
|
@@ -2161,8 +2241,7 @@ static VALUE
|
|
|
2161
2241
|
str_chomp(VALUE str)
|
|
2162
2242
|
{
|
|
2163
2243
|
if (!NIL_P(str)) {
|
|
2164
|
-
|
|
2165
|
-
rb_funcallv(str, id_chomp_bang, 1, &rs);
|
|
2244
|
+
funcall_with_rs(str, id_chomp_bang);
|
|
2166
2245
|
}
|
|
2167
2246
|
return str;
|
|
2168
2247
|
}
|
|
@@ -2223,7 +2302,7 @@ io_getpass(int argc, VALUE *argv, VALUE io)
|
|
|
2223
2302
|
* call-seq:
|
|
2224
2303
|
* io.ttyname -> string or nil
|
|
2225
2304
|
*
|
|
2226
|
-
* Returns name of associated terminal (tty) if +io+ is
|
|
2305
|
+
* Returns name of associated terminal (tty) if +io+ is a tty.
|
|
2227
2306
|
* Returns +nil+ otherwise.
|
|
2228
2307
|
*/
|
|
2229
2308
|
static VALUE
|
|
@@ -2235,20 +2314,23 @@ console_ttyname(VALUE io)
|
|
|
2235
2314
|
return rb_usascii_str_new_lit("con");
|
|
2236
2315
|
# elif defined HAVE_TTYNAME_R
|
|
2237
2316
|
{
|
|
2317
|
+
# ifdef TTYNAME_R_RETURNS_CHAR_P
|
|
2318
|
+
# define ttyname_r(fd, name, size) (ttyname_r(fd, name, size) == NULL ? errno : 0)
|
|
2319
|
+
# endif
|
|
2238
2320
|
char termname[1024], *tn = termname;
|
|
2239
2321
|
size_t size = sizeof(termname);
|
|
2240
2322
|
int e;
|
|
2241
|
-
if (ttyname_r(fd, tn, size) == 0)
|
|
2323
|
+
if ((e = ttyname_r(fd, tn, size)) == 0)
|
|
2242
2324
|
return rb_interned_str_cstr(tn);
|
|
2243
|
-
if (
|
|
2325
|
+
if (e == ERANGE) {
|
|
2244
2326
|
VALUE s = rb_str_new(0, size);
|
|
2245
2327
|
while (1) {
|
|
2246
2328
|
tn = RSTRING_PTR(s);
|
|
2247
2329
|
size = rb_str_capacity(s);
|
|
2248
|
-
if (ttyname_r(fd, tn, size) == 0) {
|
|
2330
|
+
if ((e = ttyname_r(fd, tn, size)) == 0) {
|
|
2249
2331
|
return rb_str_to_interned_str(rb_str_resize(s, strlen(tn)));
|
|
2250
2332
|
}
|
|
2251
|
-
if (
|
|
2333
|
+
if (e != ERANGE) break;
|
|
2252
2334
|
if ((size *= 2) >= INT_MAX/2) break;
|
|
2253
2335
|
rb_str_resize(s, size);
|
|
2254
2336
|
}
|
|
@@ -2502,9 +2584,15 @@ InitVM_console(void)
|
|
|
2502
2584
|
rb_define_alloc_func(cConmode, conmode_alloc);
|
|
2503
2585
|
rb_undef_method(cConmode, "initialize");
|
|
2504
2586
|
rb_define_method(cConmode, "initialize_copy", conmode_init_copy, 1);
|
|
2587
|
+
rb_define_method(cConmode, "echo?", conmode_get_echo, 0);
|
|
2588
|
+
rb_define_method(cConmode, "echo", conmode_get_echo, 0);
|
|
2505
2589
|
rb_define_method(cConmode, "echo=", conmode_set_echo, 1);
|
|
2506
2590
|
rb_define_method(cConmode, "raw!", conmode_set_raw, -1);
|
|
2507
2591
|
rb_define_method(cConmode, "raw", conmode_raw_new, -1);
|
|
2592
|
+
rb_define_method(cConmode, "min", conmode_get_min, 0);
|
|
2593
|
+
rb_define_method(cConmode, "min=", conmode_set_min, 1);
|
|
2594
|
+
rb_define_method(cConmode, "time", conmode_get_time, 0);
|
|
2595
|
+
rb_define_method(cConmode, "time=", conmode_set_time, 1);
|
|
2508
2596
|
#ifdef _WIN32
|
|
2509
2597
|
rb_define_method(cConmode, "virtual_terminal_processing?", conmode_virtual_terminal_processing_p, 0);
|
|
2510
2598
|
rb_define_method(cConmode, "virtual_terminal_processing=", conmode_set_virtual_terminal_processing, 1);
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/extconf.rb
RENAMED
|
@@ -50,10 +50,35 @@ when true
|
|
|
50
50
|
end
|
|
51
51
|
have_func("rb_category_warn")
|
|
52
52
|
have_const("RB_WARN_CATEGORY_DEPRECATED")
|
|
53
|
-
win32
|
|
53
|
+
unless win32
|
|
54
|
+
if have_func("ttyname_r")
|
|
55
|
+
ret = checking_for("type of ttyname_r()", "%s") {try_link(<<~C) ? "int" : "char *"}
|
|
56
|
+
#{cpp_include %<unistd.h>}
|
|
57
|
+
int t(void) {char name[1024]; return ttyname_r(0, name, sizeof(name)) % 1024;}
|
|
58
|
+
#{MAIN_DOES_NOTHING('t')}
|
|
59
|
+
C
|
|
60
|
+
$defs << "-DTTYNAME_R_RETURNS_#{ret.tr_cpp}"
|
|
61
|
+
else
|
|
62
|
+
have_func("ttyname")
|
|
63
|
+
end
|
|
64
|
+
end
|
|
54
65
|
have_func("rb_prepend_module") # not exported by TruffleRuby
|
|
66
|
+
vk_tool = find_executable("gperf")
|
|
55
67
|
create_makefile("io/console") {|conf|
|
|
56
|
-
conf << "
|
|
68
|
+
conf << "###\n" "all: # the default target\n"
|
|
69
|
+
if vk_header
|
|
70
|
+
conf << <<~MK
|
|
71
|
+
VK_HEADER = #{vk_header}
|
|
72
|
+
console.#$OBJEXT: $(VK_HEADER)
|
|
73
|
+
MK
|
|
74
|
+
end
|
|
75
|
+
if vk_tool and vk_mk = (File.read("#$srcdir/win32_vk.mk") rescue nil)
|
|
76
|
+
unless conf.any? {|c| /^ *top_srcdir *=/.match?(c)}
|
|
77
|
+
conf << "top_srcdir = $(srcdir)/../../..\n"
|
|
78
|
+
end
|
|
79
|
+
conf.concat(depend_rules(vk_mk))
|
|
80
|
+
end
|
|
81
|
+
conf
|
|
57
82
|
}
|
|
58
83
|
when nil
|
|
59
84
|
File.write("Makefile", dummy_makefile($srcdir).join(""))
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/lib/io/console/size.rb
RENAMED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: false
|
|
2
2
|
# fallback to console window size
|
|
3
3
|
def IO.default_console_size
|
|
4
|
+
lines = ENV["LINES"].to_i
|
|
5
|
+
columns = ENV["COLUMNS"].to_i
|
|
4
6
|
[
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
lines.positive? ? lines : 25,
|
|
8
|
+
columns.positive? ? columns : 80,
|
|
7
9
|
]
|
|
8
10
|
end
|
|
9
11
|
|
|
Binary file
|
data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.2.gemspec → io-console-0.9.4.gemspec}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: io-console 0.9.
|
|
2
|
+
# stub: io-console 0.9.4 ruby lib
|
|
3
3
|
# stub: ext/io/console/extconf.rb
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "io-console".freeze
|
|
7
|
-
s.version = "0.9.
|
|
7
|
+
s.version = "0.9.4"
|
|
8
8
|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
10
|
s.metadata = { "changelog_uri" => "https://github.com/ruby/io-console/releases", "source_code_url" => "https://github.com/ruby/io-console" } if s.respond_to? :metadata=
|
|
11
11
|
s.require_paths = ["lib".freeze]
|
|
12
12
|
s.authors = ["Nobu Nakada".freeze]
|
|
13
|
-
s.date = "2026-
|
|
13
|
+
s.date = "2026-09-17"
|
|
14
14
|
s.description = "add console capabilities to IO instances.".freeze
|
|
15
15
|
s.email = "nobu@ruby-lang.org".freeze
|
|
16
16
|
s.extensions = ["ext/io/console/extconf.rb".freeze]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pingram
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.33
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pingram
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -66,6 +66,7 @@ files:
|
|
|
66
66
|
- lib/pingram/api/account_api.rb
|
|
67
67
|
- lib/pingram/api/accounts_api.rb
|
|
68
68
|
- lib/pingram/api/addresses_api.rb
|
|
69
|
+
- lib/pingram/api/broadcasts_api.rb
|
|
69
70
|
- lib/pingram/api/components_api.rb
|
|
70
71
|
- lib/pingram/api/default_api.rb
|
|
71
72
|
- lib/pingram/api/domains_api.rb
|
|
@@ -75,6 +76,7 @@ files:
|
|
|
75
76
|
- lib/pingram/api/health_api.rb
|
|
76
77
|
- lib/pingram/api/insights_api.rb
|
|
77
78
|
- lib/pingram/api/keys_api.rb
|
|
79
|
+
- lib/pingram/api/library_api.rb
|
|
78
80
|
- lib/pingram/api/logs_api.rb
|
|
79
81
|
- lib/pingram/api/members_api.rb
|
|
80
82
|
- lib/pingram/api/numbers_api.rb
|
|
@@ -82,6 +84,7 @@ files:
|
|
|
82
84
|
- lib/pingram/api/registrations_api.rb
|
|
83
85
|
- lib/pingram/api/sender_api.rb
|
|
84
86
|
- lib/pingram/api/sms_api.rb
|
|
87
|
+
- lib/pingram/api/sub_notifications_api.rb
|
|
85
88
|
- lib/pingram/api/templates_api.rb
|
|
86
89
|
- lib/pingram/api/types_api.rb
|
|
87
90
|
- lib/pingram/api/user_api.rb
|
|
@@ -120,6 +123,9 @@ files:
|
|
|
120
123
|
- lib/pingram/models/bind_number_response_agent_spec_tools_inner.rb
|
|
121
124
|
- lib/pingram/models/bind_number_response_agent_spec_variables_inner.rb
|
|
122
125
|
- lib/pingram/models/brand_webhook_response.rb
|
|
126
|
+
- lib/pingram/models/broadcast_metrics_response.rb
|
|
127
|
+
- lib/pingram/models/broadcast_response.rb
|
|
128
|
+
- lib/pingram/models/broadcast_response_audience.rb
|
|
123
129
|
- lib/pingram/models/campaign_webhook_response.rb
|
|
124
130
|
- lib/pingram/models/chained.rb
|
|
125
131
|
- lib/pingram/models/change_email_request.rb
|
|
@@ -129,8 +135,11 @@ files:
|
|
|
129
135
|
- lib/pingram/models/create_account_request_plan.rb
|
|
130
136
|
- lib/pingram/models/create_account_response.rb
|
|
131
137
|
- lib/pingram/models/create_address_request.rb
|
|
138
|
+
- lib/pingram/models/create_broadcast_request.rb
|
|
132
139
|
- lib/pingram/models/create_key_request.rb
|
|
133
140
|
- lib/pingram/models/create_key_response.rb
|
|
141
|
+
- lib/pingram/models/create_library_request.rb
|
|
142
|
+
- lib/pingram/models/create_library_response.rb
|
|
134
143
|
- lib/pingram/models/create_personal_access_token_request.rb
|
|
135
144
|
- lib/pingram/models/create_personal_access_token_response.rb
|
|
136
145
|
- lib/pingram/models/create_voice_agent_request.rb
|
|
@@ -208,6 +217,7 @@ files:
|
|
|
208
217
|
- lib/pingram/models/get_users_response.rb
|
|
209
218
|
- lib/pingram/models/get_users_response_users_inner.rb
|
|
210
219
|
- lib/pingram/models/get_users_response_users_inner_email_suppression_status.rb
|
|
220
|
+
- lib/pingram/models/get_users_response_users_inner_properties_value.rb
|
|
211
221
|
- lib/pingram/models/get_users_response_users_inner_push_tokens_inner.rb
|
|
212
222
|
- lib/pingram/models/get_users_response_users_inner_push_tokens_inner_device.rb
|
|
213
223
|
- lib/pingram/models/get_users_response_users_inner_slack_token.rb
|
|
@@ -250,8 +260,14 @@ files:
|
|
|
250
260
|
- lib/pingram/models/knowledge_documents_inner.rb
|
|
251
261
|
- lib/pingram/models/list_accounts_response.rb
|
|
252
262
|
- lib/pingram/models/list_accounts_response_accounts_inner.rb
|
|
263
|
+
- lib/pingram/models/list_broadcast_recipients_response.rb
|
|
264
|
+
- lib/pingram/models/list_broadcast_recipients_response_recipients_inner.rb
|
|
265
|
+
- lib/pingram/models/list_broadcasts_response.rb
|
|
266
|
+
- lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb
|
|
253
267
|
- lib/pingram/models/list_invoices_response.rb
|
|
254
268
|
- lib/pingram/models/list_invoices_response_invoices_inner.rb
|
|
269
|
+
- lib/pingram/models/list_library_response.rb
|
|
270
|
+
- lib/pingram/models/list_library_response_items_inner.rb
|
|
255
271
|
- lib/pingram/models/list_personal_access_tokens_response.rb
|
|
256
272
|
- lib/pingram/models/list_personal_access_tokens_response_tokens_inner.rb
|
|
257
273
|
- lib/pingram/models/list_phone_numbers_response.rb
|
|
@@ -293,6 +309,7 @@ files:
|
|
|
293
309
|
- lib/pingram/models/post_user_request.rb
|
|
294
310
|
- lib/pingram/models/release_phone_number_response.rb
|
|
295
311
|
- lib/pingram/models/s2s.rb
|
|
312
|
+
- lib/pingram/models/schedule_broadcast_request.rb
|
|
296
313
|
- lib/pingram/models/search_available_phone_numbers_response.rb
|
|
297
314
|
- lib/pingram/models/search_available_phone_numbers_response_numbers_inner.rb
|
|
298
315
|
- lib/pingram/models/send_email_api_response.rb
|
|
@@ -328,6 +345,8 @@ files:
|
|
|
328
345
|
- lib/pingram/models/sender_post_response.rb
|
|
329
346
|
- lib/pingram/models/set_default_template_request.rb
|
|
330
347
|
- lib/pingram/models/slack_interactivity_response.rb
|
|
348
|
+
- lib/pingram/models/sub_notification.rb
|
|
349
|
+
- lib/pingram/models/sub_notification_put_request.rb
|
|
331
350
|
- lib/pingram/models/success_response.rb
|
|
332
351
|
- lib/pingram/models/supabase_configure_request.rb
|
|
333
352
|
- lib/pingram/models/supabase_configure_response.rb
|
|
@@ -353,6 +372,7 @@ files:
|
|
|
353
372
|
- lib/pingram/models/transfer.rb
|
|
354
373
|
- lib/pingram/models/unbind_number_response.rb
|
|
355
374
|
- lib/pingram/models/update_address_request.rb
|
|
375
|
+
- lib/pingram/models/update_broadcast_request.rb
|
|
356
376
|
- lib/pingram/models/update_voice_agent_request.rb
|
|
357
377
|
- lib/pingram/models/update_voice_agent_response.rb
|
|
358
378
|
- lib/pingram/models/user.rb
|
|
@@ -388,7 +408,7 @@ files:
|
|
|
388
408
|
- vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.6.2.gem
|
|
389
409
|
- vendor/bundle/ruby/3.2.0/cache/ethon-0.18.0.gem
|
|
390
410
|
- vendor/bundle/ruby/3.2.0/cache/ffi-1.17.4-x86_64-linux-gnu.gem
|
|
391
|
-
- vendor/bundle/ruby/3.2.0/cache/io-console-0.9.
|
|
411
|
+
- vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem
|
|
392
412
|
- vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.6.gem
|
|
393
413
|
- vendor/bundle/ruby/3.2.0/cache/logger-1.7.0.gem
|
|
394
414
|
- vendor/bundle/ruby/3.2.0/cache/method_source-1.1.0.gem
|
|
@@ -418,10 +438,10 @@ files:
|
|
|
418
438
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem.build_complete
|
|
419
439
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out
|
|
420
440
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/mkmf.log
|
|
421
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
422
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
423
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
424
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
441
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem.build_complete
|
|
442
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem_make.out
|
|
443
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/io/console.so
|
|
444
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/mkmf.log
|
|
425
445
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem.build_complete
|
|
426
446
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out
|
|
427
447
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so
|
|
@@ -970,16 +990,16 @@ files:
|
|
|
970
990
|
- vendor/bundle/ruby/3.2.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_layout.rbs
|
|
971
991
|
- vendor/bundle/ruby/3.2.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs
|
|
972
992
|
- vendor/bundle/ruby/3.2.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/type.rbs
|
|
973
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
974
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
975
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
976
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
977
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
978
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
979
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
980
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
981
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
982
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
993
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/.document
|
|
994
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/BSDL
|
|
995
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/COPYING
|
|
996
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/README.md
|
|
997
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/Makefile
|
|
998
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/console.c
|
|
999
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/extconf.rb
|
|
1000
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/win32_vk.inc
|
|
1001
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console.so
|
|
1002
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console/size.rb
|
|
983
1003
|
- vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/LICENSE.txt
|
|
984
1004
|
- vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile
|
|
985
1005
|
- vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.c
|
|
@@ -2432,7 +2452,7 @@ files:
|
|
|
2432
2452
|
- vendor/bundle/ruby/3.2.0/specifications/diff-lcs-1.6.2.gemspec
|
|
2433
2453
|
- vendor/bundle/ruby/3.2.0/specifications/ethon-0.18.0.gemspec
|
|
2434
2454
|
- vendor/bundle/ruby/3.2.0/specifications/ffi-1.17.4-x86_64-linux-gnu.gemspec
|
|
2435
|
-
- vendor/bundle/ruby/3.2.0/specifications/io-console-0.9.
|
|
2455
|
+
- vendor/bundle/ruby/3.2.0/specifications/io-console-0.9.4.gemspec
|
|
2436
2456
|
- vendor/bundle/ruby/3.2.0/specifications/jaro_winkler-1.5.6.gemspec
|
|
2437
2457
|
- vendor/bundle/ruby/3.2.0/specifications/logger-1.7.0.gemspec
|
|
2438
2458
|
- vendor/bundle/ruby/3.2.0/specifications/method_source-1.1.0.gemspec
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|