newt 1.0.1 → 1.1.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 +4 -4
- data/README.rdoc +3 -0
- data/ext/ruby_newt/ruby_newt.c +10 -10
- data/lib/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d74c8224a4919f10b076b957c6c8b4d8fcac75f39eb5a3801c0a978ab565a7d
|
|
4
|
+
data.tar.gz: 274ae70768b83ba67614914b8a6d67d2d73baf432895d0e0a620d61a474f6712
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80e5b0a82a5b572a0ffb4be71951cc60596ce558f29fffb563d20e8a1b6ec565d2a55686ff2aaecd4689cb249c673672e622914af49f4d32dc9ccf430426419b
|
|
7
|
+
data.tar.gz: 5644260058bc1099b4e6b4484f273781378963546e3504c82427320df83f7ad07a808095ec5d90250b0413c1296cd3f5a184c48537241559241f3010208fad6a
|
data/README.rdoc
CHANGED
|
@@ -29,6 +29,9 @@ See http://github.com/theforeman/ruby-newt/tree/master/examples for usage exampl
|
|
|
29
29
|
|
|
30
30
|
=== Development
|
|
31
31
|
|
|
32
|
+
Set +BUNDLE_PATH+ and +GEM_HOME+ to a location under <tt>$HOME</tt> to enable
|
|
33
|
+
unprivileged installs. <tt>$HOME/.local/share/gem</tt> is a common location.
|
|
34
|
+
|
|
32
35
|
$ bundle install
|
|
33
36
|
$ bundle exec rake compile
|
|
34
37
|
$ bundle exec rake test
|
data/ext/ruby_newt/ruby_newt.c
CHANGED
|
@@ -191,7 +191,7 @@ static VALUE rb_ext_ColorSetCustom(VALUE self, VALUE id)
|
|
|
191
191
|
return INT2NUM(NEWT_COLORSET_CUSTOM(NUM2INT(id)));
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
static VALUE rb_ext_Screen_Init()
|
|
194
|
+
static VALUE rb_ext_Screen_Init(VALUE self)
|
|
195
195
|
{
|
|
196
196
|
if (initialized == Qtrue)
|
|
197
197
|
return Qnil;
|
|
@@ -202,35 +202,35 @@ static VALUE rb_ext_Screen_Init()
|
|
|
202
202
|
return Qnil;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
static VALUE rb_ext_Screen_new()
|
|
205
|
+
static VALUE rb_ext_Screen_new(VALUE self)
|
|
206
206
|
{
|
|
207
|
-
rb_ext_Screen_Init();
|
|
207
|
+
rb_ext_Screen_Init(self);
|
|
208
208
|
newtCls();
|
|
209
209
|
return Qnil;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
static VALUE rb_ext_Screen_Cls()
|
|
212
|
+
static VALUE rb_ext_Screen_Cls(VALUE self)
|
|
213
213
|
{
|
|
214
214
|
INIT_GUARD();
|
|
215
215
|
newtCls();
|
|
216
216
|
return Qnil;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
static VALUE rb_ext_Screen_Finished()
|
|
219
|
+
static VALUE rb_ext_Screen_Finished(VALUE self)
|
|
220
220
|
{
|
|
221
221
|
newtFinished();
|
|
222
222
|
initialized = Qfalse;
|
|
223
223
|
return Qnil;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
static VALUE rb_ext_Screen_WaitForKey()
|
|
226
|
+
static VALUE rb_ext_Screen_WaitForKey(VALUE self)
|
|
227
227
|
{
|
|
228
228
|
INIT_GUARD();
|
|
229
229
|
newtWaitForKey();
|
|
230
230
|
return Qnil;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
static VALUE rb_ext_Screen_ClearKeyBuffer()
|
|
233
|
+
static VALUE rb_ext_Screen_ClearKeyBuffer(VALUE self)
|
|
234
234
|
{
|
|
235
235
|
INIT_GUARD();
|
|
236
236
|
newtClearKeyBuffer();
|
|
@@ -414,21 +414,21 @@ static VALUE rb_ext_Screen_SetColor(VALUE self, VALUE colorset, VALUE fg, VALUE
|
|
|
414
414
|
return Qnil;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
static VALUE rb_ext_Screen_Resume()
|
|
417
|
+
static VALUE rb_ext_Screen_Resume(VALUE self)
|
|
418
418
|
{
|
|
419
419
|
INIT_GUARD();
|
|
420
420
|
newtResume();
|
|
421
421
|
return Qnil;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
static VALUE rb_ext_Screen_Suspend()
|
|
424
|
+
static VALUE rb_ext_Screen_Suspend(VALUE self)
|
|
425
425
|
{
|
|
426
426
|
INIT_GUARD();
|
|
427
427
|
newtSuspend();
|
|
428
428
|
return Qnil;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
static VALUE rb_ext_Screen_Refresh()
|
|
431
|
+
static VALUE rb_ext_Screen_Refresh(VALUE self)
|
|
432
432
|
{
|
|
433
433
|
INIT_GUARD();
|
|
434
434
|
newtRefresh();
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: newt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Noritsugu Nakamura
|
|
8
8
|
- Eric Sperano
|
|
9
9
|
- Lukas Zapletal
|
|
10
10
|
- Robert Gill
|
|
11
|
-
autorequire:
|
|
12
11
|
bindir: bin
|
|
13
12
|
cert_chain: []
|
|
14
|
-
date:
|
|
13
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
15
14
|
dependencies: []
|
|
16
15
|
description: Ruby bindings for newt TUI library
|
|
17
16
|
email: foreman-dev@googlegroups.com
|
|
@@ -67,7 +66,6 @@ homepage: https://github.com/theforeman/ruby-newt
|
|
|
67
66
|
licenses:
|
|
68
67
|
- MIT
|
|
69
68
|
metadata: {}
|
|
70
|
-
post_install_message:
|
|
71
69
|
rdoc_options: []
|
|
72
70
|
require_paths:
|
|
73
71
|
- lib
|
|
@@ -83,8 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
81
|
- !ruby/object:Gem::Version
|
|
84
82
|
version: '0'
|
|
85
83
|
requirements: []
|
|
86
|
-
rubygems_version:
|
|
87
|
-
signing_key:
|
|
84
|
+
rubygems_version: 4.0.21
|
|
88
85
|
specification_version: 4
|
|
89
86
|
summary: Ruby bindings for newt
|
|
90
87
|
test_files: []
|