--- !ruby/object:Gem::Specification name: applix version: !ruby/object:Gem::Version prerelease: false segments: - 0 - 4 - 2 version: 0.4.2 platform: ruby authors: - art+com/dirk luesebrink autorequire: bindir: bin cert_chain: [] date: 2012-03-20 00:00:00 +01:00 default_executable: dependencies: - !ruby/object:Gem::Dependency name: rspec prerelease: false requirement: &id001 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id001 - !ruby/object:Gem::Dependency name: rspec-mocks prerelease: false requirement: &id002 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id002 - !ruby/object:Gem::Dependency name: guard prerelease: false requirement: &id003 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id003 - !ruby/object:Gem::Dependency name: guard-rspec prerelease: false requirement: &id004 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id004 - !ruby/object:Gem::Dependency name: growl prerelease: false requirement: &id005 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id005 - !ruby/object:Gem::Dependency name: ruby-debug19 prerelease: false requirement: &id006 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id006 - !ruby/object:Gem::Dependency name: ruby-debug-base19 prerelease: false requirement: &id007 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" type: :development version_requirements: *id007 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 " email: - dirk.luesebrink@artcom.de executables: [] extensions: [] extra_rdoc_files: [] files: - .autotest - .document - .gitignore - .rspec - Gemfile - Guardfile - LICENSE - README.mkd - Rakefile - VERSION - applix.gemspec - lib/applix.rb - lib/applix/hash.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: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" required_rubygems_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" requirements: [] rubyforge_project: rubygems_version: 1.3.7 signing_key: specification_version: 3 summary: extracting typed option hashes from command line arguments test_files: - spec/applix_spec.rb - spec/oattr_spec.rb - spec/spec_helper.rb