Sha256: 57611d37d1961b570979b27582b2eee2d7ba85a55ab6c6aa144f4ba80cae6dd5

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 Bytes

Contents

#!/usr/bin/env ruby
# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
require 'dtas/unix_client'
c = DTAS::UNIXClient.new

ARGV.each do |path|
  # Unix paths are encoding agnostic
  path = File.expand_path(path.b)
  res = c.req_ok(%W(enq #{path}))
  puts "#{path} #{res}"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dtas-0.7.0 bin/dtas-enq
dtas-0.6.0 bin/dtas-enq
dtas-0.5.0 bin/dtas-enq
dtas-0.4.0 bin/dtas-enq
dtas-0.3.0 bin/dtas-enq