ceol 0.3.0 → 0.4.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: 7f5270a72554e6f6c47975ff23108c9b2f68bd25a9defed6af4310f493658e4b
4
- data.tar.gz: 78100a81474ea01504fc6310175adc39800b4d25f7e1c6c3b0b9eab82646a4b0
3
+ metadata.gz: c9433b31d86e7e3263fd4ea040b8cf8e7c9bbf8334215bde21c016d42467fd63
4
+ data.tar.gz: e0c70753f9305e7aadbf664b4304cff3c1003cd2ed16f45bb05ffa2db1edffec
5
5
  SHA512:
6
- metadata.gz: d6fa2f044d759c413ac9a1a0b5185b6373c00c3a099608804ed4e43c11a3b510a927b523aef2df082f14b02be9c37b4af757065fba04481595ce57df7e444e3c
7
- data.tar.gz: 5ebdbd450bc1e442aaaca87f632331cf744f9660902ad549b175b9a0352143d74eae4beb6cb1c08ac1d3505f545b74fbff419dc27ddfa5b8f141c84697e13b85
6
+ metadata.gz: d91fe168f9d9971d19f5d184f5a7ae5f3d5cdc35e5e9da5ecd1e29dcff8cdc0262b4cf778cf4e96324301f4fe497473e5d57cd16ae83fe85c2305e2de8372f65
7
+ data.tar.gz: b2e87869754eb2a450736316850c45d947ad5ae8fc411c4f814a6d97a0c17d470a16ad4e1c32c1e11f5ad836b247ef5c582f0f09cc3bad015f770b90356c5173
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.0] - 2022-10-19
4
+
5
+ - Add `digital` command to select digital in
6
+ - Add `analog` command to select analog 1 in
7
+
3
8
  ## [0.3.0] - 2022-10-19
4
9
 
5
10
  - Add `on` command to change power to on
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ceol (0.3.0)
4
+ ceol (0.4.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -24,6 +24,7 @@ GEM
24
24
 
25
25
  PLATFORMS
26
26
  x86_64-darwin-21
27
+ x86_64-linux
27
28
 
28
29
  DEPENDENCIES
29
30
  ceol!
data/README.md CHANGED
@@ -33,12 +33,14 @@ or define a `CEOL_IPADDR` environment variable with the ip address of your CEOL
33
33
  In the command line run the executable:
34
34
 
35
35
  ```
36
- $ ceol + # turns the volume up by 1
37
- $ ceol ++ # turns the volume up by 2 and so on
38
- $ ceol - # turns the volume down by 1
39
- $ ceol -- # turns the volume down by 2 and so on
40
- $ ceol off # powers off to standby
41
- $ ceol on # powers on from standby
36
+ $ ceol + # turns the volume up by 1
37
+ $ ceol ++ # turns the volume up by 2 and so on
38
+ $ ceol - # turns the volume down by 1
39
+ $ ceol -- # turns the volume down by 2 and so on
40
+ $ ceol off # powers off to standby
41
+ $ ceol on # powers on from standby
42
+ $ ceol digital # select digital in
43
+ $ ceol analog # select analog 1 in
42
44
  ```
43
45
 
44
46
  ## Development
data/exe/ceol CHANGED
@@ -10,6 +10,10 @@ Ceol::Controller.control do |controller|
10
10
  controller.off
11
11
  when "on"
12
12
  controller.on
13
+ when "digital"
14
+ controller.digital_in
15
+ when "analog"
16
+ controller.analog_1
13
17
  else
14
18
  commands.each_char do |command|
15
19
  case command
@@ -28,6 +28,14 @@ module Ceol
28
28
  connection.close unless connection.nil?
29
29
  end
30
30
 
31
+ def analog_1
32
+ write("SIAUXB")
33
+ end
34
+
35
+ def digital_in
36
+ write("SIAUXD")
37
+ end
38
+
31
39
  def off
32
40
  write("PWSTANDBY")
33
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.3.0"
4
+ VERSION = "0.4.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.3.0
4
+ version: 0.4.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-19 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: