ceol 0.2.0 → 0.3.0

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
  SHA256:
3
- metadata.gz: 1baa6c460efa9da4dee35c58d631616ba1ec0631e191266efb5e9843727ef986
4
- data.tar.gz: 554483f838c01f913c5674c0ba42972b55244690b861d941f689a97d98fb2174
3
+ metadata.gz: 7f5270a72554e6f6c47975ff23108c9b2f68bd25a9defed6af4310f493658e4b
4
+ data.tar.gz: 78100a81474ea01504fc6310175adc39800b4d25f7e1c6c3b0b9eab82646a4b0
5
5
  SHA512:
6
- metadata.gz: eab5464cb0d4cc41b7f88e7fc299ade08ada9e2a9ce7362d7de8896d66a1ef6ea074a63b019fa0c89dabb7b4c97825ef05b9f2d728fdac9de5538211fc7b0ee4
7
- data.tar.gz: fb5a2445d0fffc65c6ae6d01f9f861ef746cc2c3ad53dea8b351d61576defe54a0b52287df4a7ae5b9bda55051b476f7fdd97c5faa67ba857c299b46f39dfc1d
6
+ metadata.gz: d6fa2f044d759c413ac9a1a0b5185b6373c00c3a099608804ed4e43c11a3b510a927b523aef2df082f14b02be9c37b4af757065fba04481595ce57df7e444e3c
7
+ data.tar.gz: 5ebdbd450bc1e442aaaca87f632331cf744f9660902ad549b175b9a0352143d74eae4beb6cb1c08ac1d3505f545b74fbff419dc27ddfa5b8f141c84697e13b85
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.0] - 2022-10-19
4
+
5
+ - Add `on` command to change power to on
6
+
3
7
  ## [0.2.0] - 2022-10-18
4
8
 
5
9
  - Add `off` command to change power to standby
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ceol (0.2.0)
4
+ ceol (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -38,6 +38,7 @@ $ ceol ++ # turns the volume up by 2 and so on
38
38
  $ ceol - # turns the volume down by 1
39
39
  $ ceol -- # turns the volume down by 2 and so on
40
40
  $ ceol off # powers off to standby
41
+ $ ceol on # powers on from standby
41
42
  ```
42
43
 
43
44
  ## Development
data/exe/ceol CHANGED
@@ -8,6 +8,8 @@ Ceol::Controller.control do |controller|
8
8
  case commands
9
9
  when "off"
10
10
  controller.off
11
+ when "on"
12
+ controller.on
11
13
  else
12
14
  commands.each_char do |command|
13
15
  case command
@@ -32,6 +32,10 @@ module Ceol
32
32
  write("PWSTANDBY")
33
33
  end
34
34
 
35
+ def on
36
+ write("PWON")
37
+ end
38
+
35
39
  def volume_down
36
40
  write("MVDOWN")
37
41
  end
data/lib/ceol/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ceol
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ceol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rasmus Bang Grouleff
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-18 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: