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: aa04a8d021dcb13f1a16fb7e8cbff426ff88212cc2961f7b6ab37c11dec6205a
4
- data.tar.gz: 6eaf5e2422fc7673d79af1f371bfc3d84f667beabf7725be8bfb979f56f211b5
3
+ metadata.gz: b1b0dd2406b59f7c88e4488699e1681249f92da22dd31c2c71abe850755d8439
4
+ data.tar.gz: 203bf41a0d129e931037de59e07588c49c906ee0b8c0cc592db3e8ca04b8c8e6
5
5
  SHA512:
6
- metadata.gz: e3c2a7f41a1684b68d97fd5b5157a0827cc4921c187de659c328762220ac2f1fe47cbf450a9240e665b7ae908ea4814f7e625d563640d305e843369aa8e8f29e
7
- data.tar.gz: 583726e9874be44c8817d082ec6286cadec710be19eac125ee3251f1aeaacc11e2268311fd36eeb936faad066273861984602bb7205ad6a5ed323af94127d3ab
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 remove_actions(*names)
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 remove_action remove_actions
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 remove_attributes(*names)
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 remove_attribute remove_attributes
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
- remove_attributes(*ATTRIBUTES)
23
- remove_attribute(Croods.tenant_attribute) if Croods.multi_tenancy?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Croods
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.0'
5
5
  end
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.1.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-07 00:00:00.000000000 Z
11
+ date: 2020-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: committee