rocket_cms 0.27.1 → 0.27.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
  SHA256:
3
- metadata.gz: 01cdadeae6488369b396961218f7861a3f5315425068a0036c2eef14c03a7270
4
- data.tar.gz: 3bb9712d77c67afd00c8a556ebc3d99eb9821ba08ee3b1b9074ee124d0ae274f
3
+ metadata.gz: a817754e0bd70e84d7d2642153fbdb79a4f747b247e803205d83d3ce316095ed
4
+ data.tar.gz: 00cdbdcb965338060c45f3450787426a02b308883d74195ae2c89f0dca3ee447
5
5
  SHA512:
6
- metadata.gz: a8a2c98221ce8dfcd4c6ed91793a6b2e6fd17934d33d19c94767aab8ac50a60ec2747d6398dc5b7491d38979f1abb3e59ae7573fd499362e556ffa7aff01458c
7
- data.tar.gz: d76b0f4f00949783b80fb7a90a73e4d4659e4b4ac174ab68d4ae63878117b0ceebe033ec9fbf8be89f861cba31585cd5c9cb1223f897c86ce6882721a558b877
6
+ metadata.gz: 9850ec9dc037c2092d537496cd16208cbec0a8743edd83a2f5ea90d748181785c0cc0c861a039e6f8ae0151b83d042e533685174258392db74754794a38fcf9e
7
+ data.tar.gz: d9aa418668aa10ab74469e68fe1a637fb55f2c946d59ac8126d6b84a759220824a70312b55a5d90b1c24547bcaa6ec929d38b6d85970393011c88b064abefa15
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.27.1)
4
+ rocket_cms (0.27.2)
5
5
  addressable
6
6
  coffee-rails
7
7
  jquery-rails
@@ -1,3 +1,3 @@
1
- - if user_signed_in? && respond_to?(:can?) && can?(:access, :rails_admin) && can?(:edit, obj)
1
+ - if user_signed_in? && respond_to?(:can?) && can?(:access, :rails_admin) && can?(:edit, obj) && obj.persisted?
2
2
  .admin_link
3
3
  = link_to t('rs.edit'), rails_admin.edit_path(obj.class.model_name.i18n_key.to_s.gsub('/', '~'), obj.id), 'data-no-turbolink' => "true", 'data-turbolinks' => "false"
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = '0.27.1'
2
+ VERSION = '0.27.2'
3
3
  end
data/release.sh CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/bin/bash
2
+ git pull --rebase
2
3
  bundle update
3
4
  git add --all .
4
5
  git commit -am "${*:1}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-26 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler