vime_view_components 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vime/component.rb +3 -3
- data/lib/vime/providers/dailymotion.rb +1 -1
- data/lib/vime/providers/vimeo.rb +1 -1
- data/lib/vime/providers/youtube.rb +1 -1
- data/lib/vime/ui/captions.rb +1 -1
- data/lib/vime/ui/click_to_play.rb +1 -1
- data/lib/vime/ui/controls/caption_control.rb +1 -1
- data/lib/vime/ui/controls/control_spacer.rb +1 -1
- data/lib/vime/ui/controls/default_controls.rb +1 -1
- data/lib/vime/ui/controls/fullscreen_control.rb +1 -1
- data/lib/vime/ui/controls/mute_control.rb +1 -1
- data/lib/vime/ui/controls/pip_control.rb +1 -1
- data/lib/vime/ui/controls/playback_control.rb +1 -1
- data/lib/vime/ui/controls/scrubber_control.rb +1 -1
- data/lib/vime/ui/controls/settings_control.rb +1 -1
- data/lib/vime/ui/controls/volume_control.rb +1 -1
- data/lib/vime/ui/dbl_click_fullscreen.rb +1 -1
- data/lib/vime/ui/icon_library.rb +1 -1
- data/lib/vime/ui/live_indicator.rb +1 -1
- data/lib/vime/ui/poster.rb +1 -1
- data/lib/vime/ui/settings/default_settings.rb +1 -1
- data/lib/vime/ui/settings/menu_item.rb +1 -1
- data/lib/vime/ui/settings/menu_radio.rb +1 -1
- data/lib/vime/ui/skeleton.rb +1 -1
- data/lib/vime/ui/slider.rb +1 -1
- data/lib/vime/ui/spinner.rb +1 -1
- data/lib/vime/ui/time/current_time.rb +1 -1
- data/lib/vime/ui/time/end_time.rb +1 -1
- data/lib/vime/ui/time/time.rb +1 -1
- data/lib/vime/ui/time/time_progress.rb +1 -1
- data/lib/vime_view_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69a869dca430a5c3fbe7202c19d6cf548395db7aa680beb38d58767972b3fe60
|
4
|
+
data.tar.gz: 49f1524184c9914208e2c5e2db79e1defe2e593241d06900323aed4e0c932569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0762296a3631e397fa138339b0b252fdc24cb4ae95dbe4bb1d0aa133ea6b222fd0b1ae341c939919538f65857bab5a34cf1e383ddd06ca0111c9b1b3d2d7fa9
|
7
|
+
data.tar.gz: f309f10152d4c93827e2f40a9dfcebf6e3ac82f2f429ac456557adc403b32a13508be8197093d1e66c02d641c37384a761804c97c8a76c60fadb656121588142
|
data/lib/vime/component.rb
CHANGED
@@ -30,9 +30,9 @@ module Vime
|
|
30
30
|
private
|
31
31
|
def process_attrs(attrs)
|
32
32
|
attrs
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
.deep_transform_keys(&:to_s)
|
34
|
+
.deep_transform_keys(&:dasherize)
|
35
|
+
.reject { |_, v| v.nil? || v == false }
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
data/lib/vime/providers/vimeo.rb
CHANGED
data/lib/vime/ui/captions.rb
CHANGED
@@ -14,7 +14,7 @@ module Vime
|
|
14
14
|
option :tooltip_position, type: Types::TooltipPosition, default: -> { "top" }
|
15
15
|
|
16
16
|
def call
|
17
|
-
|
17
|
+
content_tag "vm-fullscreen-control", nil, process_attrs(dom_attrs)
|
18
18
|
end
|
19
19
|
|
20
20
|
def dom_attrs
|
data/lib/vime/ui/icon_library.rb
CHANGED
data/lib/vime/ui/poster.rb
CHANGED
@@ -8,7 +8,7 @@ module Vime
|
|
8
8
|
option :fit, type: Types::String.enum("contain", "cover", "fill", "none", "scale-down"), default: -> { "cover" }
|
9
9
|
|
10
10
|
def call
|
11
|
-
|
11
|
+
content_tag "vm-poster", nil, process_attrs(dom_attrs)
|
12
12
|
end
|
13
13
|
|
14
14
|
def dom_attrs
|
@@ -9,7 +9,7 @@ module Vime
|
|
9
9
|
option :pin, type: Types::String.enum("bottomLeft", "bottomRight", "topLeft", "topRight"), default: -> { "bottomRight" }
|
10
10
|
|
11
11
|
def call
|
12
|
-
|
12
|
+
content_tag "vm-default-settings", nil, process_attrs(dom_attrs)
|
13
13
|
end
|
14
14
|
|
15
15
|
def dom_attrs
|
data/lib/vime/ui/skeleton.rb
CHANGED
data/lib/vime/ui/slider.rb
CHANGED
data/lib/vime/ui/spinner.rb
CHANGED
data/lib/vime/ui/time/time.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vime_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Asger Behncke Jacobsen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dry-initializer
|