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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6eccddff4524f7c0829705aa0c5bb2dd48e9851
4
- data.tar.gz: 85288f0919bfe5ae0d5f590887d98f9b6a13feb2
3
+ metadata.gz: 746263ec466474066e2161899d8385f063248a94
4
+ data.tar.gz: 6994768c760c729479a28f7ee2a3d4ab553e1b99
5
5
  SHA512:
6
- metadata.gz: 8bc2a12339ca923f550fba9f2cbded8e28d198c3b9e186c75fdfc2d7f1faa60c337319b834e18da68476abbda6c1a06c344bd3692d80e1e11bc0dd68fe3e3b81
7
- data.tar.gz: cab55dc4891c56a45cff1254103c267c3fb49ff0f8462f223413dad7d0cfef34b09fd74ff2f38b8df7753ae4797a38528835593b4fd898958d89e323ec7d2c00
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/) - 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
@@ -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 = "1.0.4"
6
+ s.version = "1.0.5"
7
7
  s.licenses = ["BSD-3-Clause"]
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Tobias Strebitzer"]
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
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: 2016-12-21 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler