lib/gzr/commands/attribute.rb in gazer-0.2.60 vs lib/gzr/commands/attribute.rb in gazer-0.3.0
- old
+ new
@@ -98,11 +98,11 @@
desc: 'can a non-admin user view the value'
method_option :'can-view', type: :boolean, default: true,
desc: 'can a non-admin user view the value'
method_option :'can-edit', type: :boolean, default: true,
desc: 'can a user change the value themself'
- method_option :'domain-whitelist', type: :string,
- desc: 'what domains can receive the value of a hidden attribute.'
+ method_option :'domain-allowlist', type: :string,
+ desc: 'what domains can receive the value of a hidden attribute.'
def create(attr_name, attr_label=nil)
if options[:help]
invoke :help, ['create']
else
require_relative 'attribute/create'