Skip to content
Browse files

cleanup gem file list pattern and legacy file

  • Loading branch information...
1 parent 0f4a5af commit d3cbbbd1c3ecbb3c04817bf604110c1a004d6ca9 @mislav mislav committed
Showing with 1 addition and 29 deletions.
  1. +1 −1 Rakefile
  2. +0 −28 tst.rb
View
2 Rakefile
@@ -6,7 +6,7 @@ begin
def fill_in_gemspec_defaults(gemspec)
if gemspec.files.nil? || gemspec.files.empty?
- gemspec.files = FileList["[A-Z]*.*", "{bin,generators,lib,images,test,spec}/**/*", "README*", "LICENSE*"]
+ gemspec.files = FileList['Rakefile', '{bin,lib,images,spec}/**/*', 'README*', 'LICENSE*']
end
if gemspec.executables.nil? || gemspec.executables.empty?
View
28 tst.rb
@@ -1,28 +0,0 @@
-require "curses"
-
-module Curses
- def self.program
- main_screen = init_screen
- noecho
- cbreak
- curs_set(0)
- main_screen.keypad = true
- yield main_screen
- end
-end
-
-Curses.program do |scr|
- scr.setpos(scr.maxy - 2, 0)
- scr.maxx.times { scr.addstr("-") }
-
- scr.setpos(scr.maxy - 1, 0)
- scr.addstr("Mode: Run all specs")
-
- # 100.times do
- # scr.setpos(rand(max_y), rand(max_x))
- # scr.addstr(str)
- # end
- loop do
- scr.addstr(scr.getch.to_s)
- end
-end

0 comments on commit d3cbbbd

Please sign in to comment.
Something went wrong with that request. Please try again.