Method: Ploy::Command::List#json_package
- Defined in:
- lib/ploy/command/list.rb
#json_package(package, branch, current, blessed_current) ⇒ Object
36 37 38 39 40 41 42 43 44 45 |
# File 'lib/ploy/command/list.rb', line 36 def json_package(package, branch, current, blessed_current) { package => { 'name' => package, 'sha' => current, 'branch' => branch, 'blessed_sha' => blessed_current } }.to_json end |