Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > a7f73ca000313443f0535cb0094b9dd4 > files > 1

ruby-ncursesw-1.2.4.3-3.mga1.src.rpm

commit 52b7ec15379dfa9ca1614a77984821ac71a74985
Author: Rémy CLOUARD <shikamaru@shikamaru.fr>
Date:   Tue Mar 22 23:18:07 2011 +0100

    Fix requires in examples
    
    The examples still required ncurses while they should now require
    ncursesw.
    
    Signed-off-by: Rémy CLOUARD <shikamaru@shikamaru.fr>

diff --git a/examples/example.rb b/examples/example.rb
index e49b9d9..d3c2fe7 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -59,7 +59,7 @@
 
 
 
-require "ncurses"
+require "ncursesw"
 
 def moving(scr)
   scr.clear() # clear screen
diff --git a/examples/form.rb b/examples/form.rb
index 1526741..43e2d34 100755
--- a/examples/form.rb
+++ b/examples/form.rb
@@ -8,7 +8,7 @@
 # Copyright (c) 2001 by Pradeep Padala. This document may be distributed 
 # under the terms set forth in the LDP license at linuxdoc.org/COPYRIGHT.html.
  
-require 'ncurses.rb'
+require 'ncursesw'
 
 begin
   scr = Ncurses.initscr()
diff --git a/examples/form2.rb b/examples/form2.rb
index 140a5a7..2bea254 100755
--- a/examples/form2.rb
+++ b/examples/form2.rb
@@ -11,7 +11,7 @@
 # Copyright (c) 2001 by Pradeep Padala. This document may be distributed 
 # under the terms set forth in the LDP license at linuxdoc.org/COPYRIGHT.html.
 
-require 'ncurses'
+require 'ncursesw'
 
 include Ncurses
 include Ncurses::Form
diff --git a/examples/hello_ncurses.rb b/examples/hello_ncurses.rb
index c6727d3..135f4bf 100755
--- a/examples/hello_ncurses.rb
+++ b/examples/hello_ncurses.rb
@@ -14,7 +14,7 @@
 
 # First, we have to tell Ruby to use the Ncurses extension module:
 
-require "ncurses"
+require "ncursesw"
 
 
 
diff --git a/examples/rain.rb b/examples/rain.rb
index fa91b6c..106e722 100755
--- a/examples/rain.rb
+++ b/examples/rain.rb
@@ -40,7 +40,7 @@
 
 
 
-require "ncurses"
+require "ncursesw"
 
 
 # A class responsible for raindrop drawing
diff --git a/examples/read_line.rb b/examples/read_line.rb
index 8ac9bdc..08eac3f 100755
--- a/examples/read_line.rb
+++ b/examples/read_line.rb
@@ -7,7 +7,7 @@
 # No warranties
 # Share and enjoy!
 
-require "ncurses"
+require "ncursesw"
 
 # read_line returns an array
 # [string, last_cursor_position_in_string, keycode_of_terminating_enter_key].
diff --git a/examples/tclock.rb b/examples/tclock.rb
index a5a8f2e..032d805 100755
--- a/examples/tclock.rb
+++ b/examples/tclock.rb
@@ -30,7 +30,7 @@
 # clearly marked as such.                                                 #
 ###########################################################################
 
-require "ncurses"
+require "ncursesw"
 PI = Math::PI
 
 def sign(_x)
diff --git a/examples/test_scanw.rb b/examples/test_scanw.rb
index de1ed82..1f7d000 100755
--- a/examples/test_scanw.rb
+++ b/examples/test_scanw.rb
@@ -9,7 +9,7 @@
 #
 # No warranties. Share and enjoy.
 
-require "ncurses"
+require "ncursesw"
 begin
   Ncurses.initscr
   Ncurses.mvaddstr(4, 19, "Give me a number: ")