thecore 1.4.5 → 1.4.6

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: ac10c47ec6d25f136d47162f6adcd9e4d373c3c7
4
- data.tar.gz: b84f085008f7dce9aa3c5f8da6dbee135f2ab090
3
+ metadata.gz: ffdf3dfdfc827b5bdc4358272e75d9578883b79a
4
+ data.tar.gz: f78d54b4b8b6cad6348b7e990247f807cfd41338
5
5
  SHA512:
6
- metadata.gz: 2b8a499a108ca74d7b35731da1ae56edf9501a2a861c0bec23e5bbdebd8c4164c5588ffb53b3e0948f3f38f1aef3e16c9c9499f015f12eefbe1159db88a0c61b
7
- data.tar.gz: 9bc660ba7a74b8b124c6cd0b83c44879cee9d7f0d7aee1f580f7f1946ec561992dda059610781a62f4e089f4cc3ae3a44d4681976f6143ab86319ae3fb0eda13
6
+ metadata.gz: d3ecbf4a4189f7eda21c7acb14af95a96deb88f71a9437b9beecabbf0021c58269da22cb6d282f07104d5a19418c5c940a5390c73b56ce9fb01d9317c2dc9571
7
+ data.tar.gz: dd6e1efea5cff5fe0e38a8bd14bce2fe103cf3e084eba3031ecbdbf77ff2667f652098fee1660e4acd9bfe531fed842cf463861b59257df1a4e2e0e0dc3f153a
@@ -93,11 +93,6 @@ class User < ApplicationRecord
93
93
  bindings[:view].current_user.admin? && bindings[:view].current_user.id != bindings[:object].id
94
94
  end
95
95
  end
96
- field :third_party do
97
- visible do
98
- bindings[:view].current_user.admin? && bindings[:view].current_user.id != bindings[:object].id
99
- end
100
- end
101
96
  field :roles, :enum do
102
97
  visible !ROLES.blank?
103
98
  pretty_value do # used in list view columns and show views, defaults to formatted_value for non-association fields
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.4.5'.freeze
2
+ VERSION = '1.4.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni