rb_termbox 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +11 -13
- data/README.md +14 -0
- data/ext/termbox/bytebuffer.inl +78 -0
- data/ext/termbox/extconf.rb +3 -0
- data/ext/termbox/input.inl +96 -0
- data/ext/termbox/term.inl +291 -0
- data/ext/termbox/termbox.c +536 -0
- data/ext/termbox/termbox.h +226 -0
- data/ext/termbox/utf8.c +79 -0
- data/lib/termbox.rb +1 -1
- data/lib/termbox/colors.rb +9 -8
- data/lib/termbox/keys.rb +2 -1
- data/lib/termbox/version.rb +1 -1
- data/rb_termbox.gemspec +6 -7
- data/sample/all_colors.rb +37 -0
- data/sample/keyboard.rb +15 -15
- metadata +65 -73
- data/README +0 -10
metadata
CHANGED
@@ -1,102 +1,94 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb_termbox
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
10
5
|
platform: ruby
|
11
|
-
authors:
|
6
|
+
authors:
|
12
7
|
- James Cook
|
13
8
|
autorequire:
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: ffi
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
31
20
|
type: :runtime
|
32
|
-
version_requirements: *id001
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
35
21
|
prerelease: false
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
44
34
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Ruby binding to Termbox, a ncurses alternative.
|
42
|
+
email:
|
43
|
+
- jcook.rubyist@gmail.com
|
49
44
|
executables: []
|
50
|
-
|
51
|
-
|
52
|
-
|
45
|
+
extensions:
|
46
|
+
- ext/termbox/extconf.rb
|
53
47
|
extra_rdoc_files: []
|
54
|
-
|
55
|
-
files:
|
48
|
+
files:
|
56
49
|
- .gitignore
|
57
50
|
- Gemfile
|
58
51
|
- Gemfile.lock
|
59
|
-
- README
|
52
|
+
- README.md
|
53
|
+
- ext/termbox/bytebuffer.inl
|
54
|
+
- ext/termbox/extconf.rb
|
55
|
+
- ext/termbox/input.inl
|
56
|
+
- ext/termbox/term.inl
|
57
|
+
- ext/termbox/termbox.c
|
58
|
+
- ext/termbox/termbox.h
|
59
|
+
- ext/termbox/utf8.c
|
60
60
|
- lib/termbox.rb
|
61
61
|
- lib/termbox/colors.rb
|
62
62
|
- lib/termbox/keys.rb
|
63
63
|
- lib/termbox/version.rb
|
64
64
|
- rb_termbox.gemspec
|
65
|
+
- sample/all_colors.rb
|
65
66
|
- sample/keyboard.rb
|
66
67
|
- sample/keyboard_keys.rb
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
68
|
+
homepage: http://github.com/jamescook/rb_termbox
|
69
|
+
licenses:
|
70
|
+
- MIT
|
71
|
+
metadata: {}
|
71
72
|
post_install_message:
|
72
73
|
rdoc_options: []
|
73
|
-
|
74
|
-
require_paths:
|
74
|
+
require_paths:
|
75
75
|
- lib
|
76
|
-
|
77
|
-
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
segments:
|
90
|
-
- 1
|
91
|
-
- 3
|
92
|
-
- 6
|
93
|
-
version: 1.3.6
|
76
|
+
- .
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
94
87
|
requirements: []
|
95
|
-
|
96
|
-
|
97
|
-
rubygems_version: 1.3.7
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 2.0.3
|
98
90
|
signing_key:
|
99
|
-
specification_version:
|
91
|
+
specification_version: 4
|
100
92
|
summary: Ruby binding to Termbox, a ncurses alternative.
|
101
93
|
test_files: []
|
102
|
-
|
94
|
+
has_rdoc:
|
data/README
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
Ruby termbox binding
|
2
|
-
===
|
3
|
-
|
4
|
-
- Get termbox source and compile. Newer versions may build the shared lib for you, else tweak the gcc command as necessary.
|
5
|
-
- See https://github.com/nsf/termbox/issues#issue/6 if on OSX (requires a tweak to termbox.c as of 2011-04-4)
|
6
|
-
- Install bundler && bundle install
|
7
|
-
- Edit sample/keyboard.rb and point Termbox.termbox_library_path to your shared lib.
|
8
|
-
- Run ruby sample/keyboard.rb to get a feel for what you can do. It's a partial port of termbox's own sample keyboard application. (Ctrl + Q to quit)
|
9
|
-
|
10
|
-
|