curses 1.3.1-x86-mingw32 → 1.3.2-x86-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: 87702391a8f8ae68c0fc28e93feeb6cdd1a7d2946d36887272518e2ed51c2473
4
- data.tar.gz: ee5ce336855c9737d0a38fc4a5e0f0a24c772393ce0fabc235db143e379a6cef
3
+ metadata.gz: cb994c65a11cb31d67ae29e1deb5f3fd2c13a085ce3c2b11b5f65e3b2ea53d31
4
+ data.tar.gz: af10d7955fe15e32979acba3a19b2150ba83e674d08e5d59cf3c1ba9433ad8ec
5
5
  SHA512:
6
- metadata.gz: c62d672416b112065b147698a4b04935fca244d7909b8e8575bbefd2d1f54b886e27caf22a4f8e9718a2ee37c91c85f161c19134060cf20a4748fec2df09ecea
7
- data.tar.gz: 469eb21e8e5e59b76904f8dece5ee94ab299d339c5f9aec634ac09009b307ea7aca3d39038bab5c168f0530b1e4ee1dafcbc751ee87244654804c4cc9d8b870b
6
+ metadata.gz: 4b8881337244f8221f866fd7983e1e7e50a8eacdaacc8cea3a388c52270e27c18479c00c0f9671d6e0ac6cf088d52f9af7ca745f3389f2fba197b6910f790260
7
+ data.tar.gz: 02b2bf67171ec7c85a96c5f87bd0438629fa5ce2db20002157e972141322921cfbb38b8c623b63c02e6ea9caa592996cbe5023b6d2e89e0978d7d6161d2a711e
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: x86-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