xlib-objects 0.7.2 → 0.7.3

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: 8df2d4a4399365c38b21190847bda65fe153f920
4
- data.tar.gz: 1561e207a614887f9e3061c800afdd43d9410723
3
+ metadata.gz: d1314e972650608fddedf9aa13c41c30be55c989
4
+ data.tar.gz: b0c7aa19611d27d5b3fc26d1da527b17185b8953
5
5
  SHA512:
6
- metadata.gz: 36078d8334342e56d6989716fc53eb7346cbf6544953f59c5dc5ab4368313e36b437f00bfe77e29f65e2ff7ecd45e45265bca7ff1f27b2e8119a632e3a6657c4
7
- data.tar.gz: afba819aceef6f0d7da220cc8beca3c7d232312923fd4913200f446875924839f718a5eafcb5ba31fe7b1641a6a194685dd5782ce89f316b834fcb4def47c500
6
+ metadata.gz: 6a87eec32e4d3cc447fa1aff04e6fbcccd04d3e0dc9a8b0ac55b0f3f97e60b12b336adb7d4937b003d0fa339f1abd152e502df679a14eb3c5399a36a80f3cae7
7
+ data.tar.gz: 1da1684dc81d6d9679615e44dc9de7052109680e5548a49960c98eb81ab11004a779d3a484ec524e11540471a156e60ec5b65e68caf88f6c3269514439965bf6
data/lib/display.rb CHANGED
@@ -118,6 +118,10 @@ module XlibObj
118
118
  Xlib::X.close_display(self)
119
119
  end
120
120
 
121
+ def inspect
122
+ "#<#{self.class.name}:0x#{'%014x' % __id__} @name=#{name.inspect}>"
123
+ end
124
+
121
125
  private
122
126
 
123
127
  def internal_window
data/lib/input_device.rb CHANGED
@@ -77,6 +77,10 @@ module XlibObj
77
77
  Xlib::XI.ungrab_device(@display, self, Xlib::CurrentTime)
78
78
  end
79
79
 
80
+ def inspect
81
+ "#<#{self.class.name}:0x#{'%014x' % __id__} @id=#{id} @name=#{name.inspect}>"
82
+ end
83
+
80
84
  private
81
85
 
82
86
  def device_info(member, &do_with_member)
data/lib/screen.rb CHANGED
@@ -65,6 +65,10 @@ module XlibObj
65
65
  end
66
66
  end
67
67
 
68
+ def inspect
69
+ "#<#{self.class.name}:0x#{'%014x' % __id__} @number=#{number}>"
70
+ end
71
+
68
72
  private
69
73
 
70
74
  def resources
data/lib/window.rb CHANGED
@@ -217,5 +217,9 @@ module XlibObj
217
217
  @event_handler.destroy
218
218
  Xlib.XDestroyWindow(@display.to_native, to_native)
219
219
  end
220
+
221
+ def inspect
222
+ "#<#{self.class.name}:0x#{'%014x' % __id__} @id=#{id}>"
223
+ end
220
224
  end
221
225
  end
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.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-03 00:00:00.000000000 Z
11
+ date: 2016-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xlib
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 3.2.0
47
+ version: '3.4'
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: 3.2.0
54
+ version: '3.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-its
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -132,8 +132,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.4.5.1
135
+ rubygems_version: 2.5.1
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: A light object wrapper around xlib
139
139
  test_files: []
140
+ has_rdoc: