# -*- encoding: utf-8 -*- # stub: applix 0.2.1 ruby lib Gem::Specification.new do |s| s.name = "applix".freeze s.version = "0.2.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 = ["dirk luesebrink".freeze] s.date = "2009-11-25" s.description = " ApplixHash#from_argv builds hashes from ARGV like argument vectors\n according to following examples: \n \n '-f' --> { :f => true }\n '--flag' --> { :flag => true }\n '--flag:false' --> { :flag => false }\n '--flag=false' --> { :flag => 'false' }\n '--option=value' --> { :option => \"value\" }\n '--int=1' --> { :int => \"1\" }\n '--float=2.3' --> { :float => \"2.3\" }\n '--float:2.3' --> { :float => 2.3 }\n '--txt=\"foo bar\"' --> { :txt => \"foo bar\" }\n '--txt:'\"foo bar\"'' --> { :txt => \"foo bar\" }\n '--txt:%w{foo bar}' --> { :txt => [\"foo\", \"bar\"] }\n '--now:Time.now' --> { :now => # }\n \n remaining arguments(non flag/options) are inserted as [:arguments,\n args], eg:\n Hash.from_argv %w(--foo --bar=loo 123 now)\n becomes \n { :foo => true, :bar => 'loo', :arguments => [\"123\", \"now\"] }\n \n".freeze s.email = "dirk@sebrink.de".freeze s.extra_rdoc_files = ["LICENSE".freeze, "README.markdown".freeze] s.files = [".document".freeze, ".gitignore".freeze, "LICENSE".freeze, "README.markdown".freeze, "Rakefile".freeze, "VERSION".freeze, "lib/applix.rb".freeze, "lib/applix/oattr.rb".freeze, "spec/applix_spec.rb".freeze, "spec/oattr_spec.rb".freeze, "spec/spec_helper.rb".freeze] s.homepage = "http://github.com/crux/applix".freeze s.rdoc_options = ["--charset=UTF-8".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "build typed option hashed from command line arguments".freeze s.test_files = ["spec/applix_spec.rb".freeze, "spec/oattr_spec.rb".freeze, "spec/spec_helper.rb".freeze] s.specification_version = 3 s.add_development_dependency(%q.freeze, [">= 0".freeze]) end