xosd 1.0.0 → 1.0.1

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: 8f07a214334ffe8a9a960731a5c37bfb49079d5d
4
- data.tar.gz: 642fba3637f1960b6e7a29f2840e49ec48686f15
3
+ metadata.gz: 445021d1f57810426785b5084d33b8cde1a50723
4
+ data.tar.gz: eccc355c38f7552cf0da48e19de4b949c24c6913
5
5
  SHA512:
6
- metadata.gz: 31603176ef270276dec710c1d770b45a9b8a9d4ed64233e0ef23f0849f97eea3c86cfabf7f029bc71983eeb2847e08ba38cf6e595fdfabf603aeb532900898dc
7
- data.tar.gz: 1529f243ec028427cfdea09c3f53a4cfe23c3b6795988f9bbfbdebda25117b7c1e7abe946df03a7784649d03b081a54fcf2d12500f54b7059b9ee3b3af2a21b4
6
+ metadata.gz: b8aac819f264828f3471f7e1e257c544bb32bc962cd987ef7caf5d09bddeba2bf6a3867f60bd862397b931d0f372ebd6c660732cafef71e4c647c44e832cb9f1
7
+ data.tar.gz: dd04d409b7598b26357d6e8b564f4dc762cb9469adb1f3bba053d27fe4c99b22f932c2937382fcb5c157bfcfa4864164b29c05a8a9ba8631561d8b63b8684875
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xosd (1.0.0)
4
+ xosd (1.0.1)
5
5
  ffi
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -20,7 +20,7 @@ You may pass zero or more of the options to the constructor:
20
20
 
21
21
  | Option | Description |
22
22
  | --- | --- |
23
- | lines | max number of lines in the on screen message |
23
+ | :lines | max number of lines in the on screen message |
24
24
  | :position | one of :top, :middle, :bottom |
25
25
  | :align | one of :left, :center, :right |
26
26
  | :colour | string with message color |
@@ -62,7 +62,7 @@ xosd = XOSD.new(
62
62
  shadow_offset: 1,
63
63
  timeout: 3
64
64
  )
65
- xosd.display_string 'A line to display on screen'
65
+ xosd.display 'A line to display on screen'
66
66
  xosd.teardown
67
67
  ```
68
68
 
@@ -43,7 +43,7 @@ class XOSD
43
43
  XOSD_Bindings.xosd_is_onscreen(@osd) != 0
44
44
  end
45
45
 
46
- def xosd_wait_until_no_display
46
+ def wait_until_no_display
47
47
  handle(XOSD_Bindings.xosd_wait_until_no_display(@osd))
48
48
  end
49
49
 
@@ -62,7 +62,7 @@ RSpec.describe XOSD do
62
62
  xosd = XOSD.new(timeout: 1)
63
63
  xosd.display_slider 50
64
64
  expect(xosd.on_screen?).to be_truthy
65
- xosd.xosd_wait_until_no_display
65
+ xosd.wait_until_no_display
66
66
  expect(xosd.on_screen?).to be_falsey
67
67
  xosd.teardown
68
68
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'xosd'
3
- spec.version = '1.0.0'
3
+ spec.version = '1.0.1'
4
4
  spec.date = '2018-04-30'
5
5
  spec.summary = "Ruby wrapper for xosd"
6
6
  spec.description = "Ruby wrapper for xosd - X on screen display library"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xosd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yurie Nagorny