curses 1.3.1-x64-mingw32 → 1.3.2-x64-mingw32
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/History.md +7 -0
- data/curses.gemspec +1 -1
- data/ext/curses/curses.c +2 -14
- data/ext/curses/extconf.rb +3 -1
- data/lib/2.5/curses.so +0 -0
- data/lib/2.6/curses.so +0 -0
- metadata +6 -6
- data/lib/2.4/curses.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ae495952e0953f3c46cb8c4e6b5dab5204bbeea4cd1e46db4f241a61cf34192
|
4
|
+
data.tar.gz: 464c4a6cb8ef0487d3f0200fa902a75831af97714b43e6c533f09f8f3edd5e04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 150983036d5e7ca5dca6d987acbf92dff5bfe7751d7edfc3fd6aa1c78563e1e909a08066de8f71aaf2b1b201023c724786a66b180b6b12302fb1ab4e7a90666f
|
7
|
+
data.tar.gz: bbda19bb0e7b02b04a3b073b553fa6236a8aeba40a8f388d81833d7761b05831b24a493c7f1c0667a9654c86d0bd9d545dd11f63a464dc33410abd2de3aa1586
|
data/History.md
CHANGED
data/curses.gemspec
CHANGED
data/ext/curses/curses.c
CHANGED
@@ -221,8 +221,6 @@ no_window(void)
|
|
221
221
|
}
|
222
222
|
|
223
223
|
#define GetWINDOW(obj, winp) do {\
|
224
|
-
if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\
|
225
|
-
rb_raise(rb_eSecurityError, "Insecure: operation on untainted window");\
|
226
224
|
TypedData_Get_Struct((obj), struct windata, &windata_type, (winp));\
|
227
225
|
if ((winp)->window == 0) no_window();\
|
228
226
|
} while (0)
|
@@ -858,7 +856,7 @@ getstr_func(void *arg)
|
|
858
856
|
/*
|
859
857
|
* Document-method: Curses.getstr
|
860
858
|
*
|
861
|
-
* This is equivalent to a series
|
859
|
+
* This is equivalent to a series of Curses::Window.getch calls
|
862
860
|
*
|
863
861
|
*/
|
864
862
|
static VALUE
|
@@ -1448,8 +1446,6 @@ no_mevent(void)
|
|
1448
1446
|
}
|
1449
1447
|
|
1450
1448
|
#define GetMOUSE(obj, data) do {\
|
1451
|
-
if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\
|
1452
|
-
rb_raise(rb_eSecurityError, "Insecure: operation on untainted mouse");\
|
1453
1449
|
TypedData_Get_Struct((obj), struct mousedata, &mousedata_type, (data));\
|
1454
1450
|
if ((data)->mevent == 0) no_mevent();\
|
1455
1451
|
} while (0)
|
@@ -2416,7 +2412,7 @@ wgetstr_func(void *_arg)
|
|
2416
2412
|
/*
|
2417
2413
|
* Document-method: Curses::Window.getstr
|
2418
2414
|
*
|
2419
|
-
* This is equivalent to a series
|
2415
|
+
* This is equivalent to a series of Curses::Window.getch calls
|
2420
2416
|
*
|
2421
2417
|
*/
|
2422
2418
|
static VALUE
|
@@ -3044,8 +3040,6 @@ no_item(void)
|
|
3044
3040
|
}
|
3045
3041
|
|
3046
3042
|
#define GetITEM(obj, itemp) do {\
|
3047
|
-
if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\
|
3048
|
-
rb_raise(rb_eSecurityError, "Insecure: operation on untainted item");\
|
3049
3043
|
TypedData_Get_Struct((obj), struct itemdata, &itemdata_type, (itemp));\
|
3050
3044
|
if ((itemp)->item == 0) no_item();\
|
3051
3045
|
} while (0)
|
@@ -3244,8 +3238,6 @@ no_menu(void)
|
|
3244
3238
|
}
|
3245
3239
|
|
3246
3240
|
#define GetMENU(obj, menup) do {\
|
3247
|
-
if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\
|
3248
|
-
rb_raise(rb_eSecurityError, "Insecure: operation on untainted menu");\
|
3249
3241
|
TypedData_Get_Struct((obj), struct menudata, &menudata_type, (menup));\
|
3250
3242
|
if ((menup)->menu == 0) no_menu();\
|
3251
3243
|
} while (0)
|
@@ -3716,8 +3708,6 @@ no_field(void)
|
|
3716
3708
|
}
|
3717
3709
|
|
3718
3710
|
#define GetFIELD(obj, fieldp) do {\
|
3719
|
-
if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\
|
3720
|
-
rb_raise(rb_eSecurityError, "Insecure: operation on untainted field");\
|
3721
3711
|
TypedData_Get_Struct((obj), struct fielddata, &fielddata_type, (fieldp));\
|
3722
3712
|
if ((fieldp)->field == 0) no_field();\
|
3723
3713
|
} while (0)
|
@@ -4163,8 +4153,6 @@ no_form(void)
|
|
4163
4153
|
}
|
4164
4154
|
|
4165
4155
|
#define GetFORM(obj, formp) do {\
|
4166
|
-
if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\
|
4167
|
-
rb_raise(rb_eSecurityError, "Insecure: operation on untainted form");\
|
4168
4156
|
TypedData_Get_Struct((obj), struct formdata, &formdata_type, (formp));\
|
4169
4157
|
if ((formp)->form == 0) no_form();\
|
4170
4158
|
} while (0)
|
data/ext/curses/extconf.rb
CHANGED
@@ -27,7 +27,9 @@ dir_config('ncurses')
|
|
27
27
|
dir_config('termcap')
|
28
28
|
|
29
29
|
have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
|
30
|
-
have_library("
|
30
|
+
have_library("tinfow", "tgetent") ||
|
31
|
+
have_library("tinfo", "tgetent") ||
|
32
|
+
have_library("termcap", "tgetent")
|
31
33
|
|
32
34
|
header_library = nil
|
33
35
|
[
|
data/lib/2.5/curses.so
CHANGED
Binary file
|
data/lib/2.6/curses.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -75,7 +75,6 @@ files:
|
|
75
75
|
- ext/curses/curses.c
|
76
76
|
- ext/curses/depend
|
77
77
|
- ext/curses/extconf.rb
|
78
|
-
- lib/2.4/curses.so
|
79
78
|
- lib/2.5/curses.so
|
80
79
|
- lib/2.6/curses.so
|
81
80
|
- lib/curses.rb
|
@@ -99,17 +98,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
98
|
requirements:
|
100
99
|
- - ">="
|
101
100
|
- !ruby/object:Gem::Version
|
102
|
-
version: '2.
|
101
|
+
version: '2.5'
|
103
102
|
- - "<"
|
104
103
|
- !ruby/object:Gem::Version
|
105
|
-
version:
|
104
|
+
version: 2.7.dev
|
106
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
106
|
requirements:
|
108
107
|
- - ">="
|
109
108
|
- !ruby/object:Gem::Version
|
110
109
|
version: '0'
|
111
110
|
requirements: []
|
112
|
-
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.7.6
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: A Ruby binding for curses, ncurses, and PDCurses. curses is an extension
|
data/lib/2.4/curses.so
DELETED
Binary file
|