Sha256: eea426a4e7c81167bdd1d5e2acffef44fd6b4f27d05c1c44329d2ea3c89813dd
Contents?: true
Size: 589 Bytes
Versions: 14
Compression:
Stored size: 589 Bytes
Contents
desc "Configure hem" task :config do config = Hem.user_config # Not required at present # config.full_name = Hem.ui.ask("Full name", :default => config.full_name).to_s # config.email = Hem.ui.ask("Email", :default => config.email).to_s config[:aws] ||= {} config.aws.access_key_id = Hem.ui.ask("AWS access key ID", :default => config.aws.access_key_id).to_s config.aws.secret_access_key = Hem.ui.ask("AWS secret access key", :default => config.aws.secret_access_key).to_s Hem::Config::File.save(Hem.user_config_file, config) File.chmod(0600, Hem.user_config_file) end
Version data entries
14 entries across 14 versions & 1 rubygems