phew 0.0.2 → 0.0.3

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/bin/phew +3 -2
  3. metadata +14 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77b4ad7bcdd167fc10b7ba80145217cc833f2fc1
4
- data.tar.gz: 24d2b4f26a4cc6c74c2b0e979006069b467bae87
3
+ metadata.gz: 163b79015f30a7af7db5e50634043dd713ea4747
4
+ data.tar.gz: c3f9fdd68ebfe6225a6b01e48ac7880679a419a5
5
5
  SHA512:
6
- metadata.gz: 1d6819401d22edf6df33042eb9632c5bcd4f558540acf6c3245eeda5c4d988c24a7cb9fca9b58ad84c54f97fb2bcf822a3d2dee8b762eafb0d5b35e917bf9fd5
7
- data.tar.gz: 050afc7ffa55d0c1f89845a5fa89b6396b5e914f56ded42623bc313af77561d51cf159c239f0a4b1e92551d13bd1172ef03acf8957aa32294b84f8bc719d34ed
6
+ metadata.gz: a062cbf070fb5fe243389b431c41fa46d756194bb5cf62eee84ffa543aee1c4da25a46866b68c5b81f369e937cc5e81c02d64173a6120e6b4cddcc21c4252e5c
7
+ data.tar.gz: 52534feb77e7db63f8fdc3ffaec0019b50bb499e86e02e3e9b4bb568af785cf57d8a4390fcac7d1b1e2dff1c2ea15e0d6fd22c6ccfd5d08d03a2ddc68c4051fc
data/bin/phew CHANGED
@@ -30,7 +30,7 @@ module Phew
30
30
  end
31
31
 
32
32
  def on_key_press_event evt
33
- destroy if evt.state == :control_mask && evt.keyval == 'q'.ord
33
+ destroy if evt.state[:control_mask] && evt.keyval == 'q'.ord
34
34
  false
35
35
  end
36
36
  end
@@ -100,7 +100,8 @@ module Phew
100
100
 
101
101
  def on_combo_changed_signal
102
102
  script = Script.new combo.active_text.to_sym
103
- textview.buffer.text = script.sample_string
103
+ # FIXME: Add override for Gtk::TextBuffer.set_text so #text= works properly
104
+ textview.buffer.set_text script.sample_string, -1
104
105
  fill_font_list script
105
106
  end
106
107
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phew
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-20 00:00:00.000000000 Z
11
+ date: 2016-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gir_ffi-gtk
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.0
19
+ version: 0.11.0
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: 0.8.0
26
+ version: 0.11.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gir_ffi-pango
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.6
33
+ version: 0.0.9
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: 0.0.6
40
+ version: 0.0.9
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.1'
47
+ version: '12.0'
48
48
  type: :development
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: '10.1'
54
+ version: '12.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,18 +72,19 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.2
75
+ version: 0.0.7
76
76
  type: :development
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: 0.0.2
82
+ version: 0.0.7
83
83
  description: List and compare installed fonts on GNOME
84
84
  email:
85
85
  - matijs@matijs.net
86
- executables: []
86
+ executables:
87
+ - phew
87
88
  extensions: []
88
89
  extra_rdoc_files: []
89
90
  files:
@@ -116,6 +117,7 @@ rdoc_options:
116
117
  - README.md
117
118
  require_paths:
118
119
  - lib
120
+ - lib
119
121
  required_ruby_version: !ruby/object:Gem::Requirement
120
122
  requirements:
121
123
  - - ">="
@@ -128,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
130
  version: '0'
129
131
  requirements: []
130
132
  rubyforge_project:
131
- rubygems_version: 2.4.5.1
133
+ rubygems_version: 2.6.8
132
134
  signing_key:
133
135
  specification_version: 4
134
136
  summary: A GNOME Font Viewer