# -*- encoding: utf-8 -*- # stub: applix 0.4.9 ruby lib Gem::Specification.new do |s| s.name = "applix".freeze s.version = "0.4.9".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["art+com/dirk luesebrink".freeze] s.date = "2012-04-26" s.description = "\n 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 ".freeze s.email = ["dirk.luesebrink@artcom.de".freeze] s.files = [".autotest".freeze, ".document".freeze, ".gitignore".freeze, ".rspec".freeze, ".travis.yml".freeze, "Gemfile".freeze, "Guardfile".freeze, "LICENSE".freeze, "README.mkd".freeze, "Rakefile".freeze, "applix.gemspec".freeze, "lib/applix.rb".freeze, "lib/applix/hash.rb".freeze, "lib/applix/oattr.rb".freeze, "lib/applix/version.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.rubygems_version = "3.5.10".freeze s.summary = "extracting typed option hashes 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_runtime_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) s.add_development_dependency(%q.freeze, [">= 0".freeze]) end