ruby-termios 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +6 -0
- data/ext/extconf.rb +11 -7
- data/lib/termios/version.rb +1 -1
- data/ruby-termios.gemspec +16 -14
- metadata +16 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d67fe2e8d8fade0d9b3f6b80f99f7c75436c57f5e413a4c8461051cc6c0ad82
|
4
|
+
data.tar.gz: f8519e70564bb6867d6412fc82f5eee6db50a9d24a6198c6679130cbbc89d430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76c79841e46e8f3c8ac3adf7dcabe20ebe1b828836d01a69bf871c14490c27d30bd98acc0fd966752c17b59554c9c78db9ff4ad0aa7899bb8a42ca7ed14f9173
|
7
|
+
data.tar.gz: e37fd4c83f68419b9c872f2dc134ba8894cdd5268fe1707c2eec817d4d62d05d84aa57b5c58416d38dc0adcf26b8315f14b5eea467207ed1827c206a6a21b7db
|
data/Gemfile
CHANGED
data/ext/extconf.rb
CHANGED
@@ -9,14 +9,18 @@ if have_header('termios.h') &&
|
|
9
9
|
have_header('sys/ioctl.h')
|
10
10
|
|
11
11
|
if RUBY_VERSION >= '1.7'
|
12
|
-
have_header('ruby/io.h')
|
13
|
-
|
14
|
-
have_struct_member("rb_io_t", "fd", ["ruby.h"
|
12
|
+
if have_header('ruby/io.h')
|
13
|
+
have_type("rb_io_t", ["ruby/io.h"])
|
14
|
+
have_struct_member("rb_io_t", "fd", ["ruby/io.h"])
|
15
15
|
else
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
if have_type("rb_io_t", ["ruby.h", "rubyio.h"])
|
17
|
+
have_struct_member("rb_io_t", "fd", ["ruby.h", "rubyio.h"])
|
18
|
+
else
|
19
|
+
have_struct_member("OpenFile", "fd", ["ruby.h", "rubyio.h"])
|
20
|
+
end
|
21
|
+
if have_macro("OpenFile", ["ruby.h", "rubyio.h"])
|
22
|
+
$defs.push("-DHAVE_MACRO_OPENFILE")
|
23
|
+
end
|
20
24
|
end
|
21
25
|
end
|
22
26
|
|
data/lib/termios/version.rb
CHANGED
data/ruby-termios.gemspec
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
require 'termios/version'
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/termios/version'
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = 'ruby-termios'
|
@@ -11,20 +10,23 @@ Gem::Specification.new do |spec|
|
|
11
10
|
|
12
11
|
spec.summary = 'a simple wrapper of termios(3)'
|
13
12
|
spec.description = <<-E
|
14
|
-
Termios module is simple wrapper of termios(3).
|
15
|
-
It can be included into IO-family classes and can extend IO-family objects.
|
16
|
-
In addition, the methods can use as module function.
|
17
|
-
|
13
|
+
Termios module is simple wrapper of termios(3).
|
14
|
+
It can be included into IO-family classes and can extend IO-family objects.
|
15
|
+
In addition, the methods can use as module function.
|
16
|
+
E
|
18
17
|
spec.homepage = 'https://github.com/arika/ruby-termios'
|
19
18
|
spec.license = "Ruby's"
|
19
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
20
|
+
|
21
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
22
|
+
spec.metadata['source_code_ri'] = spec.homepage
|
23
|
+
spec.metadata['bug_tracker_uri'] = spec.homepage + '/issues'
|
20
24
|
|
21
|
-
spec.files
|
25
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
27
|
+
end
|
22
28
|
spec.bindir = 'exe'
|
23
|
-
spec.executables = spec.files.grep(%r{
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
24
30
|
spec.require_paths = ['lib']
|
25
31
|
spec.extensions = ['ext/extconf.rb']
|
26
|
-
|
27
|
-
spec.add_development_dependency 'bundler', '~> 1.12'
|
28
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
29
|
-
spec.add_development_dependency 'rake-compiler'
|
30
32
|
end
|
metadata
CHANGED
@@ -1,61 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-termios
|
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
|
- akira yamada
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.12'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.12'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake-compiler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
description: |
|
56
|
-
Termios module is simple wrapper of termios(3).
|
57
|
-
It can be included into IO-family classes and can extend IO-family objects.
|
58
|
-
In addition, the methods can use as module function.
|
11
|
+
date: 2020-12-15 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |2
|
14
|
+
Termios module is simple wrapper of termios(3).
|
15
|
+
It can be included into IO-family classes and can extend IO-family objects.
|
16
|
+
In addition, the methods can use as module function.
|
59
17
|
email:
|
60
18
|
- akira@arika.org
|
61
19
|
executables: []
|
@@ -83,8 +41,11 @@ files:
|
|
83
41
|
homepage: https://github.com/arika/ruby-termios
|
84
42
|
licenses:
|
85
43
|
- Ruby's
|
86
|
-
metadata:
|
87
|
-
|
44
|
+
metadata:
|
45
|
+
homepage_uri: https://github.com/arika/ruby-termios
|
46
|
+
source_code_ri: https://github.com/arika/ruby-termios
|
47
|
+
bug_tracker_uri: https://github.com/arika/ruby-termios/issues
|
48
|
+
post_install_message:
|
88
49
|
rdoc_options: []
|
89
50
|
require_paths:
|
90
51
|
- lib
|
@@ -92,17 +53,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
53
|
requirements:
|
93
54
|
- - ">="
|
94
55
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
56
|
+
version: 2.3.0
|
96
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
58
|
requirements:
|
98
59
|
- - ">="
|
99
60
|
- !ruby/object:Gem::Version
|
100
61
|
version: '0'
|
101
62
|
requirements: []
|
102
|
-
|
103
|
-
|
104
|
-
signing_key:
|
63
|
+
rubygems_version: 3.2.0
|
64
|
+
signing_key:
|
105
65
|
specification_version: 4
|
106
66
|
summary: a simple wrapper of termios(3)
|
107
67
|
test_files: []
|
108
|
-
has_rdoc:
|