pulitzer 0.14.0 → 0.14.1

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: 5e01e95cdb9ec9d3fbb0f484ab7263519409140c
4
- data.tar.gz: 18fcb0fecbab662836112e3ec7a155c8129fa2d6
3
+ metadata.gz: 970a44899e33e83a23da40f8f7211c0f758f30f8
4
+ data.tar.gz: da46be869fd221c09e811d6d8ece78cdf4cb468c
5
5
  SHA512:
6
- metadata.gz: 7f048a22b01c550868720e74b75e6c53dd22eec334bdd99bac68481c3c0caee046d384611bb793ec9771585b26b33c52d0f2f430c33bb44b69c2e5f46f7cca5f
7
- data.tar.gz: d220bf23ba6638104df2cd56bd75f31c46ac8b94ac229b487c8fe26c578b2e67f2b7ce2d83d3027e860d2a51a63345bc922ad09f537dc2f22e79f3d260900bc5
6
+ metadata.gz: 80ee45e6cba2bd2c4ff48f487c0dcef4902fe7a0c00092d96ff77430a78424bde4375b580a8981f76e0fb723b0c168618ab7544c29ad6c32e36f59e0a13edc45
7
+ data.tar.gz: 31d6df820baadbd210b6769a514ee2023f6ca8630df12e49c5d4b59626218b12b123fbaab803e1f9f5d547a27f1cca07c2422d0ab3a473b8016aa194855a6e48
@@ -103,7 +103,7 @@ module Pulitzer
103
103
  end
104
104
 
105
105
  def style_display
106
- style.display_name
106
+ style&.display_name
107
107
  end
108
108
 
109
109
  def clone_me
@@ -1,7 +1,7 @@
1
1
  <div class="pulitzer-span one-fifth">
2
2
  <%= f.text_field :label %>
3
3
  </div>
4
- <div class="pulitzer-span one-fifth">
4
+ <div class="pulitzer-span ten-percent">
5
5
  <%= f.collection_select :content_element_type_id, Pulitzer::ContentElementType.all, :id, :name, {},
6
6
  revealer(dom_id(ptcet, :revealer), highlander: true) %>
7
7
  </div>
@@ -9,28 +9,28 @@ revealer(dom_id(ptcet, :revealer), highlander: true) %>
9
9
 
10
10
  <div <%= revealer_target_attrs(dom_id(ptcet, :revealer)) %>></div>
11
11
 
12
- <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Image').id) %> class="pulitzer-span one-fifth">
12
+ <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Image').id) %> class="pulitzer-span two-fifths">
13
13
  <%= f.text_field :height, placeholder: 'Height' %>
14
14
  x
15
15
  <%= f.text_field :width, placeholder: 'Width' %>
16
16
  </div>
17
17
 
18
- <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Text').id) %> class="pulitzer-span one-fifth">
18
+ <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Text').id) %> class="pulitzer-span two-fifths">
19
19
  <%= f.select :text_editor, Pulitzer.text_editor_toolbars.map { |t| t[:name] } %>
20
20
  </div>
21
21
 
22
- <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Video').id) %> class="pulitzer-span one-fifth">
22
+ <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Video').id) %> class="pulitzer-span two-fifths">
23
23
  &nbsp;
24
24
  </div>
25
25
 
26
- <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Clickable').id) %> class="pulitzer-span one-fifth">
26
+ <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Clickable').id) %> class="pulitzer-span two-fifths">
27
27
  <%= f.select :clickable_kind, options_from_collection_for_select(Pulitzer::PostTypeContentElementType.clickable_kinds, :gid, :name, f.object.clickable_kind) %>
28
28
  </div>
29
29
 
30
- <div class="pulitzer-span ten-percent">
30
+ <div class="pulitzer-span five-percent">
31
31
  <%= f.check_box :required %>
32
32
  </div>
33
33
 
34
- <div class="pulitzer-span ten-percent">
34
+ <div class="pulitzer-span five-percent">
35
35
  <%= f.text_field :sort_order %>
36
36
  </div>
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.14.0'
2
+ VERSION = '0.14.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut