neuron-client 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ module Neuron
77
77
  :volume => SCHEMA.volume,
78
78
  :color => SCHEMA.color(:required => false),
79
79
  :playback_mode => SCHEMA.playback_mode,
80
- :overlay_provider => SCHEMA.overlay_provider(:type => %w(null string), :required => false),
80
+ :overlay_provider => SCHEMA.overlay_provider(:required => false),
81
81
  :overlay_feed_url => SCHEMA.url(:type => %w(null string), :required => false)
82
82
  }))
83
83
  end
@@ -121,7 +121,7 @@ module Neuron
121
121
  :volume => SCHEMA.volume,
122
122
  :color => SCHEMA.color,
123
123
  :playback_mode => SCHEMA.playback_mode,
124
- :overlay_provider => SCHEMA.overlay_provider(:type => %w(null string)),
124
+ :overlay_provider => SCHEMA.overlay_provider,
125
125
  :overlay_feed_url => SCHEMA.url(:type => %w(null string))
126
126
  }))
127
127
  end
@@ -165,7 +165,7 @@ module Neuron
165
165
  :volume => SCHEMA.volume(:required => false),
166
166
  :color => SCHEMA.color(:required => false),
167
167
  :playback_mode => SCHEMA.playback_mode(:required => false),
168
- :overlay_provider => SCHEMA.overlay_provider(:type => %w(null string), :required => false),
168
+ :overlay_provider => SCHEMA.overlay_provider(:required => false),
169
169
  :overlay_feed_url => SCHEMA.url(:type => %w(null string), :required => false)
170
170
  }))
171
171
  end
@@ -217,7 +217,9 @@ module Neuron
217
217
  end
218
218
 
219
219
  def overlay_provider(overrides={})
220
- choice_of(Neuron::Client::Zone::OVERLAY_PROVIDERS, overrides)
220
+ choice_of(Neuron::Client::Zone::OVERLAY_PROVIDERS + [nil], merged({
221
+ :type => %w(string null)
222
+ },overrides))
221
223
  end
222
224
 
223
225
  def playback_mode(overrides={})
@@ -1,5 +1,5 @@
1
1
  module Neuron
2
2
  module Client
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neuron-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - RMM Online