curses 1.3.1-x64-mingw32 → 1.3.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d921227eb4f44e17b78e99e8aef59b98728f297c1a77f86e344be6acace9799
4
- data.tar.gz: 32073961b8d7873fc2a6b1f4e7b5658c19f48cb0cc6063514f29727c02d1b014
3
+ metadata.gz: 8ae495952e0953f3c46cb8c4e6b5dab5204bbeea4cd1e46db4f241a61cf34192
4
+ data.tar.gz: 464c4a6cb8ef0487d3f0200fa902a75831af97714b43e6c533f09f8f3edd5e04
5
5
  SHA512:
6
- metadata.gz: 4232521c6372d43e8b79b10f4c07b0b2e37acb05e3ca2e747e1ce62a366c63424480fe3fcef87db56d965f17869e7fafca6bf62e8beaa4a93084bcc9b0964a73
7
- data.tar.gz: 5203b26592d3ffd63a2948402d4e97e0d003644c5acb631ca9d11bc1e3deb35171d7d0495e75a16199ecd71ed704caa16e35c52cad52e1a36854f60cc84d2bd7
6
+ metadata.gz: 150983036d5e7ca5dca6d987acbf92dff5bfe7751d7edfc3fd6aa1c78563e1e909a08066de8f71aaf2b1b201023c724786a66b180b6b12302fb1ab4e7a90666f
7
+ data.tar.gz: bbda19bb0e7b02b04a3b073b553fa6236a8aeba40a8f388d81833d7761b05831b24a493c7f1c0667a9654c86d0bd9d545dd11f63a464dc33410abd2de3aa1586
data/History.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 1.3.2 / 2019-12-20
2
+
3
+ Bug fixes:
4
+
5
+ * Drop rb_safe_level check for Ruby 2.7 by Eric Wong.
6
+ * Try libtinfow first. Issue #52 by Marco Sirabella.
7
+
1
8
  ### 1.3.1 / 2019-04-21
2
9
 
3
10
  Bug fixes:
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new { |s|
2
2
  s.name = "curses"
3
- s.version = "1.3.1"
3
+ s.version = "1.3.2"
4
4
  s.author = ["Shugo Maeda", 'Eric Hodel']
5
5
  s.email = ["shugo@ruby-lang.org", 'drbrain@segment7.net']
6
6
  s.homepage = "https://github.com/ruby/curses"
@@ -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 f Curses::Window.getch calls
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 f Curses::Window.getch calls
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)
@@ -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("tinfo", "tgetent") or have_library("termcap", "tgetent")
30
+ have_library("tinfow", "tgetent") ||
31
+ have_library("tinfo", "tgetent") ||
32
+ have_library("termcap", "tgetent")
31
33
 
32
34
  header_library = nil
33
35
  [
Binary file
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.1
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-04-20 00:00:00.000000000 Z
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.4'
101
+ version: '2.5'
103
102
  - - "<"
104
103
  - !ruby/object:Gem::Version
105
- version: '2.7'
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
- rubygems_version: 3.0.3
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
Binary file