curses 1.1.2 → 1.1.3

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
  SHA1:
3
- metadata.gz: 03c25eea746e3f7cb15e45b7bc00ed8180e30cb0
4
- data.tar.gz: a8a4eff04ef4ef35069d18bbcc8bb9fbf742eb33
3
+ metadata.gz: 65bd979328b3f3a698871cd3f325d8d0c6b792d5
4
+ data.tar.gz: 72ed3568c33f61e587dfddea55f1c521b0ea900e
5
5
  SHA512:
6
- metadata.gz: d9a5c40fa6d03507bd44fc63f4cbb8fcbf157779e18ec383f18f0667e41461bf9f59c7d71f8a5f3de36a986ec808c009650133518a4ae145fb9bd6cda41a45ad
7
- data.tar.gz: 34409fec484258022994adbb87736ec8254c8850b2e80100b745940e888b554aa4667cad5b6b09e8d5aa3bd01b640463523f7a520fdb00dc149e2a5e6f883bb3
6
+ metadata.gz: dd76de0e09d56426090ac552cc68090167436449138747a630f641afc8de2fc1bcdf01c071ab018c02aab78a662f723fa4bc96f84515dc68001f55535bf4550f
7
+ data.tar.gz: 875c021c1f5e4659a339a46a24187f72f8b130d9b4ff747258f91c7e090742c2a8461905e593dcc07e407b89b4c0893f775932d335dc0dce34afbf1087bc9a5c
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ *.rbc
2
+ *.swp
3
+ /TAGS
4
+ /doc
5
+ /lib/curses.bundle
6
+ /lib/curses.so
7
+ /lib/curses.dll
8
+ /pkg
9
+ /tmp
10
+ /Gemfile.lock
11
+ /vendor/x86-mingw32
12
+ /vendor/x64-mingw32
13
+ .ruby-version
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "vendor/PDCurses"]
2
+ path = vendor/PDCurses
3
+ url = https://github.com/Bill-Gray/PDCurses.git
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ ---
2
+ language: ruby
3
+ notifications:
4
+ email:
5
+ recipients:
6
+ - drbrain@segment7.net
7
+ - shugo@ruby-lang.org
8
+ rvm:
9
+ - 2.1.10
10
+ - 2.2.6
11
+ - 2.3.3
12
+ - 2.4.0
13
+ - ruby-head
14
+ script: rake compile
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ source "https://rubygems.org"
3
+
4
+ gemspec
data/History.md ADDED
@@ -0,0 +1,56 @@
1
+ ### 1.1.3 / 2017-02-08
2
+
3
+ Bug fixes:
4
+
5
+ * Update PDCurses to handle extended keys.
6
+
7
+ ### 1.1.2 / 2017-02-06
8
+
9
+ Bug fixes:
10
+
11
+ * Use the left-alt-fix branch of https://github.com/shugo/PDCurses.git to get
12
+ ALT + < etc.
13
+
14
+ ### 1.1.1 / 2017-01-25
15
+
16
+ Bug fixes:
17
+
18
+ * Add -DPDC_WIDE to CPPFLAGS when compiling with PDCurses.
19
+
20
+ ### 1.1.0 / 2017-01-24
21
+
22
+ New features:
23
+
24
+ * Use bundler instead of hoe. Pull request #18 by hsbt.
25
+ * Enable appveyor. Pull request #19 by hsbt.
26
+ * Add badges for build status to README.md. Pull request #20 by hsbt.
27
+ * Add Curses.erase and Curses::Window.erase.
28
+ * Add Curses::Window.redraw.
29
+ * Add Curses.unget_char, Curses.get_char, and Curses::Window.get_char for
30
+ multibyte characters.
31
+ * Add Curses.keyboard_encoding and Curses.terminal_encoding.
32
+ * Support cross compilation for mingw32.
33
+
34
+ Bug fixes:
35
+
36
+ * Fix error in attron/attroff documentation. Pull request #14 by stomar.
37
+ * Improve code samples. Pull request #15 by stomar.
38
+
39
+ ### 1.0.2 / 2016-03-15
40
+
41
+ Bug fixes:
42
+
43
+ * Fix ncursesw support. Pull request #16 by peter50216, patch by eTM. Issue
44
+ #6 by Jean Lazarou.
45
+
46
+ ### 1.0.1 / 2014-03-26
47
+
48
+ Bug fixes:
49
+
50
+ * Curses install is a no-op on ruby with bundled curses. Pull request #4
51
+ tiredpixel.
52
+
53
+ ### 1.0.0 / 2013-12-10
54
+
55
+ Birthday!
56
+
data/Rakefile ADDED
@@ -0,0 +1,63 @@
1
+ require "bundler"
2
+
3
+ Bundler::GemHelper.install_tasks
4
+
5
+ begin
6
+ require 'rake/extensiontask'
7
+ rescue LoadError => e
8
+ warn "\nmissing #{e.path} (for rake-compiler)" if e.respond_to? :path
9
+ warn "run: bundle install\n\n"
10
+ end
11
+
12
+ CLOBBER.include("vendor/x86-mingw32")
13
+ CLOBBER.include("vendor/x64-mingw32")
14
+ CLOBBER.include("lib/2.*")
15
+ CLOBBER.include("pkg")
16
+
17
+ namespace :build do
18
+ desc "Build PDCurses"
19
+ task :pdcurses do
20
+ mkdir_p "vendor/x86-mingw32/PDCurses"
21
+ mkdir_p "vendor/x64-mingw32/PDCurses"
22
+ chdir "vendor/PDCurses/win32" do
23
+ sh "make -f mingwin32.mak clean all _linux_w32=1 WIDE=Y DLL=Y"
24
+ cp "pdcurses.dll", "../../x86-mingw32/PDCurses"
25
+ sh "make -f mingwin32.mak clean all _linux_w64=1 WIDE=Y DLL=Y"
26
+ cp "pdcurses.dll", "../../x64-mingw32/PDCurses"
27
+ end
28
+ end
29
+ end
30
+
31
+ namespace :clean do
32
+ desc "Clean PDCurses"
33
+ task :pdcurses do
34
+ chdir "vendor/PDCurses/win32" do
35
+ sh "make -f mingwin32.mak clean _linux_w64=1"
36
+ end
37
+ end
38
+ end
39
+
40
+ spec = eval(File.read(File.expand_path("curses.gemspec", __dir__)))
41
+ Rake::ExtensionTask.new(spec.name, spec) do |ext|
42
+ ext.cross_compile = true
43
+ ext.cross_platform = ["x86-mingw32", "x64-mingw32"]
44
+ ext.cross_config_options << '--with-curses-include=' +
45
+ File.expand_path("vendor/PDCurses", __dir__) +
46
+ ' --with-curses-version=function --enable-pdcurses-wide'
47
+ ext.cross_config_options << {
48
+ 'x86-mingw32' => '--with-curses-lib=' +
49
+ File.expand_path("vendor/x86-mingw32/PDCurses", __dir__),
50
+ 'x64-mingw32' => '--with-curses-lib=' +
51
+ File.expand_path("vendor/x64-mingw32/PDCurses", __dir__)
52
+ }
53
+ ext.cross_compiling do |_spec|
54
+ bin_file = "vendor/#{_spec.platform}/PDCurses/pdcurses.dll"
55
+ _spec.files += [bin_file]
56
+ stage_file = "#{ext.tmp_dir}/#{_spec.platform}/stage/#{bin_file}"
57
+ stage_dir = File.dirname(stage_file)
58
+ directory stage_dir
59
+ file stage_file => [stage_dir, bin_file] do
60
+ cp bin_file, stage_file
61
+ end
62
+ end
63
+ end
data/appveyor.yml ADDED
@@ -0,0 +1,17 @@
1
+ ---
2
+ clone_depth: 10
3
+ install:
4
+ - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
5
+ - appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/pdcurses-3.4-x64-windows.tar.lzma
6
+ - 7z e pdcurses-3.4-x64-windows.tar.lzma
7
+ - 7z x -y -oC:\Ruby%ruby_version% pdcurses-3.4-x64-windows.tar
8
+ - bundle install
9
+ build_script:
10
+ - rake -rdevkit compile -- --with-curses-dir=C:\Ruby%ruby_version%
11
+ test: off
12
+ deploy: off
13
+ environment:
14
+ matrix:
15
+ - ruby_version: "21-x64"
16
+ - ruby_version: "22-x64"
17
+ - ruby_version: "23-x64"
data/curses.gemspec ADDED
@@ -0,0 +1,17 @@
1
+ Gem::Specification.new { |s|
2
+ s.name = "curses"
3
+ s.version = "1.1.3"
4
+ s.author = ["Shugo Maeda", 'Eric Hodel']
5
+ s.email = ["shugo@ruby-lang.org", 'drbrain@segment7.net']
6
+ s.homepage = "https://github.com/ruby/curses"
7
+ s.platform = Gem::Platform::RUBY
8
+ s.summary = "A Ruby binding for curses, ncurses, and PDCurses. curses is an extension library for text UI applications. Formerly part of the Ruby standard library, [curses was removed and placed in this gem][1] with the release of Ruby 2.1.0. (see [ruby/ruby@9c5b2fd][2])"
9
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(vendor)/}) }
10
+ s.extensions = ["ext/curses/extconf.rb"]
11
+ s.require_path = "lib"
12
+ s.required_ruby_version = Gem::Requirement.new('>= 2.1.0')
13
+ s.licenses = ['Ruby', 'BSD-2-Clause']
14
+ s.add_development_dependency 'bundler'
15
+ s.add_development_dependency 'rake'
16
+ s.add_development_dependency 'rake-compiler'
17
+ }
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.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
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: 2017-02-06 00:00:00.000000000 Z
12
+ date: 2017-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -62,15 +62,20 @@ extensions:
62
62
  - ext/curses/extconf.rb
63
63
  extra_rdoc_files: []
64
64
  files:
65
+ - ".gitignore"
66
+ - ".gitmodules"
67
+ - ".travis.yml"
65
68
  - BSDL
66
69
  - COPYING
70
+ - Gemfile
71
+ - History.md
67
72
  - README.md
73
+ - Rakefile
74
+ - appveyor.yml
75
+ - curses.gemspec
68
76
  - ext/curses/curses.c
69
77
  - ext/curses/depend
70
78
  - ext/curses/extconf.rb
71
- - lib/2.2/curses.so
72
- - lib/2.3/curses.so
73
- - lib/2.4/curses.so
74
79
  - lib/curses.rb
75
80
  - sample/hello.rb
76
81
  - sample/mouse.rb
data/lib/2.2/curses.so DELETED
Binary file
data/lib/2.3/curses.so DELETED
Binary file
data/lib/2.4/curses.so DELETED
Binary file