trusty-cms 3.1.1 → 3.1.2

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: 3cead9f65243654c5db3f112ee0274f9a977e9b7
4
- data.tar.gz: 57e404a11ad0d7bfe9c34825579f22b03c1ea7b5
3
+ metadata.gz: b633a050eb5e6d499f399d760f10c2e5970331d3
4
+ data.tar.gz: 94d12db5a0a66ce8b7f9583cc9d9ce26b849b6c7
5
5
  SHA512:
6
- metadata.gz: 44190a6b1dfd010bf0a37652a9888da544b0088cdf8d55c9fca300900392993daf4434baca16932e80226d4254f2447596b30f07d8f8ebd41216292a4391a77c
7
- data.tar.gz: 29d225e743a037cbd1b7459a9dff0f0cdb3aaa2aa065b43e0f690b156a625da36d699040249e078fe978297b0b5ae07e5154ccd59528db0978e470a526a5991f
6
+ metadata.gz: 33fcd61aa0c11ee4da3d4933dd7c62c45464d0c8569519d14d4e4066434fe9f46d2abbed9af6c28c1eed3bb0696ea90ade69b392be367309b19e939a0f7f921d
7
+ data.tar.gz: '084eee7ad50c684f5f9ec57989dda32904f1754eeec258e4fccb7e9f1e7d965ee33c3ee1f145af05dd292ea981cfd2af3e66b383ee66a33cbde9b9fb4648d8b8'
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- trusty-cms (3.1.1)
11
+ trusty-cms (3.1.2)
12
12
  RedCloth (~> 4.3.2)
13
13
  acts_as_tree (~> 2.6.1)
14
14
  bundler (~> 1.7)
@@ -10,7 +10,7 @@ class Admin::PagePartsController < Admin::ResourceController
10
10
  private
11
11
 
12
12
  def page_parts_params
13
- params.permit(:name, :filter_id, :content)
13
+ params.require(:page_part).permit(:name, :filter_id, :content)
14
14
  end
15
15
 
16
16
  end
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '3.1.1'
5
+ VERSION = '3.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrustyCms CMS dev team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-15 00:00:00.000000000 Z
11
+ date: 2017-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo