ruby-qt6-rspec 6.0.0 → 6.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 +4 -4
- data/lib/qt6/rspec/version.rb +1 -1
- data/lib/qt6/rspec.rb +12 -0
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 347cc7e38d3a1545954ecaffdb0c95396931db23debe42c94b253f2b624f7ece
|
|
4
|
+
data.tar.gz: dbcd01800fa2825225fd9ec18d5c3bbb4044639acf533e4fe8f09c9d043605d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d273c552b74dd358cccd313fea1fdcdf083ab8810d01a0090e4e3dfa61f0bdeea6ddd07c0ae0d92a773bec92d04b432f944382be1e7763842c3975df7b37ed42
|
|
7
|
+
data.tar.gz: a6923ae41869ad9adf746df614cb76c7bba09c3e0d733fea4777f19ff3c0608501578b53ff211421476bc3459891ce35f5aecbc318c3bde563c46c82c3c79872
|
data/lib/qt6/rspec/version.rb
CHANGED
data/lib/qt6/rspec.rb
CHANGED
|
@@ -9,6 +9,7 @@ module RubyQt6
|
|
|
9
9
|
VERIFY_QLASS_VIRTUAL_METHODS = [
|
|
10
10
|
"event", "event_filter", # QObject
|
|
11
11
|
"connect_notify", "disconnect_notify", # QObject
|
|
12
|
+
"parent", # QObject
|
|
12
13
|
"paint_engine", # QPaintDevice
|
|
13
14
|
"metric", # QPaintDevice
|
|
14
15
|
"has_height_for_width", "height_for_width", # QWidget
|
|
@@ -28,12 +29,20 @@ module RubyQt6
|
|
|
28
29
|
]
|
|
29
30
|
NO_VERIFY_QLASS_VIRTUAL_METHODS = {
|
|
30
31
|
"QCoreApplication" => ["post_event", "send_event"],
|
|
32
|
+
"QItemSelectionRange" => ["parent"],
|
|
33
|
+
"QModelIndex" => ["parent"],
|
|
34
|
+
"QPersistentModelIndex" => ["parent"],
|
|
35
|
+
"QStandardItem" => ["parent"],
|
|
36
|
+
"QTreeWidgetItem" => ["parent"],
|
|
31
37
|
"QLayoutItem" => ["has_height_for_width", "height_for_width", "maximum_size", "minimum_size", "size_hint"],
|
|
32
38
|
"QLayout" => ["maximum_size", "minimum_size"],
|
|
33
39
|
"QWidget" => ["maximum_size", "minimum_size", "minimum_size_hint", "size_hint"],
|
|
34
40
|
"QWindow" => ["maximum_size", "minimum_size"]
|
|
35
41
|
}
|
|
36
42
|
NO_VERIFY_QLASS_LEADING_UNDERSCORE_METHODS = {
|
|
43
|
+
"QSortFilterProxyModel" => ["_parent"],
|
|
44
|
+
"QFileSystemModel" => ["_parent"],
|
|
45
|
+
"QStandardItemModel" => ["_parent"],
|
|
37
46
|
"QObject" => ["_connect", "_disconnect"],
|
|
38
47
|
"QApplication" => ["_all_widgets", "_top_level_widgets"]
|
|
39
48
|
}
|
|
@@ -205,6 +214,9 @@ module RubyQt6
|
|
|
205
214
|
raise method.inspect if VERIFY_QLASS_VIRTUAL_METHODS.include?(method.rbname)
|
|
206
215
|
end.call
|
|
207
216
|
|
|
217
|
+
# No internal method
|
|
218
|
+
raise method.inspect if method.rbname.include?("internal_")
|
|
219
|
+
|
|
208
220
|
# No unknonwn leading underscore method
|
|
209
221
|
if method.rbname.start_with?("_")
|
|
210
222
|
lambda do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-qt6-rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Doe
|
|
@@ -9,7 +9,6 @@ bindir: exe
|
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
|
-
description: RSpec for RubyQt6.
|
|
13
12
|
email:
|
|
14
13
|
- johndoe@example.com
|
|
15
14
|
executables: []
|
|
@@ -26,11 +25,9 @@ files:
|
|
|
26
25
|
- lib/qt6/rspec/qlass_file_parser.rb
|
|
27
26
|
- lib/qt6/rspec/version.rb
|
|
28
27
|
homepage: https://github.com/souk4711/ruby-qt6
|
|
29
|
-
licenses:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
source_code_uri: https://github.com/souk4711/ruby-qt6
|
|
33
|
-
changelog_uri: https://github.com/souk4711/ruby-qt6
|
|
28
|
+
licenses:
|
|
29
|
+
- LGPL-3.0-only WITH LGPL-3.0-linking-exception
|
|
30
|
+
metadata: {}
|
|
34
31
|
rdoc_options: []
|
|
35
32
|
require_paths:
|
|
36
33
|
- lib
|