xlib-objects 0.6.1 → 0.6.2

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/lib/display.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2210c140114c61c7e2e9705e9eb946a0b8b3bd3f
4
- data.tar.gz: d7b9f2d7ccb8b7d7c496a4e5d93c0fda56be5b3c
3
+ metadata.gz: bc7ea0bb69148b5ed79969f383005c065f11f4e0
4
+ data.tar.gz: b2f9314d6ff78c9fa7775e702cbb69890ed3306f
5
5
  SHA512:
6
- metadata.gz: f57f8cf65dc95ca8bb356cb46e594e4c15f5d38f652f887bc2705548f77a74e61f6a50071da2e2f111046545cedccbbb3c5f026ac2d8ee21ac3f7b392dadb79e
7
- data.tar.gz: 755135daafc0ea42c2830d88dac81f59ec4eb1f50be8e12df6c180943e3c93f15286a658ca39e018380b7a8fbc8f3caa74f029b9295988d93ebaabeff2eb715c
6
+ metadata.gz: 2506d6b3cb562ddbee62e999a804561ddf5a07169c941d1437eda12883a62a3701c9eb61a69194b8012a7a9d8466499a18504e0c4b450b65114e1e17648ac0fd
7
+ data.tar.gz: f1bd0e84342ca117c8449b8a81e1e2e00e7918382a0aeeaa3dd932f23e560b4ccbce04deefcb89733d477697a65519581b94f062961f27aec9637d4f333838e6
data/lib/display.rb CHANGED
@@ -34,7 +34,7 @@ module XlibObj
34
34
  end
35
35
 
36
36
  def socket
37
- UNIXSocket.for_fd(Xlib.XConnectionNumber(to_native))
37
+ @socket ||= UNIXSocket.for_fd(Xlib.XConnectionNumber(to_native))
38
38
  end
39
39
 
40
40
  def screens
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlib-objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-23 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xlib