tramway-admin 1.27 → 1.27.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60b354696526340affbff03705102d68483b44d47961a4a8670b7c31e83fcb44
4
- data.tar.gz: 5eb95f5f0ff81ebf58943bf158fd95b72d45bf92fb001a656db86bcb746d82a5
3
+ metadata.gz: 6b83cc48585ae6f0354b2a23f3904cbfd033bd2ae096e9744a2460352a418745
4
+ data.tar.gz: d333e3c4b028cc66f7ffa4a98e4926bfff243e92a793a224d637e0a8e4145ecb
5
5
  SHA512:
6
- metadata.gz: ceb8b3016c5aa58f01e55841670dae17bb547ef05c4b82bf567ba624cc6a9221348fbc3542e61b02813a6beb5c7e9fc003cecd5ed1d5b0a3221f3b7d462470d8
7
- data.tar.gz: b7783ff8430c982ae818c0bd8fb2e74ae91b90b3fab8d7bcfef083d6cd1c21b34731ec1be934aeb95fdb23c9e9cf2daa518b14a00eef2fbdd10998bf43cb3931
6
+ metadata.gz: f9bf64ed1b5a500e3cd7bd2b70baabae80861ace61e1217349e1c1247314cd35067fdb35b5131b97f58306d724524b18adbecaa1b424f879e7b50bfa7bb6a517
7
+ data.tar.gz: '085420b80bd57fb7c9a99637b85ee9fd12db695d660a91989383535d1c00fd37ab5f6719f89d831e88006ca10919c65d01e5f12fba653f4886b1b13e27796ec8'
@@ -10,6 +10,6 @@ module Tramway::Admin::ActionsHelper
10
10
  end
11
11
 
12
12
  def habtm_destroy_is_available?(association_object, main_object)
13
- ::Tramway::Admin.forms.include?("#{main_object.model.class.to_s.underscore.pluralize}/remove_#{association_object.model.class.to_s.underscore}")
13
+ ::Tramway::Admin.forms&.include?("#{main_object.model.class.to_s.underscore.pluralize}/remove_#{association_object.model.class.to_s.underscore}")
14
14
  end
15
15
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Admin
5
- VERSION = '1.27'
5
+ VERSION = '1.27.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.27'
4
+ version: 1.27.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov