maglove-widgets 2.0.2 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6d313d5d40f00cecfebc2e1877d4faaf6abeb30
4
- data.tar.gz: 15f0973cb9c2abe6728352fdef754cd2def23019
3
+ metadata.gz: 5b30408d90f30a8c8c88029bcbb4f040fcb5ab8c
4
+ data.tar.gz: 5fc3b4b58b82ca7dd5c87fd1d8dd3292e2d0caa4
5
5
  SHA512:
6
- metadata.gz: 4fbd028124eca752499ab7a215e91c90fe55e9cfe532a617cde665bb576ae70b8d8c48a35b8beb8f256bdf4b0cade3f2be1cabcc9d0ca080d7af7398b9d14f4d
7
- data.tar.gz: bb853595b8e9a5087b2e0cbf236ea8a2cb621e5644f2d1eb01203e22538f88490381b3dc032236ec2bfbcba98b77ff9f69c411f4026e828abe89381ce71eb6d6
6
+ metadata.gz: deb601e0fece761e934ee1ffdb7188048ea6f6cf813e02ad1e20cdacb64f06f94f2928681c3e49c0d4ab2a6fd07e3b08f0d65e13b546abb35372f4af729c216a
7
+ data.tar.gz: c89129fdd685b6bd9a1cf5496aa91d93939f346dd6fc935d9d52924f56418bb32f8bba23b16fc4c6d1c78a49b3d1a26e74abcaf512d7f1a9e9e6be4a490cfaa9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maglove-widgets (2.0.2)
4
+ maglove-widgets (2.0.3)
5
5
  hamloft (~> 2.0)
6
6
 
7
7
  GEM
@@ -17,7 +17,7 @@ module Maglove
17
17
  end
18
18
 
19
19
  def template(&block)
20
- scope.haml_tag :div, style: style_string(options, :padding), class: "paragraph #{options[:style]} align-#{options[:align]} size-#{options[:size]}" do
20
+ scope.haml_tag :div, class: "paragraph #{options[:style]} align-#{options[:align]} size-#{options[:size]}" do
21
21
  unless options[:drop_cap].empty?
22
22
  haml_tag :span, class: "__dropcap", style: "color: #{options[:drop_cap_color]};" do
23
23
  haml_concat(options[:drop_cap])
@@ -15,7 +15,7 @@ module Maglove
15
15
  end
16
16
 
17
17
  def template(&block)
18
- haml_tag :div, class: "scrollable-image-container #{options[:show_navigation] ? 'show-navigation' : ''}", style: style_string(options, :margin, :padding, :height) do
18
+ haml_tag :div, class: "scrollable-image-container #{options[:show_navigation] ? 'show-navigation' : ''}", style: style_string(options, :height) do
19
19
  haml_tag :div, class: "scrollable-image-inner" do
20
20
  haml_tag :img, class: "scrollable-image", src: options[:source]
21
21
  end
@@ -14,7 +14,7 @@ module Maglove
14
14
  end
15
15
 
16
16
  def template(&block)
17
- haml_tag :div, class: "flex-video widescreen", style: style_string(options, :margin, :padding) do
17
+ haml_tag :div, class: "flex-video widescreen", style: style_string(options) do
18
18
  haml_tag :iframe, src: "https://www.youtube.com/embed/#{options[:youtube_id]}", type: "text/html", style: "max-width: 100%; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;", allowfullscreen: "", frameborder: "0", webkitallowfullscreen: "", mozallowfullscreen: ""
19
19
  end
20
20
  end
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "maglove-widgets"
6
- s.version = "2.0.2"
6
+ s.version = "2.0.3"
7
7
  s.licenses = ["BSD-3-Clause"]
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Tobias Strebitzer"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maglove-widgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer