gss 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/gss.gemspec +25 -0
- data/lib/gss.rb +62 -0
- data/lib/gss/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/bin/nokogiri +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/nokogiri.bat +6 -0
- data/vendor/bundle/ruby/1.9.1/bin/rake +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/rake.bat +6 -0
- data/vendor/bundle/ruby/1.9.1/build_info/certified-0.1.2.info +1 -0
- data/vendor/bundle/ruby/1.9.1/build_info/mini_portile-0.6.0.info +1 -0
- data/vendor/bundle/ruby/1.9.1/build_info/nokogiri-1.6.2.1-x86-mingw32.info +1 -0
- data/vendor/bundle/ruby/1.9.1/build_info/rake-0.9.2.2.info +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/certified-0.1.2/README.md +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/certified-0.1.2/certified.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/certified-0.1.2/certs/ca-bundle.crt +3376 -0
- data/vendor/bundle/ruby/1.9.1/gems/mini_portile-0.6.0/History.txt +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/mini_portile-0.6.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/mini_portile-0.6.0/README.rdoc +169 -0
- data/vendor/bundle/ruby/1.9.1/gems/mini_portile-0.6.0/Rakefile +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/mini_portile-0.6.0/examples/Rakefile +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/mini_portile-0.6.0/lib/mini_portile.rb +437 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/.autotest +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/.editorconfig +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/.gemtest +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/.travis.yml +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/CHANGELOG.ja.rdoc +889 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/CHANGELOG.rdoc +898 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/C_CODING_STYLE.rdoc +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/Gemfile +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/Manifest.txt +377 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/README.ja.rdoc +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/README.rdoc +180 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ROADMAP.md +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/Rakefile +356 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/STANDARD_RESPONSES.md +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/Y_U_NO_GEMSPEC.md +155 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/bin/nokogiri +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/build_all +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/dependencies.yml +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/depend +358 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/extconf.rb +543 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_document.c +170 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_document.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/nokogiri.c +148 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/nokogiri.h +164 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_attr.c +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_cdata.c +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_comment.c +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_document.c +577 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_document.h +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_io.c +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_io.h +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_namespace.c +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_namespace.h +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_node.c +1603 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_node.h +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_node_set.c +467 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_node_set.h +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_reader.c +681 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_sax_parser.c +312 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_sax_push_parser.c +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_syntax_error.c +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_text.c +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_text.h +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_xpath_context.c +307 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri.rb +137 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/node.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/parser.rb +715 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/parser.y +249 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/tokenizer.rb +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/css/xpath_visitor.rb +219 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/decorators/slop.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/document.rb +333 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/document_fragment.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/sax/parser.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/html/sax/push_parser.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/version.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/builder.rb +443 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/document.rb +279 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/document_fragment.rb +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/node.rb +982 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/node_set.rb +355 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/parse_options.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xslt.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/suppressions/README.txt +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/tasks/nokogiri.org.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/tasks/test.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/css/test_nthiness.rb +222 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/css/test_parser.rb +358 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/css/test_tokenizer.rb +198 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/css/test_xpath_visitor.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/decorators/test_slop.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/2ch.html +108 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/address_book.rlx +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/address_book.xml +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/atom.xml +344 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/bar/bar.xsd +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/bogus.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/dont_hurt_em_why.xml +422 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/encoding.html +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/encoding.xhtml +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/exslt.xml +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/exslt.xslt +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/foo/foo.xsd +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/metacharset.html +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/noencoding.html +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/po.xml +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/po.xsd +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/saml/saml20assertion_schema.xsd +283 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/saml/xenc_schema.xsd +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/saml/xmldsig_schema.xsd +318 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/shift_jis.html +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/shift_jis.xml +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/shift_jis_no_charset.html +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/slow-xpath.xml +25509 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/snuggles.xml +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/staff.dtd +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/staff.xml +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/staff.xslt +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/test_document_url/bar.xml +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/test_document_url/document.dtd +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/test_document_url/document.xml +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/tlm.html +850 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/to_be_xincluded.xml +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/valid_bar.xml +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/files/xinclude.xml +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/helper.rb +164 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/sax/test_parser.rb +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/sax/test_parser_context.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_builder.rb +164 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_document.rb +619 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_document_encoding.rb +148 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_document_fragment.rb +267 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_element_description.rb +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_named_characters.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_node.rb +196 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/html/test_node_encoding.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_namespaces_aliased_default.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/namespaces/test_namespaces_preservation.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_convert_xpath.rb +135 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_css_cache.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_encoding_handler.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_memory_leak.rb +156 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_nokogiri.rb +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_reader.rb +558 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_soap4r_sax.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/test_xslt_transforms.rb +279 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/node/test_save_options.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/node/test_subclass.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/sax/test_parser.rb +382 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/sax/test_parser_context.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/sax/test_push_parser.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_attr.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_attribute_decl.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_builder.rb +315 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_c14n.rb +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_cdata.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_comment.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_document.rb +934 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_document_encoding.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_document_fragment.rb +228 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_dtd.rb +187 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_dtd_encoding.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_element_content.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_element_decl.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_entity_decl.rb +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_entity_reference.rb +245 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_namespace.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_node.rb +1155 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_node_attributes.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_node_encoding.rb +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_node_inheritance.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_node_reparenting.rb +374 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_node_set.rb +755 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_parse_options.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_processing_instruction.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_reader_encoding.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_relax_ng.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_schema.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_syntax_error.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_text.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_unparented_node.rb +422 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_xinclude.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xml/test_xpath.rb +382 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xslt/test_custom_functions.rb +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test/xslt/test_exception_handling.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.6.2.1-x86-mingw32/test_all +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/.gemtest +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/CHANGES +522 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/README.rdoc +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/Rakefile +369 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/TODO +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/install.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/alt_system.rb +109 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb +595 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/classic_namespace.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/clean.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/cloneable.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/ftptools.rb +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/sys.rb +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb +176 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/core.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/module.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/string.rb +167 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_list.rb +403 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_task.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/gempackagetask.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/invocation_chain.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/multi_task.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/packagetask.rb +185 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb +234 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/runtest.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb +327 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_arguments.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/testtask.rb +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/version.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/win32.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/helper.rb +492 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_application.rb +489 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_application_options.rb +335 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_clean.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_definitions.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_directory_task.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_dsl.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_list.rb +628 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_task.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_utils.rb +305 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_ftp_file.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_functional.rb +450 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_multi_task.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rdoc_task.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rules.rb +327 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task.rb +267 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_arguments.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_manager.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_with_arguments.rb +173 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_test_task.rb +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_top_level_functions.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/specifications/certified-0.1.2.gemspec +20 -0
- data/vendor/bundle/ruby/1.9.1/specifications/mini_portile-0.6.0.gemspec +24 -0
- data/vendor/bundle/ruby/1.9.1/specifications/nokogiri-1.6.2.1-x86-mingw32.gemspec +73 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rake-0.9.2.2.gemspec +37 -0
- metadata +489 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright (c) 2003, 2004 Jim Weirich
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
@@ -0,0 +1,197 @@
|
|
1
|
+
= RAKE -- Ruby Make
|
2
|
+
|
3
|
+
This package contains Rake, a simple ruby build program with capabilities
|
4
|
+
similar to make.
|
5
|
+
|
6
|
+
Rake has the following features:
|
7
|
+
|
8
|
+
* Rakefiles (rake's version of Makefiles) are completely defined in
|
9
|
+
standard Ruby syntax. No XML files to edit. No quirky Makefile
|
10
|
+
syntax to worry about (is that a tab or a space?)
|
11
|
+
|
12
|
+
* Users can specify tasks with prerequisites.
|
13
|
+
|
14
|
+
* Rake supports rule patterns to synthesize implicit tasks.
|
15
|
+
|
16
|
+
* Flexible FileLists that act like arrays but know about manipulating
|
17
|
+
file names and paths.
|
18
|
+
|
19
|
+
* A library of prepackaged tasks to make building rakefiles easier. For example,
|
20
|
+
tasks for building tarballs and publishing to FTP or SSH sites. (Formerly
|
21
|
+
tasks for building RDoc and Gems were included in rake but they're now
|
22
|
+
available in RDoc and RubyGems respectively.)
|
23
|
+
|
24
|
+
* Supports parallel execution of tasks.
|
25
|
+
|
26
|
+
== Installation
|
27
|
+
|
28
|
+
=== Gem Installation
|
29
|
+
|
30
|
+
Download and install rake with the following.
|
31
|
+
|
32
|
+
gem install rake
|
33
|
+
|
34
|
+
=== Normal Installation
|
35
|
+
|
36
|
+
You can download the source tarball of the latest version of Rake from
|
37
|
+
|
38
|
+
* http://rubyforge.org/project/showfiles.php?group_id=50
|
39
|
+
|
40
|
+
Extract the tarball and run
|
41
|
+
|
42
|
+
% ruby install.rb
|
43
|
+
|
44
|
+
from its distribution directory.
|
45
|
+
|
46
|
+
== Usage
|
47
|
+
|
48
|
+
=== Simple Example
|
49
|
+
|
50
|
+
First, you must write a "Rakefile" file which contains the build rules. Here's
|
51
|
+
a simple example:
|
52
|
+
|
53
|
+
task :default => [:test]
|
54
|
+
|
55
|
+
task :test do
|
56
|
+
ruby "test/unittest.rb"
|
57
|
+
end
|
58
|
+
|
59
|
+
This Rakefile has two tasks:
|
60
|
+
|
61
|
+
* A task named "test", which - upon invocation - will run a unit test file in
|
62
|
+
Ruby.
|
63
|
+
* A task named "default". This task does nothing by itself, but it has exactly
|
64
|
+
one dependency, namely the "test" task. Invoking the "default" task will
|
65
|
+
cause Rake to invoke the "test" task as well.
|
66
|
+
|
67
|
+
Running the "rake" command without any options will cause it to run the
|
68
|
+
"default" task in the Rakefile:
|
69
|
+
|
70
|
+
% ls
|
71
|
+
Rakefile test/
|
72
|
+
% rake
|
73
|
+
(in /home/some_user/Projects/rake)
|
74
|
+
ruby test/unittest.rb
|
75
|
+
....unit test output here...
|
76
|
+
|
77
|
+
Type "rake --help" for all available options.
|
78
|
+
|
79
|
+
|
80
|
+
=== More Information
|
81
|
+
|
82
|
+
* For details on Rake's command-line invocation, read
|
83
|
+
doc/command_line_usage.rdoc[http://rake.rubyforge.org/files/doc/command_line_usage_rdoc.html]
|
84
|
+
* For details on writing Rakefiles, see
|
85
|
+
doc/rakefile.rdoc[http://rake.rubyforge.org/files/doc/rakefile_rdoc.html].
|
86
|
+
* For the original announcement of Rake, see
|
87
|
+
doc/rational.rdoc[http://rake.rubyforge.org/files/doc/rational_rdoc.html].
|
88
|
+
* For a glossary of terms, see
|
89
|
+
doc/glossary.rdoc[http://rake.rubyforge.org/files/doc/glossary_rdoc.html].
|
90
|
+
|
91
|
+
== Development
|
92
|
+
|
93
|
+
=== Source Repository
|
94
|
+
|
95
|
+
Rake is currently hosted at github. The github web page is
|
96
|
+
http://github.com/jimweirich/rake. The public git clone URL is
|
97
|
+
|
98
|
+
* git://github.com/jimweirich/rake.git
|
99
|
+
|
100
|
+
=== Running the Rake Test Suite
|
101
|
+
|
102
|
+
If you wish to run the unit and functional tests that come with Rake:
|
103
|
+
|
104
|
+
* Install the 'flexmock' gem
|
105
|
+
* Install the 'session' gem in order to run the functional tests.
|
106
|
+
* CD into the top project directory of rake.
|
107
|
+
* Type one of the following:
|
108
|
+
|
109
|
+
rake # If you have a version of rake installed
|
110
|
+
ruby -Ilib bin/rake # If you do not have a version of rake installed.
|
111
|
+
|
112
|
+
=== Issues and Bug Reports
|
113
|
+
|
114
|
+
Feature requests and bug reports can be made here
|
115
|
+
|
116
|
+
* https://github.com/jimweirich/rake/issues
|
117
|
+
|
118
|
+
Issues and bug reports can also be tracked here:
|
119
|
+
|
120
|
+
* http://www.pivotaltracker.com/projects/28469
|
121
|
+
|
122
|
+
== Online Resources
|
123
|
+
|
124
|
+
=== Rake References
|
125
|
+
|
126
|
+
* Rake Documentation Home: http://docs.rubyrake.org
|
127
|
+
* Rake Project Page: http://rubyforge.org/projects/rake
|
128
|
+
* Rake API Documents: http://rake.rubyforge.org
|
129
|
+
* Rake Source Code Repo: http://github.com/jimweirich/rake
|
130
|
+
* Rake Git Repo Clone URL: git://github.com/jimweirich/rake.git
|
131
|
+
* Rake Issue Tracking: http://www.pivotaltracker.com/projects/28469
|
132
|
+
* Rake Bug Reports: https://github.com/jimweirich/rake/issues
|
133
|
+
|
134
|
+
=== Presentations and Articles about Rake
|
135
|
+
|
136
|
+
* Jim Weirich's 2003 RubyConf presentation:
|
137
|
+
http://onestepback.org/articles/buildingwithrake/
|
138
|
+
* Martin Fowler's article on Rake: http://martinfowler.com/articles/rake.html
|
139
|
+
|
140
|
+
== Other Make Reinvisionings ...
|
141
|
+
|
142
|
+
Rake is a late entry in the make replacement field. Here are links to
|
143
|
+
other projects with similar (and not so similar) goals.
|
144
|
+
|
145
|
+
* http://directory.fsf.org/bras.html -- Bras, one of earliest
|
146
|
+
implementations of "make in a scripting language".
|
147
|
+
* http://www.a-a-p.org -- Make in Python
|
148
|
+
* http://www.aromatic.com/tools/jam.txt -- JAM, Java Automated Make
|
149
|
+
* http://ant.apache.org -- The Ant project
|
150
|
+
* http://ppt.perl.org/commands/make/index.html -- Make from the Perl
|
151
|
+
Power Tools implementation.
|
152
|
+
* http://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
|
153
|
+
* http://make.rubyforge.org -- Rant, another Ruby make tool.
|
154
|
+
|
155
|
+
== Credits
|
156
|
+
|
157
|
+
[<b>Ryan Dlugosz</b>] For the initial conversation that sparked Rake.
|
158
|
+
|
159
|
+
[<b>nobu.nokada@softhome.net</b>] For the initial patch for rule support.
|
160
|
+
|
161
|
+
[<b>Tilman Sauerbeck <tilman@code-monkey.de></b>] For the recursive rule patch.
|
162
|
+
|
163
|
+
== License
|
164
|
+
|
165
|
+
Rake is available under an MIT-style license.
|
166
|
+
|
167
|
+
:include: MIT-LICENSE
|
168
|
+
|
169
|
+
== Support
|
170
|
+
|
171
|
+
The Rake homepage is http://rake.rubyforge.org. You can find the Rake
|
172
|
+
RubyForge page at http://rubyforge.org/projects/rake.
|
173
|
+
|
174
|
+
Feel free to submit commits or feature requests. If you send a patch,
|
175
|
+
remember to update the corresponding unit tests. In fact, I prefer
|
176
|
+
new feature to be submitted in the form of new unit tests.
|
177
|
+
|
178
|
+
For other information, feel free to ask on the ruby-talk mailing list
|
179
|
+
(which is mirrored to comp.lang.ruby) or contact
|
180
|
+
jim dot weirich at gmail.com.
|
181
|
+
|
182
|
+
---
|
183
|
+
|
184
|
+
= Other stuff
|
185
|
+
|
186
|
+
Author:: Jim Weirich <jim.weirich@gmail.com>
|
187
|
+
Requires:: Ruby 1.8.6 or later
|
188
|
+
License:: Copyright 2003-2008 by Jim Weirich.
|
189
|
+
Released under an MIT-style license. See the LICENSE file
|
190
|
+
included in the distribution.
|
191
|
+
|
192
|
+
== Warranty
|
193
|
+
|
194
|
+
This software is provided "as is" and without any express or
|
195
|
+
implied warranties, including, without limitation, the implied
|
196
|
+
warranties of merchantibility and fitness for a particular
|
197
|
+
purpose.
|
@@ -0,0 +1,369 @@
|
|
1
|
+
# Rakefile for rake -*- ruby -*-
|
2
|
+
|
3
|
+
# Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
|
4
|
+
# All rights reserved.
|
5
|
+
|
6
|
+
# This file may be distributed under an MIT style license. See
|
7
|
+
# MIT-LICENSE for details.
|
8
|
+
|
9
|
+
require 'rbconfig'
|
10
|
+
require 'rubygems'
|
11
|
+
|
12
|
+
system_rake = File.join RbConfig::CONFIG['rubylibdir'], 'rake.rb'
|
13
|
+
|
14
|
+
# Use our rake, not the installed rake from system
|
15
|
+
if $".include? system_rake or $".grep(/rake\/name_space\.rb$/).empty? then
|
16
|
+
exec Gem.ruby, '-Ilib', 'bin/rake', *ARGV
|
17
|
+
end
|
18
|
+
|
19
|
+
require 'rubygems/package_task'
|
20
|
+
|
21
|
+
require 'rake/clean'
|
22
|
+
require 'rake/testtask'
|
23
|
+
|
24
|
+
begin
|
25
|
+
gem 'rdoc'
|
26
|
+
require 'rdoc/task'
|
27
|
+
rescue Gem::LoadError
|
28
|
+
end
|
29
|
+
|
30
|
+
CLEAN.include('**/*.o', '*.dot', '**/*.rbc')
|
31
|
+
CLOBBER.include('doc/example/main')
|
32
|
+
CLOBBER.include('TAGS')
|
33
|
+
CLOBBER.include('coverage', 'rcov_aggregate')
|
34
|
+
|
35
|
+
# Prevent OS X from including extended attribute junk in the tar output
|
36
|
+
ENV['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
|
37
|
+
|
38
|
+
def announce(msg='')
|
39
|
+
STDERR.puts msg
|
40
|
+
end
|
41
|
+
|
42
|
+
# Determine the current version of the software
|
43
|
+
|
44
|
+
if `ruby -Ilib ./bin/rake --version` =~ /rake, version ([0-9a-z.]+)$/
|
45
|
+
CURRENT_VERSION = $1
|
46
|
+
else
|
47
|
+
CURRENT_VERSION = "0.0.0"
|
48
|
+
end
|
49
|
+
|
50
|
+
$package_version = CURRENT_VERSION
|
51
|
+
|
52
|
+
SRC_RB = FileList['lib/**/*.rb']
|
53
|
+
|
54
|
+
# The default task is run if rake is given no explicit arguments.
|
55
|
+
|
56
|
+
desc "Default Task"
|
57
|
+
task :default => :test
|
58
|
+
|
59
|
+
# Test Tasks ---------------------------------------------------------
|
60
|
+
|
61
|
+
Rake::TestTask.new do |t|
|
62
|
+
files = FileList['test/helper.rb', 'test/test_*.rb']
|
63
|
+
t.test_files = files
|
64
|
+
t.libs << "."
|
65
|
+
t.warning = true
|
66
|
+
end
|
67
|
+
|
68
|
+
begin
|
69
|
+
require 'rcov/rcovtask'
|
70
|
+
IGNORE_COVERAGE_IN = FileList[
|
71
|
+
'lib/rake/rdoctask.rb',
|
72
|
+
'lib/rake/testtask.rb',
|
73
|
+
'lib/rake/packagetask.rb',
|
74
|
+
'lib/rake/clean.rb',
|
75
|
+
]
|
76
|
+
|
77
|
+
unless File::ALT_SEPARATOR
|
78
|
+
IGNORE_COVERAGE_IN.include(
|
79
|
+
'lib/rake/alt_system.rb',
|
80
|
+
'lib/rake/win32.rb')
|
81
|
+
end
|
82
|
+
|
83
|
+
Rcov::RcovTask.new do |t|
|
84
|
+
t.libs << "test"
|
85
|
+
t.rcov_opts = [
|
86
|
+
'-xRakefile', '-xrakefile', '-xpublish.rf',
|
87
|
+
'-xlib/rake/contrib', '-x/Library', '-x.rvm',
|
88
|
+
'--text-report',
|
89
|
+
'--sort coverage'
|
90
|
+
] + FileList['rakelib/*.rake'].pathmap("-x%p") +
|
91
|
+
IGNORE_COVERAGE_IN.map { |fn| "-x#{fn}" }
|
92
|
+
t.test_files = FileList[
|
93
|
+
'test/lib/*_test.rb',
|
94
|
+
'test/contrib/*_test.rb',
|
95
|
+
'test/functional/*_test.rb'
|
96
|
+
]
|
97
|
+
t.output_dir = 'coverage'
|
98
|
+
t.verbose = true
|
99
|
+
end
|
100
|
+
rescue LoadError
|
101
|
+
task :rcov do
|
102
|
+
puts "RCov is not available"
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# CVS Tasks ----------------------------------------------------------
|
107
|
+
|
108
|
+
# Install rake using the standard install.rb script.
|
109
|
+
|
110
|
+
desc "Install the application"
|
111
|
+
task :install do
|
112
|
+
ruby "install.rb"
|
113
|
+
end
|
114
|
+
|
115
|
+
# Create a task to build the RDOC documentation tree.
|
116
|
+
|
117
|
+
BASE_RDOC_OPTIONS = [
|
118
|
+
'--line-numbers', '--show-hash',
|
119
|
+
'--main', 'README.rdoc',
|
120
|
+
'--title', 'Rake -- Ruby Make'
|
121
|
+
]
|
122
|
+
|
123
|
+
if defined?(RDoc::Task) then
|
124
|
+
RDoc::Task.new do |rdoc|
|
125
|
+
rdoc.rdoc_dir = 'html'
|
126
|
+
rdoc.title = "Rake -- Ruby Make"
|
127
|
+
rdoc.options = BASE_RDOC_OPTIONS.dup
|
128
|
+
|
129
|
+
rdoc.rdoc_files.include('README.rdoc', 'MIT-LICENSE', 'TODO', 'CHANGES')
|
130
|
+
rdoc.rdoc_files.include('lib/**/*.rb', 'doc/**/*.rdoc')
|
131
|
+
rdoc.rdoc_files.exclude(/\bcontrib\b/)
|
132
|
+
end
|
133
|
+
else
|
134
|
+
warn "RDoc 2.4.2+ is required to build documentation"
|
135
|
+
end
|
136
|
+
|
137
|
+
# ====================================================================
|
138
|
+
# Create a task that will package the Rake software into distributable
|
139
|
+
# tar, zip and gem files.
|
140
|
+
|
141
|
+
PKG_FILES = FileList[
|
142
|
+
'.gemtest',
|
143
|
+
'install.rb',
|
144
|
+
'[A-Z]*',
|
145
|
+
'bin/rake',
|
146
|
+
'lib/**/*.rb',
|
147
|
+
'test/**/*.rb',
|
148
|
+
'doc/**/*'
|
149
|
+
]
|
150
|
+
PKG_FILES.exclude('doc/example/*.o')
|
151
|
+
PKG_FILES.exclude('TAGS')
|
152
|
+
PKG_FILES.exclude(%r{doc/example/main$})
|
153
|
+
|
154
|
+
if ! defined?(Gem)
|
155
|
+
puts "Package Target requires RubyGems"
|
156
|
+
else
|
157
|
+
SPEC = Gem::Specification.new do |s|
|
158
|
+
s.name = 'rake'
|
159
|
+
s.version = $package_version
|
160
|
+
s.summary = "Ruby based make-like utility."
|
161
|
+
s.description = <<-EOF.delete "\n"
|
162
|
+
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
163
|
+
specified in standard Ruby syntax.
|
164
|
+
EOF
|
165
|
+
|
166
|
+
s.required_ruby_version = '>= 1.8.6'
|
167
|
+
s.required_rubygems_version = '>= 1.3.2'
|
168
|
+
s.add_development_dependency 'minitest', '~> 2.1'
|
169
|
+
|
170
|
+
s.files = PKG_FILES.to_a
|
171
|
+
|
172
|
+
s.executables = ["rake"]
|
173
|
+
|
174
|
+
s.extra_rdoc_files = FileList[
|
175
|
+
'README.rdoc',
|
176
|
+
'MIT-LICENSE',
|
177
|
+
'TODO',
|
178
|
+
'CHANGES',
|
179
|
+
'doc/**/*.rdoc'
|
180
|
+
]
|
181
|
+
|
182
|
+
s.rdoc_options = BASE_RDOC_OPTIONS
|
183
|
+
|
184
|
+
s.author = "Jim Weirich"
|
185
|
+
s.email = "jim@weirichhouse.org"
|
186
|
+
s.homepage = "http://rake.rubyforge.org"
|
187
|
+
s.rubyforge_project = "rake"
|
188
|
+
end
|
189
|
+
|
190
|
+
Gem::PackageTask.new(SPEC) do |pkg|
|
191
|
+
pkg.need_zip = true
|
192
|
+
pkg.need_tar = true
|
193
|
+
end
|
194
|
+
|
195
|
+
file "rake.gemspec" => ["Rakefile", "lib/rake.rb"] do |t|
|
196
|
+
require 'yaml'
|
197
|
+
open(t.name, "w") { |f| f.puts SPEC.to_yaml }
|
198
|
+
end
|
199
|
+
|
200
|
+
desc "Create a stand-alone gemspec"
|
201
|
+
task :gemspec => "rake.gemspec"
|
202
|
+
end
|
203
|
+
|
204
|
+
# Misc tasks =========================================================
|
205
|
+
|
206
|
+
def count_lines(filename)
|
207
|
+
lines = 0
|
208
|
+
codelines = 0
|
209
|
+
open(filename) { |f|
|
210
|
+
f.each do |line|
|
211
|
+
lines += 1
|
212
|
+
next if line =~ /^\s*$/
|
213
|
+
next if line =~ /^\s*#/
|
214
|
+
codelines += 1
|
215
|
+
end
|
216
|
+
}
|
217
|
+
[lines, codelines]
|
218
|
+
end
|
219
|
+
|
220
|
+
def show_line(msg, lines, loc)
|
221
|
+
printf "%6s %6s %s\n", lines.to_s, loc.to_s, msg
|
222
|
+
end
|
223
|
+
|
224
|
+
desc "Count lines in the main rake file"
|
225
|
+
task :lines do
|
226
|
+
total_lines = 0
|
227
|
+
total_code = 0
|
228
|
+
show_line("File Name", "LINES", "LOC")
|
229
|
+
SRC_RB.each do |fn|
|
230
|
+
lines, codelines = count_lines(fn)
|
231
|
+
show_line(fn, lines, codelines)
|
232
|
+
total_lines += lines
|
233
|
+
total_code += codelines
|
234
|
+
end
|
235
|
+
show_line("TOTAL", total_lines, total_code)
|
236
|
+
end
|
237
|
+
|
238
|
+
# Define an optional publish target in an external file. If the
|
239
|
+
# publish.rf file is not found, the publish targets won't be defined.
|
240
|
+
|
241
|
+
load "publish.rf" if File.exist? "publish.rf"
|
242
|
+
|
243
|
+
# Support Tasks ------------------------------------------------------
|
244
|
+
|
245
|
+
RUBY_FILES = FileList['**/*.rb'].exclude('pkg')
|
246
|
+
|
247
|
+
desc "Look for TODO and FIXME tags in the code"
|
248
|
+
task :todo do
|
249
|
+
RUBY_FILES.egrep(/#.*(FIXME|TODO|TBD)/)
|
250
|
+
end
|
251
|
+
|
252
|
+
desc "List all ruby files"
|
253
|
+
task :rubyfiles do
|
254
|
+
puts RUBY_FILES
|
255
|
+
puts FileList['bin/*'].exclude('bin/*.rb')
|
256
|
+
end
|
257
|
+
task :rf => :rubyfiles
|
258
|
+
|
259
|
+
# --------------------------------------------------------------------
|
260
|
+
# Creating a release
|
261
|
+
|
262
|
+
def plugin(plugin_name)
|
263
|
+
require "rake/plugins/#{plugin_name}"
|
264
|
+
end
|
265
|
+
|
266
|
+
task :noop
|
267
|
+
#plugin "release_manager"
|
268
|
+
|
269
|
+
desc "Make a new release"
|
270
|
+
task :release, [:rel, :reuse, :reltest] => [
|
271
|
+
:prerelease,
|
272
|
+
:clobber,
|
273
|
+
:test,
|
274
|
+
:update_version,
|
275
|
+
:package,
|
276
|
+
:tag
|
277
|
+
] do
|
278
|
+
announce
|
279
|
+
announce "**************************************************************"
|
280
|
+
announce "* Release #{$package_version} Complete."
|
281
|
+
announce "* Packages ready to upload."
|
282
|
+
announce "**************************************************************"
|
283
|
+
announce
|
284
|
+
end
|
285
|
+
|
286
|
+
# Validate that everything is ready to go for a release.
|
287
|
+
task :prerelease, :rel, :reuse, :reltest do |t, args|
|
288
|
+
$package_version = args.rel
|
289
|
+
announce
|
290
|
+
announce "**************************************************************"
|
291
|
+
announce "* Making RubyGem Release #{$package_version}"
|
292
|
+
announce "* (current version #{CURRENT_VERSION})"
|
293
|
+
announce "**************************************************************"
|
294
|
+
announce
|
295
|
+
|
296
|
+
# Is a release number supplied?
|
297
|
+
unless args.rel
|
298
|
+
fail "Usage: rake release[X.Y.Z] [REUSE=tag_suffix]"
|
299
|
+
end
|
300
|
+
|
301
|
+
# Is the release different than the current release.
|
302
|
+
# (or is REUSE set?)
|
303
|
+
if $package_version == CURRENT_VERSION && ! args.reuse
|
304
|
+
fail "Current version is #{$package_version}, must specify REUSE=tag_suffix to reuse version"
|
305
|
+
end
|
306
|
+
|
307
|
+
# Are all source files checked in?
|
308
|
+
if args.reltest
|
309
|
+
announce "Release Task Testing, skipping checked-in file test"
|
310
|
+
else
|
311
|
+
announce "Checking for unchecked-in files..."
|
312
|
+
data = `svn st`
|
313
|
+
unless data =~ /^$/
|
314
|
+
abort "svn status is not clean ... do you have unchecked-in files?"
|
315
|
+
end
|
316
|
+
announce "No outstanding checkins found ... OK"
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
task :update_version, [:rel, :reuse, :reltest] => [:prerelease] do |t, args|
|
321
|
+
if args.rel == CURRENT_VERSION
|
322
|
+
announce "No version change ... skipping version update"
|
323
|
+
else
|
324
|
+
announce "Updating Rake version to #{args.rel}"
|
325
|
+
open("lib/rake.rb") do |rakein|
|
326
|
+
open("lib/rake.rb.new", "w") do |rakeout|
|
327
|
+
rakein.each do |line|
|
328
|
+
if line =~ /^RAKEVERSION\s*=\s*/
|
329
|
+
rakeout.puts "RAKEVERSION = '#{args.rel}'"
|
330
|
+
else
|
331
|
+
rakeout.puts line
|
332
|
+
end
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
336
|
+
mv "lib/rake.rb.new", "lib/rake.rb"
|
337
|
+
if args.reltest
|
338
|
+
announce "Release Task Testing, skipping commiting of new version"
|
339
|
+
else
|
340
|
+
sh %{svn commit -m "Updated to version #{args.rel}" lib/rake.rb} # "
|
341
|
+
end
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
desc "Tag all the CVS files with the latest release number (REL=x.y.z)"
|
346
|
+
task :tag, [:rel, :reuse, :reltest] => [:prerelease] do |t, args|
|
347
|
+
reltag = "REL_#{args.rel.gsub(/\./, '_')}"
|
348
|
+
reltag << args.reuse.gsub(/\./, '_') if args.reuse
|
349
|
+
announce "Tagging Repository with [#{reltag}]"
|
350
|
+
if args.reltest
|
351
|
+
announce "Release Task Testing, skipping CVS tagging"
|
352
|
+
else
|
353
|
+
sh %{svn copy svn+ssh://rubyforge.org/var/svn/rake/trunk svn+ssh://rubyforge.org/var/svn/rake/tags/#{reltag} -m 'Commiting release #{reltag}'} ###'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
# Require experimental XForge/Metaproject support.
|
358
|
+
|
359
|
+
load 'xforge.rf' if File.exist?('xforge.rf')
|
360
|
+
|
361
|
+
desc "Where is the current directory. This task displays\nthe current rake directory"
|
362
|
+
task :where_am_i do
|
363
|
+
puts Rake.original_dir
|
364
|
+
end
|
365
|
+
|
366
|
+
task :failure => :really_fail
|
367
|
+
task :really_fail do
|
368
|
+
fail "oops"
|
369
|
+
end
|