croods 0.1.0 → 0.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1b0dd2406b59f7c88e4488699e1681249f92da22dd31c2c71abe850755d8439
|
4
|
+
data.tar.gz: 203bf41a0d129e931037de59e07588c49c906ee0b8c0cc592db3e8ca04b8c8e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7bcb1d81082fdd67a1104c23460f6efc33139b4334ac64cbdd5ef34aa44a71a14a810e339f4be1eea66e0a4a3162843525db72201fb0b1e602d6c502eeb2b62
|
7
|
+
data.tar.gz: 6f003b69476c254f700d3dafbcc690f969e319452f52b97869c5a20d1b3c0a269acc572cb3ac3a1114fae6102fcbd10b53d0bbcffb74fd4401bb5f4c3a0496a9
|
@@ -35,7 +35,7 @@ module Croods
|
|
35
35
|
@additional_actions ||= []
|
36
36
|
end
|
37
37
|
|
38
|
-
def
|
38
|
+
def skip_actions(*names)
|
39
39
|
names.each do |name|
|
40
40
|
ignored_actions << name.to_sym
|
41
41
|
end
|
@@ -45,7 +45,7 @@ module Croods
|
|
45
45
|
@ignored_actions ||= []
|
46
46
|
end
|
47
47
|
|
48
|
-
alias
|
48
|
+
alias skip_action skip_actions
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
@@ -13,7 +13,7 @@ module Croods
|
|
13
13
|
@additional_attributes ||= {}
|
14
14
|
end
|
15
15
|
|
16
|
-
def
|
16
|
+
def skip_attributes(*names)
|
17
17
|
names.each do |name|
|
18
18
|
ignored_attributes << name.to_s
|
19
19
|
end
|
@@ -23,7 +23,7 @@ module Croods
|
|
23
23
|
@ignored_attributes ||= []
|
24
24
|
end
|
25
25
|
|
26
|
-
alias
|
26
|
+
alias skip_attribute skip_attributes
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
@@ -19,8 +19,8 @@ module Croods
|
|
19
19
|
def use_for_authentication!(*options)
|
20
20
|
add_model_authentication(*options)
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
skip_attributes(*ATTRIBUTES)
|
23
|
+
skip_attribute(Croods.tenant_attribute) if Croods.multi_tenancy?
|
24
24
|
|
25
25
|
request do
|
26
26
|
add_attribute :password, :string, null: false
|
data/lib/croods/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: croods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Weinmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: committee
|