effective_posts 2.0.3 → 2.0.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
  SHA256:
3
- metadata.gz: 007be2e2a5fb606693f2e10afe0c735cbdd441c0f5d186361e7f64f144a8b503
4
- data.tar.gz: 78f5fc983964c4ada845f37d4d248bb5bae08843ddc13772cb75351c12753297
3
+ metadata.gz: 5b14ecbfb59bf639f5a0950fac43873d6cf2ca7c30aa1a1c69d71250bebf769d
4
+ data.tar.gz: 901c1ceca8dfa718866150dab53c7e5d76b59aa29fa9bd3003b81b1b1cd153af
5
5
  SHA512:
6
- metadata.gz: 2039fb90e755306075db5f39fa225bbb2960acc1a0d50881cec51b49a5a27709ccd948188f90e78ce38696eda48417327a01690e577f357eb31294f48b89d9f1
7
- data.tar.gz: f4ed4132951108343e9961abe2f40057f21b8edeb5aa513661b636ca8c0bc6798aaf052db80156738393f7f138df05f98747b7135d9bbaf461e64f2a47d2b2f8
6
+ metadata.gz: 4543b3fcfc8068dd7eeb13002d6d793b200c74065efa960e13ce86f787eb3d2635b4d0e33a359227c5da41d4f9eea9438a147603a0329105b2efff08407d390d
7
+ data.tar.gz: d51323feaf466cdda3dff70816929228f8875df491af0c7054db1fb682e72816f4910773f79e0f9ceb6a4bef4cfba19259ad33f9d2dc309d459b2d963cb6f67f
@@ -14,7 +14,7 @@
14
14
  - if Array(EffectivePosts.categories).length > 1
15
15
  = f.select :category, EffectivePosts.categories
16
16
  - else
17
- = f.hidden_field :category, (EffectivePosts.categories.first || 'posts')
17
+ = f.hidden_field :category, value: (EffectivePosts.categories.first || 'posts')
18
18
 
19
19
  - if EffectivePosts.use_active_storage
20
20
  = f.file_field :image, hint: 'An image for your post'
@@ -1,3 +1,3 @@
1
1
  module EffectivePosts
2
- VERSION = '2.0.3'.freeze
2
+ VERSION = '2.0.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: 2.0.3
4
+ version: 2.0.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: 2021-03-05 00:00:00.000000000 Z
11
+ date: 2022-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails