# -*- encoding: utf-8 -*- # stub: tartlet 0.0.1 ruby lib Gem::Specification.new do |s| s.name = "tartlet".freeze s.version = "0.0.1".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Jake M".freeze] s.date = "2013-05-12" s.description = "\n## Description\n\nTar horror stories. Everyone has one. You used the wrong flags and accidentally\noverwrote one of your source files without a backup. Or you extracted a tarball\nover your current directory and deleted half the updates to your project. You\nspent 30 minutes scouring Google for the right set of flags to extract a zipped\ntarball instead of an unzipped one. Why are there so many flags!?!\n\nEnter Tartlet. Tartlet is a small commandline wrapper around tar that handles\nthe obnoxious flags for you. Need to extract an archive?\n\n tartlet extract thinmints.tar.gz\n\nMmmmmmm. Delicious extracted cookies. Need to compress a set of files?\n\n tartlet compress butter sugar flour --output cookie\n\nMmmmmmmmm. Chocolaty compressed cookies. Tartlet makes it easy to make archives\n(and apparently I'm craving cookies- please hold).\n\n## Installation\n\n\nInstall via gem as:\n\n $ gem install tart\n\n## Usage\n\nTartlet takes a command and then a list of files, with optional flags thrown\nanywhere.\n\n### Commands\n\n* `compress` - takes a list of files, and by default compresses them into\ngzipped tarball `archive.tar.gz`\n\n ex:\n\n $ tartlet compress foo bar baz\n\n* `extract` - takes a single zipped tarball and extracts it into the current\ndirectory\n\n ex:\n\n $ tartlet extract archive.tar.gz\n\n### Options\n\nOptions can be placed anywhere in the command, eg. `tartlet -d compress -o\ntarget file1 file2` is the same as `tartlet compress file1 file2 -d -o target`\nwhich is the same as `tartlet compress -d file1 -o target file2`. I prefer to\nput -d before the command, -t after the command but before the files, and -o at\nthe very end, but put them in whatever order makes sense to you.\n\n* `-o VALUE`, `--output VALUE` - instead of using the default output\n(archive.tar.gz or the current directory), direct output to **VALUE**. For\ncompression archive name, tartlet will automatically append the proper file\nsuffix (.tar or .tar.gz) if it is not already provided.\n\n ex:\n\n # extract contents of archive into folder 'dirname'\n $ tartlet extract archive.tar.gz -o dirname\n\n # compress list of files into tarball 'files.tar.gz'\n $ tartlet compress foo bar baz -o files.tar.gz\n -- or --\n $ tartlet compress foo bar baz -o files\n\n* `--tarball`, `-tar`, or `-t` - treat tarball as not-gzipped, e.g.\n`archive.tar` (vs the default assumption of a gzipped tarball, eg\n`archive.tar.gz`)\n\n ex:\n\n # extract contents of archive into current directory\n $ tartlet extract --tarball archive.tar\n\n # compress files into non-zipped tarball\n $ tartlet compress --tarball foo bar baz\n\n* `--dry-run`, `--dry`, `-d` - don't execute any commands, simply print to\nstdout the tar command that would be produced by tartlet\n\n ex:\n\n $ tartlet --dry compress foo bar baz --tarball -o files\n tar -cf files.tar foo bar baz\n\n $ tartlet extract --dry-run lotsoffiles.tar.gz -o safefolder\n tar -xzf lotsoffiles.tar.gz -C safefolder\n ".freeze s.email = ["jakemaskiewicz@gmail.com".freeze] s.executables = ["tartlet".freeze] s.files = [".gitignore".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "README.rdoc".freeze, "Rakefile".freeze, "bin/tartlet".freeze, "features/step_definitions/tartlet_steps.rb".freeze, "features/support/env.rb".freeze, "features/tartlet.feature".freeze, "lib/tartlet.rb".freeze, "lib/tartlet/version.rb".freeze, "tartlet.gemspec".freeze, "test/tc_something.rb".freeze] s.homepage = "https://github.com/jakemask/tartlet".freeze s.rubygems_version = "3.5.10".freeze s.summary = "A wrapper for tar that provides sensible defaults".freeze s.test_files = ["features/step_definitions/tartlet_steps.rb".freeze, "features/support/env.rb".freeze, "features/tartlet.feature".freeze, "test/tc_something.rb".freeze] s.specification_version = 3 s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, ["~> 0.9.2".freeze]) s.add_runtime_dependency(%q.freeze, ["~> 1.2.6".freeze]) end