gtk3 3.4.4 → 3.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/test/test-gtk-entry.rb +21 -3
  3. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46f440c547ffc229c731a6d434a278203084202d005f7bf4a2db47ae54e7521d
4
- data.tar.gz: 5d9fbab7ff4fffc9fe44362a70e794d4072ed9424d0d0e6bedc6c2e32337a986
3
+ metadata.gz: acfcded3aaca5628673d0e972b635be858dd523d8aaf2f3fd5ef969989e48e3f
4
+ data.tar.gz: 3c41a95519a5339f688b85abc5615c1f17fb4971cf789bd73de9ce8972dfc0aa
5
5
  SHA512:
6
- metadata.gz: a3ffd7c7828d9ce4b4b819158014c87c12e5274dc4446f94521b33ea3c32a5aac9fa4c74916cde4bb3ebafca16bba9ba9cdc5d3b8f77872b9b06f415cf61abfe
7
- data.tar.gz: e90825bf6764ff792c210b62a097b7b4808e1bf6e82a56e2fe1464d2db10f83b6ea0325c0181e64141c4def1061d0ad489726697f2ac5afd200371a5b26c4e89
6
+ metadata.gz: 2eb1c5d4228058d7ef13230bfb55c9e7ac29c3d7c94fa060100472be108b73a20082b51ae5d9629ff0963d0dc8b1a4edcca21d6ed42c2d8e172b7c49c1ed7384
7
+ data.tar.gz: 836a7ec2a70fa2c13e048a3dd96b0d285126065b86602cff6857c09e30f104b48630eb455dd93039759a5a6ec1a8623e42b616794db500fb26bd0d3ea0543bf6
@@ -1,6 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- #
3
- # Copyright (C) 2014 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2014-2021 Ruby-GNOME Project Team
4
2
  #
5
3
  # This library is free software; you can redistribute it and/or
6
4
  # modify it under the terms of the GNU Lesser General Public
@@ -49,4 +47,24 @@ class TestGtkEntry < Test::Unit::TestCase
49
47
  assert_const_defined(Gtk::InputHints, :SPELLCHECK)
50
48
  end
51
49
  end
50
+
51
+ class TestInvisibleChar < self
52
+ def test_character
53
+ @entry.invisible_char = "*"
54
+ assert_equal("*", @entry.invisible_char)
55
+ end
56
+
57
+ def test_string
58
+ string = "**"
59
+ message = "[ch][gunichar] must be one character: #{string.inspect}"
60
+ assert_raise(ArgumentError.new(message)) do
61
+ @entry.invisible_char = string
62
+ end
63
+ end
64
+
65
+ def test_codepoint
66
+ @entry.invisible_char = "*".codepoints[0]
67
+ assert_equal("*", @entry.invisible_char)
68
+ end
69
+ end
52
70
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.4
4
+ version: 3.4.5
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: 2021-04-22 00:00:00.000000000 Z
11
+ date: 2021-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gio2
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.4
19
+ version: 3.4.5
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: 3.4.4
26
+ version: 3.4.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: atk
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.4.4
33
+ version: 3.4.5
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: 3.4.4
40
+ version: 3.4.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pango
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.4.4
47
+ version: 3.4.5
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: 3.4.4
54
+ version: 3.4.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: gdk_pixbuf2
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.4.4
61
+ version: 3.4.5
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.4.4
68
+ version: 3.4.5
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: gdk3
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 3.4.4
75
+ version: 3.4.5
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 3.4.4
82
+ version: 3.4.5
83
83
  description: Ruby/GTK3 is a Ruby binding of GTK+-3.x.
84
84
  email: ruby-gnome2-devel-en@lists.sourceforge.net
85
85
  executables: []