Sha256: adecf85c320773f02ad32eeb4b7f790611ba32673e40d987119dd63973f61017

Contents?: true

Size: 718 Bytes

Versions: 32

Compression:

Stored size: 718 Bytes

Contents

#!/usr/bin/env ruby
# encoding: UTF-8

# resolve bin path, ignoring symlinks
require "pathname"
bin_file = Pathname.new(__FILE__).realpath

# add self to libpath
$:.unshift File.expand_path("../../lib", bin_file)

# Fixes https://github.com/rubygems/rubygems/issues/1420
require "rubygems/specification"

module Gem
  class Specification
    def this; self; end
  end
end

require "bundler/setup"
require "stepmod/utils/smrl_resource_converter"

ReverseAdoc.config.unknown_tags = :bypass

input_content = ARGF.read

result = Stepmod::Utils::SmrlResourceConverter.convert(input_content, {})
result.split("\n").each do |line|
  begin
    $stdout.puts(line)
    $stdout.flush
  rescue Errno::EPIPE
    exit(74)
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
stepmod-utils-0.4.0 exe/stepmod-convert-express-resource
stepmod-utils-0.3.37 exe/stepmod-convert-express-resource
stepmod-utils-0.3.36 exe/stepmod-convert-express-resource
stepmod-utils-0.3.35 exe/stepmod-convert-express-resource
stepmod-utils-0.3.34 exe/stepmod-convert-express-resource
stepmod-utils-0.3.33 exe/stepmod-convert-express-resource
stepmod-utils-0.3.32 exe/stepmod-convert-express-resource
stepmod-utils-0.3.31 exe/stepmod-convert-express-resource
stepmod-utils-0.3.30 exe/stepmod-convert-express-resource
stepmod-utils-0.3.29 exe/stepmod-convert-express-resource
stepmod-utils-0.3.28 exe/stepmod-convert-express-resource
stepmod-utils-0.3.27 exe/stepmod-convert-express-resource
stepmod-utils-0.3.26 exe/stepmod-convert-express-resource
stepmod-utils-0.3.25 exe/stepmod-convert-express-resource
stepmod-utils-0.3.24 exe/stepmod-convert-express-resource
stepmod-utils-0.3.23 exe/stepmod-convert-express-resource
stepmod-utils-0.3.22 exe/stepmod-convert-express-resource
stepmod-utils-0.3.21 exe/stepmod-convert-express-resource
stepmod-utils-0.3.20 exe/stepmod-convert-express-resource
stepmod-utils-0.3.19 exe/stepmod-convert-express-resource