usman 0.3.36 → 0.3.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/permission.rb +0 -4
- data/lib/usman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f477c71db3e74b6ca0eadf181cb570369ebf8d4edacec5a991e9c31c3b6ca97b
|
4
|
+
data.tar.gz: 304cda4627bc8ef1c33a128823bbdb93bd2df17f86c005e93e613e44727744b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a4b2ac554ba3680c2419a1ec095ed17cbf7679d0aa7519856c6ed228f61719a6b8aa0956f8b9771fb19201cb613ccc61db6f8f2408bb426f8a9809ef000e71
|
7
|
+
data.tar.gz: 46611cf13c7622d7fdf3ec845be1a24bc08b9f5641ce88cd82f5181a2e23636ebe5cda064f62559206aecd9cf177c939defd05b892590ebe3a7046eb915eec6c
|
data/app/models/permission.rb
CHANGED
@@ -43,10 +43,6 @@ class Permission < Usman::ApplicationRecord
|
|
43
43
|
|
44
44
|
feature = Feature.find_by_name(hsh[:feature].to_s.strip)
|
45
45
|
|
46
|
-
unless feature
|
47
|
-
binding.pry
|
48
|
-
end
|
49
|
-
|
50
46
|
unless feature
|
51
47
|
summary = "Feature '#{hsh[:feature].to_s.strip}' doesn't exist"
|
52
48
|
error_object.errors << { summary: summary }
|
data/lib/usman/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: usman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kpvarma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|