--- !ruby/object:Gem::Specification name: applix version: !ruby/object:Gem::Version version: 0.2.1 platform: ruby authors: - dirk luesebrink autorequire: bindir: bin cert_chain: [] date: 2009-11-25 00:00:00 +01:00 default_executable: dependencies: - !ruby/object:Gem::Dependency name: rspec type: :development version_requirement: version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: "0" version: 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" email: dirk@sebrink.de executables: [] extensions: [] extra_rdoc_files: - LICENSE - README.markdown files: - .document - .gitignore - LICENSE - README.markdown - Rakefile - VERSION - lib/applix.rb - lib/applix/oattr.rb - spec/applix_spec.rb - spec/oattr_spec.rb - spec/spec_helper.rb has_rdoc: true homepage: http://github.com/crux/applix licenses: [] post_install_message: rdoc_options: - --charset=UTF-8 require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: "0" version: required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version version: "0" version: requirements: [] rubyforge_project: rubygems_version: 1.3.5 signing_key: specification_version: 3 summary: build typed option hashed from command line arguments test_files: - spec/applix_spec.rb - spec/oattr_spec.rb - spec/spec_helper.rb