gio2 4.3.9 → 4.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c300907288014cc2119f42a3e0654e7822bd252ba8ceff05f5d0582eb340a4bd
4
- data.tar.gz: b6f4863c19caa84981b4c7fd0ccfb8275cb6c526d4b8e4f13653505c3e1f4906
3
+ metadata.gz: c5015e4682f79a8088d17341bdc8e518bb73ee4b21da9781b46283a96ba5fecc
4
+ data.tar.gz: f6236749a9bf2f20d5c59a653b455f777a41bd40e9650d53c07cc4bc41d5d753
5
5
  SHA512:
6
- metadata.gz: c86aaf25b4ea377a03a1c3670879fb85570406ce35fc5a5bd98e1f0ff9648380ef7cc6407096f612de64fb4a0c02aaee78ac7e302b66f267ea68017e718f4fcc
7
- data.tar.gz: 70738058045a6f24e2c3751b1bbaa1cef90fbb9d57d6bf7f0f4d99dbcef5fce5e275f956d24e29cddb37cd742d09fc9a97040c636d1c5418d0dc3932de559a83
6
+ metadata.gz: 50a0b6601962506cae9d2635d35c4dedc69377527fe00788613355f2ff8cfb129208beefbfc1acb3b9d598f4b20a99612e9a43b1623c0cb6f563bf99ae6e718a
7
+ data.tar.gz: 498e14e721cb9f23b6ada6151e31213e2eeeac509b8db6902e4da388b71e6a2f4932db6561a922b4218172e02c23412ef85421c1c3211f67e78d5fcf9ae6cc82
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2014-2026 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -20,4 +20,14 @@ class TestMemoryInputStream < Test::Unit::TestCase
20
20
  Gio::MemoryInputStream.new
21
21
  end
22
22
  end
23
+
24
+ def test_new_string
25
+ stream = Gio::MemoryInputStream.new("data")
26
+ assert_equal("data", stream.read_bytes(4).to_s)
27
+ end
28
+
29
+ def test_new_bytes
30
+ stream = Gio::MemoryInputStream.new(GLib::Bytes.new("data"))
31
+ assert_equal("data", stream.read_bytes(4).to_s)
32
+ end
23
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.9
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
- version: 4.3.9
32
+ version: 4.4.0
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 4.3.9
39
+ version: 4.4.0
40
40
  description: Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for desktop
41
41
  applications (such as networking and D-Bus support).
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 4.0.16
144
+ rubygems_version: 4.0.20
145
145
  specification_version: 4
146
146
  summary: Ruby/GIO2 is a Ruby binding of gio-2.x.
147
147
  test_files: []