scrivito_space_widget 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 508140fa9af615e5bc2602db18448f5d76dbb768
4
- data.tar.gz: 1d5a7c46a01ebde1d19fd535b05f362565b63abd
3
+ metadata.gz: 99a42ea254294cfe71939c02916559734ac1469b
4
+ data.tar.gz: 2d6ef2f3d4b21714258cbaf8a41eb61e63faec3e
5
5
  SHA512:
6
- metadata.gz: 1423fc807e492faf82a0f894556509a34188df307db0c68df5d68d856176adc3ceb16339e62aadc2820321a995be03dafdf7c550cdbe6975855bf5eff5fbb021
7
- data.tar.gz: 224db9e3c092169dcce092187a31d620ec728bc30f4bed54681d6b648bb446cc3fb4213ef9b41c98c498ab085472cb1514fd99b53159aecba89813402331f4d2
6
+ metadata.gz: 1a03db15aabb07f86f79953a3f9b0e2cf4d40c12497983ac86b0c00dca20f02b291ceb4118f3137e97169b3ba51ff57ee3a9ada981fdad514ac150f92cfa313a
7
+ data.tar.gz: 32381537b4daa833a844b3d56e6bde85230541d8552d2f6f3e17ebdb0b7b0b372d557363ef31afcfefba2c0a136367e69ed498160d6fad8da65a5f9cee266788
Binary file
@@ -1,7 +1,7 @@
1
1
  class SpaceWidget < Widget
2
2
  attribute :size, :enum, values: ["small","medium","large"]
3
+
3
4
  def space_size
4
5
  self.size || "medium"
5
6
  end
6
-
7
7
  end
@@ -1,2 +1,3 @@
1
- <h4>Größe</h4>
2
- <%= scrivito_toggle_button_editor(widget, :size) %>
1
+ <%= scrivito_details_for 'Size' do %>
2
+ <%= scrivito_toggle_button_editor(widget, :size) %>
3
+ <% end %>
@@ -1,13 +1,3 @@
1
- <div class="editing-dialog-thumbnail">
2
- <div class="visualization">
3
- <span class="icon editing-icon-hr"></span>
4
- </div>
5
-
6
- <div class="title">
7
- Space
8
- </div>
9
-
10
- <div class="description">
11
- Creates a space between two widgets.
12
- </div>
13
- </div>
1
+ <%= scrivito_thumbnail 'Whitespace', image_tag("spacing.png") do %>
2
+ Creates a space between two widgets.
3
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoSpaceWidget
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_space_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-21 00:00:00.000000000 Z
11
+ date: 2015-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - LICENSE
77
77
  - Rakefile
78
- - app/assets/javascripts/scrivito_space_widget.js
78
+ - app/assets/images/spacing.png
79
79
  - app/assets/stylesheets/scrivito_space_widget.css
80
80
  - app/models/space_widget.rb
81
81
  - app/views/space_widget/details.html.erb
@@ -1 +0,0 @@
1
- //= require scrivito_advanced_editors