gdk4 4.2.0 → 4.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1829a37774189cc3a1178a81a7f942a2c687cee29adfa2af397df922505aedf4
4
- data.tar.gz: 2b41566f883ad207ba11b967d26dd703b220878bb382f22245d7887f5188a56d
3
+ metadata.gz: 813f262d55fc80d824f33938513e3d4a693382845c0a5b267bbbdf11e6d2c48a
4
+ data.tar.gz: 12f9795cfdef5c38ce21702ee2c0090155d9751c99ff1f467fa10631a9e881a2
5
5
  SHA512:
6
- metadata.gz: f6daf919f93dc509efd8b375a5c1b2a698c45160422d481ad6de14de8faa7171de5c91bafcea0ec06121656740582b7e0a91ccd0db8c24f4645bbaa96d768f6d
7
- data.tar.gz: e75bfd2f51164160e15ca2ca7486d4dbd56eb09d29d6a33c67292770d751abc532650133508c9d537bf72ac5bce167c101880ea31000ea9a045a400662031293
6
+ metadata.gz: 561780014eea2a7564385ec82f89023694603265e502d82a567f5e80f68c7ed71bc285841f9cb55314568afbf7789c36fdf9f7d615066967cd2b7fd8609c6595
7
+ data.tar.gz: 1c0d34c750ad728ea63f8b7f600146d14bbdff48bc78b9cce5a71d457e14ebd01bff01e78b6b1a78036792636b222ff31c9a569b0dde25674c70ec860046026d
data/lib/gdk4/loader.rb CHANGED
@@ -144,6 +144,7 @@ module Gdk
144
144
 
145
145
  def require_post_libraries
146
146
  require_relative "cursor"
147
+ require_relative "memory-texture"
147
148
  require_relative "paintable"
148
149
  require_relative "rectangle"
149
150
  require_relative "rgba"
@@ -0,0 +1,26 @@
1
+ # Copyright (C) 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
+ module Gdk
18
+ class MemoryTexture
19
+ alias_method :initialize_raw, :initialize
20
+ private
21
+ def initialize(width, height, format, bytes, stride)
22
+ @bytes = bytes
23
+ initialize_raw(width, height, format, bytes, stride)
24
+ end
25
+ end
26
+ end
@@ -15,7 +15,7 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  class TestGdkKeyval < Test::Unit::TestCase
18
- def test_consntant_name
18
+ def test_constant_name
19
19
  assert_equal("a".unpack("c")[0], Gdk::Keyval::KEY_a)
20
20
  end
21
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdk4
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-19 00:00:00.000000000 Z
11
+ date: 2024-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pango
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0
19
+ version: 4.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.0
26
+ version: 4.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gdk_pixbuf2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.0
33
+ version: 4.2.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.0
40
+ version: 4.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cairo-gobject
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 4.2.0
47
+ version: 4.2.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 4.2.0
54
+ version: 4.2.1
55
55
  description: Ruby/GDK4 is a Ruby binding of GDK-4.x.
56
56
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
57
  executables: []
@@ -69,6 +69,7 @@ files:
69
69
  - lib/gdk4/cursor.rb
70
70
  - lib/gdk4/deprecated.rb
71
71
  - lib/gdk4/loader.rb
72
+ - lib/gdk4/memory-texture.rb
72
73
  - lib/gdk4/paintable.rb
73
74
  - lib/gdk4/rectangle.rb
74
75
  - lib/gdk4/rgba.rb
@@ -105,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  - !ruby/object:Gem::Version
106
107
  version: '0'
107
108
  requirements: []
108
- rubygems_version: 3.5.0.dev
109
+ rubygems_version: 3.5.1
109
110
  signing_key:
110
111
  specification_version: 4
111
112
  summary: Ruby/GDK4 is a Ruby binding of GDK-4.x.