vte4 4.1.9
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/COPYING.LIB +502 -0
- data/README.md +24 -0
- data/Rakefile +26 -0
- data/dependency-check/Rakefile +43 -0
- data/lib/vte4/deprecated.rb +60 -0
- data/lib/vte4/loader.rb +51 -0
- data/lib/vte4/pty.rb +39 -0
- data/lib/vte4/regex.rb +44 -0
- data/lib/vte4/terminal.rb +38 -0
- data/lib/vte4/version.rb +33 -0
- data/lib/vte4.rb +32 -0
- data/test/run-test.rb +35 -0
- data/test/test-pty.rb +46 -0
- data/test/test-regex.rb +51 -0
- data/test/test-terminal-properties.rb +93 -0
- data/test/test-terminal-signals.rb +67 -0
- data/test/test-terminal.rb +76 -0
- data/test/test-version.rb +53 -0
- data/test/vte4-test-utils.rb +39 -0
- data/vte4.gemspec +43 -0
- metadata +77 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
# Copyright (C) 2014-2023 Ruby-GNOME Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
require "vte4"
|
18
|
+
|
19
|
+
module VteTestUtils
|
20
|
+
private
|
21
|
+
def omit_if_not_respond(instance, method_name)
|
22
|
+
unless instance.respond_to?(method_name)
|
23
|
+
omit("#{instance.class}##{method_name} is not respond.")
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def omit_if_not_const_defined(constant_name)
|
28
|
+
unless Object.const_defined?(constant_name)
|
29
|
+
omit("#{constant_name} is not defined.")
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def only_vte_version(major, minor, micro=nil)
|
34
|
+
micro ||= 0
|
35
|
+
unless Vte::Version.or_later?(major, minor, micro)
|
36
|
+
omit("Require VTE >= #{major}.#{minor}.#{micro}")
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
data/vte4.gemspec
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2018-2023 Ruby-GNOME Project Team
|
4
|
+
#
|
5
|
+
# This library is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License as published by the Free Software Foundation; either
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
|
+
|
19
|
+
require_relative "../glib2/version"
|
20
|
+
|
21
|
+
Gem::Specification.new do |s|
|
22
|
+
s.name = "vte4"
|
23
|
+
s.summary = "Ruby/VTE4 is a Ruby binding of VTE for GTK 4"
|
24
|
+
s.description = "Ruby/VTE4 is a Ruby binding of VTE for GTK 4"
|
25
|
+
s.author = "The Ruby-GNOME Project Team"
|
26
|
+
s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
|
27
|
+
s.homepage = "https://ruby-gnome.github.io/"
|
28
|
+
s.licenses = ["LGPL-2.1+"]
|
29
|
+
s.version = ruby_glib2_version
|
30
|
+
s.extensions = ["dependency-check/Rakefile"]
|
31
|
+
s.require_paths = ["lib"]
|
32
|
+
s.files = [
|
33
|
+
"COPYING.LIB",
|
34
|
+
"README.md",
|
35
|
+
"Rakefile",
|
36
|
+
"#{s.name}.gemspec",
|
37
|
+
"dependency-check/Rakefile",
|
38
|
+
]
|
39
|
+
s.files += Dir.glob("lib/**/*.rb")
|
40
|
+
s.files += Dir.glob("test/**/*")
|
41
|
+
|
42
|
+
s.add_runtime_dependency("gtk4", "= #{s.version}")
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vte4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.1.9
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- The Ruby-GNOME Project Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-08-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gtk4
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.1.9
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.1.9
|
27
|
+
description: Ruby/VTE4 is a Ruby binding of VTE for GTK 4
|
28
|
+
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
|
+
executables: []
|
30
|
+
extensions:
|
31
|
+
- dependency-check/Rakefile
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- COPYING.LIB
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- dependency-check/Rakefile
|
38
|
+
- lib/vte4.rb
|
39
|
+
- lib/vte4/deprecated.rb
|
40
|
+
- lib/vte4/loader.rb
|
41
|
+
- lib/vte4/pty.rb
|
42
|
+
- lib/vte4/regex.rb
|
43
|
+
- lib/vte4/terminal.rb
|
44
|
+
- lib/vte4/version.rb
|
45
|
+
- test/run-test.rb
|
46
|
+
- test/test-pty.rb
|
47
|
+
- test/test-regex.rb
|
48
|
+
- test/test-terminal-properties.rb
|
49
|
+
- test/test-terminal-signals.rb
|
50
|
+
- test/test-terminal.rb
|
51
|
+
- test/test-version.rb
|
52
|
+
- test/vte4-test-utils.rb
|
53
|
+
- vte4.gemspec
|
54
|
+
homepage: https://ruby-gnome.github.io/
|
55
|
+
licenses:
|
56
|
+
- LGPL-2.1+
|
57
|
+
metadata: {}
|
58
|
+
post_install_message:
|
59
|
+
rdoc_options: []
|
60
|
+
require_paths:
|
61
|
+
- lib
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
requirements: []
|
73
|
+
rubygems_version: 3.5.0.dev
|
74
|
+
signing_key:
|
75
|
+
specification_version: 4
|
76
|
+
summary: Ruby/VTE4 is a Ruby binding of VTE for GTK 4
|
77
|
+
test_files: []
|