Sha256: 25688efe1b3f5af1bc292b1f6994d1a4cdf2d4009f9786b473243bca3115243b

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 Bytes

Contents

# The requested command is passed in here as @command
case @command

when "test_ids:rollback"
  if ARGV[0]
    TestIds::Git.rollback(ARGV[0])
  else
    puts "You must supply a commit ID to rollback to, e.g. origen test_ids:rollback 456ac3f53"
  end
  exit 0
else
  @plugin_commands << <<-EOT
 test_ids:rollback  Rollback the TestIds store to the given commit ID
  EOT

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
test_ids-0.7.1 config/shared_commands.rb
test_ids-0.7.0 config/shared_commands.rb
test_ids-0.6.1 config/shared_commands.rb
test_ids-0.6.0 config/shared_commands.rb
test_ids-0.5.1 config/shared_commands.rb