fragrant 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +0 -1
- data/Gemfile.lock +23 -25
- data/vendor/bundle/ruby/1.9.1/bin/autospec +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/edit_json.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/erubis +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/fragrant +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/htmldiff +25 -0
- data/vendor/bundle/ruby/1.9.1/bin/ldiff +25 -0
- data/vendor/bundle/ruby/1.9.1/bin/minitar +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/prettify_json.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/puma +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/pumactl +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/rackup +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/rake +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/rspec +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/uuid +23 -0
- data/vendor/bundle/ruby/1.9.1/bin/vagrant +23 -0
- data/vendor/bundle/ruby/1.9.1/cache/activesupport-3.2.8.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/archive-tar-minitar-0.5.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/backports-2.6.4.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/childprocess-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/diff-lcs-1.1.3.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/erubis-2.7.0.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/ffi-1.1.5.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/grape-0.2.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/hashie-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/i18n-0.6.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/json-1.5.4.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/log4r-1.1.10.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/macaddr-1.6.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/multi_json-1.3.6.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/multi_xml-0.5.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/net-scp-1.0.4.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/net-ssh-2.2.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/puma-1.6.3.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rack-1.4.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rack-accept-0.4.5.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rack-mount-0.8.3.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rack-test-0.6.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rake-0.9.2.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rspec-2.11.0.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rspec-core-2.11.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rspec-expectations-2.11.3.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rspec-mocks-2.11.3.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/systemu-2.5.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/uuid-2.3.5.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/vagrant-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/vegas-0.1.11.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/virtus-0.5.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/CHANGELOG.md +1718 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/README.rdoc +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/all.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/backtrace_cleaner.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/base64.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/basic_object.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/benchmarkable.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/buffered_logger.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/file_store.rb +178 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/mem_cache_store.rb +206 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/memory_store.rb +159 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/null_store.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb +169 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache.rb +638 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb +626 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/concern.rb +131 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/configurable.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/access.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/conversions.rb +164 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/grouping.rb +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/random_access.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/uniq_by.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/array.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/benchmark.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/class/attribute_accessors.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/class/subclasses.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date/calculations.rb +276 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date/conversions.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date/freeze.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date/zones.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date_time/calculations.rb +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date_time/conversions.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/date_time/zones.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/enumerable.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/exception.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/file/atomic.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/file/path.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/file.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/float/rounding.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/float.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/conversions.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/deep_dup.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/deep_merge.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/diff.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/except.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/keys.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash/slice.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/hash.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/integer/inflections.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/integer/time.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/io.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/kernel/debugger.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/kernel/reporting.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/load_error.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/logger.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/aliasing.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/anonymous.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/attr_internal.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/delegation.rb +153 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/deprecation.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/introspection.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/method_names.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/qualified_const.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/remove_method.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module/synchronization.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/name_error.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/numeric/time.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/numeric.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/blank.rb +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/duplicable.rb +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/inclusion.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/instance_variables.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/to_json.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/to_param.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/to_query.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/try.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object/with_options.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/object.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/proc.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/process/daemon.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/process.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/range/blockless_step.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/range/conversions.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/range/cover.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/range/include_range.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/range.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/rexml.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/access.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/conversions.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/encoding.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/filters.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/inflections.rb +202 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/interpolation.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/multibyte.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/output_safety.rb +186 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/strip.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/xchar.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/time/calculations.rb +360 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/time/conversions.rb +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/time/marshal.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/time/zones.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/uri.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies/autoload.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb +703 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/deprecation/behaviors.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/deprecation/method_wrappers.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/deprecation/reporting.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/deprecation.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/descendants_tracker.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/duration.rb +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/file_update_checker.rb +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/file_watcher.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/gzip.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/hash_with_indifferent_access.rb +178 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/i18n.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/i18n_railtie.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflections.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/inflections.rb +174 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb +321 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/transliterate.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/json/decoding.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb +284 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/json/variable.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/json.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/locale/en.yml +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/log_subscriber/test_helper.rb +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/log_subscriber.rb +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/memoizable.rb +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/message_encryptor.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/message_verifier.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/multibyte/chars.rb +476 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/multibyte/exceptions.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/multibyte/unicode.rb +393 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/multibyte/utils.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/multibyte.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/notifications/fanout.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/notifications.rb +154 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/ordered_hash.rb +222 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/ordered_options.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/railtie.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/rescuable.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/ruby/shim.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/string_inquirer.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/tagged_logging.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/test_case.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/assertions.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/declarative.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/deprecation.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/isolation.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/mochaing.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/pending.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/performance/jruby.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/performance/rubinius.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/performance/ruby/mri.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/performance/ruby.rb +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/performance.rb +317 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/testing/setup_and_teardown.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/time/autoload.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/time.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/time_with_zone.rb +354 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/values/time_zone.rb +397 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/whiny_nil.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini/jdom.rb +175 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini/libxmlsax.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini/nokogiri.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini/nokogirisax.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/xml_mini.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/ChangeLog +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/Install +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/README +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/Rakefile +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/bin/minitar +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar/command.rb +814 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb +979 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/tests/tc_tar.rb +614 -0
- data/vendor/bundle/ruby/1.9.1/gems/archive-tar-minitar-0.5.2/tests/testall.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/CHANGELOG.rdoc +325 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/README.rdoc +272 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/Rakefile +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/VERSION.yml +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/backports.gemspec +134 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/argf.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/array.rb +208 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/binding.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/dir.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/enumerable.rb +254 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/enumerator.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/env.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/fixnum.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/float.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/gc.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/hash.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/integer.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/io.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/kernel.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/method.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/module.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/numeric.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/object_space.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/proc.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/process.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/range.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/regexp.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/string.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/struct.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7/symbol.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.7.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.8.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.8.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/array.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/dir.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/enumerable.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/enumerator.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/env.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/file.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/float.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/hash.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/integer.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/io.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/kernel.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/math.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/numeric.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/proc.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/range.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/regexp.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/stdlib/prime.rb +495 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/stdlib.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/string.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1/symbol.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.1.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/array.rb +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/complex.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/dir.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/enumerable.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/float.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/hash.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/kernel.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/match_data.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/random/MT19937.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/random/bits_and_bytes.rb +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/random/implementation.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/random/load.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/random.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/stdlib/matrix/eigenvalue_decomposition.rb +886 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/stdlib/matrix/lup_decomposition.rb +218 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/stdlib/matrix.rb +1870 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/stdlib/set.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2/stdlib.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.2.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.3/file.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.3/io.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.3/string.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.3.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/1.9.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/basic_object.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/force/array_map.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/force/enumerable_map.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/force/hash_select.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/force/string_length.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/force/string_size.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails/array.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails/enumerable.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails/hash.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails/kernel.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails/module.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails/string.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/rails.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports/tools.rb +329 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/lib/backports.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/backports-2.6.4/test/README +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/Gemfile +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/README.md +71 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/childprocess.gemspec +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/abstract_io.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/abstract_process.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/errors.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/jruby/io.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/jruby/process.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/jruby/pump.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/jruby.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/tools/generator.rb +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/fork_exec_process.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/io.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/lib.rb +181 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/platform/i386-linux.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/platform/i386-solaris.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/platform/x86_64-linux.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/platform/x86_64-macosx.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/posix_spawn_process.rb +140 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix/process.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/unix.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows/handle.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows/io.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows/lib.rb +363 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows/process.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows/process_builder.rb +179 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows/structs.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess/windows.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/lib/childprocess.rb +177 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/abstract_io_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/childprocess_spec.rb +192 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/io_spec.rb +206 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/jruby_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/pid_behavior.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/spec_helper.rb +185 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/unix_spec.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/childprocess-0.3.6/spec/windows_spec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/History.rdoc +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/License.rdoc +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/Manifest.txt +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/README.rdoc +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/Rakefile +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/diff-lcs.gemspec +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/docs/COPYING.txt +340 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/docs/artistic.html +289 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/array.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/block.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/change.rb +169 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/htmldiff.rb +151 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/hunk.rb +242 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/ldiff.rb +210 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs/string.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff/lcs.rb +1105 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/lib/diff-lcs.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/diff_spec.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/lcs_spec.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/patch_spec.rb +390 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/sdiff_spec.rb +204 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/spec_helper.rb +284 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/traverse_balanced_spec.rb +286 -0
- data/vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/spec/traverse_sequences_spec.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/README.txt +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/Makefile +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/bin/erubis +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc/docstyle.css +209 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/created.rid +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/index.html +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/setup.rb +1331 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-engines.rb +425 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-main.rb +752 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/test.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/testutil.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/History.txt +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/LICENSE +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/README.rdoc +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/Rakefile +196 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/AbstractMemory.c +1028 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/AbstractMemory.h +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ArrayType.c +149 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ArrayType.h +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Buffer.c +356 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Call.c +458 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Call.h +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ClosurePool.c +275 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ClosurePool.h +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/DataConverter.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/DataConverter.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/DynamicLibrary.c +315 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/DynamicLibrary.h +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Ffi_c.iml +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Function.c +965 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Function.h +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/FunctionInfo.c +236 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/LastError.c +176 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/LastError.h +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/LongDouble.c +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/LongDouble.h +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Makefile +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MappedType.c +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MappedType.h +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MemoryPointer.c +167 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MemoryPointer.h +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MethodHandle.c +349 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MethodHandle.h +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Platform.c +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Platform.h +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Pointer.c +490 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Pointer.h +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Struct.c +704 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Struct.h +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructByReference.c +158 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructByReference.h +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructByReference.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructByValue.c +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructByValue.h +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructLayout.c +555 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Thread.c +326 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Thread.h +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Type.c +385 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Type.h +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Types.c +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Types.h +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Variadic.c +264 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/compat.h +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/extconf.h +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/extconf.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ffi.c +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/ffi_c.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/ChangeLog +4600 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/Makefile.am +196 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/Makefile.in +1820 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/Makefile.vc +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/Makefile.vc64 +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/README +342 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/acinclude.m4 +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/aclocal.m4 +1873 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/build-ios.sh +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/compile +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/config.guess +1501 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/config.sub +1705 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/configure +17191 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/configure.ac +496 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/configure.host +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/depcomp +630 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/doc/libffi.info +593 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/doc/libffi.texi +600 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/doc/stamp-vti +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/fficonfig.h.in +199 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/fficonfig.hw +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/include/Makefile.in +487 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/include/ffi.h.in +427 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/include/ffi_common.h +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/install-sh +520 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/libffi.pc.in +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/ltmain.sh +9636 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/libtool.m4 +7831 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ltoptions.m4 +369 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ltsugar.m4 +123 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/ltversion.m4 +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/m4/lt~obsolete.m4 +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/man/Makefile.in +466 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/man/ffi.3 +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/man/ffi_prep_cif.3 +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/mdate-sh +201 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/missing +376 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/msvcc.sh +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/alpha/ffi.c +284 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/alpha/ffitarget.h +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/alpha/osf.S +387 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/arm/ffi.c +728 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/arm/ffitarget.h +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/arm/sysv.S +497 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/avr32/ffitarget.h +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/closures.c +615 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/cris/ffi.c +383 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/cris/ffitarget.h +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/debug.c +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/dlmalloc.c +5161 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/frv/ffitarget.h +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/ia64/ffi.c +582 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/ia64/ffitarget.h +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/ia64/unix.S +560 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/java_raw_api.c +356 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/m32r/ffitarget.h +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/m68k/ffi.c +288 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/m68k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/m68k/sysv.S +270 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/mips/ffi.c +1036 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/mips/ffitarget.h +242 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/mips/n32.S +591 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/mips/o32.S +381 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/pa/ffitarget.h +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/pa/linux.S +357 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/aix.S +328 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/aix_closure.S +445 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/darwin.S +383 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +575 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/ffi.c +1448 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1359 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/ffitarget.h +139 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/linux64.S +187 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +236 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +327 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/powerpc/sysv.S +219 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/prep_cif.c +177 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/raw_api.c +254 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/s390/ffi.c +780 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/s390/ffitarget.h +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/s390/sysv.S +434 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sh/ffi.c +716 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sh/ffitarget.h +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sh64/ffi.c +468 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sh64/ffitarget.h +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sparc/ffi.c +669 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sparc/ffitarget.h +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sparc/v8.S +313 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/sparc/v9.S +307 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/types.c +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/darwin.S +444 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/darwin64.S +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/ffi.c +644 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/ffi64.c +635 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/ffitarget.h +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/freebsd.S +458 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/sysv.S +468 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/unix64.S +426 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/win32.S +1065 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/src/x86/win64.S +468 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/Makefile.am +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/Makefile.in +500 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +300 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +263 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +134 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +140 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +153 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +342 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/many.c +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +124 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi/texinfo.tex +7210 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi.bsd.mk +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi.darwin.mk +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi.gnu.mk +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi.mk +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/mkmf.log +203 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/rbffi.h +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/rbffi_endian.h +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/ext/ffi_c/win32/stdint.h +199 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/gen/Rakefile +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/gen/log +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/Lib.iml +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/autopointer.rb +183 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/enum.rb +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/errno.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/ffi.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/io.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/library.rb +485 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/managedstruct.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/arm-linux/types.conf +104 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-openbsd/types.conf +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i386-windows/types.conf +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/i486-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/x86_64-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/x86_64-freebsd/types.conf +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/x86_64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/x86_64-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/x86_64-openbsd/types.conf +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/platform.rb +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/pointer.rb +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/struct.rb +283 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/struct_layout_builder.rb +162 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/tools/const_generator.rb +229 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/tools/generator.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/tools/generator_task.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/tools/struct_generator.rb +194 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/tools/types_generator.rb +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/types.rb +177 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/union.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi/variadic.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi_c.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/Ffi.iml +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/async_callback_spec.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/bool_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/buffer_spec.rb +215 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/callback_spec.rb +668 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/custom_param_type.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/custom_type_spec.rb +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/dup_spec.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/enum_spec.rb +227 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/errno_spec.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/ffi_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/function_spec.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/library_spec.rb +208 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/long_double.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/managed_struct_spec.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/number_spec.rb +247 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/pointer_spec.rb +214 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/rbx/attach_function_spec.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/rbx/memory_pointer_spec.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/rbx/spec_helper.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/rbx/struct_spec.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/spec_helper.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/string_spec.rb +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/strptr_spec.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/struct_callback_spec.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/struct_initialize_spec.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/struct_packed_spec.rb +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/struct_spec.rb +719 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/typedef_spec.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/union_spec.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/ffi/variadic_spec.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/spec/spec.opts +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/ann.rake +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/extension.rake +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/gem.rake +199 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/git.rake +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/notes.rake +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/post_load.rake +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/rdoc.rake +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/rubyforge.rake +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/setup.rb +301 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/spec.rake +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/svn.rake +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/test.rake +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/tasks/yard.rake +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/CHANGELOG.markdown +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/Gemfile +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/Guardfile +15 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/LICENSE +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/README.markdown +932 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/Rakefile +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/grape.gemspec +38 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/api.rb +50 -4
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/cookies.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/endpoint.rb +27 -1
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/entity.rb +4 -1
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/exceptions/base.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/exceptions/validation_error.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/auth/basic.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/auth/digest.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/auth/oauth2.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/base.rb +9 -8
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/error.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/filter.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/formatter.rb +6 -1
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/prefixer.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/lib/grape/middleware/versioner/header.rb +118 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/versioner/param.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/versioner/path.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/middleware/versioner.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/route.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/util/deep_merge.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/util/hash_stack.rb +12 -3
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/validations/coerce.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/validations/presence.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/validations/regexp.rb +0 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape/validations.rb +14 -4
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/lib/grape/version.rb +3 -0
- data/vendor/{grape → bundle/ruby/1.9.1/gems/grape-0.2.2}/lib/grape.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/api_spec.rb +1341 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/endpoint_spec.rb +482 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/entity_spec.rb +579 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/auth/basic_spec.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/auth/digest_spec.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/auth/oauth2_spec.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/base_spec.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/error_spec.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/exception_spec.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/formatter_spec.rb +199 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/prefixer_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/versioner/header_spec.rb +219 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/versioner/param_spec.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/versioner/path_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/middleware/versioner_spec.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/util/hash_stack_spec.rb +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/validations/coerce_spec.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/validations/presence_spec.rb +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/validations/regexp_spec.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/grape/validations_spec.rb +185 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/shared/versioning_examples.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/spec_helper.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/support/basic_auth_encode_helpers.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/grape-0.2.2/spec/support/versioned_helpers.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/Gemfile +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/Gemfile.lock +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/Guardfile +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/README.rdoc +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/Rakefile +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/hashie.gemspec +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/clash.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/dash.rb +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/hash.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/hash_extensions.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/mash.rb +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/trash.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/lib/hashie.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/hashie/clash_spec.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/hashie/dash_spec.rb +215 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/hashie/hash_spec.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/hashie/mash_spec.rb +281 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/hashie/trash_spec.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/spec.opts +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/hashie-1.2.0/spec/spec_helper.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/CHANGELOG.textile +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/README.textile +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.no-rails +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.no-rails.lock +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x.lock +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-3.x +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-3.x.lock +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb +181 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/cache.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/chain.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/config.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/exceptions.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/interpolate/ruby.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/basics.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/date.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/date_time.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/time.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/lookup.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n.rb +332 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/all.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/chain_test.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/key_value_test.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/memoize_test.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/override_test.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/api/simple_test.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/cache_test.rb +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/cascade_test.rb +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/chain_test.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/exceptions_test.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/fallbacks_test.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/interpolation_compiler_test.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/key_value_test.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/metadata_test.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/pluralization_test.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/simple_test.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/backend/transliterator_test.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/core_ext/hash_test.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/gettext/api_test.rb +206 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/gettext/backend_test.rb +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/i18n/exceptions_test.rb +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/i18n/interpolate_test.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/i18n/load_path_test.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/i18n_test.rb +254 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/locale/fallbacks_test.rb +136 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/test_helper.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/CHANGES +205 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/COPYING +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/COPYING-json-jruby +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/GPL +340 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/Gemfile +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/README-json-jruby.markdown +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/README.rdoc +358 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/Rakefile +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/TODO +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/VERSION +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/generator2_benchmark.rb +222 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/generator_benchmark.rb +224 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/ohai.json +1216 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/ohai.ruby +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/parser2_benchmark.rb +251 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/benchmarks/parser_benchmark.rb +259 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/bin/edit_json.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/bin/prettify_json.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/data/example.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/data/index.html +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/data/prototype.js +4184 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/Makefile +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/extconf.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/generator.c +1459 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/generator.h +200 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/generator/mkmf.log +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/Makefile +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/extconf.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/mkmf.log +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/parser.c +2190 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/parser.h +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/ext/json/ext/parser/parser.rl +910 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/install.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/lib/bytelist-1.0.6.jar +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/lib/jcodings.jar +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/ByteListTranscoder.java +167 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/Generator.java +437 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/GeneratorMethods.java +232 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/GeneratorService.java +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/GeneratorState.java +501 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/OptionsReader.java +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/Parser.java +2585 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/Parser.rl +913 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/ParserService.java +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/RuntimeInfo.java +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/StringEncoder.java +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/java/src/json/ext/Utils.java +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/json-java.gemspec +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/json.gemspec +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/json_pure.gemspec +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/Array.xpm +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/FalseClass.xpm +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/Hash.xpm +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/Key.xpm +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/NilClass.xpm +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/Numeric.xpm +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/String.xpm +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/TrueClass.xpm +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/add/complex.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/add/core.rb +243 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/add/rational.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/common.rb +435 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/editor.rb +1369 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/json.xpm +1499 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/pure/generator.rb +457 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/pure/parser.rb +354 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json/version.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/lib/json.rb +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail1.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/setup_variant.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json.rb +460 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json_addition.rb +174 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json_encoding.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json_fixtures.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json_generate.rb +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json_string_matching.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tests/test_json_unicode.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tools/fuzz.rb +139 -0
- data/vendor/bundle/ruby/1.9.1/gems/json-1.5.4/tools/server.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/contact.html +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/contribute.html +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/index.html +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/license.html +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/content/manual.html +449 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/dev/README.developers +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/dev/checklist +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/dev/things-to-do +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/images/log4r-logo.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/images/logo2.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/log4r.css +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/rdoc-log4r.css +696 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/doc/templates/main.html +147 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/README +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/ancestors.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/chainsaw_settings.xml +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/customlevels.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/filelog.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/fileroll.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/gmail.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/gmail.yaml +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/log4r_yaml.yaml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/logclient.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/logserver.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/moderate.xml +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/moderateconfig.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/myformatter.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/outofthebox.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/rdoc-gen +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/rrconfig.xml +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/rrsetup.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/simpleconfig.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/syslogcustom.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/xmlconfig.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/examples/yaml.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/GDC.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/MDC.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/NDC.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/base.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/config.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/configurator.rb +224 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/formatter/formatter.rb +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/formatter/log4jxmlformatter.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/formatter/patternformatter.rb +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/lib/drbloader.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/lib/xmlloader.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/logevent.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/logger.rb +199 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/loggerfactory.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/logserver.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/consoleoutputters.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/datefileoutputter.rb +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/emailoutputter.rb +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/fileoutputter.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/iooutputter.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/outputter.rb +134 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/outputterfactory.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/remoteoutputter.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/rollingfileoutputter.rb +234 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/scribeoutputter.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/staticoutputter.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/syslogoutputter.rb +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/outputter/udpoutputter.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/GDC +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/MDC +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/NDC +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/configurator +243 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/emailoutputter +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/formatter +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/log4jxmlformatter +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/log4r +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/logger +175 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/logserver +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/outputter +108 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/patternformatter +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/scribeoutputter +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/syslogoutputter +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/win32eventoutputter +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/rdoc/yamlconfigurator +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/repository.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/staticlogger.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/version.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r/yamlconfigurator.rb +198 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/lib/log4r.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/README +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testGDC.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testMDC.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testNDC.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/test_helper.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testall.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testbase.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testchainsaw.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testconf.xml +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testcustom.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testformatter.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testlogger.rb +200 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testoutputter.rb +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testpatternformatter.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testthreads.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testxmlconf.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testyaml.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testyaml_arrays.yaml +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/log4r-1.1.10/tests/testyaml_injection.yaml +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/Gemfile +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/LICENSE +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/README +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/Rakefile +390 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/lib/macaddr.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/macaddr.gemspec +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/rvmrc.example +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/test/data/noifconfig +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/test/data/osx +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/test/mac_test.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/macaddr-1.6.1/test/testing.rb +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/Gemfile +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/LICENSE.md +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/README.md +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/Rakefile +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/json_common.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/json_gem.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/json_pure.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/nsjsonserialization.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/oj.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/ok_json.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/adapters/yajl.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/vendor/okjson.rb +602 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/lib/multi_json.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/multi_json.gemspec +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/spec/adapter_shared_example.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/spec/helper.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_json-1.3.6/spec/multi_json_spec.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/Gemfile +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/README.md +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/Rakefile +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml/parsers/libxml.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml/parsers/libxml2_parser.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml/parsers/nokogiri.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml/parsers/ox.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml/parsers/rexml.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/lib/multi_xml.rb +274 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/multi_xml.gemspec +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/spec/helper.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/spec/multi_xml_spec.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/spec/parser_shared_example.rb +677 -0
- data/vendor/bundle/ruby/1.9.1/gems/multi_xml-0.5.1/spec/speed.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/CHANGELOG.rdoc +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/Manifest +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/README.rdoc +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/Rakefile +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/net/scp/download.rb +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/net/scp/errors.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/net/scp/upload.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/net/scp/version.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/net/scp.rb +432 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/uri/open-scp.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib/uri/scp.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/net-scp.gemspec +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/setup.rb +1331 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/test/common.rb +153 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/test/test_all.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/test/test_download.rb +170 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/test/test_scp.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-scp-1.0.4/test/test_upload.rb +269 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/CHANGELOG.rdoc +258 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/Manifest +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/README.rdoc +184 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/Rakefile +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/Rudyfile +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/THANKS.rdoc +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/agent.rb +179 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/constants.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/key_manager.rb +253 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/methods/abstract.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/methods/hostbased.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/methods/keyboard_interactive.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/methods/password.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/methods/publickey.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/pageant.rb +183 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/authentication/session.rb +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/buffer.rb +340 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/buffered_io.rb +198 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/config.rb +207 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/connection/channel.rb +630 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/connection/constants.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/connection/session.rb +597 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/connection/term.rb +178 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/errors.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/key_factory.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/known_hosts.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/loggable.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/packet.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/prompt.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/proxy/command.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/proxy/errors.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/proxy/http.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/proxy/socks4.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/proxy/socks5.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/ruby_compat.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/service/forward.rb +298 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/channel.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/extensions.rb +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/kex.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/local_packet.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/packet.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/remote_packet.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/script.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test/socket.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/test.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/algorithms.rb +384 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/cipher_factory.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/constants.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac/abstract.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac/md5.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac/md5_96.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac/none.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac/sha1.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac/sha1_96.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/hmac.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/identity_cipher.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb +208 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/kex.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/openssl.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/packet_stream.rb +235 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/server_version.rb +71 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/session.rb +278 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/transport/state.rb +206 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/verifiers/lenient.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/verifiers/null.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/verifiers/strict.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh/version.rb +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/lib/net/ssh.rb +223 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/net-ssh.gemspec +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/setup.rb +1585 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/support/arcfour_check.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/support/ssh_tunnel_bug.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/README.txt +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/methods/common.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/methods/test_abstract.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/methods/test_hostbased.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/methods/test_keyboard_interactive.rb +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/methods/test_password.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/methods/test_publickey.rb +148 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/test_agent.rb +205 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/test_key_manager.rb +164 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/authentication/test_session.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/common.rb +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/eqsign +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/exact_match +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/host_plus +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/multihost +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/nohost +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/numeric_host +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/configs/wild_cards +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/connection/test_channel.rb +467 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/connection/test_session.rb +488 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/manual/test_forward.rb +223 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/test_all.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/test_buffer.rb +336 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/test_buffered_io.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/test_config.rb +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/test_key_factory.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/hmac/test_md5.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/hmac/test_md5_96.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/hmac/test_none.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/hmac/test_sha1.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/hmac/test_sha1_96.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/kex/test_diffie_hellman_group1_sha1.rb +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_algorithms.rb +302 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_cipher_factory.rb +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_hmac.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_identity_cipher.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_packet_stream.rb +448 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_server_version.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_session.rb +315 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-ssh-2.2.2/test/transport/test_state.rb +179 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/COPYING +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/Gemfile +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/Gemfile.lock +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/History.txt +135 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/LICENSE +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/Manifest.txt +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/README.md +131 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/Rakefile +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/TODO +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/bin/puma +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/bin/pumactl +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/CA/cacert.pem +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/CA/newcerts/cert_1.pem +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/CA/newcerts/cert_2.pem +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/CA/private/cakeypair.pem +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/CA/serial +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/config.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/puma/cert_puma.pem +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/puma/csr_puma.pem +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/puma/puma_keypair.pem +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/examples/qc_config.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/Makefile +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/PumaHttp11Service.java +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/ext_help.h +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/extconf.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/http11_parser.c +1225 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/http11_parser.h +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/http11_parser.java.rl +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/http11_parser.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/http11_parser.rl +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/http11_parser_common.rl +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/org/jruby/puma/Http11.java +225 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/org/jruby/puma/Http11Parser.java +488 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/puma_http11.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/puma_http11.c +485 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/ext/puma_http11/puma_http11.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/app/status.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/cli.rb +473 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/client.rb +233 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/compat.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/configuration.rb +218 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/const.rb +140 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/control_cli.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/detect.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/events.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/jruby_restart.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/null_io.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/puma_http11.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/rack_patch.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/reactor.rb +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/server.rb +641 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma/thread_pool.rb +187 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/puma.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/lib/rack/handler/puma.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/puma.gemspec +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/ab_rs.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/config/app.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/hello-post.ru +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/hello.ru +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/lobster.ru +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/mime.yaml +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/slow.ru +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_app_status.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_cli.rb +171 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_config.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_http10.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_http11.rb +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_integration.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_null_io.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_persistent.rb +238 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_puma_server.rb +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_rack_handler.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_rack_server.rb +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_thread_pool.rb +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_unix_socket.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/test_ws.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/test/testhelp.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/puma-1.6.3/tools/trickletest.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/COPYING +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/KNOWN-ISSUES +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/README.rdoc +498 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/Rakefile +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/SPEC +171 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/bin/rackup +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/contrib/rack_logo.svg +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/example/lobster.ru +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/example/protectedlobster.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/example/protectedlobster.ru +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/abstract/request.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/digest/params.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/backports/uri/common_18.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/body_proxy.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/cascade.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/chunked.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/commonlogger.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/config.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/content_length.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/deflater.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/directory.rb +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/file.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/cgi.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/fastcgi.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/mongrel.rb +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/scgi.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/thin.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/webrick.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/head.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lint.rb +567 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lobster.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/logger.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/mime.rb +648 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/mock.rb +189 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/multipart/parser.rb +167 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/multipart/uploaded_file.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/multipart.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/recursive.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/reloader.rb +109 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/request.rb +341 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/response.rb +155 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/rewindable_input.rb +104 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/sendfile.rb +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb +323 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb +372 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/cookie.rb +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/pool.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/showexceptions.rb +378 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/showstatus.rb +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/static.rb +71 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/utils.rb +547 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/rack.gemspec +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/builder/anything.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/builder/comment.ru +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/builder/end.ru +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/builder/options.ru +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/test +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/test.fcgi +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/cgi/test.ru +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/gemloader.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/bad_robots +259 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/binary +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/empty +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/file1.txt +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/ie +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/mixed_files +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/nested +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/none +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/semicolon +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/text +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/multipart/webkit +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/rackup/config.ru +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_auth_basic.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_auth_digest.rb +245 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_body_proxy.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_builder.rb +201 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_cascade.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_cgi.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_chunked.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_commonlogger.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_conditionalget.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_config.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_content_length.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_content_type.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_deflater.rb +169 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_directory.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_etag.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_fastcgi.rb +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_file.rb +183 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_handler.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_head.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_lint.rb +515 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_lobster.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_lock.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_logger.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_methodoverride.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_mock.rb +264 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_mongrel.rb +182 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_multipart.rb +363 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_nulllogger.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_recursive.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_request.rb +938 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_response.rb +283 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_rewindable_input.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_runtime.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_sendfile.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_server.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_session_abstract_id.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_session_cookie.rb +294 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_session_memcache.rb +319 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_session_pool.rb +206 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_showexceptions.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_showstatus.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_static.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_thin.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_urlmap.rb +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_utils.rb +524 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/spec_webrick.rb +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/static/index.html +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/testrequest.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/CHANGES +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/README.md +144 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/Rakefile +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/charset.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/context.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/encoding.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/header.rb +147 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/language.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/media_type.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/request.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/response.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/version.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/rack-accept.gemspec +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/charset_test.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/context_test.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/encoding_test.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/header_test.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/helper.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/language_test.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/media_type_test.rb +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-accept-0.4.5/test/request_test.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/README.rdoc +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/analysis/histogram.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/analysis/splitting.rb +159 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/generatable_regexp.rb +210 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/multimap.rb +137 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/prefix.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/regexp_with_named_groups.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route.rb +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb +395 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/strexp/parser.rb +160 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/strexp/tokenizer.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/strexp.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/utils.rb +162 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/alternation.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/anchor.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/atom.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/character.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/character_class.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/collection.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/expression.rb +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/group.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/options.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/parser.rb +546 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/tokenizer.rb +255 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/vendor/regin/regin.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/Gemfile +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/Gemfile.lock +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/History.txt +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/README.rdoc +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/Rakefile +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/Thorfile +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/mock_session.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +182 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/test/methods.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/test/utils.rb +136 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/lib/rack/test.rb +304 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/rack-test.gemspec +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/fixtures/bar.txt +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/fixtures/config.ru +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +143 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/fixtures/foo.txt +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +219 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/rack/test_spec.rb +510 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/spec_helper.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/body.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +11 -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/doc/command_line_usage.rdoc +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/glossary.rdoc +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rake.1.gz +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rakefile.rdoc +557 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -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/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/lib/rake.rb +69 -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/gems/rspec-2.11.0/License.txt +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-2.11.0/README.md +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-2.11.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-2.11.0/lib/rspec.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/Changelog.md +570 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/License.txt +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/README.md +235 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/exe/autospec +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/exe/rspec +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/Autotest.md +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/README.md +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/Upgrade.md +364 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/README.md +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/example_name_option.feature +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/exit_status.feature +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/format_option.feature +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/init.feature +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/line_number_appended_to_path.feature +140 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/line_number_option.feature +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/order.feature +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/pattern_option.feature +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/rake_task.feature +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/ruby.feature +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/command_line/tag.feature +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/configuration/alias_example_to.feature +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/configuration/custom_settings.feature +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/configuration/default_path.feature +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/configuration/fail_fast.feature +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/configuration/read_options_from_file.feature +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/example_groups/basic_structure.feature +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/example_groups/shared_context.feature +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/example_groups/shared_examples.feature +204 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/filtering/exclusion_filters.feature +139 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/filtering/if_and_unless.feature +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/filtering/inclusion_filters.feature +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/filtering/run_all_when_everything_filtered.feature +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/formatters/custom_formatter.feature +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/formatters/text_formatter.feature +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/helper_methods/arbitrary_methods.feature +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/helper_methods/let.feature +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/helper_methods/modules.feature +149 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/hooks/around_hooks.feature +343 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/hooks/before_and_after_hooks.feature +423 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/hooks/filtering.feature +234 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/metadata/current_example.feature +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/metadata/described_class.feature +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/metadata/user_defined.feature +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/mock_framework_integration/use_any_framework.feature +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/mock_framework_integration/use_flexmock.feature +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/mock_framework_integration/use_mocha.feature +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/mock_framework_integration/use_rr.feature +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/mock_framework_integration/use_rspec.feature +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/pending/pending_examples.feature +229 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/step_definitions/additional_cli_steps.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/subject/attribute_of_subject.feature +124 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/subject/explicit_subject.feature +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/subject/implicit_receiver.feature +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/subject/implicit_subject.feature +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/features/support/env.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/autotest/rspec2.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/autorun.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/backward_compatibility.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb +944 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/configuration_options.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/deprecation.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/drb_command_line.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/drb_options.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/dsl.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/example.rb +330 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb +466 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/extensions/kernel.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/extensions/ordered.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/extensions.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/filter_manager.rb +203 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/base_formatter.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/base_text_formatter.rb +203 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/helpers.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/html_formatter.rb +464 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/snippet_extractor.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb +495 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/let.rb +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/load_path.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/metadata.rb +276 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/metadata_hash_builder.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_flexmock.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_mocha.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_rr.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_rspec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/option_parser.rb +181 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/pending.rb +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/project_initializer.rb +87 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/rake_task.rb +179 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/shared_context.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/shared_example_group.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/subject.rb +219 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/version.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/world.rb +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core.rb +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/autotest/discover_spec.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/autotest/failed_results_re_spec.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/autotest/rspec_spec.rb +123 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/command_line/order_spec.rb +137 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/command_line_spec.rb +108 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/configuration_options_spec.rb +377 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/configuration_spec.rb +1196 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/deprecations_spec.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/drb_command_line_spec.rb +108 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/drb_options_spec.rb +180 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/dsl_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/example_group_spec.rb +1098 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/example_spec.rb +370 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/filter_manager_spec.rb +256 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/base_formatter_spec.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/base_text_formatter_spec.rb +363 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/helpers_spec.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +410 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/html_formatted-1.8.7.html +409 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/html_formatted-1.9.2.html +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/html_formatted-1.9.3.html +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/html_formatter_spec.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/snippet_extractor_spec.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +410 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +409 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +416 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/formatters/text_mate_formatter_spec.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/hooks_filtering_spec.rb +227 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/hooks_spec.rb +250 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/let_spec.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/metadata_spec.rb +447 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/option_parser_spec.rb +166 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/pending_example_spec.rb +220 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/project_initializer_spec.rb +130 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/rake_task_spec.rb +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/reporter_spec.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/resources/formatter_specs.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/rspec_matchers_spec.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/ruby_project_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/runner_spec.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/shared_context_spec.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/shared_example_group_spec.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/subject_spec.rb +244 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core/world_spec.rb +144 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/rspec/core_spec.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/support/config_options_helper.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/support/helper_methods.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/support/matchers.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/support/shared_example_groups.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/spec/support/spec_files.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/Changelog.md +262 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/License.txt +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/README.md +224 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/README.md +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/Upgrade.md +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/README.md +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/be.feature +173 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/be_within.feature +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/cover.feature +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/end_with.feature +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/equality.feature +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/exist.feature +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/expect_change.feature +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/expect_error.feature +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/have.feature +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/include.feature +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/match.feature +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/operators.feature +221 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/predicates.feature +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/respond_to.feature +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/satisfy.feature +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/start_with.feature +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/throw_symbol.feature +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/types.feature +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/built_in_matchers/yield.feature +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/custom_matchers/access_running_example.feature +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/custom_matchers/define_diffable_matcher.feature +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/custom_matchers/define_matcher.feature +340 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/customized_message.feature +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/diffing.feature +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/implicit_docstrings.feature +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/step_definitions/additional_cli_steps.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/support/env.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/syntax_configuration.feature +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/features/test_frameworks/test_unit.feature +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/deprecation.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/differ.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/errors.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/expectation_target.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/extensions/array.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/extensions/object.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/extensions.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/fail_with.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/handler.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/syntax.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/expectations.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/be_close.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be.rb +185 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be_instance_of.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/be_within.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/change.rb +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/cover.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/eq.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/eql.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/equal.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/exist.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/has.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/have.rb +108 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/include.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/match.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/match_array.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/raise_error.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/respond_to.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/satisfy.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in/yield.rb +221 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/built_in.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/configuration.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/dsl.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/generated_descriptions.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/matcher.rb +299 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/method_missing.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/operator_matcher.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers/pretty.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec/matchers.rb +689 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/lib/rspec-expectations.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/expectations/differ_spec.rb +153 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/expectations/expectation_target_spec.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/expectations/fail_with_spec.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/expectations/handler_spec.rb +206 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/base_matcher_spec.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/be_instance_of_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/be_kind_of_spec.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/be_spec.rb +452 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/be_within_spec.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/change_spec.rb +528 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/configuration_spec.rb +202 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/cover_spec.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/description_generation_spec.rb +176 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/dsl_spec.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/eq_spec.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/eql_spec.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/equal_spec.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/exist_spec.rb +110 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/has_spec.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/have_spec.rb +461 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/include_spec.rb +367 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/match_array_spec.rb +124 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/match_spec.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/matcher_spec.rb +434 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/matchers_spec.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/method_missing_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/operator_matcher_spec.rb +221 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/raise_error_spec.rb +344 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/respond_to_spec.rb +295 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/satisfy_spec.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/start_with_end_with_spec.rb +182 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/rspec/matchers/yield_spec.rb +402 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/spec_helper.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/support/classes.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/support/in_sub_process.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/support/matchers.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/support/ruby_version.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.11.3/spec/support/shared_examples.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/Changelog.md +225 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/License.txt +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/README.md +276 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/README.md +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/Scope.md +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/Upgrade.md +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/argument_matchers/README.md +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/argument_matchers/explicit.feature +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/argument_matchers/general_matchers.feature +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/argument_matchers/type_matchers.feature +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/message_expectations/README.md +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/message_expectations/any_instance.feature +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/message_expectations/expect_message.feature +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/message_expectations/receive_counts.feature +209 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/README.md +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/any_instance.feature +133 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/as_null_object.feature +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/simple_return_value.feature +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/stub_chain.feature +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/stub_implementation.feature +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/method_stubs/to_ary.feature +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/outside_rspec/configuration.feature +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/outside_rspec/standalone.feature +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/step_definitions/additional_cli_steps.rb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/stubbing_constants/README.md +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/stubbing_constants/stub_defined_constant.feature +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/stubbing_constants/stub_undefined_constant.feature +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/features/support/env.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance/chain.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance/expectation_chain.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance/recorder.rb +199 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance/stub_chain.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance/stub_chain_chain.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/any_instance.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/argument_list_matcher.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/argument_matchers.rb +238 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/error_generator.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/errors.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/example_methods.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/extensions/marshal.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/extensions/psych.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/framework.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/message_expectation.rb +488 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/method_double.rb +164 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/methods.rb +155 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/mock.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/order_group.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/proxy.rb +194 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/serialization.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/space.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/stashed_instance_method.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/stub_const.rb +332 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/test_double.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks/version.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/rspec/mocks.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/lib/spec/mocks.rb +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/and_yield_spec.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/any_instance_spec.rb +877 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/any_number_of_times_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/argument_expectation_spec.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/at_least_spec.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/at_most_spec.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/block_return_value_spec.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_10263_spec.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/double_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/failing_argument_matchers_spec.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/mock_space_spec.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/mock_spec.rb +730 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/multiple_return_value_spec.rb +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/nil_expectation_warning_spec.rb +62 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/null_object_mock_spec.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/once_counts_spec.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/partial_mock_spec.rb +171 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/precise_counts_spec.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/serialization_spec.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stash_spec.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stashed_instance_method_spec.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stub_chain_spec.rb +154 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stub_const_spec.rb +334 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stub_spec.rb +247 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/stubbed_message_expectations_spec.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/test_double_spec.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/to_ary_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks/twice_counts_spec.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/rspec/mocks_spec.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rspec-mocks-2.11.3/spec/spec_helper.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/LICENSE +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/README +170 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/README.erb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/Rakefile +374 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/lib/systemu.rb +360 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/a.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/b.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/c.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/d.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/e.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/samples/f.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/systemu.gemspec +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/test/systemu_test.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/systemu-2.5.2/test/testing.rb +195 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/CHANGELOG +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/README.rdoc +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/Rakefile +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/bin/rake +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/bin/uuid +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/bin/yard +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/bin/yardoc +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/bin/yri +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/lib/uuid.rb +497 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/test/test-uuid.rb +142 -0
- data/vendor/bundle/ruby/1.9.1/gems/uuid-2.3.5/uuid.gemspec +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/CHANGELOG.md +696 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/Gemfile +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/LICENSE +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/README.md +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/Rakefile +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/bin/vagrant +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/config/default.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/contrib/README.md +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/contrib/emacs/vagrant.el +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/contrib/vim/vagrantfile.vim +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/keys/README.md +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/keys/vagrant +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/keys/vagrant.pub +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/box/destroy.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/box/download.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/box/package.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/box/unpackage.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/box/verify.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/builder.rb +128 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/builtin.rb +171 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/env/set.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/environment.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/general/check_virtualbox.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/general/package.rb +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/general/validate.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/runner.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/boot.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_accessible.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_box.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_guest_additions.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/check_port_collisions.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/clean_machine_folder.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/clear_forwarded_ports.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/clear_network_interfaces.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/clear_shared_folders.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/customize.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/default_name.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/destroy.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/destroy_unused_network_interfaces.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/discard_state.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/export.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/forward_ports.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/halt.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/host_name.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/import.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/match_mac_address.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/network.rb +403 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/nfs.rb +196 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/package.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/package_vagrantfile.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/provision.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/provisioner_cleanup.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/prune_nfs_exports.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/resume.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/sane_defaults.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/setup_package_files.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/share_folders.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/vm/suspend.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action/warden.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/action.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/box.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/box_collection.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/cli.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/base.rb +167 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/box.rb +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/box_add.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/box_list.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/box_remove.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/box_repackage.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/destroy.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/gem.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/halt.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/init.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/package.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/provision.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/reload.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/resume.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/ssh.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/ssh_config.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/start_mixins.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/status.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/suspend.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command/up.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/command.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/communication/base.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/communication/ssh.rb +229 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/communication.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/base.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/container.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/error_recorder.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/loader.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/nfs.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/package.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/ssh.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/top.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/vagrant.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/vm/provisioner.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/vm/sub_vm.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config/vm.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/config.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/data_store.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/downloaders/base.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/downloaders/file.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/downloaders/http.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/downloaders.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/driver/virtualbox.rb +134 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/driver/virtualbox_4_0.rb +459 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/driver/virtualbox_4_1.rb +459 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/driver/virtualbox_4_2.rb +606 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/driver/virtualbox_base.rb +309 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/driver.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/environment.rb +517 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/errors.rb +441 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/arch.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/base.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/debian.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/fedora.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/freebsd.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/gentoo.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/linux/config.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/linux/error.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/linux.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/openbsd.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/redhat.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/solaris.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/suse.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest/ubuntu.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/guest.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/arch.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/base.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/bsd.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/fedora.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/freebsd.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/gentoo.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/linux.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/opensuse.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts/windows.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/hosts.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/plugin.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/base.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/chef.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/chef_client.rb +132 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/chef_solo.rb +234 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/puppet.rb +175 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/puppet_server.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners/shell.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/provisioners.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/registry.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/ssh.rb +126 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/test_helpers.rb +154 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/ui.rb +168 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/ansi_escape_code_remover.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/busy.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/counter.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/file_checksum.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/file_mode.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/hash_with_indifferent_access.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/is_port_open.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/line_ending_helpers.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/network_ip.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/platform.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/retryable.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/safe_exec.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/safe_puts.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/stacked_proc_runner.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/subprocess.rb +247 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util/template_renderer.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/util.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/version.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant/vm.rb +195 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/lib/vagrant.rb +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/tasks/acceptance.rake +113 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/tasks/bundler.rake +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/tasks/test.rake +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/commands/init/Vagrantfile.erb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/commands/ssh_config/config.erb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/config/validation_failed.erb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/arch/network_dhcp.erb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/arch/network_static.erb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/debian/network_dhcp.erb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/debian/network_static.erb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/fedora/network_dhcp.erb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/fedora/network_static.erb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/freebsd/network_dhcp.erb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/freebsd/network_static.erb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/gentoo/network_dhcp.erb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/gentoo/network_static.erb +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/redhat/network_dhcp.erb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/guests/redhat/network_static.erb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/locales/en.yml +747 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/nfs/exports.erb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/nfs/exports_freebsd.erb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/nfs/exports_linux.erb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/package_Vagrantfile.erb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/provisioners/chef_client/client.erb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/templates/provisioners/chef_solo/solo.erb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/base.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/box_test.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/destroy_test.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/halt_test.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/init_test.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/networking/host_only_test.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/networking/port_forward_test.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/package_test.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/provisioning/basic_test.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/provisioning/chef_solo_test.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/provisioning/shell_test.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/resume_test.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/shared_folders_test.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/skeletons/chef_solo_basic/README.md +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/skeletons/chef_solo_json/README.md +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/skeletons/provisioner_multi/README.md +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/ssh_test.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/config.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/isolated_environment.rb +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/matchers/have_color.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/matchers/match_output.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/matchers/succeed.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/network_tests.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/output.rb +95 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/shared/base_context.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/shared/command_examples.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/support/virtualbox.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/suspend_test.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/up_basic_test.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/up_with_box_url.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/vagrant_test.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/acceptance/version_test.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/README.md +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/__init__.py +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/config/__init__.py +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/config/loader.py +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/config/master.py +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/config/slave.py +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/__init__.py +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/builders.py +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/buildsteps.py +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/change_sources.py +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/schedulers.py +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/slaves.py +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/buildbot_config/master/status.py +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/Makefile.sample +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/buildbot.tac +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/master.cfg +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/bg_gradient.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/default.css +545 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/favicon.ico +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/robots.txt +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/css/bootstrap-1.4.0.min.css +356 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/css/prettify.css +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/css/syntax.css +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/css/vagrant.base.css +205 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/base_box_mac.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/getting-started/success.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/icons/error.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/vagrant_chilling.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/vagrant_holding.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/vagrant_looking.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/alter_path.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/edit_path.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/environment_variables_button.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/port_and_ppk_path.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/ppk_selection.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/putty_first_screen.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/save_result.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/images/windows/vbox_manage_default_location.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/js/bootstrap-tabs.js +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/public_html/static/js/jquery-1.7.min.js +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/authfail.html +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/build.html +205 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/builder.html +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/builders.html +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/buildslave.html +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/buildslaves.html +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/change.html +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/layouts/base.html +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/macros/box.html +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/macros/build_line.html +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/macros/change.html +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/macros/forms.html +300 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/root.html +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/master/templates/waterfall.html +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/requirements.txt +4 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/scripts/deploy.sh +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/scripts/setup.sh +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/slave/buildbot.tac +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/slave/info/admin +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/slave/info/host +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/tests/__init__.py +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/tests/master/__init__.py +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/tests/master/test_slaves.py +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/buildbot/vendor/choices-0.4.0.tar.gz +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/config/acceptance_boxes.yml +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/support/isolated_environment.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/support/tempdir.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/base.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/support/isolated_environment.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/support/shared/base_context.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/action/builder_test.rb +156 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/action/environment_test.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/action/runner_test.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/action/warden_test.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/box_collection_test.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/box_test.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/command/base_test.rb +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/config/base_test.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/config/loader_test.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/config/ssh_test.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/config/top_test.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/config/vm_test.rb +71 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/config_test.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/data_store_test.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/downloaders/base_test.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/downloaders/file_test.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/downloaders/http_test.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/environment_test.rb +212 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/hosts_test.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/registry_test.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/file_checksum_test.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/is_port_open_test.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/line_endings_helper_test.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/network_ip_test.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/util/retryable_test.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant_test.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/locales/en.yml +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/test_helper.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/box/destroy_test.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/box/download_test.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/box/package_test.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/box/unpackage_test.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/box/verify_test.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/env/set_test.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/general/package_test.rb +268 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/general/validate_test.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/boot_test.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/check_accessible_test.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/check_box_test.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/check_guest_additions_test.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/clean_machine_folder_test.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/clear_forwarded_ports_test.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/clear_nfs_exports_test.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/clear_shared_folders_test.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/customize_test.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/destroy_test.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/destroy_unused_network_interfaces_test.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/discard_state_test.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/export_test.rb +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/forward_ports_helpers_test.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/forward_ports_test.rb +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/halt_test.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/host_name_test.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/import_test.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/match_mac_address_test.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/modify_test.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/network_test.rb +286 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/nfs_helpers_test.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/nfs_test.rb +260 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/package_test.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/package_vagrantfile_test.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/provision_test.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/provisioner_cleanup_test.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/resume_test.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/share_folders_test.rb +144 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action/vm/suspend_test.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/action_test.rb +89 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/box_collection_test.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/box_test.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/cli_test.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/command/base_test.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/command/group_base_test.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/command/helpers_test.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/command/init_test.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/command/package_test.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/base_test.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/error_recorder_test.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/ssh_test.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/vagrant_test.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/vm/provisioner_test.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config/vm_test.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/config_test.rb +148 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/downloaders/http_test.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/environment_test.rb +539 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/errors_test.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/hosts/base_test.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/hosts/bsd_test.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/hosts/linux_test.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/plugin_test.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/base_test.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/chef_client_test.rb +190 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/chef_solo_test.rb +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/chef_test.rb +209 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/puppet_server_test.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/puppet_test.rb +182 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/provisioners/shell_test.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/ssh/session_test.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/ssh_test.rb +304 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/systems/base_test.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/systems/linux_test.rb +104 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/util/busy_test.rb +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/util/counter_test.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/util/platform_test.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/util/stacked_proc_runner_test.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/util/template_renderer_test.rb +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit_legacy/vagrant/vm_test.rb +300 -0
- data/vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/vagrant.gemspec +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/History.txt +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/LICENSE +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/README.rdoc +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/Rakefile +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/lib/vegas/runner.rb +404 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/lib/vegas.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/test/apps.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/test/test_app/bin/test_app +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/test/test_app/bin/test_rack_app +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/test/test_app/test_app.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/test/test_helper.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/test/test_vegas_runner.rb +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/vegas.gemspec +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/Changelog.md +163 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/Gemfile +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/Guardfile +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/LICENSE +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/README.md +354 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/Rakefile +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/TODO +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/config/flay.yml +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/config/flog.yml +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/config/roodi.yml +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/config/site.reek +105 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/config/yardstick.yml +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/array.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/boolean.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/class.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/collection.rb +116 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/date.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/date_time.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/decimal.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/default_value/from_callable.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/default_value/from_clonable.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/default_value/from_symbol.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/default_value.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/embedded_value/from_open_struct.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/embedded_value/from_struct.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/embedded_value.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/float.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/hash.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/integer.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/numeric.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/object.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/set.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/string.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/symbol.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute/time.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute.rb +309 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/attribute_set.rb +171 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/class_inclusions.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/class_methods.rb +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/array.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/date.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/date_time.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/decimal.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/false_class.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/float.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/hash.rb +71 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/integer.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/numeric.rb +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/object.rb +125 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/string.rb +214 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/symbol.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/time.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/time_coercions.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion/true_class.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/coercion.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/extensions.rb +92 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/instance_methods.rb +231 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/module_extensions.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/support/descendants_tracker.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/support/equalizer.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/support/options.rb +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/support/type_lookup.rb +109 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/value_object.rb +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus/version.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/lib/virtus.rb +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/collection_member_coercion_spec.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/custom_attributes_spec.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/default_values_spec.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/defining_attributes_spec.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/embedded_value_spec.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/extending_objects_spec.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/mass_assignment_with_accessors_spec.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/overriding_virtus_spec.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/struct_as_embedded_value_spec.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/using_modules_spec.rb +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/value_object_with_custom_constructor_spec.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/virtus/instance_level_attributes_spec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/integration/virtus/value_object_spec.rb +99 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/rcov.opts +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/shared/constants_helpers.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/shared/freeze_method_behavior.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/shared/idempotent_method_behaviour.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/shared/options_class_method.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/spec_helper.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/array/coerce_spec.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/boolean/coerce_spec.rb +85 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/boolean/define_reader_method_spec.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/boolean/value_coerced_spec.rb +97 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/boolean_spec.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class/coerce_spec.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/accessor_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/build_spec.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/coercion_method_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/default_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/determine_type_spec.rb +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/merge_options_spec.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/primitive_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/reader_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/class_methods/writer_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/coerce_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/coercion_method_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/class_methods/merge_options_spec.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/coerce_and_append_member_spec.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/coerce_spec.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/member_coercion/coerce_and_append_member_spec.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/member_type_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/collection/new_collection_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/date/coerce_spec.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/date/value_coerced_spec.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/date_time/coerce_spec.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/decimal/coerce_spec.rb +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_spec.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/call_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/class_methods/build_spec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/class_methods/new_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/from_callable/call_spec.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/from_callable/class_methods/handle_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/from_clonable/call_spec.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/from_clonable/class_methods/handle_spec.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/from_symbol/call_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/from_symbol/class_methods/handle_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/default_value/value_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/define_accessor_methods_spec.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/define_reader_method_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/define_writer_method_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/embedded_value/class_methods/determine_type_spec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/embedded_value/class_methods/merge_options_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/embedded_value/coerce_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/embedded_value/from_open_struct/coerce_spec.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/embedded_value/from_struct/coerce_spec.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/float/coerce_spec.rb +117 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/get_spec.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/inspect_spec.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/integer/coerce_spec.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/name_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/numeric/class_methods/descendants_spec.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/numeric/class_methods/max_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/numeric/class_methods/min_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/object/class_methods/descendants_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/options_spec.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/public_reader_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/public_writer_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/set/coerce_spec.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/set_spec.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/string/coerce_spec.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/symbol/coerce_spec.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/time/coerce_spec.rb +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute/value_coerced_spec.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/append_spec.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/define_reader_method_spec.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/define_writer_method_spec.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/each_spec.rb +60 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/element_reference_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/element_set_spec.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/inspect_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/merge_spec.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/attribute_set/reset_spec.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/class_methods/attribute_set_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/class_methods/attribute_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/class_methods/attributes_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/class_methods/const_missing_spec.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/class_methods/inherited_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/array/class_methods/to_set_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/class_methods/element_reference_spec.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/class_methods/primitive_spec.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date/class_methods/to_date_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date/class_methods/to_datetime_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date/class_methods/to_time_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date_time/class_methods/to_date_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date_time/class_methods/to_datetime_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date_time/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/date_time/class_methods/to_time_spec.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/decimal/class_methods/to_decimal_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/decimal/class_methods/to_float_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/decimal/class_methods/to_integer_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/decimal/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/false_class/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/float/class_methods/to_decimal_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/float/class_methods/to_float_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/float/class_methods/to_integer_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/float/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/hash/class_methods/to_date_spec.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/hash/class_methods/to_datetime_spec.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/hash/class_methods/to_time_spec.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/integer/class_methods/to_boolean_spec.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/integer/class_methods/to_decimal_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/integer/class_methods/to_float_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/integer/class_methods/to_integer_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/integer/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/numeric/class_methods/to_decimal_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/numeric/class_methods/to_float_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/numeric/class_methods/to_integer_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/numeric/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/object/class_methods/method_missing_spec.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/object/class_methods/to_array_spec.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/object/class_methods/to_hash_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/object/class_methods/to_integer_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/object/class_methods/to_string_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_boolean_spec.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_constant_spec.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_date_spec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_datetime_spec.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_decimal_spec.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_float_spec.rb +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_integer_spec.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_symbol_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/string/class_methods/to_time_spec.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/symbol/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/time/class_methods/to_integer_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/time/class_methods/to_time_spec.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/time_coercions/to_date_spec.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/time_coercions/to_datetime_spec.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/time_coercions/to_string_spec.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/time_coercions/to_time_spec.rb +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/coercion/true_class/class_methods/to_string_spec.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/descendants_tracker/add_descendant_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/descendants_tracker/descendants_spec.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/equalizer/append_spec.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/equalizer/class_method/new_spec.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/equalizer/methods/eql_spec.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/equalizer/methods/equal_value_spec.rb +57 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/extensions/allowed_writer_methods_spec.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/instance_methods/attributes_spec.rb +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/instance_methods/element_reference_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/instance_methods/element_set_spec.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/instance_methods/freeze_spec.rb +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/instance_methods/initialize_spec.rb +42 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/instance_methods/to_hash_spec.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/module_extensions/attribute_spec.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/options/accept_options_spec.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/options/accepted_options_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/options/options_spec.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/type_lookup/class_methods/extended_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/type_lookup/determine_type_spec.rb +81 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/type_lookup/primitive_spec.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/value_object/class_methods/allowed_writer_methods_spec.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/value_object/class_methods/attribute_spec.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/value_object/class_methods/equalizer_spec.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/value_object/initialize_spec.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/value_object/instance_methods/clone_spec.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/unit/virtus/value_object/instance_methods/with_spec.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/ci.rake +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/flay.rake +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/flog.rake +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/heckle.rake +208 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/metric_fu.rake +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/reek.rake +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/roodi.rake +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/yardstick.rake +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/spec.rake +45 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/yard.rake +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/virtus.gemspec +24 -0
- data/vendor/bundle/ruby/1.9.1/specifications/activesupport-3.2.8.gemspec +33 -0
- data/vendor/bundle/ruby/1.9.1/specifications/archive-tar-minitar-0.5.2.gemspec +31 -0
- data/vendor/bundle/ruby/1.9.1/specifications/backports-2.6.4.gemspec +29 -0
- data/vendor/bundle/ruby/1.9.1/specifications/childprocess-0.3.6.gemspec +38 -0
- data/vendor/bundle/ruby/1.9.1/specifications/diff-lcs-1.1.3.gemspec +35 -0
- data/vendor/bundle/ruby/1.9.1/specifications/erubis-2.7.0.gemspec +28 -0
- data/vendor/bundle/ruby/1.9.1/specifications/ffi-1.1.5.gemspec +30 -0
- data/vendor/bundle/ruby/1.9.1/specifications/grape-0.2.2.gemspec +69 -0
- data/vendor/bundle/ruby/1.9.1/specifications/hashie-1.2.0.gemspec +37 -0
- data/vendor/bundle/ruby/1.9.1/specifications/i18n-0.6.1.gemspec +38 -0
- data/vendor/bundle/ruby/1.9.1/specifications/json-1.5.4.gemspec +40 -0
- data/vendor/bundle/ruby/1.9.1/specifications/log4r-1.1.10.gemspec +31 -0
- data/vendor/bundle/ruby/1.9.1/specifications/macaddr-1.6.1.gemspec +29 -0
- data/vendor/bundle/ruby/1.9.1/specifications/multi_json-1.3.6.gemspec +40 -0
- data/vendor/bundle/ruby/1.9.1/specifications/multi_xml-0.5.1.gemspec +40 -0
- data/vendor/bundle/ruby/1.9.1/specifications/net-scp-1.0.4.gemspec +32 -0
- data/vendor/bundle/ruby/1.9.1/specifications/net-ssh-2.2.2.gemspec +29 -0
- data/vendor/bundle/ruby/1.9.1/specifications/puma-1.6.3.gemspec +44 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rack-1.4.1.gemspec +47 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rack-accept-0.4.5.gemspec +34 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rack-mount-0.8.3.gemspec +37 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rack-test-0.6.2.gemspec +31 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rake-0.9.2.2.gemspec +34 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rspec-2.11.0.gemspec +39 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rspec-core-2.11.1.gemspec +61 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rspec-expectations-2.11.3.gemspec +40 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rspec-mocks-2.11.3.gemspec +37 -0
- data/vendor/bundle/ruby/1.9.1/specifications/systemu-2.5.2.gemspec +26 -0
- data/vendor/bundle/ruby/1.9.1/specifications/uuid-2.3.5.gemspec +32 -0
- data/vendor/bundle/ruby/1.9.1/specifications/vagrant-1.0.5.gemspec +73 -0
- data/vendor/bundle/ruby/1.9.1/specifications/vegas-0.1.11.gemspec +40 -0
- data/vendor/bundle/ruby/1.9.1/specifications/virtus-0.5.2.gemspec +39 -0
- metadata +3398 -48
- data/vendor/grape/lib/grape/middleware/versioner/header.rb +0 -59
- data/vendor/grape/lib/grape/version.rb +0 -3
@@ -0,0 +1,3551 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html">
|
5
|
+
<title>Erubis Users' Guide</title>
|
6
|
+
<meta name="generator" content="kwaser">
|
7
|
+
<meta http-equiv="Content-Style-Type" content="text/css">
|
8
|
+
<link rel="stylesheet" href="docstyle.css" type="text/css">
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<blockquote>
|
13
|
+
<div class="mainbody">
|
14
|
+
|
15
|
+
<div align="left"><h1>Erubis Users' Guide</h1></div>
|
16
|
+
<p>release: 2.7.0
|
17
|
+
</p>
|
18
|
+
<a name="preface"></a>
|
19
|
+
<h2 class="section1">Preface</h2>
|
20
|
+
<p>Erubis is an implementation of eRuby.
|
21
|
+
It has the following features.
|
22
|
+
</p>
|
23
|
+
<ul type="disc">
|
24
|
+
<li>Very fast, almost three times faster than ERB and about ten percent faster than eruby (implemented in C)
|
25
|
+
</li>
|
26
|
+
<li>File caching of converted Ruby script support
|
27
|
+
</li>
|
28
|
+
<li>Auto escaping support
|
29
|
+
</li>
|
30
|
+
<li>Auto trimming spaces around '<% %>'
|
31
|
+
</li>
|
32
|
+
<li>Embedded pattern changeable (default '<% %>')
|
33
|
+
</li>
|
34
|
+
<li>Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>')
|
35
|
+
</li>
|
36
|
+
<li>Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)
|
37
|
+
</li>
|
38
|
+
<li>Context object available and easy to combine eRuby template with YAML datafile
|
39
|
+
</li>
|
40
|
+
<li>Print statement available
|
41
|
+
</li>
|
42
|
+
<li>Easy to expand and customize in subclass
|
43
|
+
</li>
|
44
|
+
<li><a href="#rails">Ruby on Rails support</a>
|
45
|
+
</li>
|
46
|
+
<li>mod_ruby support|#topcs-modruby
|
47
|
+
</li>
|
48
|
+
</ul>
|
49
|
+
<p>Erubis is implemented in pure Ruby. It requires Ruby 1.8 or higher.
|
50
|
+
Erubis now supports Ruby 1.9.
|
51
|
+
</p>
|
52
|
+
<a name="toc"></a>
|
53
|
+
<h3 class="section2">Table of Contents</h3>
|
54
|
+
<ul>
|
55
|
+
<li><a href="#preface">Preface</a>
|
56
|
+
<ul>
|
57
|
+
<li><a href="#toc">Table of Contents</a>
|
58
|
+
</li>
|
59
|
+
</ul>
|
60
|
+
</li>
|
61
|
+
<li><a href="#install">Installation</a>
|
62
|
+
</li>
|
63
|
+
<li><a href="#tutorial">Tutorial</a>
|
64
|
+
<ul>
|
65
|
+
<li><a href="#tut-basic">Basic Example</a>
|
66
|
+
</li>
|
67
|
+
<li><a href="#tut-trim">Trimming Spaces</a>
|
68
|
+
</li>
|
69
|
+
<li><a href="#tut-escape">Escape</a>
|
70
|
+
</li>
|
71
|
+
<li><a href="#tut-pattern">Embedded Pattern</a>
|
72
|
+
</li>
|
73
|
+
<li><a href="#tut-context">Context Object</a>
|
74
|
+
</li>
|
75
|
+
<li><a href="#tut-datafile">Context Data File</a>
|
76
|
+
</li>
|
77
|
+
<li><a href="#tut-datastr">Context Data String</a>
|
78
|
+
</li>
|
79
|
+
<li><a href="#tut-preamble">Preamble and Postamble</a>
|
80
|
+
</li>
|
81
|
+
<li><a href="#tut-pi">Processing Instruction (PI) Converter</a>
|
82
|
+
</li>
|
83
|
+
<li><a href="#tut-notext">Retrieve Ruby Code</a>
|
84
|
+
</li>
|
85
|
+
</ul>
|
86
|
+
</li>
|
87
|
+
<li><a href="#enhancer">Enhancer</a>
|
88
|
+
<ul>
|
89
|
+
<li><a href="#escape-enhancer">EscapeEnhancer</a>
|
90
|
+
</li>
|
91
|
+
<li><a href="#stdout-enhancer">StdoutEnhancer</a>
|
92
|
+
</li>
|
93
|
+
<li><a href="#printout-enhancer">PrintOutEnhancer</a>
|
94
|
+
</li>
|
95
|
+
<li><a href="#printenabled-enhancer">PrintEnabledEnhancer</a>
|
96
|
+
</li>
|
97
|
+
<li><a href="#array-enhancer">ArrayEnhancer</a>
|
98
|
+
</li>
|
99
|
+
<li><a href="#arraybuffer-enhancer">ArrayBufferEnhancer</a>
|
100
|
+
</li>
|
101
|
+
<li><a href="#stringbuffer-enhancer">StringBufferEnhancer</a>
|
102
|
+
</li>
|
103
|
+
<li><a href="#erbout-enhancer">ErboutEnhancer</a>
|
104
|
+
</li>
|
105
|
+
<li><a href="#notext-enhancer">NoTextEnhancer</a>
|
106
|
+
</li>
|
107
|
+
<li><a href="#nocode-enhancer">NoCodeEnhancer</a>
|
108
|
+
</li>
|
109
|
+
<li><a href="#simplify-enhancer">SimplifyEnhancer</a>
|
110
|
+
</li>
|
111
|
+
<li><a href="#bipattern-enhancer">BiPatternEnhancer</a>
|
112
|
+
</li>
|
113
|
+
<li><a href="#percentline-enhancer">PercentLineEnhancer</a>
|
114
|
+
</li>
|
115
|
+
<li><a href="#prefixedline-enhancer">PrefixedLineEnhancer</a>
|
116
|
+
</li>
|
117
|
+
<li><a href="#headerfooter-enhancer">HeaderFooterEnhancer</a>
|
118
|
+
</li>
|
119
|
+
<li><a href="#interpolation-enhancer">InterpolationEnhancer</a>
|
120
|
+
</li>
|
121
|
+
<li><a href="#deleteindent-enhancer">DeleteIndentEnhancer</a>
|
122
|
+
</li>
|
123
|
+
</ul>
|
124
|
+
</li>
|
125
|
+
<li><a href="#lang">Multi-Language Support</a>
|
126
|
+
<ul>
|
127
|
+
<li><a href="#lang-php">PHP</a>
|
128
|
+
</li>
|
129
|
+
<li><a href="#lang-c">C</a>
|
130
|
+
</li>
|
131
|
+
<li><a href="#lang-cpp">C++</a>
|
132
|
+
</li>
|
133
|
+
<li><a href="#lang-java">Java</a>
|
134
|
+
</li>
|
135
|
+
<li><a href="#lang-scheme">Scheme</a>
|
136
|
+
</li>
|
137
|
+
<li><a href="#lang-perl">Perl</a>
|
138
|
+
</li>
|
139
|
+
<li><a href="#lang-javascript">JavaScript</a>
|
140
|
+
</li>
|
141
|
+
</ul>
|
142
|
+
</li>
|
143
|
+
<li><a href="#rails">Ruby on Rails Support</a>
|
144
|
+
<ul>
|
145
|
+
<li><a href="#rails-settings">Settings</a>
|
146
|
+
</li>
|
147
|
+
<li><a href="#rails-preprocessing">Preprosessing</a>
|
148
|
+
</li>
|
149
|
+
<li><a href="#rails-formhelpers">Form Helpers for Preprocessing</a>
|
150
|
+
</li>
|
151
|
+
<li><a href="#rails-others">Others</a>
|
152
|
+
</li>
|
153
|
+
</ul>
|
154
|
+
</li>
|
155
|
+
<li><a href="#topics">Other Topics</a>
|
156
|
+
<ul>
|
157
|
+
<li><a href="#topics-fasteruby"><code>Erubis::FastEruby</code> Class</a>
|
158
|
+
</li>
|
159
|
+
<li><a href="#topics-bufvar"><code>:bufvar</code> Option</a>
|
160
|
+
</li>
|
161
|
+
<li><a href="#topics-trimspaces">'<%= =%>' and '<%= -%>'</a>
|
162
|
+
</li>
|
163
|
+
<li><a href="#topics-doublepercent">'<%% %>' and '<%%= %>'</a>
|
164
|
+
</li>
|
165
|
+
<li><a href="#topics-context-vs-binding">evaluate(context) v.s. result(binding)</a>
|
166
|
+
</li>
|
167
|
+
<li><a href="#topics-fasteruby">Class Erubis::FastEruby</a>
|
168
|
+
</li>
|
169
|
+
<li><a href="#topics-syntax">Syntax Checking</a>
|
170
|
+
</li>
|
171
|
+
<li><a href="#topics-caching">File Caching</a>
|
172
|
+
</li>
|
173
|
+
<li><a href="#topics-tinyeruby">Erubis::TinyEruby class</a>
|
174
|
+
</li>
|
175
|
+
<li><a href="#topics-php">NoTextEnhancer and NoCodeEnhancer in PHP</a>
|
176
|
+
</li>
|
177
|
+
<li><a href="#topcs-modruby">Helper Class for mod_ruby</a>
|
178
|
+
</li>
|
179
|
+
<li><a href="#topics-index-cgi">Helper CGI Script for Apache</a>
|
180
|
+
</li>
|
181
|
+
<li><a href="#topics-defmethod">Define method</a>
|
182
|
+
</li>
|
183
|
+
<li><a href="#topics-benchmark">Benchmark</a>
|
184
|
+
</li>
|
185
|
+
</ul>
|
186
|
+
</li>
|
187
|
+
<li><a href="#command">Command Reference</a>
|
188
|
+
<ul>
|
189
|
+
<li><a href="#command-usage">Usage</a>
|
190
|
+
</li>
|
191
|
+
<li><a href="#command-options">Options</a>
|
192
|
+
</li>
|
193
|
+
<li><a href="#command-props">Properties</a>
|
194
|
+
</li>
|
195
|
+
</ul>
|
196
|
+
</li>
|
197
|
+
</ul>
|
198
|
+
<br>
|
199
|
+
|
200
|
+
|
201
|
+
<br>
|
202
|
+
|
203
|
+
|
204
|
+
<a name="install"></a>
|
205
|
+
<h2 class="section1">Installation</h2>
|
206
|
+
<ul type="disc">
|
207
|
+
<li>If you have installed RubyGems, just type <code>gem install --remote erubis</code>.
|
208
|
+
<pre class="terminal">$ sudo gem install --remote erubis
|
209
|
+
</pre>
|
210
|
+
</li>
|
211
|
+
</ul>
|
212
|
+
<ul type="disc">
|
213
|
+
<li>Else install <a href="http://rubyforge.org/projects/erubis/">abstract</a> at first,
|
214
|
+
and download erubis_X.X.X.tar.bz2 and install it by setup.rb.
|
215
|
+
<pre class="terminal">$ tar xjf abstract_X.X.X.tar.bz2
|
216
|
+
$ cd abstract_X.X.X/
|
217
|
+
$ sudo ruby setup.rb
|
218
|
+
$ cd ..
|
219
|
+
$ tar xjf erubis_X.X.X.tar.bz2
|
220
|
+
$ cd erubis_X.X.X/
|
221
|
+
$ sudo ruby setup.rb
|
222
|
+
</pre>
|
223
|
+
</li>
|
224
|
+
</ul>
|
225
|
+
<ul type="disc">
|
226
|
+
<li>(Optional) 'contrib/inline-require' enables you to merge 'lib/**/*.rb' into 'bin/erubis'.
|
227
|
+
<pre class="terminal">$ tar xjf erubis_X.X.X.tar.bz2
|
228
|
+
$ cd erubis_X.X.X/
|
229
|
+
$ unset RUBYLIB
|
230
|
+
$ contrib/inline-require -I lib bin/erubis > contrib/erubis
|
231
|
+
</pre>
|
232
|
+
</li>
|
233
|
+
</ul>
|
234
|
+
<br>
|
235
|
+
|
236
|
+
|
237
|
+
<a name="tutorial"></a>
|
238
|
+
<h2 class="section1">Tutorial</h2>
|
239
|
+
<a name="tut-basic"></a>
|
240
|
+
<h3 class="section2">Basic Example</h3>
|
241
|
+
<p>Here is a basic example of Erubis.
|
242
|
+
</p>
|
243
|
+
<a name="example1.eruby"></a>
|
244
|
+
<div class="program_caption">
|
245
|
+
example1.eruby</div>
|
246
|
+
<pre class="program"><ul>
|
247
|
+
<strong><% for item in list %></strong>
|
248
|
+
<li><strong><%= item %></strong></li>
|
249
|
+
<strong><% end %></strong>
|
250
|
+
<strong><%# here is ignored because starting with '#' %></strong>
|
251
|
+
</ul>
|
252
|
+
</pre>
|
253
|
+
<a name="example1.rb"></a>
|
254
|
+
<div class="program_caption">
|
255
|
+
example1.rb</div>
|
256
|
+
<pre class="program">require 'erubis'
|
257
|
+
input = File.read('example1.eruby')
|
258
|
+
eruby = <strong>Erubis::Eruby.new(input)</strong> # create Eruby object
|
259
|
+
|
260
|
+
puts "---------- script source ---"
|
261
|
+
puts <strong>eruby.src</strong> # print script source
|
262
|
+
|
263
|
+
puts "---------- result ----------"
|
264
|
+
list = ['aaa', 'bbb', 'ccc']
|
265
|
+
puts <strong>eruby.result(binding())</strong> # get result
|
266
|
+
## or puts eruby.result(<strong>:list=>list</strong>) # or pass Hash instead of Binding
|
267
|
+
|
268
|
+
## # or
|
269
|
+
## eruby = Erubis::Eruby.new
|
270
|
+
## input = File.read('example1.eruby')
|
271
|
+
## src = eruby.convert(input)
|
272
|
+
## eval src
|
273
|
+
</pre>
|
274
|
+
<a name="example1.result"></a>
|
275
|
+
<div class="terminal_caption">
|
276
|
+
output</div>
|
277
|
+
<pre class="terminal">$ ruby example1.rb
|
278
|
+
---------- script source ---
|
279
|
+
_buf = ''; _buf << '<ul>
|
280
|
+
'; for item in list
|
281
|
+
_buf << ' <li>'; _buf << ( item ).to_s; _buf << '</li>
|
282
|
+
'; end
|
283
|
+
|
284
|
+
_buf << '</ul>
|
285
|
+
';
|
286
|
+
_buf.to_s
|
287
|
+
---------- result ----------
|
288
|
+
<ul>
|
289
|
+
<li>aaa</li>
|
290
|
+
<li>bbb</li>
|
291
|
+
<li>ccc</li>
|
292
|
+
</ul>
|
293
|
+
</pre>
|
294
|
+
<p>Erubis has command 'erubis'. Command-line option '-x' shows the compiled source code of eRuby script.
|
295
|
+
</p>
|
296
|
+
<a name="example1_x.result"></a>
|
297
|
+
<div class="terminal_caption">
|
298
|
+
example of command-line option '-x'</div>
|
299
|
+
<pre class="terminal">$ erubis <strong>-x</strong> example1.eruby
|
300
|
+
_buf = ''; _buf << '<ul>
|
301
|
+
'; for item in list
|
302
|
+
_buf << ' <li>'; _buf << ( item ).to_s; _buf << '</li>
|
303
|
+
'; end
|
304
|
+
|
305
|
+
_buf << '</ul>
|
306
|
+
';
|
307
|
+
_buf.to_s
|
308
|
+
</pre>
|
309
|
+
<br>
|
310
|
+
|
311
|
+
|
312
|
+
<a name="tut-trim"></a>
|
313
|
+
<h3 class="section2">Trimming Spaces</h3>
|
314
|
+
<p>Erubis deletes spaces around '<% %>' automatically, while it leaves spaces around '<%= %>'.
|
315
|
+
</p>
|
316
|
+
<a name="example2.eruby.comment_filter"></a>
|
317
|
+
<div class="program_caption">
|
318
|
+
example2.eruby</div>
|
319
|
+
<pre class="program"><ul>
|
320
|
+
<% for item in list %> # trimmed
|
321
|
+
<li>
|
322
|
+
<%= item %> # not trimmed
|
323
|
+
</li>
|
324
|
+
<% end %> # trimmed
|
325
|
+
</ul>
|
326
|
+
</pre>
|
327
|
+
<a name="example2_x.result"></a>
|
328
|
+
<div class="terminal_caption">
|
329
|
+
compiled source code</div>
|
330
|
+
<pre class="terminal">$ erubis -x example2.eruby
|
331
|
+
_buf = ''; _buf << '<ul>
|
332
|
+
'; for item in list
|
333
|
+
_buf << ' <li>
|
334
|
+
'; _buf << ( item ).to_s; _buf << '
|
335
|
+
'; _buf << ' </li>
|
336
|
+
'; end
|
337
|
+
_buf << '</ul>
|
338
|
+
';
|
339
|
+
_buf.to_s
|
340
|
+
</pre>
|
341
|
+
<p>If you want leave spaces around '<% %>', add command-line property '--trim=false'.
|
342
|
+
</p>
|
343
|
+
<a name="example2_trim.result"></a>
|
344
|
+
<div class="terminal_caption">
|
345
|
+
compiled source code with command-line property '--trim=false'</div>
|
346
|
+
<pre class="terminal">$ erubis -x <strong>--trim=false</strong> example2.eruby
|
347
|
+
_buf = ''; _buf << '<ul>
|
348
|
+
'; _buf << ' '; for item in list ; _buf << '
|
349
|
+
'; _buf << ' <li>
|
350
|
+
'; _buf << ( item ).to_s; _buf << '
|
351
|
+
'; _buf << ' </li>
|
352
|
+
'; _buf << ' '; end ; _buf << '
|
353
|
+
'; _buf << '</ul>
|
354
|
+
';
|
355
|
+
_buf.to_s
|
356
|
+
</pre>
|
357
|
+
<p>Or add option <code>:trim=>false</code> to Erubis::Eruby.new().
|
358
|
+
</p>
|
359
|
+
<a name="example2.rb"></a>
|
360
|
+
<div class="program_caption">
|
361
|
+
example2.rb</div>
|
362
|
+
<pre class="program">require 'erubis'
|
363
|
+
input = File.read('example2.eruby')
|
364
|
+
eruby = Erubis::Eruby.new(input<strong>, :trim=>false</strong>)
|
365
|
+
|
366
|
+
puts "----- script source ---"
|
367
|
+
puts eruby.src # print script source
|
368
|
+
|
369
|
+
puts "----- result ----------"
|
370
|
+
list = ['aaa', 'bbb', 'ccc']
|
371
|
+
puts eruby.result(binding()) # get result
|
372
|
+
</pre>
|
373
|
+
<a name="example2.result"></a>
|
374
|
+
<div class="terminal_caption">
|
375
|
+
output</div>
|
376
|
+
<pre class="terminal">$ ruby example2.rb
|
377
|
+
----- script source ---
|
378
|
+
_buf = ''; _buf << '<ul>
|
379
|
+
'; <strong>_buf << ' ';</strong> for item in list ; _buf << '
|
380
|
+
'; _buf << ' <li>
|
381
|
+
'; _buf << ( item ).to_s; _buf << '
|
382
|
+
'; _buf << ' </li>
|
383
|
+
'; <strong>_buf << ' ';</strong> end ; _buf << '
|
384
|
+
'; _buf << '</ul>
|
385
|
+
';
|
386
|
+
_buf.to_s
|
387
|
+
----- result ----------
|
388
|
+
<ul>
|
389
|
+
|
390
|
+
<li>
|
391
|
+
aaa
|
392
|
+
</li>
|
393
|
+
|
394
|
+
<li>
|
395
|
+
bbb
|
396
|
+
</li>
|
397
|
+
|
398
|
+
<li>
|
399
|
+
ccc
|
400
|
+
</li>
|
401
|
+
|
402
|
+
</ul>
|
403
|
+
</pre>
|
404
|
+
<br>
|
405
|
+
|
406
|
+
|
407
|
+
<a name="tut-escape"></a>
|
408
|
+
<h3 class="section2">Escape</h3>
|
409
|
+
<p>Erubis has ability to escape (sanitize) expression.
|
410
|
+
Erubis::Eruby class act as the following:
|
411
|
+
</p>
|
412
|
+
<ul type="disc">
|
413
|
+
<li><code><%= <em>expr</em> %></code> - not escaped.
|
414
|
+
</li>
|
415
|
+
<li><code><%== <em>expr</em> %></code> - escaped.
|
416
|
+
</li>
|
417
|
+
<li><code><%=== <em>expr</em> %></code> - out to $stderr.
|
418
|
+
</li>
|
419
|
+
<li><code><%==== <em>expr</em> %></code> - ignored.
|
420
|
+
</li>
|
421
|
+
</ul>
|
422
|
+
<p>Erubis::EscapedEruby<sup>(<a href="#fnref:1" name="fnlink:1">*1</a>)</sup> class handle '<%= %>' as escaped and '<%== %>' as not escaped.
|
423
|
+
It means that using Erubis::EscapedEruby you can escape expression by default.
|
424
|
+
Also Erubis::XmlEruby class (which is equivalent to Erubis::EscapedEruby) is provided for compatibility with Erubis 1.1.
|
425
|
+
</p>
|
426
|
+
<a name="example3.eruby"></a>
|
427
|
+
<div class="program_caption">
|
428
|
+
example3.eruby</div>
|
429
|
+
<pre class="program"><% for item in list %>
|
430
|
+
<p><strong><%=</strong> item <strong>%></strong></p>
|
431
|
+
<p><strong><%==</strong> item <strong>%></strong></p>
|
432
|
+
<p><strong><%===</strong> item <strong>%></strong></p>
|
433
|
+
|
434
|
+
<% end %>
|
435
|
+
</pre>
|
436
|
+
<a name="example3.rb"></a>
|
437
|
+
<div class="program_caption">
|
438
|
+
example3.rb</div>
|
439
|
+
<pre class="program">require 'erubis'
|
440
|
+
input = File.read('example3.eruby')
|
441
|
+
eruby = Erubis::<strong>EscapedEruby</strong>.new(input) # or Erubis::XmlEruby
|
442
|
+
|
443
|
+
puts "----- script source ---"
|
444
|
+
puts eruby.src # print script source
|
445
|
+
|
446
|
+
puts "----- result ----------"
|
447
|
+
<strong>list = ['<aaa>', 'b&b', '"ccc"']</strong>
|
448
|
+
puts eruby.result(binding()) # get result
|
449
|
+
</pre>
|
450
|
+
<a name="example3.result.split_filter"></a>
|
451
|
+
<div class="terminal_caption">
|
452
|
+
output</div>
|
453
|
+
<pre class="terminal">$ ruby example3.rb 2> stderr.log
|
454
|
+
----- script source ---
|
455
|
+
_buf = ''; for item in list
|
456
|
+
_buf << ' <p>'; <strong>_buf << Erubis::XmlHelper.escape_xml( item )</strong>; _buf << '</p>
|
457
|
+
<p>'; <strong>_buf << ( item ).to_s</strong>; _buf << '</p>
|
458
|
+
<p>'; <strong>$stderr.puts("*** debug: item=#{(item).inspect}")</strong>; _buf << '</p>
|
459
|
+
|
460
|
+
'; end
|
461
|
+
_buf.to_s
|
462
|
+
----- result ----------
|
463
|
+
<p><strong>&lt;aaa&gt;</strong></p>
|
464
|
+
<p><aaa></p>
|
465
|
+
<p></p>
|
466
|
+
|
467
|
+
<p><strong>b&amp;b</strong></p>
|
468
|
+
<p>b&b</p>
|
469
|
+
<p></p>
|
470
|
+
|
471
|
+
<p><strong>&quot;ccc&quot;</strong></p>
|
472
|
+
<p>"ccc"</p>
|
473
|
+
<p></p>
|
474
|
+
|
475
|
+
$ cat stderr.log
|
476
|
+
*** debug: item="<aaa>"
|
477
|
+
*** debug: item="b&b"
|
478
|
+
*** debug: item="\"ccc\""
|
479
|
+
</pre>
|
480
|
+
<p>The command-line option '-e' will do the same action as Erubis::EscapedEruby.
|
481
|
+
This option is available for any language.
|
482
|
+
</p>
|
483
|
+
<a name="example3_e.result"></a>
|
484
|
+
<pre class="terminal">$ erubis -l ruby <strong>-e</strong> example3.eruby
|
485
|
+
_buf = ''; for item in list
|
486
|
+
_buf << ' <p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
487
|
+
<p>'; _buf << ( item ).to_s; _buf << '</p>
|
488
|
+
<p>'; $stderr.puts("*** debug: item=#{(item).inspect}"); _buf << '</p>
|
489
|
+
|
490
|
+
'; end
|
491
|
+
_buf.to_s
|
492
|
+
</pre>
|
493
|
+
<p>Escaping function (default 'Erubis::XmlHelper.escape_xml()') can be changed by command-line property '--escapefunc=xxx' or by overriding Erubis::Eruby#escaped_expr() in subclass.
|
494
|
+
</p>
|
495
|
+
<div class="program_caption">
|
496
|
+
example to override Erubis::Eruby#escaped_expr()</div>
|
497
|
+
<pre class="program">class CGIEruby < Erubis::Eruby
|
498
|
+
def <strong>escaped_expr(code)</strong>
|
499
|
+
return "CGI.escapeHTML((#{code.strip}).to_s)"
|
500
|
+
#return "h(#{code.strip})"
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
class LatexEruby < Erubi::Eruby
|
505
|
+
def <strong>escaped_expr(code)</strong>
|
506
|
+
return "(#{code}).gsub(/[%\\]/,'\\\\\&')"
|
507
|
+
end
|
508
|
+
end
|
509
|
+
</pre>
|
510
|
+
<div class="footnote">
|
511
|
+
<dl compact>
|
512
|
+
<dt>(<a name="fnref:1" href="#fnlink:1">*1</a>)</dt>
|
513
|
+
<dd>Erubis::EscapedEruby class includes Erubis::EscapeEnhancer which swtches the action of '<%= %>' and '<%== %>'.</dd>
|
514
|
+
</dl>
|
515
|
+
</div>
|
516
|
+
<br>
|
517
|
+
|
518
|
+
|
519
|
+
<a name="tut-pattern"></a>
|
520
|
+
<h3 class="section2">Embedded Pattern</h3>
|
521
|
+
<p>You can change embedded pattern '<code><% %></code>' to another by command-line option '-p' or option '<code>:pattern=>...</code>' of Erubis::Eruby.new().
|
522
|
+
</p>
|
523
|
+
<a name="example4.eruby"></a>
|
524
|
+
<div class="program_caption">
|
525
|
+
example4.eruby</div>
|
526
|
+
<pre class="program"><strong><!--%</strong> for item in list <strong>%--></strong>
|
527
|
+
<p><strong><!--%=</strong> item <strong>%--></strong></p>
|
528
|
+
<strong><!--%</strong> end <strong>%--></strong>
|
529
|
+
</pre>
|
530
|
+
<a name="example4_x.result"></a>
|
531
|
+
<div class="terminal_caption">
|
532
|
+
compiled source code with command-line option '-p'</div>
|
533
|
+
<pre class="terminal">$ erubis -x <strong>-p '<!--% %-->'</strong> example4.eruby
|
534
|
+
_buf = ''; for item in list
|
535
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
536
|
+
'; end
|
537
|
+
_buf.to_s
|
538
|
+
</pre>
|
539
|
+
<a name="example4.rb"></a>
|
540
|
+
<div class="program_caption">
|
541
|
+
example4.rb</div>
|
542
|
+
<pre class="program">require 'erubis'
|
543
|
+
input = File.read('example4.eruby')
|
544
|
+
eruby = Erubis::Eruby.new(input<strong>, :pattern=>'<!--% %-->'</strong>)
|
545
|
+
# or '<(?:!--)?% %(?:--)?>'
|
546
|
+
|
547
|
+
puts "---------- script source ---"
|
548
|
+
puts eruby.src # print script source
|
549
|
+
|
550
|
+
puts "---------- result ----------"
|
551
|
+
list = ['aaa', 'bbb', 'ccc']
|
552
|
+
puts eruby.result(binding()) # get result
|
553
|
+
</pre>
|
554
|
+
<a name="example4.result"></a>
|
555
|
+
<div class="terminal_caption">
|
556
|
+
output</div>
|
557
|
+
<pre class="terminal">$ ruby example4.rb
|
558
|
+
---------- script source ---
|
559
|
+
_buf = ''; for item in list
|
560
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
561
|
+
'; end
|
562
|
+
_buf.to_s
|
563
|
+
---------- result ----------
|
564
|
+
<p>aaa</p>
|
565
|
+
<p>bbb</p>
|
566
|
+
<p>ccc</p>
|
567
|
+
</pre>
|
568
|
+
<p>It is able to specify regular expression with :pattern option.
|
569
|
+
Notice that you must use '<code>(?: )</code>' instead of '<code>( )</code>' for grouping.
|
570
|
+
For example, '<code><(!--)?% %(--)?></code>' will not work while '<code><(?:!--)?% %(?:--)?></code>' will work.
|
571
|
+
</p>
|
572
|
+
<br>
|
573
|
+
|
574
|
+
|
575
|
+
<a name="tut-context"></a>
|
576
|
+
<h3 class="section2">Context Object</h3>
|
577
|
+
<p>Context object is a set of data which are used in eRuby script.
|
578
|
+
Using context object makes clear which data to be used.
|
579
|
+
In Erubis, Hash object and Erubis::Context object are available as context object.
|
580
|
+
</p>
|
581
|
+
<p>Context data can be accessible via instance variables in eRuby script.
|
582
|
+
</p>
|
583
|
+
<a name="example5.eruby"></a>
|
584
|
+
<div class="program_caption">
|
585
|
+
example5.eruby</div>
|
586
|
+
<pre class="program"><span><%= <strong>@val</strong> %></span>
|
587
|
+
<ul>
|
588
|
+
<% for item in <strong>@list</strong> %>
|
589
|
+
<li><%= item %></li>
|
590
|
+
<% end %>
|
591
|
+
</ul>
|
592
|
+
</pre>
|
593
|
+
<a name="example5.rb"></a>
|
594
|
+
<div class="program_caption">
|
595
|
+
example5.rb</div>
|
596
|
+
<pre class="program">require 'erubis'
|
597
|
+
input = File.read('example5.eruby')
|
598
|
+
eruby = Erubis::Eruby.new(input) # create Eruby object
|
599
|
+
|
600
|
+
## create context object
|
601
|
+
## (key means var name, which may be string or symbol.)
|
602
|
+
<strong>context = {
|
603
|
+
:val => 'Erubis Example',
|
604
|
+
'list' => ['aaa', 'bbb', 'ccc'],
|
605
|
+
}</strong>
|
606
|
+
## or
|
607
|
+
# context = Erubis::Context.new()
|
608
|
+
# context['val'] = 'Erubis Example'
|
609
|
+
# context[:list] = ['aaa', 'bbb', 'ccc'],
|
610
|
+
|
611
|
+
puts <strong>eruby.evaluate(context)</strong> # get result
|
612
|
+
</pre>
|
613
|
+
<a name="example5.result"></a>
|
614
|
+
<div class="terminal_caption">
|
615
|
+
output</div>
|
616
|
+
<pre class="terminal">$ ruby example5.rb
|
617
|
+
<span>Erubis Example</span>
|
618
|
+
<ul>
|
619
|
+
<li>aaa</li>
|
620
|
+
<li>bbb</li>
|
621
|
+
<li>ccc</li>
|
622
|
+
</ul>
|
623
|
+
</pre>
|
624
|
+
<p>The difference between Erubis#result(binding) and Erubis#evaluate(context) is that the former invokes 'eval @src, binding' and the latter invokes 'context.instance_eval @src'.
|
625
|
+
This means that data is passed into eRuby script via local variables when Eruby::binding() is called, or passed via instance variables when Eruby::evaluate() is called.
|
626
|
+
</p>
|
627
|
+
<p>Here is the definition of Erubis#result() and Erubis#evaluate().
|
628
|
+
</p>
|
629
|
+
<div class="program_caption">
|
630
|
+
definition of result(binding) and evaluate(context)</div>
|
631
|
+
<pre class="program">def result(_binding=TOPLEVEL_BINDING)
|
632
|
+
if _binding.is_a?(Hash)
|
633
|
+
# load hash data as local variable
|
634
|
+
_h = _binding
|
635
|
+
_binding = binding()
|
636
|
+
eval _h.collect{|k,v| "#{k} = _h[#{k.inspect}];"}.join, _binding
|
637
|
+
end
|
638
|
+
return <strong>eval(@src, _binding)</strong>
|
639
|
+
end
|
640
|
+
|
641
|
+
def evaluate(_context=Erubis::Context.new)
|
642
|
+
if _context.is_a?(Hash)
|
643
|
+
# convert hash object to Context object
|
644
|
+
_hash = _context
|
645
|
+
_context = Erubis::Context.new
|
646
|
+
_hash.each {|k, v| _context[k] = v }
|
647
|
+
end
|
648
|
+
return <strong>_context.instance_eval(@src)</strong>
|
649
|
+
end
|
650
|
+
</pre>
|
651
|
+
<p>instance_eval() is defined at Object class so it is able to use any object as a context object as well as Hash or Erubis::Context.
|
652
|
+
</p>
|
653
|
+
<a name="example6.rb"></a>
|
654
|
+
<div class="program_caption">
|
655
|
+
example6.rb</div>
|
656
|
+
<pre class="program">class MyData
|
657
|
+
attr_accessor :val, :list
|
658
|
+
end
|
659
|
+
|
660
|
+
## any object can be a context object
|
661
|
+
<strong>mydata = MyData.new</strong>
|
662
|
+
<strong>mydata.val = 'Erubis Example'</strong>
|
663
|
+
<strong>mydata.list = ['aaa', 'bbb', 'ccc']</strong>
|
664
|
+
|
665
|
+
require 'erubis'
|
666
|
+
eruby = Erubis::Eruby.new(File.read('example5.eruby'))
|
667
|
+
puts eruby.evaluate(<strong>mydata</strong>)
|
668
|
+
</pre>
|
669
|
+
<a name="example6.result"></a>
|
670
|
+
<div class="terminal_caption">
|
671
|
+
output</div>
|
672
|
+
<pre class="terminal">$ ruby example6.rb
|
673
|
+
<span>Erubis Example</span>
|
674
|
+
<ul>
|
675
|
+
<li>aaa</li>
|
676
|
+
<li>bbb</li>
|
677
|
+
<li>ccc</li>
|
678
|
+
</ul>
|
679
|
+
</pre>
|
680
|
+
<p>It is recommended to use 'Erubis::Eruby#evaluate(context)' rather than 'Erubis::Eruby#result(binding())' because the latter has some problems.
|
681
|
+
See <a href="#topics-context-vs-binding">evaluate(context) v.s. result(binding)</a> section for details.
|
682
|
+
</p>
|
683
|
+
<br>
|
684
|
+
|
685
|
+
|
686
|
+
<a name="tut-datafile"></a>
|
687
|
+
<h3 class="section2">Context Data File</h3>
|
688
|
+
<p>Command-line option '-f' specifies context data file.
|
689
|
+
Erubis load context data file and use it as context data.
|
690
|
+
Context data file can be YAML file ('*.yaml' or '*.yml') or Ruby script ('*.rb').
|
691
|
+
</p>
|
692
|
+
<a name="example7.eruby"></a>
|
693
|
+
<div class="program_caption">
|
694
|
+
example7.eruby</div>
|
695
|
+
<pre class="program"><h1><%= <strong>@title</strong> %></h1>
|
696
|
+
<ul>
|
697
|
+
<% for user in <strong>@users</strong> %>
|
698
|
+
<li>
|
699
|
+
<a href="mailto:<%= user['mail']%>"><%= user['name'] %></a>
|
700
|
+
</li>
|
701
|
+
<% end %>
|
702
|
+
</ul>
|
703
|
+
</pre>
|
704
|
+
<a name="context.yaml"></a>
|
705
|
+
<div class="program_caption">
|
706
|
+
context.yaml</div>
|
707
|
+
<pre class="program"><strong>title:</strong> Users List
|
708
|
+
<strong>users:</strong>
|
709
|
+
- name: foo
|
710
|
+
mail: foo@mail.com
|
711
|
+
- name: bar
|
712
|
+
mail: bar@mail.net
|
713
|
+
- name: baz
|
714
|
+
mail: baz@mail.org
|
715
|
+
</pre>
|
716
|
+
<a name="context.rb"></a>
|
717
|
+
<div class="program_caption">
|
718
|
+
context.rb</div>
|
719
|
+
<pre class="program">@title = 'Users List'
|
720
|
+
@users = [
|
721
|
+
{ 'name'=>'foo', 'mail'=>'foo@mail.com' },
|
722
|
+
{ 'name'=>'bar', 'mail'=>'bar@mail.net' },
|
723
|
+
{ 'name'=>'baz', 'mail'=>'baz@mail.org' },
|
724
|
+
]
|
725
|
+
</pre>
|
726
|
+
<a name="example7.result.split_filter"></a>
|
727
|
+
<div class="terminal_caption">
|
728
|
+
example of command-line option '-f'</div>
|
729
|
+
<pre class="terminal">$ erubis <strong>-f context.yaml</strong> example7.eruby
|
730
|
+
<h1>Users List</h1>
|
731
|
+
<ul>
|
732
|
+
<li>
|
733
|
+
<a href="mailto:foo@mail.com">foo</a>
|
734
|
+
</li>
|
735
|
+
<li>
|
736
|
+
<a href="mailto:bar@mail.net">bar</a>
|
737
|
+
</li>
|
738
|
+
<li>
|
739
|
+
<a href="mailto:baz@mail.org">baz</a>
|
740
|
+
</li>
|
741
|
+
</ul>
|
742
|
+
$ erubis <strong>-f context.rb</strong> example7.eruby
|
743
|
+
<h1>Users List</h1>
|
744
|
+
<ul>
|
745
|
+
<li>
|
746
|
+
<a href="mailto:foo@mail.com">foo</a>
|
747
|
+
</li>
|
748
|
+
<li>
|
749
|
+
<a href="mailto:bar@mail.net">bar</a>
|
750
|
+
</li>
|
751
|
+
<li>
|
752
|
+
<a href="mailto:baz@mail.org">baz</a>
|
753
|
+
</li>
|
754
|
+
</ul>
|
755
|
+
</pre>
|
756
|
+
<p>Command-line option '-S' converts keys of mapping in YAML data file from string into symbol.
|
757
|
+
Command-line option '-B' invokes 'Erubis::Eruby#result(binding())' instead of 'Erubis::Eruby#evaluate(context)'.
|
758
|
+
</p>
|
759
|
+
<br>
|
760
|
+
|
761
|
+
|
762
|
+
<a name="tut-datastr"></a>
|
763
|
+
<h3 class="section2">Context Data String</h3>
|
764
|
+
<p>Command-line option '-c <em>str</em>' enables you to specify context data in command-line.
|
765
|
+
<em>str</em> can be YAML flow-style or Ruby code.
|
766
|
+
</p>
|
767
|
+
<a name="example8.eruby"></a>
|
768
|
+
<div class="program_caption">
|
769
|
+
example8.eruby</div>
|
770
|
+
<pre class="program"><h1><%= @title %></h1>
|
771
|
+
<ul>
|
772
|
+
<% for item in @list %>
|
773
|
+
<li><%= item %></li>
|
774
|
+
<% end %>
|
775
|
+
</ul>
|
776
|
+
</pre>
|
777
|
+
<a name="example8_yaml.result"></a>
|
778
|
+
<div class="terminal_caption">
|
779
|
+
example of YAML flow style</div>
|
780
|
+
<pre class="terminal">$ erubis <strong>-c '{title: Example, list: [AAA, BBB, CCC]}'</strong> example8.eruby
|
781
|
+
<h1>Example</h1>
|
782
|
+
<ul>
|
783
|
+
<li>AAA</li>
|
784
|
+
<li>BBB</li>
|
785
|
+
<li>CCC</li>
|
786
|
+
</ul>
|
787
|
+
</pre>
|
788
|
+
<a name="example8_ruby.result"></a>
|
789
|
+
<div class="terminal_caption">
|
790
|
+
example of Ruby code</div>
|
791
|
+
<pre class="terminal">$ erubis <strong>-c '@title="Example"; @list=%w[AAA BBB CCC]'</strong> example8.eruby
|
792
|
+
<h1>Example</h1>
|
793
|
+
<ul>
|
794
|
+
<li>AAA</li>
|
795
|
+
<li>BBB</li>
|
796
|
+
<li>CCC</li>
|
797
|
+
</ul>
|
798
|
+
</pre>
|
799
|
+
<br>
|
800
|
+
|
801
|
+
|
802
|
+
<a name="tut-preamble"></a>
|
803
|
+
<h3 class="section2">Preamble and Postamble</h3>
|
804
|
+
<p>The first line ('_buf = '';') in the compiled source code is called preamble
|
805
|
+
and the last line ('_buf.to_s') is called postamble.
|
806
|
+
</p>
|
807
|
+
<p>Command-line option '-b' skips the output of preamble and postamble.
|
808
|
+
</p>
|
809
|
+
<a name="example9.eruby"></a>
|
810
|
+
<div class="program_caption">
|
811
|
+
example9.eruby</div>
|
812
|
+
<pre class="program"><% for item in @list %>
|
813
|
+
<b><%= item %></b>
|
814
|
+
<% end %>
|
815
|
+
</pre>
|
816
|
+
<a name="example9.result.split_filter"></a>
|
817
|
+
<div class="terminal_caption">
|
818
|
+
compiled source code with and without command-line option '-b'</div>
|
819
|
+
<pre class="terminal">$ erubis -x example9.eruby
|
820
|
+
<strong>_buf = '';</strong> for item in @list
|
821
|
+
_buf << ' <b>'; _buf << ( item ).to_s; _buf << '</b>
|
822
|
+
'; end
|
823
|
+
<strong>_buf.to_s</strong>
|
824
|
+
$ erubis -x <strong>-b</strong> example9.eruby
|
825
|
+
for item in @list
|
826
|
+
_buf << ' <b>'; _buf << ( item ).to_s; _buf << '</b>
|
827
|
+
'; end
|
828
|
+
</pre>
|
829
|
+
<p>Erubis::Eruby.new option '<code>:preamble=>false</code>' and '<code>:postamble=>false</code>' also suppress output of preamble or postamle.
|
830
|
+
</p>
|
831
|
+
<a name="example9.rb"></a>
|
832
|
+
<div class="program_caption">
|
833
|
+
example9.rb</div>
|
834
|
+
<pre class="program">require 'erubis'
|
835
|
+
input = File.read('example9.eruby')
|
836
|
+
eruby1 = Erubis::Eruby.new(input)
|
837
|
+
eruby2 = Erubis::Eruby.new(input, <strong>:preamble=>false, :postamble=>false</strong>)
|
838
|
+
|
839
|
+
puts eruby1.src # print preamble and postamble
|
840
|
+
puts "--------------"
|
841
|
+
puts eruby2.src # don't print preamble and postamble
|
842
|
+
</pre>
|
843
|
+
<a name="example9.result"></a>
|
844
|
+
<div class="terminal_caption">
|
845
|
+
output</div>
|
846
|
+
<pre class="terminal">$ ruby example9.rb
|
847
|
+
_buf = ''; for item in @list
|
848
|
+
_buf << ' <b>'; _buf << ( item ).to_s; _buf << '</b>
|
849
|
+
'; end
|
850
|
+
_buf.to_s
|
851
|
+
--------------
|
852
|
+
for item in @list
|
853
|
+
_buf << ' <b>'; _buf << ( item ).to_s; _buf << '</b>
|
854
|
+
'; end
|
855
|
+
</pre>
|
856
|
+
<br>
|
857
|
+
|
858
|
+
|
859
|
+
<a name="tut-pi"></a>
|
860
|
+
<h3 class="section2">Processing Instruction (PI) Converter</h3>
|
861
|
+
<p>Erubis can parse Processing Instructions (PI) as embedded pattern.
|
862
|
+
</p>
|
863
|
+
<ul type="disc">
|
864
|
+
<li>'<code><?rb <em>...</em> ?></code>' represents Ruby statement.
|
865
|
+
</li>
|
866
|
+
<li>'<code>@{<em>...</em>}@</code>' represents escaped expression value.
|
867
|
+
</li>
|
868
|
+
<li>'<code>@!{<em>...</em>}@</code>' represents normal expression value.
|
869
|
+
</li>
|
870
|
+
<li>'<code>@!!{<em>...</em>}@</code>' prints expression value to standard output.
|
871
|
+
</li>
|
872
|
+
<li>(experimental) '<code><%= <em>...</em> %></code>' is also available to print expression value.
|
873
|
+
</li>
|
874
|
+
</ul>
|
875
|
+
<p>This is more useful than basic embedded pattern ('<code><% ... ></code>') because PI doesn't break XML or HTML at all.
|
876
|
+
For example the following XHTML file is well-formed and HTML validator got no errors on this example.
|
877
|
+
</p>
|
878
|
+
<a name="example10.xhtml"></a>
|
879
|
+
<div class="program_caption">
|
880
|
+
example10.xhtml</div>
|
881
|
+
<pre class="program"><?xml version="1.0" ?>
|
882
|
+
<strong><?rb
|
883
|
+
lang = 'en'
|
884
|
+
list = ['<aaa>', 'b&b', '"ccc"']
|
885
|
+
?></strong>
|
886
|
+
<html lang="<strong>@!{lang}@</strong>">
|
887
|
+
<body>
|
888
|
+
<ul>
|
889
|
+
<strong><?rb for item in list ?></strong>
|
890
|
+
<li><strong>@{item}@</strong></li>
|
891
|
+
<strong><?rb end ?></strong>
|
892
|
+
</ul>
|
893
|
+
</body>
|
894
|
+
</html>
|
895
|
+
</pre>
|
896
|
+
<p>If the command-line property '--pi=<em>name</em>' is specified, erubis command parses input with PI converter.
|
897
|
+
If <em>name</em> is omitted then the following name is used according to '-l <em>lang</em>'.
|
898
|
+
</p>
|
899
|
+
<div align="center">
|
900
|
+
<table class="table1" border="1" cellspacing="0">
|
901
|
+
<tr class="tr1">
|
902
|
+
<th class="th1">'-l' option</th>
|
903
|
+
<th class="th1">PI name</th>
|
904
|
+
</tr>
|
905
|
+
<tr class="tr1">
|
906
|
+
<td class="td1">-l ruby</td>
|
907
|
+
<td class="td1"><?rb ... ?></td>
|
908
|
+
</tr>
|
909
|
+
<tr class="tr1">
|
910
|
+
<td class="td1">-l php</td>
|
911
|
+
<td class="td1"><?php ... ?></td>
|
912
|
+
</tr>
|
913
|
+
<tr class="tr1">
|
914
|
+
<td class="td1">-l perl</td>
|
915
|
+
<td class="td1"><?perl ... ?></td>
|
916
|
+
</tr>
|
917
|
+
<tr class="tr1">
|
918
|
+
<td class="td1">-l java</td>
|
919
|
+
<td class="td1"><?java ... ?></td>
|
920
|
+
</tr>
|
921
|
+
<tr class="tr1">
|
922
|
+
<td class="td1">-l javascript</td>
|
923
|
+
<td class="td1"><?js ... ?></td>
|
924
|
+
</tr>
|
925
|
+
<tr class="tr1">
|
926
|
+
<td class="td1">-l scheme</td>
|
927
|
+
<td class="td1"><?scheme ... ?></td>
|
928
|
+
</tr>
|
929
|
+
</table>
|
930
|
+
</div>
|
931
|
+
<a name="example10_x.result"></a>
|
932
|
+
<div class="terminal_caption">
|
933
|
+
output</div>
|
934
|
+
<pre class="terminal">$ erubis -x <strong>--pi</strong> example10.xhtml
|
935
|
+
_buf = ''; _buf << '<?xml version="1.0" ?>
|
936
|
+
';
|
937
|
+
lang = 'en'
|
938
|
+
list = ['<aaa>', 'b&b', '"ccc"']
|
939
|
+
|
940
|
+
_buf << '<html lang="'; _buf << (lang).to_s; _buf << '">
|
941
|
+
<body>
|
942
|
+
<ul>
|
943
|
+
'; for item in list
|
944
|
+
_buf << ' <li>'; _buf << Erubis::XmlHelper.escape_xml(item); _buf << '</li>
|
945
|
+
'; end
|
946
|
+
_buf << ' </ul>
|
947
|
+
</body>
|
948
|
+
</html>
|
949
|
+
';
|
950
|
+
_buf.to_s
|
951
|
+
</pre>
|
952
|
+
<p>Expression character can be changeable by command-line property '--embchar=<em>char</em>. Default is '<code>@</code>'.
|
953
|
+
</p>
|
954
|
+
<p>Use Erubis::PI::Eruby instead of Erubis::Eruby if you want to use PI as embedded pattern.
|
955
|
+
</p>
|
956
|
+
<a name="example10.rb"></a>
|
957
|
+
<div class="program_caption">
|
958
|
+
example10.rb</div>
|
959
|
+
<pre class="program">require 'erubis'
|
960
|
+
input = File.read('example10.xhtml')
|
961
|
+
eruby = Erubis::PI::Eruby.new(input)
|
962
|
+
print eruby.src
|
963
|
+
</pre>
|
964
|
+
<a name="example10.result"></a>
|
965
|
+
<div class="terminal_caption">
|
966
|
+
output</div>
|
967
|
+
<pre class="terminal">$ ruby example10.rb
|
968
|
+
_buf = ''; _buf << '<?xml version="1.0" ?>
|
969
|
+
';
|
970
|
+
lang = 'en'
|
971
|
+
list = ['<aaa>', 'b&b', '"ccc"']
|
972
|
+
|
973
|
+
_buf << '<html lang="'; _buf << (lang).to_s; _buf << '">
|
974
|
+
<body>
|
975
|
+
<ul>
|
976
|
+
'; for item in list
|
977
|
+
_buf << ' <li>'; _buf << Erubis::XmlHelper.escape_xml(item); _buf << '</li>
|
978
|
+
'; end
|
979
|
+
_buf << ' </ul>
|
980
|
+
</body>
|
981
|
+
</html>
|
982
|
+
';
|
983
|
+
_buf.to_s
|
984
|
+
</pre>
|
985
|
+
<p><strong>(experimental)</strong> Erubis supports '<%= ... %>' pattern with PI pattern.
|
986
|
+
</p>
|
987
|
+
<div class="program_caption">
|
988
|
+
example of Rails view template</div>
|
989
|
+
<pre class="program"><table>
|
990
|
+
<tr>
|
991
|
+
<?rb for item in @list ?>
|
992
|
+
<td>@{item.id}@</td>
|
993
|
+
<td>@{item.name}@</td>
|
994
|
+
<td>
|
995
|
+
<strong><%=</strong> link_to 'Destroy', {:action=>'destroy', :id=>item.id},
|
996
|
+
:confirm=>'Are you OK?' <strong>%></strong>
|
997
|
+
</td>
|
998
|
+
<?rb end ?>
|
999
|
+
</tr>
|
1000
|
+
</table>
|
1001
|
+
</pre>
|
1002
|
+
<br>
|
1003
|
+
|
1004
|
+
|
1005
|
+
<a name="tut-notext"></a>
|
1006
|
+
<h3 class="section2">Retrieve Ruby Code</h3>
|
1007
|
+
<p>Similar to '-x', ommand-line option '-X' shows converted Ruby source code.
|
1008
|
+
The difference between '-x' and 'X' is that the former converts text part but the latter ignores it.
|
1009
|
+
It means that you can retrieve Ruby code from eRuby script by '-X' option.
|
1010
|
+
</p>
|
1011
|
+
<p>For example, see the following eRuby script.
|
1012
|
+
This is some complex, so it is difficult to grasp the program code.
|
1013
|
+
</p>
|
1014
|
+
<a name="example11.rhtml"></a>
|
1015
|
+
<div class="program_caption">
|
1016
|
+
example11.rhtml</div>
|
1017
|
+
<pre class="program"><?xml version="1.0" encoding="UTF-8"?>
|
1018
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
1019
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
1020
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1021
|
+
<body>
|
1022
|
+
<h3>List</h3>
|
1023
|
+
<% if @list.nil? || @list.empty? %>
|
1024
|
+
<p>not found.</p>
|
1025
|
+
<% else %>
|
1026
|
+
<table>
|
1027
|
+
<tbody>
|
1028
|
+
<% @list.each_with_index do |item, i| %>
|
1029
|
+
<tr bgcolor="<%= i % 2 == 0 ? '#FCC' : '#CCF' %>">
|
1030
|
+
<td><%= item %></td>
|
1031
|
+
</tr>
|
1032
|
+
<% end %>
|
1033
|
+
</tbody>
|
1034
|
+
</table>
|
1035
|
+
<% end %>
|
1036
|
+
</body>
|
1037
|
+
</html>
|
1038
|
+
</pre>
|
1039
|
+
<p>Command-line option '-X' extracts only the ruby code from eRuby script.
|
1040
|
+
</p>
|
1041
|
+
<a name="example11.result"></a>
|
1042
|
+
<div class="terminal_caption">
|
1043
|
+
result</div>
|
1044
|
+
<pre class="terminal">$ erubis <strong>-X</strong> example11.rhtml
|
1045
|
+
_buf = '';
|
1046
|
+
|
1047
|
+
|
1048
|
+
|
1049
|
+
|
1050
|
+
|
1051
|
+
if @list.nil? || @list.empty?
|
1052
|
+
|
1053
|
+
else
|
1054
|
+
|
1055
|
+
|
1056
|
+
@list.each_with_index do |item, i|
|
1057
|
+
_buf << ( i % 2 == 0 ? '#FCC' : '#CCF' ).to_s;
|
1058
|
+
_buf << ( item ).to_s;
|
1059
|
+
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
|
1066
|
+
_buf.to_s
|
1067
|
+
</pre>
|
1068
|
+
<p>Command-line option '-C' (<strong>c</strong>mpact) deletes empty lines.
|
1069
|
+
</p>
|
1070
|
+
<a name="example11_C.result"></a>
|
1071
|
+
<div class="terminal_caption">
|
1072
|
+
result</div>
|
1073
|
+
<pre class="terminal">$ erubis <strong>-XC</strong> example11.rhtml
|
1074
|
+
_buf = '';
|
1075
|
+
if @list.nil? || @list.empty?
|
1076
|
+
else
|
1077
|
+
@list.each_with_index do |item, i|
|
1078
|
+
_buf << ( i % 2 == 0 ? '#FCC' : '#CCF' ).to_s;
|
1079
|
+
_buf << ( item ).to_s;
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
_buf.to_s
|
1083
|
+
</pre>
|
1084
|
+
<p>Option '-U' (<strong>u</strong>nique) converts empty lines into a line.
|
1085
|
+
</p>
|
1086
|
+
<a name="example11_U.result"></a>
|
1087
|
+
<div class="terminal_caption">
|
1088
|
+
result</div>
|
1089
|
+
<pre class="terminal">$ erubis <strong>-XU</strong> example11.rhtml
|
1090
|
+
_buf = '';
|
1091
|
+
|
1092
|
+
if @list.nil? || @list.empty?
|
1093
|
+
|
1094
|
+
else
|
1095
|
+
|
1096
|
+
@list.each_with_index do |item, i|
|
1097
|
+
_buf << ( i % 2 == 0 ? '#FCC' : '#CCF' ).to_s;
|
1098
|
+
_buf << ( item ).to_s;
|
1099
|
+
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
_buf.to_s
|
1105
|
+
</pre>
|
1106
|
+
<p>Option '-N' (<strong>n</strong>umber) adds line number.
|
1107
|
+
It is available with '-C' or '-U'.
|
1108
|
+
</p>
|
1109
|
+
<a name="example11_N.result"></a>
|
1110
|
+
<div class="terminal_caption">
|
1111
|
+
result</div>
|
1112
|
+
<pre class="terminal">$ erubis <strong>-XNU</strong> example11.rhtml
|
1113
|
+
1: _buf = '';
|
1114
|
+
|
1115
|
+
7: if @list.nil? || @list.empty?
|
1116
|
+
|
1117
|
+
9: else
|
1118
|
+
|
1119
|
+
12: @list.each_with_index do |item, i|
|
1120
|
+
13: _buf << ( i % 2 == 0 ? '#FCC' : '#CCF' ).to_s;
|
1121
|
+
14: _buf << ( item ).to_s;
|
1122
|
+
|
1123
|
+
16: end
|
1124
|
+
|
1125
|
+
19: end
|
1126
|
+
|
1127
|
+
22: _buf.to_s
|
1128
|
+
</pre>
|
1129
|
+
<p>Command-line option '-X' is available with PHP script.
|
1130
|
+
</p>
|
1131
|
+
<a name="example11.php"></a>
|
1132
|
+
<div class="program_caption">
|
1133
|
+
example11.php</div>
|
1134
|
+
<pre class="program"><?xml version="1.0"?>
|
1135
|
+
<html>
|
1136
|
+
<body>
|
1137
|
+
<h3>List</h3>
|
1138
|
+
<?php if (!$list) { ?>
|
1139
|
+
<p>not found.</p>
|
1140
|
+
<?php } else { ?>
|
1141
|
+
<table>
|
1142
|
+
<tbody>
|
1143
|
+
<?php $i = 0; ?>
|
1144
|
+
<?php foreach ($list as $item) { ?>
|
1145
|
+
<tr bgcolor="<?php echo ++$i % 2 == 1 ? '#FCC' : '#CCF'; ?>">
|
1146
|
+
<td><?php echo $item; ?></td>
|
1147
|
+
</tr>
|
1148
|
+
<?php } ?>
|
1149
|
+
</tbody>
|
1150
|
+
</table>
|
1151
|
+
<?php } ?>
|
1152
|
+
</body>
|
1153
|
+
</html>
|
1154
|
+
</pre>
|
1155
|
+
<a name="example11_php.result"></a>
|
1156
|
+
<div class="terminal_caption">
|
1157
|
+
result</div>
|
1158
|
+
<pre class="terminal">$ erubis -XNU <strong>-l php</strong> <strong>--pi=php</strong> --trim=false example11.php
|
1159
|
+
|
1160
|
+
5: <?php if (!$list) { ?>
|
1161
|
+
|
1162
|
+
7: <?php } else { ?>
|
1163
|
+
|
1164
|
+
10: <?php $i = 0; ?>
|
1165
|
+
11: <?php foreach ($list as $item) { ?>
|
1166
|
+
12: <?php echo ++$i % 2 == 1 ? '#FCC' : '#CCF'; ?>
|
1167
|
+
13: <?php echo $item; ?>
|
1168
|
+
|
1169
|
+
15: <?php } ?>
|
1170
|
+
|
1171
|
+
18: <?php } ?>
|
1172
|
+
|
1173
|
+
</pre>
|
1174
|
+
<br>
|
1175
|
+
|
1176
|
+
|
1177
|
+
<br>
|
1178
|
+
|
1179
|
+
|
1180
|
+
<a name="enhancer"></a>
|
1181
|
+
<h2 class="section1">Enhancer</h2>
|
1182
|
+
<p>Enhancer is a module to add a certain feature into Erubis::Eruby class.
|
1183
|
+
Enhancer may be language-independent or only for Erubis::Eruby class.
|
1184
|
+
</p>
|
1185
|
+
<p>To use enhancers, define subclass and include them.
|
1186
|
+
The folloing is an example to use <a href="#escape-enhancer">EscapeEnhancer</a>, <a href="#percentline-enhancer">PercentLineEnhancer</a>, and <a href="#bipattern-enhancer">BiPatternEnhancer</a>.
|
1187
|
+
</p>
|
1188
|
+
<pre class="program">class MyEruby < Erubis::Eruby
|
1189
|
+
include EscapeEnhancer
|
1190
|
+
include PercentLineEnhancer
|
1191
|
+
include BiPatternEnhancer
|
1192
|
+
end
|
1193
|
+
</pre>
|
1194
|
+
<p>You can specify enhancers in command-line with option '-E'.
|
1195
|
+
The following is an example to use some enhancers in command-line.
|
1196
|
+
</p>
|
1197
|
+
<pre class="terminal">$ erubis -xE Escape,PercentLine,BiPattern example.eruby
|
1198
|
+
</pre>
|
1199
|
+
<p>The following is the list of enhancers.
|
1200
|
+
</p>
|
1201
|
+
<dl class="dl1">
|
1202
|
+
<dt class="dt1">
|
1203
|
+
<a href="#escape-enhancer">EscapeEnhander</a> (language-independent)</dt>
|
1204
|
+
<dd class="dd1">
|
1205
|
+
Switch '<%= %>' to escaped and '<%== %>' to unescaped.
|
1206
|
+
</dd>
|
1207
|
+
<dt class="dt1">
|
1208
|
+
<a href="#stdout-enhancer">StdoutEnhancer</a> (only for Eruby)</dt>
|
1209
|
+
<dd class="dd1">
|
1210
|
+
Use $stdout instead of array buffer.
|
1211
|
+
</dd>
|
1212
|
+
<dt class="dt1">
|
1213
|
+
<a href="#printout-enhancer">PrintOutEnhancer</a> (only for Eruby)</dt>
|
1214
|
+
<dd class="dd1">
|
1215
|
+
Use "print(...)" statement insead of "_buf << ...".
|
1216
|
+
</dd>
|
1217
|
+
<dt class="dt1">
|
1218
|
+
<a href="#printenabled-enhancer">PrintEnabledEnhancer</a> (only for Eruby)</dt>
|
1219
|
+
<dd class="dd1">
|
1220
|
+
Enable to use print() in '<% ... %>'.
|
1221
|
+
</dd>
|
1222
|
+
<dt class="dt1">
|
1223
|
+
<a href="#array-enhancer">ArrayEnhancer</a> (only for Eruby)</dt>
|
1224
|
+
<dd class="dd1">
|
1225
|
+
Return array of string instead of returning string.
|
1226
|
+
</dd>
|
1227
|
+
<dt class="dt1">
|
1228
|
+
<a href="#arraybuffer-enhancer">ArrayBufferEnhancer</a> (only for Eruby)</dt>
|
1229
|
+
<dd class="dd1">
|
1230
|
+
Use array buffer. It is a little slower than StringBufferEnhancer.
|
1231
|
+
</dd>
|
1232
|
+
<dt class="dt1">
|
1233
|
+
<a href="#stringbuffer-enhancer">StringBufferEnhancer</a> (only for Eruby)</dt>
|
1234
|
+
<dd class="dd1">
|
1235
|
+
Use string buffer. This is included in Erubis::Eruby by default.
|
1236
|
+
</dd>
|
1237
|
+
<dt class="dt1">
|
1238
|
+
<a href="#erbout-enhancer">ErboutEnhancer</a> (only for Eruby)</dt>
|
1239
|
+
<dd class="dd1">
|
1240
|
+
Set '_erbout = _buf = "";' to be compatible with ERB.
|
1241
|
+
</dd>
|
1242
|
+
<dt class="dt1">
|
1243
|
+
<a href="#notext-enhancer">NoTextEnhancer</a> (language-independent)</dt>
|
1244
|
+
<dd class="dd1">
|
1245
|
+
Print embedded code only and ignore normal text.
|
1246
|
+
</dd>
|
1247
|
+
<dt class="dt1">
|
1248
|
+
<a href="#nocode-enhancer">NoCodeEnhancer</a> (language-independent)</dt>
|
1249
|
+
<dd class="dd1">
|
1250
|
+
Print normal text only and ignore code.
|
1251
|
+
</dd>
|
1252
|
+
<dt class="dt1">
|
1253
|
+
<a href="#simplify-enhancer">SimplifyEnhancer</a> (language-independent)</dt>
|
1254
|
+
<dd class="dd1">
|
1255
|
+
Make compile faster but don't trim spaces around '<% %>'.
|
1256
|
+
</dd>
|
1257
|
+
<dt class="dt1">
|
1258
|
+
<a href="#bipattern-enhancer">BiPatternEnhancer</a> (language-independent)</dt>
|
1259
|
+
<dd class="dd1">
|
1260
|
+
[experimental] Enable to use another embedded pattern with '<% %>'.
|
1261
|
+
</dd>
|
1262
|
+
<dt class="dt1">
|
1263
|
+
<a href="#percentline-enhancer">PercentLineEnhancer</a> (language-independent)</dt>
|
1264
|
+
<dd class="dd1">
|
1265
|
+
Regard lines starting with '%' as Ruby code. This is for compatibility with eruby and ERB.
|
1266
|
+
</dd>
|
1267
|
+
<dt class="dt1">
|
1268
|
+
<a href="#headerfooter-enhancer">HeaderFooterEnhancer</a> (language-independent)</dt>
|
1269
|
+
<dd class="dd1">
|
1270
|
+
[experimental] Enable you to add header and footer in eRuby script.
|
1271
|
+
</dd>
|
1272
|
+
<dt class="dt1">
|
1273
|
+
<a href="#interpolation-enhancer">InterpolationEnhancer</a> (only for Eruby)</dt>
|
1274
|
+
<dd class="dd1">
|
1275
|
+
[experimental] convert '<p><%= text %></p>' into '_buf << %Q`<p>#{text}</p>`'.
|
1276
|
+
</dd>
|
1277
|
+
<dt class="dt1">
|
1278
|
+
<a href="#deleteindent-enhancer">DeleteIndentEnhancer</a> (language-independent)</dt>
|
1279
|
+
<dd class="dd1">
|
1280
|
+
[experimental] delete indentation of HTML file and eliminate page size.
|
1281
|
+
</dd>
|
1282
|
+
</dl>
|
1283
|
+
<p>If you required 'erubis/engine/enhanced', Eruby subclasses which include each enhancers are defined.
|
1284
|
+
For example, class BiPatternEruby includes BiPatternEnhancer.
|
1285
|
+
</p>
|
1286
|
+
<a name="escape-enhancer"></a>
|
1287
|
+
<h3 class="section2">EscapeEnhancer</h3>
|
1288
|
+
<p>EscapeEnhancer switches '<%= ... %>' to escaped and '<%== ... %>' to unescaped.
|
1289
|
+
</p>
|
1290
|
+
<a name="example.eruby"></a>
|
1291
|
+
<div class="program_caption">
|
1292
|
+
example.eruby</div>
|
1293
|
+
<pre class="program"><div>
|
1294
|
+
<% for item in list %>
|
1295
|
+
<p><%= item %></p>
|
1296
|
+
<p><%== item %></p>
|
1297
|
+
<% end %>
|
1298
|
+
</div>
|
1299
|
+
</pre>
|
1300
|
+
<a name="escape_example.result"></a>
|
1301
|
+
<div class="terminal_caption">
|
1302
|
+
compiled source code</div>
|
1303
|
+
<pre class="terminal">$ erubis -xE Escape example.eruby
|
1304
|
+
_buf = ''; _buf << '<div>
|
1305
|
+
'; for item in list
|
1306
|
+
_buf << ' <p>'; <strong>_buf << Erubis::XmlHelper.escape_xml( item );</strong> _buf << '</p>
|
1307
|
+
<p>'; <strong>_buf << ( item ).to_s;</strong> _buf << '</p>
|
1308
|
+
'; end
|
1309
|
+
_buf << '</div>
|
1310
|
+
';
|
1311
|
+
_buf.to_s
|
1312
|
+
</pre>
|
1313
|
+
<p>EscapeEnhancer is language-independent.
|
1314
|
+
</p>
|
1315
|
+
<br>
|
1316
|
+
|
1317
|
+
|
1318
|
+
<a name="stdout-enhancer"></a>
|
1319
|
+
<h3 class="section2">StdoutEnhancer</h3>
|
1320
|
+
<p>StdoutEnhancer use $sdtdout instead of array buffer.
|
1321
|
+
Therefore, you can use 'print' statement in embedded ruby code.
|
1322
|
+
</p>
|
1323
|
+
<a name="stdout_exmple.result"></a>
|
1324
|
+
<div class="terminal_caption">
|
1325
|
+
compiled source code</div>
|
1326
|
+
<pre class="terminal">$ erubis -xE Stdout example.eruby
|
1327
|
+
<strong>_buf = $stdout;</strong> _buf << '<div>
|
1328
|
+
'; for item in list
|
1329
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
1330
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1331
|
+
'; end
|
1332
|
+
_buf << '</div>
|
1333
|
+
';
|
1334
|
+
<strong>''</strong>
|
1335
|
+
</pre>
|
1336
|
+
<p>StdoutEnhancer is only for Eruby.
|
1337
|
+
</p>
|
1338
|
+
<br>
|
1339
|
+
|
1340
|
+
|
1341
|
+
<a name="printout-enhancer"></a>
|
1342
|
+
<h3 class="section2">PrintOutEnhancer</h3>
|
1343
|
+
<p>PrintOutEnhancer makes compiled source code to use 'print(...)' instead of '_buf << ...'.
|
1344
|
+
</p>
|
1345
|
+
<a name="printstatement_example.result"></a>
|
1346
|
+
<div class="terminal_caption">
|
1347
|
+
compiled source code</div>
|
1348
|
+
<pre class="terminal">$ erubis -xE PrintOut example.eruby
|
1349
|
+
<strong>print</strong> '<div>
|
1350
|
+
'; for item in list
|
1351
|
+
<strong>print</strong> ' <p>'; <strong>print</strong>(( item ).to_s); <strong>print</strong> '</p>
|
1352
|
+
<p>'; <strong>print</strong> Erubis::XmlHelper.escape_xml( item ); <strong>print</strong> '</p>
|
1353
|
+
'; end
|
1354
|
+
<strong>print</strong> '</div>
|
1355
|
+
';
|
1356
|
+
</pre>
|
1357
|
+
<p>PrintOutEnhancer is only for Eruby.
|
1358
|
+
</p>
|
1359
|
+
<br>
|
1360
|
+
|
1361
|
+
|
1362
|
+
<a name="printenabled-enhancer"></a>
|
1363
|
+
<h3 class="section2">PrintEnabledEnhancer</h3>
|
1364
|
+
<p>PrintEnabledEnhancer enables you to use print() method in '<% ... %>'.
|
1365
|
+
</p>
|
1366
|
+
<a name="printenabled-example.eruby"></a>
|
1367
|
+
<div class="program_caption">
|
1368
|
+
printenabled-example.eruby</div>
|
1369
|
+
<pre class="program"><% for item in @list %>
|
1370
|
+
<b><strong><% print item %></strong></b>
|
1371
|
+
<% end %>
|
1372
|
+
</pre>
|
1373
|
+
<a name="printenabled-example.rb"></a>
|
1374
|
+
<div class="program_caption">
|
1375
|
+
printenabled-example.rb</div>
|
1376
|
+
<pre class="program">require 'erubis'
|
1377
|
+
class PrintEnabledEruby < Erubis::Eruby
|
1378
|
+
include Erubis::PrintEnabledEnhancer
|
1379
|
+
end
|
1380
|
+
input = File.read('printenabled-example.eruby')
|
1381
|
+
eruby = PrintEnabledEruby.new(input)
|
1382
|
+
list = ['aaa', 'bbb', 'ccc']
|
1383
|
+
print eruby.evaluate(:list=>list)
|
1384
|
+
</pre>
|
1385
|
+
<a name="printenable_example.result"></a>
|
1386
|
+
<div class="terminal_caption">
|
1387
|
+
output result</div>
|
1388
|
+
<pre class="terminal">$ ruby printenabled-example.rb
|
1389
|
+
<b>aaa</b>
|
1390
|
+
<b>bbb</b>
|
1391
|
+
<b>ccc</b>
|
1392
|
+
</pre>
|
1393
|
+
<p>Notice to use Eruby#evaluate() and not to use Eruby#result(),
|
1394
|
+
because print() method in '<% ... %>' invokes not Kernel#print() but PrintEnabledEnhancer#print().
|
1395
|
+
</p>
|
1396
|
+
<p>PrintEnabledEnhancer is only for Eruby.
|
1397
|
+
</p>
|
1398
|
+
<br>
|
1399
|
+
|
1400
|
+
|
1401
|
+
<a name="array-enhancer"></a>
|
1402
|
+
<h3 class="section2">ArrayEnhancer</h3>
|
1403
|
+
<p>ArrayEnhancer makes Eruby to return an array of strings.
|
1404
|
+
</p>
|
1405
|
+
<a name="array_example.result"></a>
|
1406
|
+
<div class="terminal_caption">
|
1407
|
+
compiled source code</div>
|
1408
|
+
<pre class="terminal">$ erubis -xE Array example.eruby
|
1409
|
+
<strong>_buf = [];</strong> _buf << '<div>
|
1410
|
+
'; for item in list
|
1411
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
1412
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1413
|
+
'; end
|
1414
|
+
_buf << '</div>
|
1415
|
+
';
|
1416
|
+
<strong>_buf</strong>
|
1417
|
+
</pre>
|
1418
|
+
<p>ArrayEnhancer is only for Eruby.
|
1419
|
+
</p>
|
1420
|
+
<br>
|
1421
|
+
|
1422
|
+
|
1423
|
+
<a name="arraybuffer-enhancer"></a>
|
1424
|
+
<h3 class="section2">ArrayBufferEnhancer</h3>
|
1425
|
+
<p>ArrayBufferEnhancer makes Eruby to use array buffer.
|
1426
|
+
Array buffer is a litte slower than String buffer.
|
1427
|
+
</p>
|
1428
|
+
<p>ArrayBufferEnhancer is only for Eruby.
|
1429
|
+
</p>
|
1430
|
+
<a name="arraybuffer_example.result"></a>
|
1431
|
+
<div class="terminal_caption">
|
1432
|
+
compiled source code</div>
|
1433
|
+
<pre class="terminal">$ erubis -xE ArrayBuffer example.eruby
|
1434
|
+
<strong>_buf = [];</strong> _buf << '<div>
|
1435
|
+
'; for item in list
|
1436
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
1437
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1438
|
+
'; end
|
1439
|
+
_buf << '</div>
|
1440
|
+
';
|
1441
|
+
<strong>_buf.join</strong>
|
1442
|
+
</pre>
|
1443
|
+
<br>
|
1444
|
+
|
1445
|
+
|
1446
|
+
<a name="stringbuffer-enhancer"></a>
|
1447
|
+
<h3 class="section2">StringBufferEnhancer</h3>
|
1448
|
+
<p>StringBufferEnhancer makes Eruby to use string buffer.
|
1449
|
+
String buffer is a little faster than array buffer.
|
1450
|
+
Erubis::Eruby includes this enhancer by default.
|
1451
|
+
</p>
|
1452
|
+
<a name="stringbuffer_example.result"></a>
|
1453
|
+
<div class="terminal_caption">
|
1454
|
+
compiled source code</div>
|
1455
|
+
<pre class="terminal">$ erubis -xE StringBuffer example.eruby
|
1456
|
+
<strong>_buf = '';</strong> _buf << '<div>
|
1457
|
+
'; for item in list
|
1458
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
1459
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1460
|
+
'; end
|
1461
|
+
_buf << '</div>
|
1462
|
+
';
|
1463
|
+
<strong>_buf.to_s</strong>
|
1464
|
+
</pre>
|
1465
|
+
<p>StringBufferEnhancer is only for Eruby.
|
1466
|
+
</p>
|
1467
|
+
<br>
|
1468
|
+
|
1469
|
+
|
1470
|
+
<a name="erbout-enhancer"></a>
|
1471
|
+
<h3 class="section2">ErboutEnhancer</h3>
|
1472
|
+
<p>ErboutEnhancer makes Eruby to be compatible with ERB.
|
1473
|
+
This is useful especially for Ruby on Rails.
|
1474
|
+
</p>
|
1475
|
+
<div class="terminal_caption">
|
1476
|
+
compiled source code</div>
|
1477
|
+
<pre class="terminal">$ erubis -xE Erbout example.eruby
|
1478
|
+
<strong>_erbout = _buf = '';</strong> _buf << '<div>
|
1479
|
+
'; for item in list
|
1480
|
+
_buf << ' <p>'; _buf << ( item ).to_s; _buf << '</p>
|
1481
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1482
|
+
'; end
|
1483
|
+
_buf << '</div>
|
1484
|
+
';
|
1485
|
+
_buf.to_s
|
1486
|
+
</pre>
|
1487
|
+
<p>ErboutEnhancer is only for Eruby.
|
1488
|
+
</p>
|
1489
|
+
<br>
|
1490
|
+
|
1491
|
+
|
1492
|
+
<a name="notext-enhancer"></a>
|
1493
|
+
<h3 class="section2">NoTextEnhancer</h3>
|
1494
|
+
<p>NoTextEnhancer suppress output of text and prints only embedded code.
|
1495
|
+
This is useful especially when debugging a complex eRuby script.
|
1496
|
+
</p>
|
1497
|
+
<a name="notext-example.eruby"></a>
|
1498
|
+
<div class="program_caption">
|
1499
|
+
notext-example.eruby</div>
|
1500
|
+
<pre class="program"><h3>List</h3>
|
1501
|
+
<% if !@list || @list.empty? %>
|
1502
|
+
<p>not found.</p>
|
1503
|
+
<% else %>
|
1504
|
+
<table>
|
1505
|
+
<tbody>
|
1506
|
+
<% @list.each_with_index do |item, i| %>
|
1507
|
+
<tr bgcolor="<%= i%2 == 0 ? '#FFCCCC' : '#CCCCFF' %>">
|
1508
|
+
<td><%= item %></td>
|
1509
|
+
</tr>
|
1510
|
+
<% end %>
|
1511
|
+
</tbody>
|
1512
|
+
</table>
|
1513
|
+
<% end %>
|
1514
|
+
</pre>
|
1515
|
+
<a name="notext_example.result"></a>
|
1516
|
+
<div class="terminal_caption">
|
1517
|
+
output example of NoTextEnhancer</div>
|
1518
|
+
<pre class="terminal">$ erubis -xE NoText notext-example.eruby
|
1519
|
+
_buf = '';
|
1520
|
+
if !@list || @list.empty?
|
1521
|
+
|
1522
|
+
else
|
1523
|
+
|
1524
|
+
|
1525
|
+
@list.each_with_index do |item, i|
|
1526
|
+
_buf << ( i%2 == 0 ? '#FFCCCC' : '#CCCCFF' ).to_s;
|
1527
|
+
_buf << ( item ).to_s;
|
1528
|
+
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
|
1532
|
+
end
|
1533
|
+
_buf.to_s
|
1534
|
+
</pre>
|
1535
|
+
<p>NoTextEnhancer is language-independent. It is useful even if you are PHP user, see <a href="#topics-php">this section</a>.
|
1536
|
+
</p>
|
1537
|
+
<br>
|
1538
|
+
|
1539
|
+
|
1540
|
+
<a name="nocode-enhancer"></a>
|
1541
|
+
<h3 class="section2">NoCodeEnhancer</h3>
|
1542
|
+
<p>NoCodeEnhancer suppress output of embedded code and prints only normal text.
|
1543
|
+
This is useful especially when validating HTML tags.
|
1544
|
+
</p>
|
1545
|
+
<a name="nocode-example.eruby"></a>
|
1546
|
+
<div class="program_caption">
|
1547
|
+
nocode-example.eruby</div>
|
1548
|
+
<pre class="program"><h3>List</h3>
|
1549
|
+
<% if !@list || @list.empty? %>
|
1550
|
+
<p>not found.</p>
|
1551
|
+
<% else %>
|
1552
|
+
<table>
|
1553
|
+
<tbody>
|
1554
|
+
<% @list.each_with_index do |item, i| %>
|
1555
|
+
<tr bgcolor="<%= i%2 == 0 ? '#FFCCCC' : '#CCCCFF' %>">
|
1556
|
+
<td><%= item %></td>
|
1557
|
+
</tr>
|
1558
|
+
<% end %>
|
1559
|
+
</tbody>
|
1560
|
+
</table>
|
1561
|
+
<% end %>
|
1562
|
+
</pre>
|
1563
|
+
<a name="nocode_example.result"></a>
|
1564
|
+
<div class="terminal_caption">
|
1565
|
+
output example of NoCodeEnhancer</div>
|
1566
|
+
<pre class="terminal">$ erubis -xE NoCode notext-example.eruby
|
1567
|
+
<h3>List</h3>
|
1568
|
+
|
1569
|
+
<p>not found.</p>
|
1570
|
+
|
1571
|
+
<table>
|
1572
|
+
<tbody>
|
1573
|
+
|
1574
|
+
<tr bgcolor="">
|
1575
|
+
<td></td>
|
1576
|
+
</tr>
|
1577
|
+
|
1578
|
+
</tbody>
|
1579
|
+
</table>
|
1580
|
+
|
1581
|
+
</pre>
|
1582
|
+
<p>NoCodeEnhancer is language-independent. It is useful even if you are PHP user, see <a href="#topics-php">this section</a>.
|
1583
|
+
</p>
|
1584
|
+
<br>
|
1585
|
+
|
1586
|
+
|
1587
|
+
<a name="simplify-enhancer"></a>
|
1588
|
+
<h3 class="section2">SimplifyEnhancer</h3>
|
1589
|
+
<p>SimplifyEnhancer makes compiling a little faster but don't trim spaces around '<% %>'.
|
1590
|
+
</p>
|
1591
|
+
<a name="simplify_example.result"></a>
|
1592
|
+
<div class="terminal_caption">
|
1593
|
+
compiled source code</div>
|
1594
|
+
<pre class="terminal">$ erubis -xE Simplify example.eruby
|
1595
|
+
_buf = ''; _buf << '<div>
|
1596
|
+
'; for item in list ; _buf << '
|
1597
|
+
<p>'; _buf << ( item ).to_s; _buf << '</p>
|
1598
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1599
|
+
'; end ; _buf << '
|
1600
|
+
</div>
|
1601
|
+
';
|
1602
|
+
_buf.to_s
|
1603
|
+
</pre>
|
1604
|
+
<p>SimplifyEnhancer is language-independent.
|
1605
|
+
</p>
|
1606
|
+
<br>
|
1607
|
+
|
1608
|
+
|
1609
|
+
<a name="bipattern-enhancer"></a>
|
1610
|
+
<h3 class="section2">BiPatternEnhancer</h3>
|
1611
|
+
<p>BiPatternEnhancer enables to use another embedded pattern with '<% %>'.
|
1612
|
+
By Default, '[= ... =]' is available for expression.
|
1613
|
+
You can specify pattern by :bipattern property.
|
1614
|
+
</p>
|
1615
|
+
<a name="bipattern-example.rhtml"></a>
|
1616
|
+
<div class="program_caption">
|
1617
|
+
bipattern-example.rhtml</div>
|
1618
|
+
<pre class="program"><% for item in list %>
|
1619
|
+
<b><strong>[= item =]</strong></b>
|
1620
|
+
<b><strong>[== item =]</strong></b>
|
1621
|
+
<% end %>
|
1622
|
+
</pre>
|
1623
|
+
<a name="bipattern_example.result"></a>
|
1624
|
+
<div class="terminal_caption">
|
1625
|
+
compiled source code</div>
|
1626
|
+
<pre class="terminal">$ erubis -xE BiPattern bipattern-example.rhtml
|
1627
|
+
_buf = ''; for item in list
|
1628
|
+
_buf << ' <b>'; <strong>_buf << ( item ).to_s;</strong> _buf << '</b>
|
1629
|
+
<b>'; <strong>_buf << Erubis::XmlHelper.escape_xml( item );</strong> _buf << '</b>
|
1630
|
+
'; end
|
1631
|
+
_buf.to_s
|
1632
|
+
</pre>
|
1633
|
+
<p>BiPatternEnhancer is language-independent.
|
1634
|
+
</p>
|
1635
|
+
<br>
|
1636
|
+
|
1637
|
+
|
1638
|
+
<a name="percentline-enhancer"></a>
|
1639
|
+
<h3 class="section2">PercentLineEnhancer</h3>
|
1640
|
+
<p>PercentLineEnhancer regards lines starting with '%' as Ruby code.
|
1641
|
+
This is for compatibility with eruby and ERB.
|
1642
|
+
</p>
|
1643
|
+
<a name="percentline-example.rhtml"></a>
|
1644
|
+
<div class="program_caption">
|
1645
|
+
percentline-example.rhtml</div>
|
1646
|
+
<pre class="program"><ul>
|
1647
|
+
<strong>% for item in list</strong>
|
1648
|
+
<li><%= item %></li>
|
1649
|
+
<strong>% end</strong>
|
1650
|
+
</ul>
|
1651
|
+
<strong>%% lines with '%%'</strong>
|
1652
|
+
</pre>
|
1653
|
+
<a name="percentline_example.result"></a>
|
1654
|
+
<div class="terminal_caption">
|
1655
|
+
compiled source code</div>
|
1656
|
+
<pre class="terminal">$ erubis -xE PercentLine percentline-example.rhtml
|
1657
|
+
_buf = ''; _buf << '<ul>
|
1658
|
+
'; <strong>for item in list</strong>
|
1659
|
+
_buf << ' <li>'; _buf << ( item ).to_s; _buf << '</li>
|
1660
|
+
'; <strong>end</strong>
|
1661
|
+
_buf << '</ul>
|
1662
|
+
<strong>% lines with \'%%\'</strong>
|
1663
|
+
';
|
1664
|
+
_buf.to_s
|
1665
|
+
</pre>
|
1666
|
+
<p>PercentLineEnhancer is language-independent.
|
1667
|
+
</p>
|
1668
|
+
<br>
|
1669
|
+
|
1670
|
+
|
1671
|
+
<a name="prefixedline-enhancer"></a>
|
1672
|
+
<h3 class="section2">PrefixedLineEnhancer</h3>
|
1673
|
+
<p>PrefixedlineEnhancer regards lines starting with '%' as Ruby code.
|
1674
|
+
It is similar to <a href="#percentline-enhancer">PercentLineEnhancer</a>, but there are some differences.
|
1675
|
+
</p>
|
1676
|
+
<ul type="disc">
|
1677
|
+
<li>PrefixedlineEnhancer allows to indent lines starting with '%', but PercentLineEnhancer doesn't.
|
1678
|
+
</li>
|
1679
|
+
<li>PrefixedlineEnhancer allows to change prefixed character (default '%'), but PercentLineEnhancer doesn't.
|
1680
|
+
</li>
|
1681
|
+
</ul>
|
1682
|
+
<a name="prefixedline-example.rhtml"></a>
|
1683
|
+
<div class="program_caption">
|
1684
|
+
prefixedline-example.rhtml</div>
|
1685
|
+
<pre class="program"><ul>
|
1686
|
+
<strong>! for item in list</strong>
|
1687
|
+
<li><%= item %></li>
|
1688
|
+
<strong>! end</strong>
|
1689
|
+
</ul>
|
1690
|
+
<strong>!! lines with '!!'</strong>
|
1691
|
+
</pre>
|
1692
|
+
<a name="prefixedline-example.rb"></a>
|
1693
|
+
<div class="program_caption">
|
1694
|
+
prefixedline-example.rb</div>
|
1695
|
+
<pre class="program">require 'erubis'
|
1696
|
+
|
1697
|
+
class PrefixedLineEruby < Erubis::Eruby
|
1698
|
+
include Erubis::PrefixedLineEnhancer
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
input = File.read('prefixedline-example.rhtml')
|
1702
|
+
eruby = PrefixedLineEruby.new(input, :prefixchar=>'!') # default '%'
|
1703
|
+
print eruby.src
|
1704
|
+
</pre>
|
1705
|
+
<a name="prefixedline_example.result"></a>
|
1706
|
+
<div class="terminal_caption">
|
1707
|
+
compiled source code</div>
|
1708
|
+
<pre class="terminal">$ ruby prefixedline-example.rb
|
1709
|
+
_buf = ''; _buf << '<ul>
|
1710
|
+
'; <strong>for item in list</strong>
|
1711
|
+
_buf << ' <li>'; _buf << ( item ).to_s; _buf << '</li>
|
1712
|
+
'; <strong>end</strong>
|
1713
|
+
_buf << '</ul>
|
1714
|
+
<strong>! lines with \'!!\'</strong>
|
1715
|
+
';
|
1716
|
+
_buf.to_s
|
1717
|
+
</pre>
|
1718
|
+
<p>PrefixedLineEnhancer is language-independent.
|
1719
|
+
</p>
|
1720
|
+
<br>
|
1721
|
+
|
1722
|
+
|
1723
|
+
<a name="headerfooter-enhancer"></a>
|
1724
|
+
<h3 class="section2">HeaderFooterEnhancer</h3>
|
1725
|
+
<p>[experimental]
|
1726
|
+
</p>
|
1727
|
+
<p>HeaderFooterEnhancer enables you to add header and footer in eRuby script.
|
1728
|
+
</p>
|
1729
|
+
<a name="headerfooter-example.eruby"></a>
|
1730
|
+
<div class="program_caption">
|
1731
|
+
headerfooter-example.eruby</div>
|
1732
|
+
<pre class="program"><strong><!--#header:</strong>
|
1733
|
+
<strong>def list_items(items)</strong>
|
1734
|
+
<strong>#--></strong>
|
1735
|
+
<% for item in items %>
|
1736
|
+
<b><%= item %></b>
|
1737
|
+
<% end %>
|
1738
|
+
<strong><!--#footer:</strong>
|
1739
|
+
<strong>end</strong>
|
1740
|
+
<strong>#--></strong>
|
1741
|
+
</pre>
|
1742
|
+
<a name="headerfooter_example.result"></a>
|
1743
|
+
<div class="terminal_caption">
|
1744
|
+
compiled source code</div>
|
1745
|
+
<pre class="terminal">$ erubis -xE HeaderFooter headerfooter-example.eruby
|
1746
|
+
|
1747
|
+
<strong>def list_items(items)</strong>
|
1748
|
+
|
1749
|
+
_buf = ''; for item in items
|
1750
|
+
_buf << ' <b>'; _buf << ( item ).to_s; _buf << '</b>
|
1751
|
+
'; end
|
1752
|
+
_buf.to_s
|
1753
|
+
|
1754
|
+
<strong>end</strong>
|
1755
|
+
|
1756
|
+
</pre>
|
1757
|
+
<p>Compare to the following:
|
1758
|
+
</p>
|
1759
|
+
<a name="normal-eruby-test.eruby"></a>
|
1760
|
+
<div class="program_caption">
|
1761
|
+
normal-eruby-test.eruby</div>
|
1762
|
+
<pre class="program"><strong><%</strong>
|
1763
|
+
<strong>def list_items(items)</strong>
|
1764
|
+
<strong>%></strong>
|
1765
|
+
<% for item in items %>
|
1766
|
+
<li><%= item %></li>
|
1767
|
+
<% end %>
|
1768
|
+
<strong><%</strong>
|
1769
|
+
<strong>end</strong>
|
1770
|
+
<strong>%></strong>
|
1771
|
+
</pre>
|
1772
|
+
<a name="normal_eruby_test.result"></a>
|
1773
|
+
<div class="terminal_caption">
|
1774
|
+
compiled source code</div>
|
1775
|
+
<pre class="terminal">$ erubis -x normal-eruby-test.eruby
|
1776
|
+
_buf = '';
|
1777
|
+
<strong>def list_items(items)</strong>
|
1778
|
+
|
1779
|
+
for item in items
|
1780
|
+
_buf << '<li>'; _buf << ( item ).to_s; _buf << '</li>
|
1781
|
+
'; end
|
1782
|
+
|
1783
|
+
<strong>end</strong>
|
1784
|
+
|
1785
|
+
_buf.to_s
|
1786
|
+
</pre>
|
1787
|
+
<p>Header and footer can be in any position in eRuby script,
|
1788
|
+
that is, header is no need to be in the head of eRuby script.
|
1789
|
+
</p>
|
1790
|
+
<a name="headerfooter-example2.rhtml"></a>
|
1791
|
+
<div class="program_caption">
|
1792
|
+
headerfooter-example2.rhtml</div>
|
1793
|
+
<pre class="program"><?xml version="1.0"?>
|
1794
|
+
<html>
|
1795
|
+
<strong><!--#header:</strong>
|
1796
|
+
<strong>def page(list)</strong>
|
1797
|
+
<strong>#--></strong>
|
1798
|
+
:
|
1799
|
+
<strong><!--#footer:</strong>
|
1800
|
+
<strong>end</strong>
|
1801
|
+
<strong>#--></strong>
|
1802
|
+
</html>
|
1803
|
+
</pre>
|
1804
|
+
<a name="headerfooter_example2.result"></a>
|
1805
|
+
<div class="terminal_caption">
|
1806
|
+
compiled source code</div>
|
1807
|
+
<pre class="terminal">$ erubis -xE HeaderFooter headerfooter-example2.rhtml
|
1808
|
+
|
1809
|
+
<strong>def page(list)</strong>
|
1810
|
+
|
1811
|
+
_buf = ''; _buf << '<?xml version="1.0"?>
|
1812
|
+
<html>
|
1813
|
+
'; _buf << ' :
|
1814
|
+
'; _buf << '</html>
|
1815
|
+
';
|
1816
|
+
_buf.to_s
|
1817
|
+
|
1818
|
+
<strong>end</strong>
|
1819
|
+
|
1820
|
+
</pre>
|
1821
|
+
<p>HeaderFooterEnhancer is experimental and is language-independent.
|
1822
|
+
</p>
|
1823
|
+
<br>
|
1824
|
+
|
1825
|
+
|
1826
|
+
<a name="interpolation-enhancer"></a>
|
1827
|
+
<h3 class="section2">InterpolationEnhancer</h3>
|
1828
|
+
<p>[experimental]
|
1829
|
+
</p>
|
1830
|
+
<p>InterpolationEnhancer converts "<h1><%= title %></h1>" into
|
1831
|
+
"_buf << %Q`<h1>#{ title }</h1>`".
|
1832
|
+
This makes Eruby a litter faster because method call of String#<< are eliminated
|
1833
|
+
by expression interpolations.
|
1834
|
+
</p>
|
1835
|
+
<div class="program_caption">
|
1836
|
+
InterpolationEnhancer elmininates method call of String#<<.</div>
|
1837
|
+
<pre class="program">## Assume that input is '<a href="<%=url%>"><%=name%></a>'.
|
1838
|
+
## Eruby convert input into the following code. String#<< is called 5 times.
|
1839
|
+
_buf << '<a href="'; _buf << (url).to_s; _buf << '">'; _buf << (name).to_s; _buf << '</a>';
|
1840
|
+
|
1841
|
+
## If InterpolationEnhancer is used, String#<< is called only once.
|
1842
|
+
_buf << %Q`<a href="#{url}">#{name}</a>`;
|
1843
|
+
</pre>
|
1844
|
+
<a name="interpolation_example.result"></a>
|
1845
|
+
<div class="terminal_caption">
|
1846
|
+
compiled source code</div>
|
1847
|
+
<pre class="terminal">$ erubis -xE Interpolation example.eruby
|
1848
|
+
_buf = ''; _buf << <strong>%Q`</strong><div>\n<strong>`</strong>
|
1849
|
+
for item in list
|
1850
|
+
_buf << <strong>%Q`</strong> <p><strong>#{ item }</strong></p>
|
1851
|
+
<p><strong>#{Erubis::XmlHelper.escape_xml( item )}</strong></p>\n<strong>`</strong>
|
1852
|
+
end
|
1853
|
+
_buf << <strong>%Q`</strong></div>\n<strong>`</strong>
|
1854
|
+
_buf.to_s
|
1855
|
+
</pre>
|
1856
|
+
<p>Erubis provides Erubis::FastEruby class which includes InterpolationEnhancer.
|
1857
|
+
You can use Erubis::FastEruby class instead of Erubis::Eruby class.
|
1858
|
+
</p>
|
1859
|
+
<p>InterpolationEnhancer is only for Eruby.
|
1860
|
+
</p>
|
1861
|
+
<br>
|
1862
|
+
|
1863
|
+
|
1864
|
+
<a name="deleteindent-enhancer"></a>
|
1865
|
+
<h3 class="section2">DeleteIndentEnhancer</h3>
|
1866
|
+
<p>[experimental]
|
1867
|
+
DeleteIndentEnhancer deletes indentation of HTML file.
|
1868
|
+
</p>
|
1869
|
+
<a name="interpolation_example.result"></a>
|
1870
|
+
<div class="terminal_caption">
|
1871
|
+
compiled source code</div>
|
1872
|
+
<pre class="terminal">$ erubis -xE DeleteIndent example.eruby
|
1873
|
+
_buf = ''; _buf << '<div>
|
1874
|
+
'; for item in list
|
1875
|
+
_buf << '<p>'; _buf << ( item ).to_s; _buf << '</p>
|
1876
|
+
<p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
1877
|
+
'; end
|
1878
|
+
_buf << '</div>
|
1879
|
+
';
|
1880
|
+
_buf.to_s
|
1881
|
+
</pre>
|
1882
|
+
<p>Notice that DeleteIndentEnhancer isn't intelligent.
|
1883
|
+
It deletes indentations even if they are in <PRE></PRE>.
|
1884
|
+
</p>
|
1885
|
+
<p>DeleteIndentEnhancer is language-independent.
|
1886
|
+
</p>
|
1887
|
+
<br>
|
1888
|
+
|
1889
|
+
|
1890
|
+
<br>
|
1891
|
+
|
1892
|
+
|
1893
|
+
<a name="lang"></a>
|
1894
|
+
<h2 class="section1">Multi-Language Support</h2>
|
1895
|
+
<p>Erubis supports the following languages<sup>(<a href="#fnref:2" name="fnlink:2">*2</a>)</sup>:
|
1896
|
+
</p>
|
1897
|
+
<ul type="disc">
|
1898
|
+
<li>Ruby
|
1899
|
+
</li>
|
1900
|
+
<li><a href="#lang-php">PHP</a>
|
1901
|
+
</li>
|
1902
|
+
<li><a href="#lang-c">C</a>
|
1903
|
+
</li>
|
1904
|
+
<li><a href="#lang-java">Java</a>
|
1905
|
+
</li>
|
1906
|
+
<li><a href="#lang-scheme">Scheme</a>
|
1907
|
+
</li>
|
1908
|
+
<li><a href="#lang-perl">Perl</a>
|
1909
|
+
</li>
|
1910
|
+
<li><a href="#lang-javascript">JavaScript</a>
|
1911
|
+
</li>
|
1912
|
+
</ul>
|
1913
|
+
<div class="footnote">
|
1914
|
+
<dl compact>
|
1915
|
+
<dt>(<a name="fnref:2" href="#fnlink:2">*2</a>)</dt>
|
1916
|
+
<dd>If you need template engine in pure PHP/Perl/JavaScript, try <a href="http://www.kuwata-lab.com/tenjin/">Tenjin</a> (<a href="http://www.kuwata-lab.com/tenjin/">http://www.kuwata-lab.com/tenjin/</a>). Tenjin is a very fast and full-featured template engine implemented in pure PHP/Perl/JavaScript.</dd>
|
1917
|
+
</dl>
|
1918
|
+
</div>
|
1919
|
+
<a name="lang-php"></a>
|
1920
|
+
<h3 class="section2">PHP</h3>
|
1921
|
+
<a name="example.ephp"></a>
|
1922
|
+
<div class="program_caption">
|
1923
|
+
example.ephp</div>
|
1924
|
+
<pre class="program"><?xml version="1.0"?>
|
1925
|
+
<html>
|
1926
|
+
<body>
|
1927
|
+
<p>Hello <strong><%= $user %></strong>!</p>
|
1928
|
+
<table>
|
1929
|
+
<tbody>
|
1930
|
+
<strong><% $i = 0; %></strong>
|
1931
|
+
<strong><% foreach ($list as $item) { %></strong>
|
1932
|
+
<strong><% $i++; %></strong>
|
1933
|
+
<tr bgcolor=<strong>"<%= $i % 2 == 0 ? '#FFCCCC' : '#CCCCFF' %>"</strong>>
|
1934
|
+
<td><strong><%= $i %></strong></td>
|
1935
|
+
<td><strong><%== $item %></strong></td>
|
1936
|
+
</tr>
|
1937
|
+
<strong><% } %></strong>
|
1938
|
+
</tbody>
|
1939
|
+
</table>
|
1940
|
+
</body>
|
1941
|
+
</html>
|
1942
|
+
</pre>
|
1943
|
+
<a name="example_php.result"></a>
|
1944
|
+
<div class="terminal_caption">
|
1945
|
+
compiled source code</div>
|
1946
|
+
<pre class="terminal">$ erubis -l php example.ephp
|
1947
|
+
<<?php ?>?xml version="1.0"?>
|
1948
|
+
<html>
|
1949
|
+
<body>
|
1950
|
+
<p>Hello <?php echo $user; ?>!</p>
|
1951
|
+
<table>
|
1952
|
+
<tbody>
|
1953
|
+
<?php $i = 0; ?>
|
1954
|
+
<?php foreach ($list as $item) { ?>
|
1955
|
+
<?php $i++; ?>
|
1956
|
+
<tr bgcolor="<?php echo $i % 2 == 0 ? '#FFCCCC' : '#CCCCFF'; ?>">
|
1957
|
+
<td><?php echo $i; ?></td>
|
1958
|
+
<td><?php echo htmlspecialchars($item); ?></td>
|
1959
|
+
</tr>
|
1960
|
+
<?php } ?>
|
1961
|
+
</tbody>
|
1962
|
+
</table>
|
1963
|
+
</body>
|
1964
|
+
</html>
|
1965
|
+
</pre>
|
1966
|
+
<br>
|
1967
|
+
|
1968
|
+
|
1969
|
+
<a name="lang-c"></a>
|
1970
|
+
<h3 class="section2">C</h3>
|
1971
|
+
<a name="example.ec"></a>
|
1972
|
+
<div class="program_caption">
|
1973
|
+
example.ec</div>
|
1974
|
+
<pre class="program"><strong><%
|
1975
|
+
#include <stdio.h>
|
1976
|
+
|
1977
|
+
int main(int argc, char *argv[])
|
1978
|
+
{
|
1979
|
+
int i;
|
1980
|
+
|
1981
|
+
%></strong>
|
1982
|
+
<html>
|
1983
|
+
<body>
|
1984
|
+
<p>Hello <strong><%= "%s", argv[0] %></strong>!</p>
|
1985
|
+
<table>
|
1986
|
+
<tbody>
|
1987
|
+
<strong><% for (i = 1; i < argc; i++) { %></strong>
|
1988
|
+
<tr bgcolor="<strong><%= i % 2 == 0 ? "#FFCCCC" : "#CCCCFF" %></strong>">
|
1989
|
+
<td><strong><%= "%d", i %></strong></td>
|
1990
|
+
<td><strong><%= "%s", argv[i] %></strong></td>
|
1991
|
+
</tr>
|
1992
|
+
<strong><% } %></strong>
|
1993
|
+
</tbody>
|
1994
|
+
</table>
|
1995
|
+
</body>
|
1996
|
+
</html>
|
1997
|
+
<strong><%
|
1998
|
+
return 0;
|
1999
|
+
}
|
2000
|
+
%></strong>
|
2001
|
+
</pre>
|
2002
|
+
<a name="example_c.result"></a>
|
2003
|
+
<div class="terminal_caption">
|
2004
|
+
compiled source code</div>
|
2005
|
+
<pre class="terminal">$ erubis -l c example.ec
|
2006
|
+
#line 1 "example.ec"
|
2007
|
+
|
2008
|
+
#include <stdio.h>
|
2009
|
+
|
2010
|
+
int main(int argc, char *argv[])
|
2011
|
+
{
|
2012
|
+
int i;
|
2013
|
+
|
2014
|
+
|
2015
|
+
fputs("<html>\n"
|
2016
|
+
" <body>\n"
|
2017
|
+
" <p>Hello ", stdout); fprintf(stdout, "%s", argv[0]); fputs("!</p>\n"
|
2018
|
+
" <table>\n"
|
2019
|
+
" <tbody>\n", stdout);
|
2020
|
+
for (i = 1; i < argc; i++) {
|
2021
|
+
fputs(" <tr bgcolor=\"", stdout); fprintf(stdout, i % 2 == 0 ? "#FFCCCC" : "#CCCCFF"); fputs("\">\n"
|
2022
|
+
" <td>", stdout); fprintf(stdout, "%d", i); fputs("</td>\n"
|
2023
|
+
" <td>", stdout); fprintf(stdout, "%s", argv[i]); fputs("</td>\n"
|
2024
|
+
" </tr>\n", stdout);
|
2025
|
+
}
|
2026
|
+
fputs(" </tbody>\n"
|
2027
|
+
" </table>\n"
|
2028
|
+
" </body>\n"
|
2029
|
+
"</html>\n", stdout);
|
2030
|
+
|
2031
|
+
return 0;
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
</pre>
|
2035
|
+
<br>
|
2036
|
+
|
2037
|
+
|
2038
|
+
<a name="lang-cpp"></a>
|
2039
|
+
<h3 class="section2">C++</h3>
|
2040
|
+
<a name="example.ecpp"></a>
|
2041
|
+
<div class="program_caption">
|
2042
|
+
example.ecpp</div>
|
2043
|
+
<pre class="program"><strong><%
|
2044
|
+
#include <string>
|
2045
|
+
#include <iostream>
|
2046
|
+
#include <sstream>
|
2047
|
+
|
2048
|
+
int main(int argc, char *argv[])
|
2049
|
+
{
|
2050
|
+
std::stringstream _buf;
|
2051
|
+
%></strong>
|
2052
|
+
<html>
|
2053
|
+
<body>
|
2054
|
+
<p>Hello <strong><%= argv[0] %></strong>!</p>
|
2055
|
+
<table>
|
2056
|
+
<tbody>
|
2057
|
+
<strong><% for (int i = 1; i < argc; i++) { %></strong>
|
2058
|
+
<tr bgcolor="<strong><%= i % 2 == 0 ? "#FFCCCC" : "#CCCCFF" %></strong>">
|
2059
|
+
<td><strong><%= i %></strong></td>
|
2060
|
+
<td><strong><%= argv[i] %></strong></td>
|
2061
|
+
</tr>
|
2062
|
+
<strong><% } %></strong>
|
2063
|
+
</tbody>
|
2064
|
+
</table>
|
2065
|
+
</body>
|
2066
|
+
</html>
|
2067
|
+
<strong><%
|
2068
|
+
std::string output = _buf.str();
|
2069
|
+
std::cout << output;
|
2070
|
+
return 0;
|
2071
|
+
}
|
2072
|
+
%></strong>
|
2073
|
+
</pre>
|
2074
|
+
<a name="example_c.result"></a>
|
2075
|
+
<div class="terminal_caption">
|
2076
|
+
compiled source code</div>
|
2077
|
+
<pre class="terminal">$ erubis -l cpp example.ecpp
|
2078
|
+
#line 1 "example.ecpp"
|
2079
|
+
|
2080
|
+
#include <string>
|
2081
|
+
#include <iostream>
|
2082
|
+
#include <sstream>
|
2083
|
+
|
2084
|
+
int main(int argc, char *argv[])
|
2085
|
+
{
|
2086
|
+
std::stringstream _buf;
|
2087
|
+
|
2088
|
+
_buf << "<html>\n"
|
2089
|
+
" <body>\n"
|
2090
|
+
" <p>Hello "; _buf << (argv[0]); _buf << "!</p>\n"
|
2091
|
+
" <table>\n"
|
2092
|
+
" <tbody>\n";
|
2093
|
+
for (int i = 1; i < argc; i++) {
|
2094
|
+
_buf << " <tr bgcolor=\""; _buf << (i % 2 == 0 ? "#FFCCCC" : "#CCCCFF"); _buf << "\">\n"
|
2095
|
+
" <td>"; _buf << (i); _buf << "</td>\n"
|
2096
|
+
" <td>"; _buf << (argv[i]); _buf << "</td>\n"
|
2097
|
+
" </tr>\n";
|
2098
|
+
}
|
2099
|
+
_buf << " </tbody>\n"
|
2100
|
+
" </table>\n"
|
2101
|
+
" </body>\n"
|
2102
|
+
"</html>\n";
|
2103
|
+
|
2104
|
+
std::string output = _buf.str();
|
2105
|
+
std::cout << output;
|
2106
|
+
return 0;
|
2107
|
+
}
|
2108
|
+
|
2109
|
+
</pre>
|
2110
|
+
<br>
|
2111
|
+
|
2112
|
+
|
2113
|
+
<a name="lang-java"></a>
|
2114
|
+
<h3 class="section2">Java</h3>
|
2115
|
+
<a name="Example.ejava"></a>
|
2116
|
+
<div class="program_caption">
|
2117
|
+
Example.ejava</div>
|
2118
|
+
<pre class="program"><strong><%
|
2119
|
+
import java.util.*;
|
2120
|
+
|
2121
|
+
public class Example {
|
2122
|
+
private String user;
|
2123
|
+
private String[] list;
|
2124
|
+
public example(String user, String[] list) {
|
2125
|
+
this.user = user;
|
2126
|
+
this.list = list;
|
2127
|
+
}
|
2128
|
+
|
2129
|
+
public String view() {
|
2130
|
+
StringBuffer _buf = new StringBuffer();
|
2131
|
+
%></strong>
|
2132
|
+
<html>
|
2133
|
+
<body>
|
2134
|
+
<p>Hello <strong><%= user %></strong>!</p>
|
2135
|
+
<table>
|
2136
|
+
<tbody>
|
2137
|
+
<strong><% for (int i = 0; i < list.length; i++) { %></strong>
|
2138
|
+
<tr bgcolor=<strong>"<%= i % 2 == 0 ? "#FFCCCC" : "#CCCCFF" %>"</strong>>
|
2139
|
+
<td><strong><%= i + 1 %></strong></td>
|
2140
|
+
<td><strong><%== list[i] %></strong></td>
|
2141
|
+
</tr>
|
2142
|
+
<strong><% } %></strong>
|
2143
|
+
</tbody>
|
2144
|
+
</table>
|
2145
|
+
<body>
|
2146
|
+
</html>
|
2147
|
+
<strong><%
|
2148
|
+
return _buf.toString();
|
2149
|
+
}
|
2150
|
+
|
2151
|
+
public static void main(String[] args) {
|
2152
|
+
String[] list = { "<aaa>", "b&b", "\"ccc\"" };
|
2153
|
+
Example ex = Example.new("Erubis", list);
|
2154
|
+
System.out.print(ex.view());
|
2155
|
+
}
|
2156
|
+
|
2157
|
+
public static String escape(String s) {
|
2158
|
+
StringBuffer sb = new StringBuffer();
|
2159
|
+
for (int i = 0; i < s.length(); i++) {
|
2160
|
+
char ch = s.charAt(i);
|
2161
|
+
switch (ch) {
|
2162
|
+
case '<': sb.append("&lt;"); break;
|
2163
|
+
case '>': sb.append("&gt;"); break;
|
2164
|
+
case '&': sb.append("&amp;"); break;
|
2165
|
+
case '"': sb.append("&quot;"); break;
|
2166
|
+
default: sb.append(ch);
|
2167
|
+
}
|
2168
|
+
}
|
2169
|
+
return sb.toString();
|
2170
|
+
}
|
2171
|
+
}
|
2172
|
+
%></strong>
|
2173
|
+
</pre>
|
2174
|
+
<a name="example_java.result"></a>
|
2175
|
+
<div class="terminal_caption">
|
2176
|
+
compiled source code</div>
|
2177
|
+
<pre class="terminal">$ erubis -b -l java example.ejava
|
2178
|
+
|
2179
|
+
import java.util.*;
|
2180
|
+
|
2181
|
+
public class Example {
|
2182
|
+
private String user;
|
2183
|
+
private String[] list;
|
2184
|
+
public example(String user, String[] list) {
|
2185
|
+
this.user = user;
|
2186
|
+
this.list = list;
|
2187
|
+
}
|
2188
|
+
|
2189
|
+
public String view() {
|
2190
|
+
StringBuffer _buf = new StringBuffer();
|
2191
|
+
|
2192
|
+
_buf.append("<html>\n"
|
2193
|
+
+ " <body>\n"
|
2194
|
+
+ " <p>Hello "); _buf.append(user); _buf.append("!</p>\n"
|
2195
|
+
+ " <table>\n"
|
2196
|
+
+ " <tbody>\n");
|
2197
|
+
for (int i = 0; i < list.length; i++) {
|
2198
|
+
_buf.append(" <tr bgcolor=\""); _buf.append(i % 2 == 0 ? "#FFCCCC" : "#CCCCFF"); _buf.append("\">\n"
|
2199
|
+
+ " <td>"); _buf.append(i + 1); _buf.append("</td>\n"
|
2200
|
+
+ " <td>"); _buf.append(escape(list[i])); _buf.append("</td>\n"
|
2201
|
+
+ " </tr>\n");
|
2202
|
+
}
|
2203
|
+
_buf.append(" </tbody>\n"
|
2204
|
+
+ " </table>\n"
|
2205
|
+
+ " <body>\n"
|
2206
|
+
+ "</html>\n");
|
2207
|
+
|
2208
|
+
return _buf.toString();
|
2209
|
+
}
|
2210
|
+
|
2211
|
+
public static void main(String[] args) {
|
2212
|
+
String[] list = { "<aaa>", "b&b", "\"ccc\"" };
|
2213
|
+
Example ex = Example.new("Erubis", list);
|
2214
|
+
System.out.print(ex.view());
|
2215
|
+
}
|
2216
|
+
|
2217
|
+
public static String escape(String s) {
|
2218
|
+
StringBuffer sb = new StringBuffer();
|
2219
|
+
for (int i = 0; i < s.length(); i++) {
|
2220
|
+
char ch = s.charAt(i);
|
2221
|
+
switch (ch) {
|
2222
|
+
case '<': sb.append("&lt;"); break;
|
2223
|
+
case '>': sb.append("&gt;"); break;
|
2224
|
+
case '&': sb.append("&amp;"); break;
|
2225
|
+
case '"': sb.append("&quot;"); break;
|
2226
|
+
default: sb.append(ch);
|
2227
|
+
}
|
2228
|
+
}
|
2229
|
+
return sb.toString();
|
2230
|
+
}
|
2231
|
+
}
|
2232
|
+
|
2233
|
+
</pre>
|
2234
|
+
<br>
|
2235
|
+
|
2236
|
+
|
2237
|
+
<a name="lang-scheme"></a>
|
2238
|
+
<h3 class="section2">Scheme</h3>
|
2239
|
+
<a name="example.escheme"></a>
|
2240
|
+
<div class="program_caption">
|
2241
|
+
example.escheme</div>
|
2242
|
+
<pre class="program"><html>
|
2243
|
+
<body>
|
2244
|
+
<strong><%
|
2245
|
+
(let ((user "Erubis")
|
2246
|
+
(items '("<aaa>" "b&b" "\"ccc\""))
|
2247
|
+
(i 0))
|
2248
|
+
%></strong>
|
2249
|
+
<p>Hello <strong><%= user %></strong>!</p>
|
2250
|
+
<table>
|
2251
|
+
<strong><%
|
2252
|
+
(for-each
|
2253
|
+
(lambda (item)
|
2254
|
+
(set! i (+ i 1))
|
2255
|
+
%></strong>
|
2256
|
+
<tr bgcolor="<strong><%= (if (= (modulo i 2) 0) "#FFCCCC" "#CCCCFF") %></strong>">
|
2257
|
+
<td><strong><%= i %></strong></td>
|
2258
|
+
<td><strong><%= item %></strong></td>
|
2259
|
+
</tr>
|
2260
|
+
<strong><%
|
2261
|
+
) ; lambda end
|
2262
|
+
items) ; for-each end
|
2263
|
+
%></strong>
|
2264
|
+
</table>
|
2265
|
+
<strong><%
|
2266
|
+
) ; let end
|
2267
|
+
%></strong>
|
2268
|
+
</body>
|
2269
|
+
</html>
|
2270
|
+
</pre>
|
2271
|
+
<a name="example_scheme.result"></a>
|
2272
|
+
<div class="terminal_caption">
|
2273
|
+
compiled source code</div>
|
2274
|
+
<pre class="terminal">$ erubis -l scheme example.escheme
|
2275
|
+
(let ((_buf '())) (define (_add x) (set! _buf (cons x _buf))) (_add "<html>
|
2276
|
+
<body>\n")
|
2277
|
+
|
2278
|
+
(let ((user "Erubis")
|
2279
|
+
(items '("<aaa>" "b&b" "\"ccc\""))
|
2280
|
+
(i 0))
|
2281
|
+
|
2282
|
+
(_add " <p>Hello ")(_add user)(_add "!</p>
|
2283
|
+
<table>\n")
|
2284
|
+
|
2285
|
+
(for-each
|
2286
|
+
(lambda (item)
|
2287
|
+
(set! i (+ i 1))
|
2288
|
+
|
2289
|
+
(_add " <tr bgcolor=\"")(_add (if (= (modulo i 2) 0) "#FFCCCC" "#CCCCFF"))(_add "\">
|
2290
|
+
<td>")(_add i)(_add "</td>
|
2291
|
+
<td>")(_add item)(_add "</td>
|
2292
|
+
</tr>\n")
|
2293
|
+
|
2294
|
+
) ; lambda end
|
2295
|
+
items) ; for-each end
|
2296
|
+
|
2297
|
+
(_add " </table>\n")
|
2298
|
+
|
2299
|
+
) ; let end
|
2300
|
+
|
2301
|
+
(_add " </body>
|
2302
|
+
</html>\n")
|
2303
|
+
(reverse _buf))
|
2304
|
+
</pre>
|
2305
|
+
<a name="example_scheme_display.result"></a>
|
2306
|
+
<div class="terminal_caption">
|
2307
|
+
compiled source code (with <code>--func=display</code> property)</div>
|
2308
|
+
<pre class="terminal">$ erubis -l scheme --func=display example.escheme
|
2309
|
+
(display "<html>
|
2310
|
+
<body>\n")
|
2311
|
+
|
2312
|
+
(let ((user "Erubis")
|
2313
|
+
(items '("<aaa>" "b&b" "\"ccc\""))
|
2314
|
+
(i 0))
|
2315
|
+
|
2316
|
+
(display " <p>Hello ")(display user)(display "!</p>
|
2317
|
+
<table>\n")
|
2318
|
+
|
2319
|
+
(for-each
|
2320
|
+
(lambda (item)
|
2321
|
+
(set! i (+ i 1))
|
2322
|
+
|
2323
|
+
(display " <tr bgcolor=\"")(display (if (= (modulo i 2) 0) "#FFCCCC" "#CCCCFF"))(display "\">
|
2324
|
+
<td>")(display i)(display "</td>
|
2325
|
+
<td>")(display item)(display "</td>
|
2326
|
+
</tr>\n")
|
2327
|
+
|
2328
|
+
) ; lambda end
|
2329
|
+
items) ; for-each end
|
2330
|
+
|
2331
|
+
(display " </table>\n")
|
2332
|
+
|
2333
|
+
) ; let end
|
2334
|
+
|
2335
|
+
(display " </body>
|
2336
|
+
</html>\n")
|
2337
|
+
</pre>
|
2338
|
+
<br>
|
2339
|
+
|
2340
|
+
|
2341
|
+
<a name="lang-perl"></a>
|
2342
|
+
<h3 class="section2">Perl</h3>
|
2343
|
+
<a name="example.eperl"></a>
|
2344
|
+
<div class="program_caption">
|
2345
|
+
example.eperl</div>
|
2346
|
+
<pre class="program"><strong><%
|
2347
|
+
my $user = 'Erubis';
|
2348
|
+
my @list = ('<aaa>', 'b&b', '"ccc"');
|
2349
|
+
%></strong>
|
2350
|
+
<html>
|
2351
|
+
<body>
|
2352
|
+
<p>Hello <strong><%= $user %></strong>!</p>
|
2353
|
+
<table>
|
2354
|
+
<strong><% $i = 0; %></strong>
|
2355
|
+
<strong><% for $item (@list) { %></strong>
|
2356
|
+
<tr bgcolor=<strong><%= ++$i % 2 == 0 ? '#FFCCCC' : '#CCCCFF' %></strong>">
|
2357
|
+
<td><strong><%= $i %></strong></td>
|
2358
|
+
<td><strong><%= $item %></strong></td>
|
2359
|
+
</tr>
|
2360
|
+
<strong><% } %></strong>
|
2361
|
+
</table>
|
2362
|
+
</body>
|
2363
|
+
</html>
|
2364
|
+
</pre>
|
2365
|
+
<a name="example_perl.result"></a>
|
2366
|
+
<div class="terminal_caption">
|
2367
|
+
compiled source code</div>
|
2368
|
+
<pre class="terminal">$ erubis -l perl example.eperl
|
2369
|
+
use HTML::Entities;
|
2370
|
+
my $user = 'Erubis';
|
2371
|
+
my @list = ('<aaa>', 'b&b', '"ccc"');
|
2372
|
+
|
2373
|
+
print('<html>
|
2374
|
+
<body>
|
2375
|
+
<p>Hello '); print($user); print('!</p>
|
2376
|
+
<table>
|
2377
|
+
'); $i = 0;
|
2378
|
+
for $item (@list) {
|
2379
|
+
print(' <tr bgcolor='); print(++$i % 2 == 0 ? '#FFCCCC' : '#CCCCFF'); print('">
|
2380
|
+
<td>'); print($i); print('</td>
|
2381
|
+
<td>'); print($item); print('</td>
|
2382
|
+
</tr>
|
2383
|
+
'); }
|
2384
|
+
print(' </table>
|
2385
|
+
</body>
|
2386
|
+
</html>
|
2387
|
+
');
|
2388
|
+
</pre>
|
2389
|
+
<br>
|
2390
|
+
|
2391
|
+
|
2392
|
+
<a name="lang-javascript"></a>
|
2393
|
+
<h3 class="section2">JavaScript</h3>
|
2394
|
+
<a name="example.ejs"></a>
|
2395
|
+
<div class="program_caption">
|
2396
|
+
example.ejs</div>
|
2397
|
+
<pre class="program"><strong><%
|
2398
|
+
var user = 'Erubis';
|
2399
|
+
var list = ['<aaa>', 'b&b', '"ccc"'];
|
2400
|
+
%></strong>
|
2401
|
+
<html>
|
2402
|
+
<body>
|
2403
|
+
<p>Hello <strong><%= user %></strong>!</p>
|
2404
|
+
<table>
|
2405
|
+
<tbody>
|
2406
|
+
<strong><% var i; %></strong>
|
2407
|
+
<strong><% for (i = 0; i < list.length; i++) { %></strong>
|
2408
|
+
<tr bgcolor="<strong><%= i % 2 == 0 ? '#FFCCCC' : '#CCCCFF' %></strong>">
|
2409
|
+
<td><strong><%= i + 1 %></strong></td>
|
2410
|
+
<td><strong><%= list[i] %></strong></td>
|
2411
|
+
</tr>
|
2412
|
+
<strong><% } %></strong>
|
2413
|
+
</tbody>
|
2414
|
+
</table>
|
2415
|
+
</body>
|
2416
|
+
</html>
|
2417
|
+
</pre>
|
2418
|
+
<a name="example_js.result"></a>
|
2419
|
+
<div class="terminal_caption">
|
2420
|
+
compiled source code</div>
|
2421
|
+
<pre class="terminal">$ erubis -l js example.ejs
|
2422
|
+
var _buf = [];
|
2423
|
+
var user = 'Erubis';
|
2424
|
+
var list = ['<aaa>', 'b&b', '"ccc"'];
|
2425
|
+
|
2426
|
+
_buf.push("<html>\n\
|
2427
|
+
<body>\n\
|
2428
|
+
<p>Hello "); _buf.push(user); _buf.push("!</p>\n\
|
2429
|
+
<table>\n\
|
2430
|
+
<tbody>\n");
|
2431
|
+
var i;
|
2432
|
+
for (i = 0; i < list.length; i++) {
|
2433
|
+
_buf.push(" <tr bgcolor=\""); _buf.push(i % 2 == 0 ? '#FFCCCC' : '#CCCCFF'); _buf.push("\">\n\
|
2434
|
+
<td>"); _buf.push(i + 1); _buf.push("</td>\n\
|
2435
|
+
<td>"); _buf.push(list[i]); _buf.push("</td>\n\
|
2436
|
+
</tr>\n");
|
2437
|
+
}
|
2438
|
+
_buf.push(" </tbody>\n\
|
2439
|
+
</table>\n\
|
2440
|
+
</body>\n\
|
2441
|
+
</html>\n");
|
2442
|
+
document.write(_buf.join(""));
|
2443
|
+
</pre>
|
2444
|
+
<p>If command-line option '<code>--docwrite=false</code>' is specified,
|
2445
|
+
'<code>_buf.join("");</code>' is used instead of '<code>document.write(_buf.join(""));</code>'.
|
2446
|
+
This is useful when passing converted source code to eval() function in JavaScript.
|
2447
|
+
</p>
|
2448
|
+
<p>You can pass <code>:docwrite=>false</code> to Erubis::Ejavascript.new() in your Ruby script.
|
2449
|
+
</p>
|
2450
|
+
<pre class="program">s = File.read('example.jshtml')
|
2451
|
+
engine = Erubis::Ejavascript.new(s, <code>:docwrite=>false</code>)
|
2452
|
+
</pre>
|
2453
|
+
<p>If you want to specify any JavaScript code, use '--postamble=...'.
|
2454
|
+
</p>
|
2455
|
+
<p>Notice that default value of 'docwrite' property will be false in the future release.
|
2456
|
+
</p>
|
2457
|
+
<br>
|
2458
|
+
|
2459
|
+
|
2460
|
+
<br>
|
2461
|
+
|
2462
|
+
|
2463
|
+
<a name="rails"></a>
|
2464
|
+
<h2 class="section1">Ruby on Rails Support</h2>
|
2465
|
+
<p><span style="color:#FF0000">NOTICE: Rails 3 adopts Erubis as default default engine. You don't need to do anything at all when using Rails 3. This section is for Rails 2.</span>
|
2466
|
+
</p>
|
2467
|
+
<p>Erubis supports Ruby on Rails.
|
2468
|
+
This section describes how to use Erubis with Ruby on Rails.
|
2469
|
+
</p>
|
2470
|
+
<a name="rails-settings"></a>
|
2471
|
+
<h3 class="section2">Settings</h3>
|
2472
|
+
<p>Add the following code to your 'config/environment.rb' and restart web server.
|
2473
|
+
This replaces ERB in Rails by Erubis entirely.
|
2474
|
+
</p>
|
2475
|
+
<div class="program_caption">
|
2476
|
+
config/environment.rb</div>
|
2477
|
+
<pre class="program">require 'erubis/helpers/rails_helper'
|
2478
|
+
#Erubis::Helpers::RailsHelper.engine_class = Erubis::Eruby # or Erubis::FastEruby
|
2479
|
+
#Erubis::Helpers::RailsHelper.init_properties = {}
|
2480
|
+
#Erubis::Helpers::RailsHelper.show_src = nil
|
2481
|
+
#Erubis::Helpers::RailsHelper.preprocessing = false
|
2482
|
+
</pre>
|
2483
|
+
<p>Options:
|
2484
|
+
</p>
|
2485
|
+
<dl class="dl2">
|
2486
|
+
<dt class="dt2">
|
2487
|
+
Erubis::Helpers::RailsHelper.engine_class (=Erubis::Eruby)</dt>
|
2488
|
+
<dd class="dd2">
|
2489
|
+
<p> Erubis engine class (default Erubis::Eruby).
|
2490
|
+
</p>
|
2491
|
+
</dd>
|
2492
|
+
<dt class="dt2">
|
2493
|
+
Erubis::Helpers::RailsHelper.init_properties (={})</dt>
|
2494
|
+
<dd class="dd2">
|
2495
|
+
<p> Optional arguments for Erubis::Eruby#initialize() method (default {}).
|
2496
|
+
</p>
|
2497
|
+
</dd>
|
2498
|
+
<dt class="dt2">
|
2499
|
+
Erubis::Helpers::RailsHelper.show_src (=nil)</dt>
|
2500
|
+
<dd class="dd2">
|
2501
|
+
<p> Whether to print converted Ruby code into log file.
|
2502
|
+
If true, Erubis prints coverted code into log file.
|
2503
|
+
If false, Erubis doesn't.
|
2504
|
+
If nil, Erubis prints when ENV['RAILS_ENV'] == 'development'.
|
2505
|
+
Default is nil.
|
2506
|
+
</p>
|
2507
|
+
</dd>
|
2508
|
+
<dt class="dt2">
|
2509
|
+
Erubis::Helpers::RailsHelper.preprocessing (=false)</dt>
|
2510
|
+
<dd class="dd2">
|
2511
|
+
<p> Enable preprocessing if true (default false).
|
2512
|
+
</p>
|
2513
|
+
</dd>
|
2514
|
+
</dl>
|
2515
|
+
<br>
|
2516
|
+
|
2517
|
+
|
2518
|
+
<a name="rails-preprocessing"></a>
|
2519
|
+
<h3 class="section2">Preprosessing</h3>
|
2520
|
+
<p>Erubis supports preprocessing of template files.
|
2521
|
+
Preprocessing make your Ruby on Rails application about 20-40 percent faster.
|
2522
|
+
To enable preprocessing, set Erubis::Helpers::RailsHelper.preprocessing to true in your 'environment.rb' file.
|
2523
|
+
</p>
|
2524
|
+
<p>For example, assume the following template.
|
2525
|
+
This is slow because link_to() method is called every time when template is rendered.
|
2526
|
+
</p>
|
2527
|
+
<pre class="program"><%= link_to 'Create', :action=>'create' %>
|
2528
|
+
</pre>
|
2529
|
+
<p>The following is faster than the above, but not flexible because url is fixed.
|
2530
|
+
</p>
|
2531
|
+
<pre class="program"><a href="/users/create">Create</a>
|
2532
|
+
</pre>
|
2533
|
+
<p>Preprocessing solves this problem.
|
2534
|
+
If you use '[%= %]' instead of '<%= %>', preprocessor evaluate it only once when template is loaded.
|
2535
|
+
</p>
|
2536
|
+
<pre class="program"><strong>[%= link_to 'Create', :action=>'create'%]</strong>
|
2537
|
+
</pre>
|
2538
|
+
<p>The above is evaluated by preprocessor and replaced to the following code automatically.
|
2539
|
+
</p>
|
2540
|
+
<pre class="program"><a href="/users/create">Create</a>
|
2541
|
+
</pre>
|
2542
|
+
<p>Notice that this is done only once when template file is loaded.
|
2543
|
+
It means that link_to() method is not called when template is rendered.
|
2544
|
+
</p>
|
2545
|
+
<p>If link_to() method have variable arguments, use <code>_?()</code> helper method.
|
2546
|
+
</p>
|
2547
|
+
<pre class="program"><% for user in @users %>
|
2548
|
+
[%= link_to <strong>_?('user.name')</strong>, :action=>'show', :id=><strong>_?('user.id')</strong> %]
|
2549
|
+
<% end %>
|
2550
|
+
</pre>
|
2551
|
+
<p>The above is evaluated by preprocessor when template is loaded and expanded into the following code.
|
2552
|
+
This will be much faster because link_to() method is not called when rendering.
|
2553
|
+
</p>
|
2554
|
+
<pre class="program"><% for user in @users %>
|
2555
|
+
<a href="/users/show/<strong><%=user.id%></strong>"><strong><%=user.name%></strong></a>
|
2556
|
+
<% end %>
|
2557
|
+
</pre>
|
2558
|
+
<p>Preprocessing statement (<code>[% %]</code>) is also available as well as preprocessing expression (<code>[%= %]</code>).
|
2559
|
+
</p>
|
2560
|
+
<pre class="program"><select name="state">
|
2561
|
+
<option value="">-</option>
|
2562
|
+
<strong>[% for code in states.keys.sort %]</strong>
|
2563
|
+
<option value="<strong>[%= code %]</strong>"><strong>[%= states[code] %]</strong></option>
|
2564
|
+
<strong>[% end %]</strong>
|
2565
|
+
</select>
|
2566
|
+
</pre>
|
2567
|
+
<p>The above will be evaluated by preprocessor and expanded into the following when template is loaded.
|
2568
|
+
In the result, rendering speed will be much faster because for-loop is not executed when rendering.
|
2569
|
+
</p>
|
2570
|
+
<pre class="program"><select name="state">
|
2571
|
+
<option value="">-</option>
|
2572
|
+
<option value="AK">Alaska</option>
|
2573
|
+
<option value="AL">Alabama</option>
|
2574
|
+
<option value="AR">Arkansas</option>
|
2575
|
+
<option value="AS">American Samoa</option>
|
2576
|
+
<option value="AZ">Arizona</option>
|
2577
|
+
<option value="CA">California</option>
|
2578
|
+
<option value="CO">Colorado</option>
|
2579
|
+
....
|
2580
|
+
</select>
|
2581
|
+
</pre>
|
2582
|
+
<p>Notice that it is not recommended to use preprocessing with tag helpers,
|
2583
|
+
because tag helpers generate different html code when form parameter has errors or not.
|
2584
|
+
</p>
|
2585
|
+
<p>Helper methods of Ruby on Rails are divided into two groups.
|
2586
|
+
</p>
|
2587
|
+
<ul type="disc">
|
2588
|
+
<li>link_to() or _() (method of gettext package) are not need to call for every time
|
2589
|
+
as template is rendered because it returns same value when same arguments are passed.
|
2590
|
+
These methods can be got faster by preprocessing.
|
2591
|
+
</li>
|
2592
|
+
<li>Tag helper methods should be called for every time as template is rendered
|
2593
|
+
because it may return differrent value even if the same arguments are passed.
|
2594
|
+
Preprocessing is not available with these methods.
|
2595
|
+
</li>
|
2596
|
+
</ul>
|
2597
|
+
<p>In Ruby on Rails 2.0, <code>_?('user_id')</code> is OK but <code>_?('user.id')</code> is NG
|
2598
|
+
because the latter contains period ('.') character.
|
2599
|
+
</p>
|
2600
|
+
<pre class="program"><!-- NG in Rails 2.0, because _?('') contains period -->
|
2601
|
+
[%= link_to 'Edit', edit_user_path(<strong>_?('@user.id')</strong>) %]
|
2602
|
+
[%= link_to 'Show', <strong>@user</strong> %]
|
2603
|
+
[%= link_to 'Delete', <strong>@user</strong>, :confirm=>'OK?', :method=>:delete %]
|
2604
|
+
|
2605
|
+
<!-- OK in Rails 2.0 -->
|
2606
|
+
<strong><%= user_id = @user.id %></strong>
|
2607
|
+
[%= link_to 'Edit', edit_user_path(<strong>_?('user_id')</strong>) %]
|
2608
|
+
[%= link_to 'Show', <strong>:action=>'show', :id=>_?('user_id')</strong> %]
|
2609
|
+
[%= link_to 'Delete', <strong>{:action=>'destroy', :id=>_?('user_id')}</strong>,
|
2610
|
+
{:confirm=>'OK?', :method=>:delete} %]
|
2611
|
+
</pre>
|
2612
|
+
<br>
|
2613
|
+
|
2614
|
+
|
2615
|
+
<a name="rails-formhelpers"></a>
|
2616
|
+
<h3 class="section2">Form Helpers for Preprocessing</h3>
|
2617
|
+
<p><strong>(Experimental)</strong>
|
2618
|
+
</p>
|
2619
|
+
<p>Erubis provides form helper methods for preprocessing.
|
2620
|
+
These are defined in 'erubis/helpers/rails_form_helper.rb'.
|
2621
|
+
If you want to use it, require it and include Erubis::Helpers::RailsFormHelper in 'app/helpers/applition_helper.rb'
|
2622
|
+
</p>
|
2623
|
+
<div class="program_caption">
|
2624
|
+
app/helpers/xxx_helper.rb</div>
|
2625
|
+
<pre class="program">require 'erubis/helpers/rails_form_helper'
|
2626
|
+
module ApplicationHelper
|
2627
|
+
include Erubis::Helpers::RailsFormHelper
|
2628
|
+
end
|
2629
|
+
</pre>
|
2630
|
+
<p>Form helper methods defined in Erubis::Helpers::RailsFormHelper are named as 'pp_xxxx'
|
2631
|
+
('pp' represents preprocessing).
|
2632
|
+
</p>
|
2633
|
+
<p>Assume the following view template:
|
2634
|
+
</p>
|
2635
|
+
<div class="program_caption">
|
2636
|
+
_form.rhtml</div>
|
2637
|
+
<pre class="program"> <p>
|
2638
|
+
Name: <%= text_field :user, :name %>
|
2639
|
+
</p>
|
2640
|
+
<p>
|
2641
|
+
Name: <strong>[%= pp_text_field :user, :name %]</strong>
|
2642
|
+
</p>
|
2643
|
+
</pre>
|
2644
|
+
<p>Erubis preprocessor converts it to the following eRuby string:
|
2645
|
+
</p>
|
2646
|
+
<div class="program_caption">
|
2647
|
+
preprocessed</div>
|
2648
|
+
<pre class="program"> <p>
|
2649
|
+
Name: <%= text_field :user, :name %>
|
2650
|
+
</p>
|
2651
|
+
<p>
|
2652
|
+
Name: <strong><input id="stock_name" name="stock[name]" size="30" type="text" value="<%=h @stock.name%>" /></strong>
|
2653
|
+
</p>
|
2654
|
+
</pre>
|
2655
|
+
<p>Erubis converts it to the following Ruby code:
|
2656
|
+
</p>
|
2657
|
+
<div class="program_caption">
|
2658
|
+
Ruby code</div>
|
2659
|
+
<pre class="program"> _buf << ' <p>
|
2660
|
+
Name: '; _buf << ( text_field :stock, :name ).to_s; _buf << '
|
2661
|
+
'; _buf << ' </p>
|
2662
|
+
<p>
|
2663
|
+
Name: <input id="stock_name" name="stock[name]" size="30" type="text" value="'; _buf << (h @stock.name).to_s; _buf << '" />
|
2664
|
+
</p>
|
2665
|
+
';
|
2666
|
+
</pre>
|
2667
|
+
<p>The above Ruby code shows that text_field() is called everytime when rendering,
|
2668
|
+
but pp_text_field() is called only once when template is loaded.
|
2669
|
+
This means that pp_text_field() with preprocessing makes view layer very fast.
|
2670
|
+
</p>
|
2671
|
+
<p>Module Erubis::Helpers::RailsFormHelper defines the following form helper methods.
|
2672
|
+
</p>
|
2673
|
+
<ul type="disc">
|
2674
|
+
<li>pp_render_partial(basename)
|
2675
|
+
</li>
|
2676
|
+
<li>pp_form_tag(url_for_options={}, options={}, *parameters_for_url, &block)
|
2677
|
+
</li>
|
2678
|
+
<li>pp_text_field(object_name, method, options={})
|
2679
|
+
</li>
|
2680
|
+
<li>pp_password_field(object_name, method, options={})
|
2681
|
+
</li>
|
2682
|
+
<li>pp_hidden_field(object_name, method, options={})
|
2683
|
+
</li>
|
2684
|
+
<li>pp_file_field(object_name, method, options={})
|
2685
|
+
</li>
|
2686
|
+
<li>pp_text_area(object_name, method, options={})
|
2687
|
+
</li>
|
2688
|
+
<li>pp_check_box(object_name, method, options={}, checked_value="1", unchecked_value="0")
|
2689
|
+
</li>
|
2690
|
+
<li>pp_radio_button(object_name, method, tag_value, options={})
|
2691
|
+
</li>
|
2692
|
+
<li>pp_select(object, method, collection, options={}, html_options={})
|
2693
|
+
</li>
|
2694
|
+
<li>pp_collection_select(object, method, collection, value_method, text_method, options={}, html_options={})
|
2695
|
+
</li>
|
2696
|
+
<li>pp_country_select(object, method, priority_countries=nil, options={}, html_options={})
|
2697
|
+
</li>
|
2698
|
+
<li>pp_time_zone_select(object, method, priority_zones=nil, options={}, html_options={})
|
2699
|
+
</li>
|
2700
|
+
<li>pp_submit_tag(value="Save changes", options={})
|
2701
|
+
</li>
|
2702
|
+
<li>pp_image_submit_tag(source, options={})
|
2703
|
+
</li>
|
2704
|
+
</ul>
|
2705
|
+
<p>Notice that pp_form_for() is not provided.
|
2706
|
+
</p>
|
2707
|
+
<p><span style="color:#FF0000">CAUTION:</span> These are experimental and may not work in Ruby on Rails 2.0.
|
2708
|
+
</p>
|
2709
|
+
<br>
|
2710
|
+
|
2711
|
+
|
2712
|
+
<a name="rails-others"></a>
|
2713
|
+
<h3 class="section2">Others</h3>
|
2714
|
+
<ul type="disc">
|
2715
|
+
<li>ActionView::Helpers::CaptureHelper#capture() and ActionView::Helpers::Texthelper#concat() are available.
|
2716
|
+
</li>
|
2717
|
+
</ul>
|
2718
|
+
<ul type="disc">
|
2719
|
+
<li>Form helper methods are not tested in Ruby on Rails 2.0.
|
2720
|
+
</li>
|
2721
|
+
</ul>
|
2722
|
+
<ul type="disc">
|
2723
|
+
<li>ERB::Util.h() is redefined if you require 'erubis/helpers/rails_helper.rb'.
|
2724
|
+
Original definition of ERB::Util.h() is the following and it is slow
|
2725
|
+
because it scans string four times.
|
2726
|
+
<pre class="program"> def html_escape(s)
|
2727
|
+
s.to_s.gsub(/&/, "&amp;").gsub(/\"/, "&quot;").gsub(/>/, "&gt;").gsub(/</, "&lt;")
|
2728
|
+
end
|
2729
|
+
alias h html_escape
|
2730
|
+
</pre>
|
2731
|
+
<p> New definition in 'erubis/helpers/rails_helper.rb' is faster than the above
|
2732
|
+
because it scans string only once.
|
2733
|
+
</p>
|
2734
|
+
<pre class="program"> ESCAPE_TABLE = { '&'=>'&amp;', '<'=>'&lt;', '>'=>'&gt;', '"'=>'&quot;', "'"=>'&#039;', }
|
2735
|
+
def h(value)
|
2736
|
+
value.to_s.gsub(/[&<>"]/) { |s| ESCAPE_TABLE[s] }
|
2737
|
+
end
|
2738
|
+
</pre>
|
2739
|
+
<p> Notice that the new definition may be slow if string contains
|
2740
|
+
many '< > & "' characters because block is call many time.
|
2741
|
+
You should use ERB::Util.html_hscape() if string contains a lot of '< > & "'
|
2742
|
+
characters.
|
2743
|
+
</p>
|
2744
|
+
</li>
|
2745
|
+
</ul>
|
2746
|
+
<br>
|
2747
|
+
|
2748
|
+
|
2749
|
+
<br>
|
2750
|
+
|
2751
|
+
|
2752
|
+
<a name="topics"></a>
|
2753
|
+
<h2 class="section1">Other Topics</h2>
|
2754
|
+
<a name="topics-fasteruby"></a>
|
2755
|
+
<h3 class="section2"><code>Erubis::FastEruby</code> Class</h3>
|
2756
|
+
<p><code>Erubis::FastEruby</code> class generates more effective code than <code>Erubis::Eruby</code>.
|
2757
|
+
</p>
|
2758
|
+
<a name="fasteruby-example.rb"></a>
|
2759
|
+
<div class="program_caption">
|
2760
|
+
fasteruby-example.rb</div>
|
2761
|
+
<pre class="program">require 'erubis'
|
2762
|
+
input = File.read('example.eruby')
|
2763
|
+
|
2764
|
+
puts "----- Erubis::Eruby -----"
|
2765
|
+
print Erubis::Eruby.new(input).src
|
2766
|
+
|
2767
|
+
puts "----- Erubis::FastEruby -----"
|
2768
|
+
print <strong>Erubis::FastEruby</strong>.new(input).src
|
2769
|
+
</pre>
|
2770
|
+
<a name="fasteruby-example.result"></a>
|
2771
|
+
<div class="terminal_caption">
|
2772
|
+
result</div>
|
2773
|
+
<pre class="terminal">$ ruby fasteruby-example.rb
|
2774
|
+
----- Erubis::Eruby -----
|
2775
|
+
_buf = ''; _buf << '<div>
|
2776
|
+
'; for item in list
|
2777
|
+
_buf << ' <p>'; <strong>_buf << ( item ).to_s;</strong> _buf << '</p>
|
2778
|
+
<p>'; <strong>_buf << Erubis::XmlHelper.escape_xml( item );</strong> _buf << '</p>
|
2779
|
+
'; end
|
2780
|
+
_buf << '</div>
|
2781
|
+
';
|
2782
|
+
_buf.to_s
|
2783
|
+
----- Erubis::FastEruby -----
|
2784
|
+
_buf = ''; _buf << %Q`<div>\n`
|
2785
|
+
for item in list
|
2786
|
+
_buf << %Q` <p><strong>#{ item }</strong></p>
|
2787
|
+
<p><strong>#{Erubis::XmlHelper.escape_xml( item )}</strong></p>\n`
|
2788
|
+
end
|
2789
|
+
_buf << %Q`</div>\n`
|
2790
|
+
_buf.to_s
|
2791
|
+
</pre>
|
2792
|
+
<p>Technically, <code>Erubis::FastEruby</code> is just a subclass of <code>Erubis::Eruby</code> and includes <code><a href="#interpolation-enhancer">InterpolationEnhancer</a></code>. <code>Erubis::FastEruby</code> is faster than <code>Erubis::Eruby</code> but is not extensible compared to <code>Erubis::Eruby</code>. This is the reason why <code>Erubis::FastEruby</code> is not the default class of Erubis.
|
2793
|
+
</p>
|
2794
|
+
<br>
|
2795
|
+
|
2796
|
+
|
2797
|
+
<a name="topics-bufvar"></a>
|
2798
|
+
<h3 class="section2"><code>:bufvar</code> Option</h3>
|
2799
|
+
<p>Since 2.7.0, Erubis supports <code>:bufvar</code> option which allows you to change buffer variable name (default '<code>_buf</code>').
|
2800
|
+
</p>
|
2801
|
+
<a name="bufvar-example.rb"></a>
|
2802
|
+
<div class="program_caption">
|
2803
|
+
bufvar-example.rb</div>
|
2804
|
+
<pre class="program">require 'erubis'
|
2805
|
+
input = File.read('example.eruby')
|
2806
|
+
|
2807
|
+
puts "----- default -----"
|
2808
|
+
eruby = Erubis::FastEruby.new(input)
|
2809
|
+
puts eruby.src
|
2810
|
+
|
2811
|
+
puts "----- with :bufvar option -----"
|
2812
|
+
eruby = Erubis::FastEruby.new(input, <strong>:bufvar=>'@_out_buf'</strong>)
|
2813
|
+
print eruby.src
|
2814
|
+
</pre>
|
2815
|
+
<a name="bufvar-example.result"></a>
|
2816
|
+
<div class="terminal_caption">
|
2817
|
+
result</div>
|
2818
|
+
<pre class="terminal">$ ruby bufvar-example.rb
|
2819
|
+
----- default -----
|
2820
|
+
_buf = ''; _buf << %Q`<div>\n`
|
2821
|
+
for item in list
|
2822
|
+
_buf << %Q` <p>#{ item }</p>
|
2823
|
+
<p>#{Erubis::XmlHelper.escape_xml( item )}</p>\n`
|
2824
|
+
end
|
2825
|
+
_buf << %Q`</div>\n`
|
2826
|
+
_buf.to_s
|
2827
|
+
----- with :bufvar option -----
|
2828
|
+
<strong>@_out_buf</strong> = ''; <strong>@_out_buf</strong> << %Q`<div>\n`
|
2829
|
+
for item in list
|
2830
|
+
<strong>@_out_buf</strong> << %Q` <p>#{ item }</p>
|
2831
|
+
<p>#{Erubis::XmlHelper.escape_xml( item )}</p>\n`
|
2832
|
+
end
|
2833
|
+
<strong>@_out_buf</strong> << %Q`</div>\n`
|
2834
|
+
<strong>@_out_buf</strong>.to_s
|
2835
|
+
</pre>
|
2836
|
+
<br>
|
2837
|
+
|
2838
|
+
|
2839
|
+
<a name="topics-trimspaces"></a>
|
2840
|
+
<h3 class="section2">'<%= =%>' and '<%= -%>'</h3>
|
2841
|
+
<p>Since 2.6.0, '<%= -%>' remove tail spaces and newline.
|
2842
|
+
This is for compatibiliy with ERB when trim mode is '-'.
|
2843
|
+
'<%= =%>' also removes tail spaces and newlines, and this is
|
2844
|
+
Erubis-original enhancement (cooler than '<%= -%>', isn't it?).
|
2845
|
+
</p>
|
2846
|
+
<a name="tailnewline.rhtml.comment_filter"></a>
|
2847
|
+
<div class="program_caption">
|
2848
|
+
tailnewline.rhtml</div>
|
2849
|
+
<pre class="program"><div>
|
2850
|
+
<%= @var -%> # or <%= @var =%>
|
2851
|
+
</div>
|
2852
|
+
</pre>
|
2853
|
+
<div class="terminal_caption">
|
2854
|
+
result (version 2.5.0):</div>
|
2855
|
+
<pre class="terminal">$ erubis -c '{var: "AAA\n"}' tailnewline.rhtml
|
2856
|
+
<div>
|
2857
|
+
AAA
|
2858
|
+
|
2859
|
+
</div>
|
2860
|
+
</pre>
|
2861
|
+
<a name="tail_260.result"></a>
|
2862
|
+
<div class="terminal_caption">
|
2863
|
+
result (version 2.6.0):</div>
|
2864
|
+
<pre class="terminal">$ erubis -c '{var: "AAA\n"}' tailnewline.rhtml
|
2865
|
+
<div>
|
2866
|
+
AAA
|
2867
|
+
</div>
|
2868
|
+
</pre>
|
2869
|
+
<br>
|
2870
|
+
|
2871
|
+
|
2872
|
+
<a name="topics-doublepercent"></a>
|
2873
|
+
<h3 class="section2">'<%% %>' and '<%%= %>'</h3>
|
2874
|
+
<p>Since 2.6.0, '<%% %>' and '<%%= %>' are converted into '<% %>' and '<%= %>' respectively.
|
2875
|
+
This is for compatibility with ERB.
|
2876
|
+
</p>
|
2877
|
+
<div class="program_caption">
|
2878
|
+
doublepercent.rhtml:</div>
|
2879
|
+
<pre class="program"><ul>
|
2880
|
+
<%% for item in @list %>
|
2881
|
+
<li><%%= item %></li>
|
2882
|
+
<%% end %>
|
2883
|
+
</ul>
|
2884
|
+
</pre>
|
2885
|
+
<div class="terminal_caption">
|
2886
|
+
result:</div>
|
2887
|
+
<pre class="terminal">$ erubis doublepercent.rhtml
|
2888
|
+
<ul>
|
2889
|
+
<% for item in @list %>
|
2890
|
+
<li><%= item %></li>
|
2891
|
+
<% end %>
|
2892
|
+
</ul>
|
2893
|
+
</pre>
|
2894
|
+
<br>
|
2895
|
+
|
2896
|
+
|
2897
|
+
<a name="topics-context-vs-binding"></a>
|
2898
|
+
<h3 class="section2">evaluate(context) v.s. result(binding)</h3>
|
2899
|
+
<p>It is recommended to use 'Erubis::Eruby#evaluate(context)' instead of 'Erubis::Eruby#result(binding)' because Ruby's Binding object has some problems.
|
2900
|
+
</p>
|
2901
|
+
<ul type="disc">
|
2902
|
+
<li>It is not able to specify variables to use.
|
2903
|
+
Using binding() method, all of local variables are passed to templates.
|
2904
|
+
</li>
|
2905
|
+
<li>Changing local variables in templates may affect to varialbes in main program.
|
2906
|
+
If you assign '10' to local variable 'x' in templates, it may change variable 'x' in main program unintendedly.
|
2907
|
+
</li>
|
2908
|
+
</ul>
|
2909
|
+
<p>The following example shows that assignment of some values into variable 'x' in templates affect to local variable 'x' in main program unintendedly.
|
2910
|
+
</p>
|
2911
|
+
<a name="template1.rhtml"></a>
|
2912
|
+
<div class="program_caption">
|
2913
|
+
template1.rhtml (intended to be passed 'items' from main program)</div>
|
2914
|
+
<pre class="program"><% for <strong>x</strong> in <strong>items</strong> %>
|
2915
|
+
item = <%= x %>
|
2916
|
+
<% end %>
|
2917
|
+
** debug: local variables=<%= local_variables().inspect() %>
|
2918
|
+
</pre>
|
2919
|
+
<a name="main_program1.rb"></a>
|
2920
|
+
<div class="program_caption">
|
2921
|
+
main_program1.rb (intended to pass 'items' to template)</div>
|
2922
|
+
<pre class="program">require 'erubis'
|
2923
|
+
eruby = Erubis::Eruby.new(File.read('template1.rhtml'))
|
2924
|
+
items = ['foo', 'bar', 'baz']
|
2925
|
+
x = 1
|
2926
|
+
## local variable 'x' and 'eruby' are passed to template as well as 'items'!
|
2927
|
+
print <strong>eruby.result(binding())</strong>
|
2928
|
+
## local variable 'x' is changed unintendedly because it is changed in template!
|
2929
|
+
puts "** debug: x=#{x.inspect}" #=> "baz"
|
2930
|
+
</pre>
|
2931
|
+
<a name="main_program1.result"></a>
|
2932
|
+
<div class="terminal_caption">
|
2933
|
+
Result:</div>
|
2934
|
+
<pre class="terminal">$ ruby main_program1.rb
|
2935
|
+
item = foo
|
2936
|
+
item = bar
|
2937
|
+
item = baz
|
2938
|
+
** debug: local variables=["eruby", "items", "x", "_buf"]
|
2939
|
+
** debug: x="baz"
|
2940
|
+
</pre>
|
2941
|
+
<p>This problem is caused because Ruby's Binding class is poor to use in template engine.
|
2942
|
+
Binding class should support the following features.
|
2943
|
+
</p>
|
2944
|
+
<pre class="program">b = Binding.new # create empty Binding object
|
2945
|
+
b['x'] = 1 # set local variables using binding object
|
2946
|
+
</pre>
|
2947
|
+
<p>But the above features are not implemented in Ruby.
|
2948
|
+
</p>
|
2949
|
+
<p>A pragmatic solution is to use 'Erubis::Eruby#evaluate(context)' instead of 'Erubis::Eruby#result(binding)'.
|
2950
|
+
'evaluate(context)' uses Erubis::Context object and instance variables instead of Binding object and local variables.
|
2951
|
+
</p>
|
2952
|
+
<a name="template2.rhtml"></a>
|
2953
|
+
<div class="program_caption">
|
2954
|
+
template2.rhtml (intended to be passed '@items' from main program)</div>
|
2955
|
+
<pre class="program"><% for <strong>x</strong> in <strong>@items</strong> %>
|
2956
|
+
item = <%= x %>
|
2957
|
+
<% end %>
|
2958
|
+
** debug: local variables=<%= local_variables().inspect() %>
|
2959
|
+
</pre>
|
2960
|
+
<a name="main_program2.rb"></a>
|
2961
|
+
<div class="program_caption">
|
2962
|
+
main_program2.rb (intended to pass '@items' to template)</div>
|
2963
|
+
<pre class="program">require 'erubis'
|
2964
|
+
eruby = Erubis::Eruby.new(File.read('template2.rhtml'))
|
2965
|
+
items = ['foo', 'bar', 'baz']
|
2966
|
+
x = 1
|
2967
|
+
## only 'items' are passed to template
|
2968
|
+
print <strong>eruby.evaluate(:items=>items)</strong>
|
2969
|
+
## local variable 'x' is not changed!
|
2970
|
+
puts "** debug: x=#{x.inspect}" #=> 1
|
2971
|
+
</pre>
|
2972
|
+
<a name="main_program2.result"></a>
|
2973
|
+
<div class="terminal_caption">
|
2974
|
+
Result:</div>
|
2975
|
+
<pre class="terminal">$ ruby main_program2.rb
|
2976
|
+
item = foo
|
2977
|
+
item = bar
|
2978
|
+
item = baz
|
2979
|
+
** debug: local variables=["_context", "x", "_buf"]
|
2980
|
+
** debug: x=1
|
2981
|
+
</pre>
|
2982
|
+
<br>
|
2983
|
+
|
2984
|
+
|
2985
|
+
<a name="topics-fasteruby"></a>
|
2986
|
+
<h3 class="section2">Class Erubis::FastEruby</h3>
|
2987
|
+
<p>[experimental]
|
2988
|
+
</p>
|
2989
|
+
<p>Erubis provides Erubis::FastEruby class which includes <a href="#interpolation-enhancer">InterpolationEnhancer</a> and <a href="#topics-benchmark">works faster than Erubis::Eruby class</a>.
|
2990
|
+
If you desire more speed, try Erubis::FastEruby class.
|
2991
|
+
</p>
|
2992
|
+
<a name="fasteruby.rhtml"></a>
|
2993
|
+
<div class="program_caption">
|
2994
|
+
File 'fasteruby.rhtml':</div>
|
2995
|
+
<pre class="program"><html>
|
2996
|
+
<body>
|
2997
|
+
<h1><%== @title %></h1>
|
2998
|
+
<table>
|
2999
|
+
<% i = 0 %>
|
3000
|
+
<% for item in @list %>
|
3001
|
+
<% i += 1 %>
|
3002
|
+
<tr>
|
3003
|
+
<td><%= i %></td>
|
3004
|
+
<td><%== item %></td>
|
3005
|
+
</tr>
|
3006
|
+
<% end %>
|
3007
|
+
</table>
|
3008
|
+
</body>
|
3009
|
+
</html>
|
3010
|
+
</pre>
|
3011
|
+
<a name="fasteruby.rb"></a>
|
3012
|
+
<div class="program_caption">
|
3013
|
+
File 'fasteruby.rb':</div>
|
3014
|
+
<pre class="program">require 'erubis'
|
3015
|
+
input = File.read('fasteruby.rhtml')
|
3016
|
+
eruby = <strong>Erubis::FastEruby.new(input)</strong> # create Eruby object
|
3017
|
+
|
3018
|
+
puts "---------- script source ---"
|
3019
|
+
puts eruby.src
|
3020
|
+
|
3021
|
+
puts "---------- result ----------"
|
3022
|
+
context = { :title=>'Example', :list=>['aaa', 'bbb', 'ccc'] }
|
3023
|
+
output = eruby.evaluate(context)
|
3024
|
+
print output
|
3025
|
+
</pre>
|
3026
|
+
<a name="fasteruby.result"></a>
|
3027
|
+
<div class="terminal_caption">
|
3028
|
+
output</div>
|
3029
|
+
<pre class="terminal">$ ruby fasteruby.rb
|
3030
|
+
---------- script source ---
|
3031
|
+
_buf = ''; _buf << <strong>%Q`</strong><html>
|
3032
|
+
<body>
|
3033
|
+
<h1><strong>#{Erubis::XmlHelper.escape_xml( @title )}</strong></h1>
|
3034
|
+
<table>\n<strong>`</strong>
|
3035
|
+
i = 0
|
3036
|
+
for item in @list
|
3037
|
+
i += 1
|
3038
|
+
_buf << <strong>%Q`</strong> <tr>
|
3039
|
+
<td><strong>#{ i }</strong></td>
|
3040
|
+
<td><strong>#{Erubis::XmlHelper.escape_xml( item )}</strong></td>
|
3041
|
+
</tr>\n<strong>`</strong>
|
3042
|
+
end
|
3043
|
+
_buf << <strong>%Q`</strong> </table>
|
3044
|
+
</body>
|
3045
|
+
</html>\n<strong>`</strong>
|
3046
|
+
_buf.to_s
|
3047
|
+
---------- result ----------
|
3048
|
+
<html>
|
3049
|
+
<body>
|
3050
|
+
<h1>Example</h1>
|
3051
|
+
<table>
|
3052
|
+
<tr>
|
3053
|
+
<td>1</td>
|
3054
|
+
<td>aaa</td>
|
3055
|
+
</tr>
|
3056
|
+
<tr>
|
3057
|
+
<td>2</td>
|
3058
|
+
<td>bbb</td>
|
3059
|
+
</tr>
|
3060
|
+
<tr>
|
3061
|
+
<td>3</td>
|
3062
|
+
<td>ccc</td>
|
3063
|
+
</tr>
|
3064
|
+
</table>
|
3065
|
+
</body>
|
3066
|
+
</html>
|
3067
|
+
</pre>
|
3068
|
+
<br>
|
3069
|
+
|
3070
|
+
|
3071
|
+
<a name="topics-syntax"></a>
|
3072
|
+
<h3 class="section2">Syntax Checking</h3>
|
3073
|
+
<p>Command-line option '-z' checks syntax. It is similar to 'erubis -x file.rhtml | ruby -wc', but it can take several file names.
|
3074
|
+
</p>
|
3075
|
+
<div class="terminal_caption">
|
3076
|
+
example of command-line option '-z'</div>
|
3077
|
+
<pre class="terminal">$ erubis <strong>-z</strong> app/views/*/*.rhtml
|
3078
|
+
Syntax OK
|
3079
|
+
</pre>
|
3080
|
+
<br>
|
3081
|
+
|
3082
|
+
|
3083
|
+
<a name="topics-caching"></a>
|
3084
|
+
<h3 class="section2">File Caching</h3>
|
3085
|
+
<p>Erubis::Eruby.load_file(filename) convert file into Ruby script and return Eruby object.
|
3086
|
+
In addition, it caches converted Ruby script into cache file (filename + '.cache') if cache file is old or not exist.
|
3087
|
+
If cache file exists and is newer than eruby file, Erubis::Eruby.load_file() loads cache file.
|
3088
|
+
</p>
|
3089
|
+
<div class="program_caption">
|
3090
|
+
example of Erubis::Eruby.load_file()</div>
|
3091
|
+
<pre class="program">require 'erubis'
|
3092
|
+
filename = 'example.rhtml'
|
3093
|
+
eruby = <strong>Erubis::Eruby.load_file(filename)</strong>
|
3094
|
+
cachename = filename + '.cache'
|
3095
|
+
if test(?f, cachename)
|
3096
|
+
puts "*** cache file '#{cachename}' created."
|
3097
|
+
end
|
3098
|
+
</pre>
|
3099
|
+
<p>Since 2.6.0, it is able to specify cache filename.
|
3100
|
+
</p>
|
3101
|
+
<div class="program_caption">
|
3102
|
+
specify cache filename.</div>
|
3103
|
+
<pre class="program">filename = 'example.rhtml'
|
3104
|
+
eruby = Erubis::Eruby.load_file(filename, :cachename=>filename+'.cache')
|
3105
|
+
</pre>
|
3106
|
+
<p>Caching makes Erubis about 40-50 percent faster than no-caching.
|
3107
|
+
See <a href="#topics-benchmark">benchmark</a> for details.
|
3108
|
+
</p>
|
3109
|
+
<br>
|
3110
|
+
|
3111
|
+
|
3112
|
+
<a name="topics-tinyeruby"></a>
|
3113
|
+
<h3 class="section2">Erubis::TinyEruby class</h3>
|
3114
|
+
<p>Erubis::TinyEruby class in 'erubis/tiny.rb' is the smallest implementation of eRuby.
|
3115
|
+
If you don't need any enhancements of Erubis and only require simple eRuby implementation,
|
3116
|
+
try Erubis::TinyEruby class.
|
3117
|
+
</p>
|
3118
|
+
<br>
|
3119
|
+
|
3120
|
+
|
3121
|
+
<a name="topics-php"></a>
|
3122
|
+
<h3 class="section2">NoTextEnhancer and NoCodeEnhancer in PHP</h3>
|
3123
|
+
<p>NoTextEnhancer and NoCodEnahncer are quite useful not only for eRuby but also for PHP.
|
3124
|
+
The former "drops" HTML text and show up embedded Ruby/PHP code
|
3125
|
+
and the latter drops embedded Ruby/PHP code and leave HTML text.
|
3126
|
+
</p>
|
3127
|
+
<p>For example, see the following PHP script.
|
3128
|
+
</p>
|
3129
|
+
<a name="notext-example.php"></a>
|
3130
|
+
<div class="program_caption">
|
3131
|
+
notext-example.php</div>
|
3132
|
+
<pre class="program"><html>
|
3133
|
+
<body>
|
3134
|
+
<h3>List</h3>
|
3135
|
+
<?php if (!$list || count($list) == 0) { ?>
|
3136
|
+
<p>not found.</p>
|
3137
|
+
<?php } else { ?>
|
3138
|
+
<table>
|
3139
|
+
<tbody>
|
3140
|
+
<?php $i = 0; ?>
|
3141
|
+
<?php foreach ($list as $item) { ?>
|
3142
|
+
<tr bgcolor="<?php echo ++$i % 2 == 1 ? '#FFCCCC' : '#CCCCFF'; ?>">
|
3143
|
+
<td><?php echo $item; ?></td>
|
3144
|
+
</tr>
|
3145
|
+
<?php } ?>
|
3146
|
+
</tbody>
|
3147
|
+
</table>
|
3148
|
+
<?php } ?>
|
3149
|
+
</body>
|
3150
|
+
</html>
|
3151
|
+
</pre>
|
3152
|
+
<p>This is complex because PHP code and HTML document are mixed.
|
3153
|
+
NoTextEnhancer can separate PHP code from HTML document.
|
3154
|
+
</p>
|
3155
|
+
<a name="notext-php.result"></a>
|
3156
|
+
<div class="terminal_caption">
|
3157
|
+
example of using NoTextEnhancer with PHP file</div>
|
3158
|
+
<pre class="terminal">$ erubis -l php --pi=php -N -E NoText --trim=false notext-example.php
|
3159
|
+
1:
|
3160
|
+
2:
|
3161
|
+
3:
|
3162
|
+
4: <?php if (!$list || count($list) == 0) { ?>
|
3163
|
+
5:
|
3164
|
+
6: <?php } else { ?>
|
3165
|
+
7:
|
3166
|
+
8:
|
3167
|
+
9: <?php $i = 0; ?>
|
3168
|
+
10: <?php foreach ($list as $item) { ?>
|
3169
|
+
11: <?php echo ++$i % 2 == 1 ? '#FFCCCC' : '#CCCCFF'; ?>
|
3170
|
+
12: <?php echo $item; ?>
|
3171
|
+
13:
|
3172
|
+
14: <?php } ?>
|
3173
|
+
15:
|
3174
|
+
16:
|
3175
|
+
17: <?php } ?>
|
3176
|
+
18:
|
3177
|
+
19:
|
3178
|
+
</pre>
|
3179
|
+
<p>In the same way, NoCodeEnhancer can extract HTML tags.
|
3180
|
+
</p>
|
3181
|
+
<a name="nocode-php.result"></a>
|
3182
|
+
<div class="terminal_caption">
|
3183
|
+
example of using NoCodeEnhancer with PHP file</div>
|
3184
|
+
<pre class="terminal">$ erubis -l php --pi=php -N -E NoCode --trim=false notext-example.php
|
3185
|
+
1: <html>
|
3186
|
+
2: <body>
|
3187
|
+
3: <h3>List</h3>
|
3188
|
+
4:
|
3189
|
+
5: <p>not found.</p>
|
3190
|
+
6:
|
3191
|
+
7: <table>
|
3192
|
+
8: <tbody>
|
3193
|
+
9:
|
3194
|
+
10:
|
3195
|
+
11: <tr bgcolor="">
|
3196
|
+
12: <td></td>
|
3197
|
+
13: </tr>
|
3198
|
+
14:
|
3199
|
+
15: </tbody>
|
3200
|
+
16: </table>
|
3201
|
+
17:
|
3202
|
+
18: </body>
|
3203
|
+
19: </html>
|
3204
|
+
</pre>
|
3205
|
+
<br>
|
3206
|
+
|
3207
|
+
|
3208
|
+
<a name="topcs-modruby"></a>
|
3209
|
+
<h3 class="section2">Helper Class for mod_ruby</h3>
|
3210
|
+
<p>Thanks Andrew R Jackson, he developed 'erubis-run.rb' which enables you to use Erubis with mod_ruby.
|
3211
|
+
</p>
|
3212
|
+
<ol type="1">
|
3213
|
+
<li>Copy 'erubis-2.7.0/contrib/erubis-run.rb' to the 'RUBYLIBDIR/apache' directory (for example '/usr/local/lib/ruby/1.8/apache') which contains 'ruby-run.rb', 'eruby-run.rb', and so on.
|
3214
|
+
<pre class="terminal">$ cd erubis-2.7.0/
|
3215
|
+
$ sudo copy contrib/erubis-run.rb /usr/local/lib/ruby/1.8/apache/
|
3216
|
+
</pre>
|
3217
|
+
</li>
|
3218
|
+
<li>Add the following example to your 'httpd.conf' (for example '/usr/local/apache2/conf/httpd.conf')
|
3219
|
+
<pre class="program">LoadModule ruby_module modules/mod_ruby.so
|
3220
|
+
<IfModule mod_ruby.c>
|
3221
|
+
RubyRequire apache/ruby-run
|
3222
|
+
RubyRequire apache/eruby-run
|
3223
|
+
RubyRequire apache/erubis-run
|
3224
|
+
<Location /erubis>
|
3225
|
+
SetHandler ruby-object
|
3226
|
+
RubyHandler Apache::ErubisRun.instance
|
3227
|
+
</Location>
|
3228
|
+
<Files *.rhtml>
|
3229
|
+
SetHandler ruby-object
|
3230
|
+
RubyHandler Apache::ErubisRun.instance
|
3231
|
+
</Files>
|
3232
|
+
</IfModule>
|
3233
|
+
</pre>
|
3234
|
+
</li>
|
3235
|
+
<li>Restart Apache web server.
|
3236
|
+
<pre class="terminal">$ sudo /usr/local/apache2/bin/apachectl stop
|
3237
|
+
$ sudo /usr/local/apache2/bin/apachectl start
|
3238
|
+
</pre>
|
3239
|
+
</li>
|
3240
|
+
<li>Create *.rhtml file, for example:
|
3241
|
+
<pre class="program"><html>
|
3242
|
+
<body>
|
3243
|
+
Now is <%= Time.now %>
|
3244
|
+
Erubis version is <%= Erubis::VERSION %>
|
3245
|
+
</body>
|
3246
|
+
</html>
|
3247
|
+
</pre>
|
3248
|
+
</li>
|
3249
|
+
<li>Change mode of your directory to be writable by web server process.
|
3250
|
+
<pre class="terminal">$ cd /usr/local/apache2/htdocs/erubis
|
3251
|
+
$ sudo chgrp daemon .
|
3252
|
+
$ sudo chmod 775 .
|
3253
|
+
</pre>
|
3254
|
+
</li>
|
3255
|
+
<li>Access the *.rhtml file and you'll get the web page.
|
3256
|
+
</li>
|
3257
|
+
</ol>
|
3258
|
+
<p>You must set your directories to be writable by web server process, because
|
3259
|
+
Apache::ErubisRun calls Erubis::Eruby.load_file() internally which creates cache files
|
3260
|
+
in the same directory in which '*.rhtml' file exists.
|
3261
|
+
</p>
|
3262
|
+
<br>
|
3263
|
+
|
3264
|
+
|
3265
|
+
<a name="topics-index-cgi"></a>
|
3266
|
+
<h3 class="section2">Helper CGI Script for Apache</h3>
|
3267
|
+
<p>Erubis provides helper CGI script for Apache.
|
3268
|
+
Using this script, it is very easy to publish *.rhtml files as *.html.
|
3269
|
+
</p>
|
3270
|
+
<pre class="terminal">### install Erubis
|
3271
|
+
$ tar xzf erubis-X.X.X.tar.gz
|
3272
|
+
$ cd erubis-X.X.X/
|
3273
|
+
$ ruby setup.py install
|
3274
|
+
### copy files to ~/public_html
|
3275
|
+
$ mkdir -p ~/public_html
|
3276
|
+
$ cp public_html/_htaccess ~/public_html/.htaccess
|
3277
|
+
$ cp public_html/index.cgi ~/public_html/
|
3278
|
+
$ cp public_html/index.rhtml ~/public_html/
|
3279
|
+
### add executable permission to index.cgi
|
3280
|
+
$ chmod a+x ~/public_html/index.cgi
|
3281
|
+
### edit .htaccess
|
3282
|
+
$ vi ~/public_html/.htaccess
|
3283
|
+
### (optional) edit index.cgi to configure
|
3284
|
+
$ vi ~/public_html/index.cgi
|
3285
|
+
</pre>
|
3286
|
+
<p>Edit ~/public_html/.htaccess and modify user name.
|
3287
|
+
</p>
|
3288
|
+
<div class="program_caption">
|
3289
|
+
~/public_html/.htaccess</div>
|
3290
|
+
<pre class="program">## enable mod_rewrie
|
3291
|
+
RewriteEngine on
|
3292
|
+
## deny access to *.rhtml and *.cache
|
3293
|
+
#RewriteRule \.(rhtml|cache)$ - [R=404,L]
|
3294
|
+
RewriteRule \.(rhtml|cache)$ - [F,L]
|
3295
|
+
## rewrite only if requested file is not found
|
3296
|
+
RewriteCond %{SCRIPT_FILENAME} !-f
|
3297
|
+
## handle request to *.html and directories by index.cgi
|
3298
|
+
RewriteRule (\.html|/|^)$ /~<strong>username</strong>/index.cgi
|
3299
|
+
#RewriteRule (\.html|/|^)$ index.cgi
|
3300
|
+
</pre>
|
3301
|
+
<p>After these steps, *.rhtml will be published as *.html.
|
3302
|
+
For example, if you access to <code>http://<em>host</em>.<em>domain</em>/~<em>username</em>/index.html</code> (or <code>http://<em>host</em>.<em>domain</em>/~<em>username</em>/</code>), file <code>~/public_html/index.rhtml</code> will be displayed.
|
3303
|
+
</p>
|
3304
|
+
<br>
|
3305
|
+
|
3306
|
+
|
3307
|
+
<a name="topics-defmethod"></a>
|
3308
|
+
<h3 class="section2">Define method</h3>
|
3309
|
+
<p>Erubis::Eruby#def_method() defines instance method or singleton method.
|
3310
|
+
</p>
|
3311
|
+
<a name="def_method.rb"></a>
|
3312
|
+
<pre class="program">require 'erubis'
|
3313
|
+
s = "hello <%= name %>"
|
3314
|
+
eruby = Erubis::Eruby.new(s)
|
3315
|
+
filename = 'hello.rhtml'
|
3316
|
+
|
3317
|
+
## define instance method to Dummy class (or module)
|
3318
|
+
class Dummy; end
|
3319
|
+
<strong>eruby.def_method(Dummy, 'render(name)', filename)</strong> # filename is optional
|
3320
|
+
p Dummy.new.render('world') #=> "hello world"
|
3321
|
+
|
3322
|
+
## define singleton method to dummy object
|
3323
|
+
obj = Object.new
|
3324
|
+
<strong>eruby.def_method(obj, 'render(name)', filename)</strong> # filename is optional
|
3325
|
+
p obj.render('world') #=> "hello world"
|
3326
|
+
</pre>
|
3327
|
+
<br>
|
3328
|
+
|
3329
|
+
|
3330
|
+
<a name="topics-benchmark"></a>
|
3331
|
+
<h3 class="section2">Benchmark</h3>
|
3332
|
+
<p>A benchmark script is included in Erubis package at 'erubis-2.7.0/benchark/' directory.
|
3333
|
+
Here is an example result of benchmark.
|
3334
|
+
</p>
|
3335
|
+
<div class="terminal_caption">
|
3336
|
+
MacOS X 10.4 Tiger, Intel CoreDuo 1.83GHz, Ruby1.8.6, eruby1.0.5, gcc4.0.1</div>
|
3337
|
+
<pre class="terminal">$ cd erubis-2.7.0/benchmark/
|
3338
|
+
$ ruby bench.rb -n 10000 -m execute
|
3339
|
+
*** ntimes=10000, testmode=execute
|
3340
|
+
user system total real
|
3341
|
+
eruby 12.720000 0.240000 <strong>12.960000</strong> ( 12.971888)
|
3342
|
+
ERB 36.760000 0.350000 <strong>37.110000</strong> ( 37.112019)
|
3343
|
+
ERB(cached) 11.990000 0.440000 <strong>12.430000</strong> ( 12.430375)
|
3344
|
+
Erubis::Eruby 10.840000 0.300000 <strong>11.140000</strong> ( 11.144426)
|
3345
|
+
Erubis::Eruby(cached) 7.540000 0.410000 <strong>7.950000</strong> ( 7.969305)
|
3346
|
+
Erubis::FastEruby 10.440000 0.300000 <strong>10.740000</strong> ( 10.737808)
|
3347
|
+
Erubis::FastEruby(cached) 6.940000 0.410000 <strong>7.350000</strong> ( 7.353666)
|
3348
|
+
Erubis::TinyEruby 9.550000 0.290000 9.840000 ( 9.851729)
|
3349
|
+
Erubis::ArrayBufferEruby 11.010000 0.300000 11.310000 ( 11.314339)
|
3350
|
+
Erubis::PrintOutEruby 11.640000 0.290000 11.930000 ( 11.942141)
|
3351
|
+
Erubis::StdoutEruby 11.590000 0.300000 11.890000 ( 11.886512)
|
3352
|
+
</pre>
|
3353
|
+
<p>This shows that...
|
3354
|
+
</p>
|
3355
|
+
<ul type="disc">
|
3356
|
+
<li>Erubis::Eruby runs more than 10 percent faster than eruby.
|
3357
|
+
</li>
|
3358
|
+
<li>Erubis::Eruby runs about 3 times faster than ERB.
|
3359
|
+
</li>
|
3360
|
+
<li>Caching (by Erubis::Eruby.load_file()) makes Erubis about 40-50 percent faster.
|
3361
|
+
</li>
|
3362
|
+
<li>Erubis::FastEruby is a litte faster than Erubis::Eruby.
|
3363
|
+
</li>
|
3364
|
+
<li>Array buffer (ArrayBufferEnhancer) is a little slower than string buffer (StringBufferEnhancer which Erubis::Eruby includes)
|
3365
|
+
</li>
|
3366
|
+
<li>$stdout and print() make Erubis a little slower.
|
3367
|
+
</li>
|
3368
|
+
<li>Erubis::TinyEruby (at 'erubis/tiny.rb') is the fastest in all eRuby implementations when no caching.
|
3369
|
+
</li>
|
3370
|
+
</ul>
|
3371
|
+
<p>Escaping HTML characters (such as '< > & "') makes Erubis more faster than eruby and ERB,
|
3372
|
+
because Erubis::XmlHelper#escape_xml() works faster than CGI.escapeHTML() and ERB::Util#h().
|
3373
|
+
The following shows that Erubis runs more than 40 percent (when no-cached) or 90 percent (when cached) faster than eruby if HTML characters are escaped.
|
3374
|
+
</p>
|
3375
|
+
<div class="terminal_caption">
|
3376
|
+
When escaping HTML characters with option '-e'</div>
|
3377
|
+
<pre class="terminal">$ ruby bench.rb -n 10000 -m execute -ep
|
3378
|
+
*** ntimes=10000, testmode=execute
|
3379
|
+
user system total real
|
3380
|
+
eruby 21.700000 0.290000 <strong>21.990000</strong> ( 22.050687)
|
3381
|
+
ERB 45.140000 0.390000 <strong>45.530000</strong> ( 45.536976)
|
3382
|
+
ERB(cached) 20.340000 0.470000 <strong>20.810000</strong> ( 20.822653)
|
3383
|
+
Erubis::Eruby 14.830000 0.310000 <strong>15.140000</strong> ( 15.147930)
|
3384
|
+
Erubis::Eruby(cached) 11.090000 0.420000 <strong>11.510000</strong> ( 11.514954)
|
3385
|
+
Erubis::FastEruby 14.850000 0.310000 <strong>15.160000</strong> ( 15.172499)
|
3386
|
+
Erubis::FastEruby(cached) 10.970000 0.430000 <strong>11.400000</strong> ( 11.399605)
|
3387
|
+
Erubis::ArrayBufferEruby 14.970000 0.300000 15.270000 ( 15.281061)
|
3388
|
+
Erubis::PrintOutEruby 15.780000 0.300000 16.080000 ( 16.088289)
|
3389
|
+
Erubis::StdoutEruby 15.840000 0.310000 16.150000 ( 16.235338)
|
3390
|
+
</pre>
|
3391
|
+
<br>
|
3392
|
+
|
3393
|
+
|
3394
|
+
<br>
|
3395
|
+
|
3396
|
+
|
3397
|
+
<a name="command"></a>
|
3398
|
+
<h2 class="section1">Command Reference</h2>
|
3399
|
+
<a name="command-usage"></a>
|
3400
|
+
<h3 class="section2">Usage</h3>
|
3401
|
+
<p>erubis [..options..] [<em>file</em> ...]
|
3402
|
+
</p>
|
3403
|
+
<br>
|
3404
|
+
|
3405
|
+
|
3406
|
+
<a name="command-options"></a>
|
3407
|
+
<h3 class="section2">Options</h3>
|
3408
|
+
<dl class="dl3" compact>
|
3409
|
+
<dt class="dt3"><b>
|
3410
|
+
-h, --help </b></dt>
|
3411
|
+
<dd class="dd3">
|
3412
|
+
Help.
|
3413
|
+
</dd>
|
3414
|
+
<dt class="dt3"><b>
|
3415
|
+
-v </b></dt>
|
3416
|
+
<dd class="dd3">
|
3417
|
+
Release version.
|
3418
|
+
</dd>
|
3419
|
+
<dt class="dt3"><b>
|
3420
|
+
-x </b></dt>
|
3421
|
+
<dd class="dd3">
|
3422
|
+
Show compiled source.
|
3423
|
+
</dd>
|
3424
|
+
<dt class="dt3"><b>
|
3425
|
+
-X </b></dt>
|
3426
|
+
<dd class="dd3">
|
3427
|
+
Show compiled source but only Ruby code.
|
3428
|
+
This is equivarent to '-E NoText'.
|
3429
|
+
</dd>
|
3430
|
+
<dt class="dt3"><b>
|
3431
|
+
-N </b></dt>
|
3432
|
+
<dd class="dd3">
|
3433
|
+
Numbering: add line numbers. (for '-x/-X')
|
3434
|
+
</dd>
|
3435
|
+
<dt class="dt3"><b>
|
3436
|
+
-U </b></dt>
|
3437
|
+
<dd class="dd3">
|
3438
|
+
Unique mode: zip empty lines into a line. (for '-x/-X')
|
3439
|
+
</dd>
|
3440
|
+
<dt class="dt3"><b>
|
3441
|
+
-C </b></dt>
|
3442
|
+
<dd class="dd3">
|
3443
|
+
Compact: remove empty lines. (for '-x/-X')
|
3444
|
+
</dd>
|
3445
|
+
<dt class="dt3"><b>
|
3446
|
+
-b </b></dt>
|
3447
|
+
<dd class="dd3">
|
3448
|
+
Body only: no preamble nor postamble. (for '-x/-X')
|
3449
|
+
This is equivarent to '--preamble=false --postamble=false'.
|
3450
|
+
</dd>
|
3451
|
+
<dt class="dt3"><b>
|
3452
|
+
-z </b></dt>
|
3453
|
+
<dd class="dd3">
|
3454
|
+
Syntax checking.
|
3455
|
+
</dd>
|
3456
|
+
<dt class="dt3"><b>
|
3457
|
+
-e </b></dt>
|
3458
|
+
<dd class="dd3">
|
3459
|
+
Escape. This is equivarent to '-E Escape'.
|
3460
|
+
</dd>
|
3461
|
+
<dt class="dt3"><b>
|
3462
|
+
-p pattern </b></dt>
|
3463
|
+
<dd class="dd3">
|
3464
|
+
Embedded pattern (default '<% %>').
|
3465
|
+
This is equivarent to '--pattern=<em>pattern</em>'.
|
3466
|
+
</dd>
|
3467
|
+
<dt class="dt3"><b>
|
3468
|
+
-l lang </b></dt>
|
3469
|
+
<dd class="dd3">
|
3470
|
+
Language name.
|
3471
|
+
This option makes erubis command to compile script but no execute.
|
3472
|
+
</dd>
|
3473
|
+
<dt class="dt3"><b>
|
3474
|
+
-E enhacers </b></dt>
|
3475
|
+
<dd class="dd3">
|
3476
|
+
Enhancer name (Escape, PercentLine, ...).
|
3477
|
+
It is able to specify several enhancer name separating with ','
|
3478
|
+
(ex. -f Escape,PercentLine,HeaderFooter).
|
3479
|
+
</dd>
|
3480
|
+
<dt class="dt3"><b>
|
3481
|
+
-I path </b></dt>
|
3482
|
+
<dd class="dd3">
|
3483
|
+
Require library path ($:).
|
3484
|
+
It is able to specify several paths separating with ','
|
3485
|
+
(ex. -f path1,path2,path3).
|
3486
|
+
</dd>
|
3487
|
+
<dt class="dt3"><b>
|
3488
|
+
-K kanji </b></dt>
|
3489
|
+
<dd class="dd3">
|
3490
|
+
Kanji code (euc, sjis, utf8, or none) (default none).
|
3491
|
+
</dd>
|
3492
|
+
<dt class="dt3"><b>
|
3493
|
+
-f datafile </b></dt>
|
3494
|
+
<dd class="dd3">
|
3495
|
+
Context data file in YAML format ('*.yaml', '*.yml') or
|
3496
|
+
Ruby script ('*.rb').
|
3497
|
+
It is able to specify several filenames separating with ','
|
3498
|
+
(ex. -f file1,file2,file3).
|
3499
|
+
</dd>
|
3500
|
+
<dt class="dt3"><b>
|
3501
|
+
-c context </b></dt>
|
3502
|
+
<dd class="dd3">
|
3503
|
+
Context data string in YAML inline style or Ruby code.
|
3504
|
+
</dd>
|
3505
|
+
<dt class="dt3"><b>
|
3506
|
+
-T </b></dt>
|
3507
|
+
<dd class="dd3">
|
3508
|
+
Don't expand tab characters in YAML file.
|
3509
|
+
</dd>
|
3510
|
+
<dt class="dt3"><b>
|
3511
|
+
-S </b></dt>
|
3512
|
+
<dd class="dd3">
|
3513
|
+
Convert mapping key from string to symbol in YAML file.
|
3514
|
+
</dd>
|
3515
|
+
<dt class="dt3"><b>
|
3516
|
+
-B </b></dt>
|
3517
|
+
<dd class="dd3">
|
3518
|
+
invoke Eruby#result() instead of Eruby#evaluate()
|
3519
|
+
</dd>
|
3520
|
+
<dt class="dt3"><b>
|
3521
|
+
--pi[=name] </b></dt>
|
3522
|
+
<dd class="dd3">
|
3523
|
+
parse '<?name ... ?>' instead of '<% ... %>'
|
3524
|
+
</dd>
|
3525
|
+
<dt class="dt3"><b>
|
3526
|
+
--trim=false </b></dt>
|
3527
|
+
<dd class="dd3">
|
3528
|
+
No trimming spaces around '<% %>'.
|
3529
|
+
</dd>
|
3530
|
+
</dl>
|
3531
|
+
<br>
|
3532
|
+
|
3533
|
+
|
3534
|
+
<a name="command-props"></a>
|
3535
|
+
<h3 class="section2">Properties</h3>
|
3536
|
+
<p>Some Eruby classes can take optional properties to change it's compile option.
|
3537
|
+
For example, property '--indent=" "' may change indentation of compiled source code.
|
3538
|
+
Try 'erubis -h' for details.
|
3539
|
+
</p>
|
3540
|
+
<br>
|
3541
|
+
|
3542
|
+
|
3543
|
+
<br>
|
3544
|
+
|
3545
|
+
|
3546
|
+
|
3547
|
+
</div>
|
3548
|
+
</blockquote>
|
3549
|
+
|
3550
|
+
</body>
|
3551
|
+
</html>
|