crapapult 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/crapapult.rb +3 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -319,8 +319,8 @@ Capistrano::Configuration.instance(:must_exist).load do
319
319
 
320
320
  if version =~ /SNAPSHOT$/
321
321
  builds = m.find_snapshot_builds(current_group_id, current_artifact_id, version)
322
- hl.say("Select a snapshot build to deploy:")
323
- set :build, hl.choose(*builds)
322
+ set :build, build = hl.ask("Which build? ") { |q| q.default = builds.first }
323
+ puts
324
324
  m.snapshot_artifact_url(current_group_id, current_artifact_id, version, build)
325
325
  else
326
326
  m.release_artifact_url(current_group_id, current_artifact_id, version)
@@ -362,3 +362,4 @@ Capistrano::Configuration.instance(:must_exist).load do
362
362
  tasks[:shell] = @shell
363
363
  end
364
364
  end
365
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crapapult
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Coda Hale