curses 1.1.2-x86-mingw32 → 1.1.3-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
  SHA1:
3
- metadata.gz: 4429699d8569046eab10f0fe3191e9d44d901fc8
4
- data.tar.gz: 803aa800040143cbb0496d79fadcf2761ec217a9
3
+ metadata.gz: 1875c1db10c26f2d7807e68c9437d5a167bce560
4
+ data.tar.gz: 3faa2f0fa6f30307a22f7aefa6fcbd0a9f33228b
5
5
  SHA512:
6
- metadata.gz: 0f3c541fb84503fae23cc54c2dbe336799aa096c79f5d191a7c060535d89b98eb6bcf7cbf686c2cff2f1e807ce88c06727b7520bef4fcd6ef89fc86cddff075a
7
- data.tar.gz: 8868923c8a78b81698650a4125e9db38451e4633650f73e699fc98d57e09cad066e277930bd53c1360ea36b5ae9bdc5befa91ef8c9ea59688418d6ce83d21c01
6
+ metadata.gz: 24240258373d1498a7e48a6b3e9a3d36595880e76f5f063779d59bd6958b2f3f0e362d1c8eba71563cdb6f7344c7ab3c812bf5b9f53cfb433b701f986470c23b
7
+ data.tar.gz: 858639562d0bbb277e8730d9e2a9f913194a64dcfd744ef269f88785db0fb0ec5353b678b20e9994212ba2b47d34340ce918cca77432ac8a0ccae29e64d7640b
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
+ }
data/lib/2.2/curses.so CHANGED
Binary file
data/lib/2.3/curses.so CHANGED
Binary file
data/lib/2.4/curses.so CHANGED
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.1.2
4
+ version: 1.1.3
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: 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
@@ -61,9 +61,17 @@ executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
63
63
  files:
64
+ - ".gitignore"
65
+ - ".gitmodules"
66
+ - ".travis.yml"
64
67
  - BSDL
65
68
  - COPYING
69
+ - Gemfile
70
+ - History.md
66
71
  - README.md
72
+ - Rakefile
73
+ - appveyor.yml
74
+ - curses.gemspec
67
75
  - ext/curses/curses.c
68
76
  - ext/curses/depend
69
77
  - ext/curses/extconf.rb