effective_posts 0.5.3 → 0.5.4

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: bcee40dabd2d40c4e60bd0ccab3756febf11c0a2
4
- data.tar.gz: 49f930577bf1825eab1e9d4b00f8b26f3bc7c5a9
3
+ metadata.gz: 3c03d511441a728916ffa2939d0aa4fed00089af
4
+ data.tar.gz: eeaa4308707fdd55bedffc9ff9326a05db55b198
5
5
  SHA512:
6
- metadata.gz: 6237cd9d8c3ae23d41133ce4a4a866cf54f189e90f1cf5de1a2d5ea94129615c24d94db8d59bd2ab5de80a7331b3b628201c3fc02d3e9cc4d0870fb33ff9fdb2
7
- data.tar.gz: 9fef710e83c802feae9981b056497109cdccf99ddcd8c9ee6c5eb170c7b66c773d76c2b0daa940d7a69724d7f580a2003ef3d394e162c785ee7c99574964207f
6
+ metadata.gz: e403162201e8eb0ba56df880803704b64308d07770c1af517b90e2dae31dbd9c0d70090953c2cdaacdeb6fdbae92f9ddbd35e54768986d809f8d100bdfa432fb
7
+ data.tar.gz: 944fe595f6a180fba9daca80c413f7460735c66eaff3db2a87812cfbfd25cdc655e4d6ab8c536bce9d8fc199bb00af7c490934dcd4e7f09bbc607bee0f740d50
@@ -19,6 +19,10 @@ unless Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
19
19
  col :draft
20
20
  end
21
21
 
22
+ col :start_at
23
+ col :end_at, visible: false
24
+ col :location, visible: false
25
+
22
26
  col :created_at, label: 'Submitted at', visible: false
23
27
 
24
28
  actions_col partial: '/admin/posts/actions', partial_as: :post
@@ -21,6 +21,10 @@ if Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
21
21
  table_column :draft
22
22
  end
23
23
 
24
+ table_column :start_at
25
+ table_column :end_at, visible: false
26
+ table_column :location, visible: false
27
+
24
28
  table_column :created_at, label: 'Submitted at', visible: false
25
29
 
26
30
  table_column :actions, sortable: false, filter: false, partial: '/admin/posts/actions'
@@ -4,13 +4,13 @@
4
4
  .effective-post-category-events.well{style: ('display: none' unless f.object.category == 'events')}
5
5
  %h4 Event Information
6
6
  = form.input :start_at, as: (:effective_date_time_picker if defined?(EffectiveFormInputs)),
7
- required: true,
7
+ required: false,
8
8
  hint: 'Display a start time for this event.'
9
9
 
10
10
  = form.input :end_at, as: (:effective_date_time_picker if defined?(EffectiveFormInputs)),
11
11
  hint: 'Display an end time of this event.'
12
12
 
13
- = form.input :location, hint: 'Display a location where this event is taking place.'
13
+ = form.input :location, required: false, hint: 'Display a location where this event is taking place.'
14
14
 
15
15
  = form.input :website_name, label: 'External website',
16
16
  placeholder: 'Buy Tickets', hint: 'The label of an external website.'
@@ -1,3 +1,3 @@
1
1
  module EffectivePosts
2
- VERSION = '0.5.3'.freeze
2
+ VERSION = '0.5.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_posts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2017-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails