uh 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f36e4f78b43d16a0075b8b5d3b0a0b015956ac1
4
- data.tar.gz: 610557a1bb46d231584acb65b144b622f7fd4219
3
+ metadata.gz: 2a71b5c765a679c803c04b0ec2d36caab4353fe1
4
+ data.tar.gz: f8036eaae4dfd766580c08322fd64d5b70188a02
5
5
  SHA512:
6
- metadata.gz: 9bcadc9bb615c09ad13babacc2aa9d6b12fb0bf414288a738e10b2d606ac400cbd0b525dc56405ae1488129ce09edc33c78ca1101565f2d99a37b2a959c82129
7
- data.tar.gz: 2b2610163cff45597f98923f8a0aa8134db231779478bccff7934c09a017a5ca01820fe40b0e07889f7f047508c0b126359a8ea3c89c227694704cccde67ab77
6
+ metadata.gz: d85e75591a7ecb716574c51a1bbb7b94444d739406b5b14c502a9d2c11f2fdb93d6175b975ee2d3586b56640079c261c1b2e9cf4c6774f9d9acf7678ba6a0dc1
7
+ data.tar.gz: 2d5d3bcdf028847d61fab5678a71e79c3f9cfbf5f7771d30e089384c1320ecd64499e5788149d8cb83c1f2868784e2d71863ccb3ad6ee50202a66ad8dc97ea70
@@ -0,0 +1,8 @@
1
+ module Uh
2
+ module GeoAccessors
3
+ extend Forwardable
4
+ def_delegators :@geo,
5
+ :x, :y, :width, :height,
6
+ :x=, :y=, :width=, :height=
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Uh
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
@@ -1,6 +1,10 @@
1
+ require 'uh/geo_accessors'
2
+
1
3
  module Uh
2
4
  class WM
3
5
  class Client
6
+ include GeoAccessors
7
+
4
8
  attr_reader :window
5
9
  attr_accessor :geo
6
10
 
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibault Jouan
@@ -94,6 +94,7 @@ files:
94
94
  - lib/uh/events.rb
95
95
  - lib/uh/font.rb
96
96
  - lib/uh/geo.rb
97
+ - lib/uh/geo_accessors.rb
97
98
  - lib/uh/pixmap.rb
98
99
  - lib/uh/screen.rb
99
100
  - lib/uh/version.rb