irfsdash 0.1.2 → 0.1.3

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.
Files changed (3) hide show
  1. data/bin/irfsdash +11 -1
  2. data/lib/irfsdash/version.rb +1 -1
  3. metadata +1 -1
@@ -25,24 +25,34 @@ cmd_opts = case cmd
25
25
  opt :source, "Your source name", default: 'IRFSdash CLI', type: String
26
26
  opt :content, "Your message", type: String
27
27
  opt :type, "What content type are you sending", type: String, default: 'string'
28
+ opt :icon, "Your message's icon", type: String, default: nil
29
+ opt :color, "Your message's color", type: String, default: nil
30
+ opt :label, "Message label (for numbers etc)", type: String, default: nil
28
31
  end
29
32
  when "project"
30
33
  Trollop::options do
31
34
  opt :source, "Your source name", default: 'IRFSdash CLI', type: String
32
35
  opt :project, "The project name", type: String
33
36
  opt :happy, "Project state", type: Boolean
37
+ opt :color, "Your message's color", type: String, default: nil
38
+ opt :label, "Project state label", type: String, default: nil
34
39
  end
35
40
  when "ticker"
36
41
  Trollop::options do
37
42
  opt :source, "Your source name", default: 'IRFSdash CLI', type: String
38
43
  opt :content, "Your message", type: String
39
44
  opt :ticker_type, "Send to this ticker type", type: String, default: 'main'
45
+ opt :icon, "Your message's icon", type: String, default: nil
46
+ opt :color, "Your message's color", type: String, default: nil
40
47
  end
41
48
  when "widget"
42
49
  Trollop::options do
43
50
  opt :source, "Your source name", default: 'IRFSdash CLI', type: String
44
- opt :url, "URL to display", type: String
51
+ opt :url, "URL to display", type: String, default: nil
52
+ opt :content, "HTML to display", type: String, default: nil
45
53
  opt :title, "Widget title", type: String, default: 'string'
54
+ opt :icon, "Your message's icon", type: String, default: nil
55
+ opt :color, "Your message's color", type: String, default: nil
46
56
  end
47
57
 
48
58
  else
@@ -1,3 +1,3 @@
1
1
  module IRFSDash
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irfsdash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: