Module: Capistrano::SecretsGenerate::Paths
- Defined in:
- lib/capistrano/secrets_generate/paths.rb
Instance Method Summary collapse
- #secret_token_current_path ⇒ Object
- #secret_token_linked_dir ⇒ Object
- #secret_token_linked_path ⇒ Object
- #secret_token_path ⇒ Object
Instance Method Details
#secret_token_current_path ⇒ Object
18 19 20 |
# File 'lib/capistrano/secrets_generate/paths.rb', line 18 def secret_token_current_path return current_path.join(secret_token_path) end |
#secret_token_linked_dir ⇒ Object
14 15 16 |
# File 'lib/capistrano/secrets_generate/paths.rb', line 14 def secret_token_linked_dir return secret_token_linked_path.join('..') end |
#secret_token_linked_path ⇒ Object
10 11 12 |
# File 'lib/capistrano/secrets_generate/paths.rb', line 10 def secret_token_linked_path return shared_path.join(secret_token_path) end |
#secret_token_path ⇒ Object
6 7 8 |
# File 'lib/capistrano/secrets_generate/paths.rb', line 6 def secret_token_path return Pathname.new(fetch(:secret_file)) end |