uh 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 4b9bb5e318ade5b360cb0f2cdae861a52fabab3b
4
- data.tar.gz: 47461e3bf9de7313698223498e01ffa7e96ead18
3
+ metadata.gz: 519e532cc5e090097f9cc89dd54701a1a293efef
4
+ data.tar.gz: 5d448883e5fb60292af2a3513c220c25fd409c63
5
5
  SHA512:
6
- metadata.gz: 1e0ff10c3f0d41dc4d2141dd0ebb16c3a56e16c0ae295103c9bc38a8dee0b2913eb929be1aed6cd08f998ae07e6c4062fbf228e05c3686da3b2b1f8a35d8e46a
7
- data.tar.gz: 3aa6e0b9af98b923070d2841d0ea0ccf9c062810b7b7d199ab0100cd61bb2efb7bd58c00e3db9aaad8ed50b95bac261410fe0bfd5386cec479f1ed8f440dfb7d
6
+ metadata.gz: c38e2d706524da9d1cb6cd1bac5ce50462aed6efdd5679990e02919d6114383b5a3682da26b85e4d023a5f717b890d1676bf39daaa10489cb10500f4f21feb79
7
+ data.tar.gz: 5e5200806060cd42f23746c7140d8298ef38fbe038b82a4c45024362df07e2f5e41058f11717a66a6b0111a1b3d56f632473a7f6292d3c4abf3a054cc2f01ca5
data/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
1
  /Gemfile-custom.rb
2
2
  /Gemfile.lock
3
- /lib/*.so
3
+ /lib/uh/*.so
4
4
  /tmp/
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0
4
+ - 2.1
5
+ - 2.2
6
+ - ruby-head
7
+ - rbx-2
data/Rakefile CHANGED
@@ -3,7 +3,9 @@ require 'rake/testtask'
3
3
 
4
4
  task default: :test
5
5
 
6
- Rake::ExtensionTask.new('uh')
6
+ Rake::ExtensionTask.new('uh') do |t|
7
+ t.lib_dir = 'lib/uh'
8
+ end
7
9
 
8
10
  Rake::TestTask.new(test: :compile) do |t|
9
11
  t.libs << 'lib' << 'test'
data/lib/uh.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'uh.so'
1
+ require 'uh/uh'
2
2
  require 'uh/display'
3
3
  require 'uh/drawable'
4
4
  require 'uh/events'
@@ -1,3 +1,3 @@
1
1
  module Uh
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require 'forwardable'
2
2
  require 'logger'
3
+
3
4
  require 'uh/wm/action_handler'
4
5
  require 'uh/wm/client'
5
6
  require 'uh/wm/manager'
@@ -2,7 +2,9 @@ module Uh
2
2
  class WM
3
3
  module Workers
4
4
  class MultiplexingWorker < BaseWorker
5
- def configure(timeout: 4)
5
+ DEFAULT_TIMEOUT = 4
6
+
7
+ def configure(timeout: DEFAULT_TIMEOUT)
6
8
  @timeout = timeout
7
9
  end
8
10
 
data/uh.gemspec CHANGED
@@ -13,6 +13,8 @@ Gem::Specification.new do |s|
13
13
  s.files = `git ls-files`.split $/
14
14
  s.test_files = s.files.grep /\Atest\//
15
15
 
16
+ s.extensions = %w[ext/uh/extconf.rb]
17
+
16
18
 
17
19
  s.add_development_dependency 'rake', '~> 10.4'
18
20
  s.add_development_dependency 'rake-compiler', '~> 0.9'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibault Jouan
@@ -69,14 +69,15 @@ dependencies:
69
69
  description: uh
70
70
  email: tj@a13.fr
71
71
  executables: []
72
- extensions: []
72
+ extensions:
73
+ - ext/uh/extconf.rb
73
74
  extra_rdoc_files: []
74
75
  files:
75
76
  - ".gitignore"
77
+ - ".travis.yml"
76
78
  - Gemfile
77
79
  - Guardfile
78
80
  - Rakefile
79
- - TODO
80
81
  - ext/uh/color.c
81
82
  - ext/uh/display.c
82
83
  - ext/uh/event.c
data/TODO DELETED
@@ -1,17 +0,0 @@
1
- * handle multibyte strings for Pixmap#draw_string
2
- check other WM or:
3
- https://www.debian.org/doc/manuals/intro-i18n/ch-examples.en.html
4
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531036
5
-
6
- * check WindowOfEvent in twm
7
-
8
- * use rb_block_call()?
9
-
10
- * use ALLOC? at least check our allocation and free
11
- some free function might not be used
12
-
13
- * valgrind suppression file
14
- https://github.com/AlekSi/valgrind-suppressions
15
-
16
- * http://i3wm.org/
17
- https://wiki.archlinux.org/index.php/i3