maglove-widgets 1.0.4 → 1.0.5
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 +4 -4
- data/README.md +10 -1
- data/lib/maglove/widgets/heading.rb +3 -2
- data/maglove-widgets.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 746263ec466474066e2161899d8385f063248a94
|
|
4
|
+
data.tar.gz: 6994768c760c729479a28f7ee2a3d4ab553e1b99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f186990729d5a19de110a76d3dd2808d1cfc6a62e33514b6da76047e2bdcdbbea65dd7074eb8f44e9e609fb9ae8aa56aa981f1194d070c352dac8eed81409adf
|
|
7
|
+
data.tar.gz: 09ce4618e7be8673b7aa647cb6c5711d71c0454ea6d4364f3b20d27c0210b0997a129c6c8ef6059ca8ecb3d29bc6a16a0b17c35ef9a1718c7592e2afca0f2b2c
|
data/README.md
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
[MagLove Widgets](http://bitbucket.org/magloft/maglove-widgets/)
|
|
1
|
+
[MagLove Widgets](http://bitbucket.org/magloft/maglove-widgets/)
|
|
2
2
|
==================================================================================
|
|
3
|
+
## How push changes to live
|
|
4
|
+
|
|
5
|
+
1. update version gemspec
|
|
6
|
+
2. push changes to bitbucket
|
|
7
|
+
3. run `gem build maglove-widgets.gemspec` in maglove-widgets root directory
|
|
8
|
+
4. run `gem push maglove-widgets-1.0.x.gem` (x is the updated version)
|
|
9
|
+
5. check the live gem status [here](https://rubygems.org/gems/maglove-widgets)
|
|
10
|
+
6. go to themes root directory and run `bundle update maglove-widgets`
|
|
11
|
+
7. go to cloud-server root directory and run `bundle update maglove-widgets`
|
|
@@ -10,7 +10,8 @@ module Maglove
|
|
|
10
10
|
type: "h1",
|
|
11
11
|
style: "default",
|
|
12
12
|
align: "left",
|
|
13
|
-
margin_bottom: "1em"
|
|
13
|
+
margin_bottom: "1em",
|
|
14
|
+
line_height: ""
|
|
14
15
|
}
|
|
15
16
|
end
|
|
16
17
|
|
|
@@ -22,7 +23,7 @@ module Maglove
|
|
|
22
23
|
end
|
|
23
24
|
widget_block(Widgets::Heading.new(options)) do |widget|
|
|
24
25
|
haml_tag :header, class: "#{widget.options[:style]} align-#{widget.options[:align]}", style: style_string(widget.options, :margin, :padding) do
|
|
25
|
-
haml_tag widget.options[:type], class: "_typeloft_editable _typeloft_widget_autoselect" do
|
|
26
|
+
haml_tag widget.options[:type], class: "_typeloft_editable _typeloft_widget_autoselect", style: style_string(widget.options, :line_height) do
|
|
26
27
|
haml_concat(contents) if contents
|
|
27
28
|
yield if block
|
|
28
29
|
end
|
data/maglove-widgets.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maglove-widgets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Strebitzer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|