ledenet_api 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b35153c257762f08c7ddfe36ec752d8a31ab43a
4
- data.tar.gz: 8db99c674a748d3ed59154a186f9591c7be052a0
3
+ metadata.gz: c112b458368c3f972704f893137b3b0beb90351b
4
+ data.tar.gz: 0858ba4f9ca296a3d43dd3927f236ecd9f060076
5
5
  SHA512:
6
- metadata.gz: 3a41d1078922bdf008dc686a1c9f24fb19a5feb3c7cad107fb74fbf249926f94b66c43e56f529db4b75c6c5d635ca453e6dcaf8b5822a535e8ab7bc126479b3f
7
- data.tar.gz: c20ff4d69afba7a115c750727399211c7c92a93a91147eff469a4ea760bb4a75bd1700b9e791e4e41e0909256229dabeb8de19069bc1c346aa10f5446ed59342
6
+ metadata.gz: 2ef300b491b7636e9b271b8a78386074bd7be8b7a179aa69eeb88022fde35edecf1b07da21e36251e6a86d8d7528175f3ba58e5516f7784004a7f2bcdfa0e879
7
+ data.tar.gz: 7bef60358efe62a5e03a72bb826fa797a492d4bbcc4166cebd8e8efc8f482de4913c226595ae350d41e750c3fd271fadd5857a1bfbc6bb7b7bbb7ea658489046
data/bin/ledenet-ufo CHANGED
@@ -70,6 +70,8 @@ opts = OptionParser.new do |opts|
70
70
  end
71
71
 
72
72
  opts.on("-f", "--function [VALUE]", "Set function to VALUE.") do |v|
73
+ v.upcase!
74
+
73
75
  if !LEDENET::Functions.const_defined?(v)
74
76
  warn "Unknown function type: #{v}. Valid function types: \n\t" <<
75
77
  "#{LEDENET::Functions.all_functions.join("\n\t")}"
@@ -1,3 +1,3 @@
1
1
  module LEDENET
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledenet_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mullins