sidekiq-statsd 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.pryrc +11 -0
- data/.travis.yml +18 -0
- data/.yardopts +3 -0
- data/CHANGELOG.md +0 -0
- data/Gemfile +4 -0
- data/Guardfile +16 -0
- data/LICENSE.txt +22 -0
- data/README.md +51 -0
- data/Rakefile +18 -0
- data/lib/sidekiq-statsd.rb +7 -0
- data/lib/sidekiq/statsd/client.rb +35 -0
- data/lib/sidekiq/statsd/server_middleware.rb +36 -0
- data/lib/sidekiq/statsd/version.rb +6 -0
- data/sidekiq-statsd.gemspec +41 -0
- data/spec/sidekiq/statsd/client_spec.rb +53 -0
- data/spec/sidekiq/statsd/server_middleware_spec.rb +35 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +35 -0
- data/spec/support/sidekiq.rb +20 -0
- data/vendor/ruby/1.9.1/bin/autospec +23 -0
- data/vendor/ruby/1.9.1/bin/coderay +23 -0
- data/vendor/ruby/1.9.1/bin/guard +23 -0
- data/vendor/ruby/1.9.1/bin/htmldiff +25 -0
- data/vendor/ruby/1.9.1/bin/ldiff +25 -0
- data/vendor/ruby/1.9.1/bin/pry +23 -0
- data/vendor/ruby/1.9.1/bin/rake +23 -0
- data/vendor/ruby/1.9.1/bin/redcarpet +23 -0
- data/vendor/ruby/1.9.1/bin/rspec +23 -0
- data/vendor/ruby/1.9.1/bin/sidekiq +23 -0
- data/vendor/ruby/1.9.1/bin/sidekiqctl +23 -0
- data/vendor/ruby/1.9.1/bin/thor +23 -0
- data/vendor/ruby/1.9.1/bin/yard +23 -0
- data/vendor/ruby/1.9.1/bin/yardoc +23 -0
- data/vendor/ruby/1.9.1/bin/yri +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/CHANGELOG.md +204 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/MIT-LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/README.rdoc +33 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support.rb +82 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/all.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/backtrace_cleaner.rb +99 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/base64.rb +54 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/basic_object.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/benchmarkable.rb +55 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/buffered_logger.rb +125 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/builder.rb +6 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache.rb +638 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/file_store.rb +178 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/mem_cache_store.rb +206 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/memory_store.rb +159 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/null_store.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb +169 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb +626 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/concern.rb +133 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/configurable.rb +90 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/access.rb +46 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/conversions.rb +164 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/grouping.rb +100 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/random_access.rb +30 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/uniq_by.rb +16 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/class/attribute.rb +115 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/class/attribute_accessors.rb +168 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/class/subclasses.rb +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date/calculations.rb +276 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date/conversions.rb +106 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date/freeze.rb +33 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date/zones.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date_time/calculations.rb +143 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date_time/conversions.rb +103 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/date_time/zones.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/enumerable.rb +127 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/exception.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/file.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/file/atomic.rb +47 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/file/path.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/float.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/float/rounding.rb +19 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/conversions.rb +175 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/deep_dup.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/deep_merge.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/diff.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/except.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/keys.rb +54 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/hash/slice.rb +40 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/integer/inflections.rb +17 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/integer/time.rb +39 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/io.rb +15 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/kernel/debugger.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/kernel/reporting.rb +95 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/load_error.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/logger.rb +83 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/aliasing.rb +70 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/anonymous.rb +24 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/attr_internal.rb +39 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/delegation.rb +153 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/deprecation.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/introspection.rb +88 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/method_names.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/qualified_const.rb +64 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/remove_method.rb +16 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/module/synchronization.rb +45 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/name_error.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/numeric.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/numeric/time.rb +79 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/blank.rb +121 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/duplicable.rb +119 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/inclusion.rb +25 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/instance_variables.rb +33 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/to_json.rb +19 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/to_param.rb +55 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/to_query.rb +27 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/try.rb +57 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/object/with_options.rb +43 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/proc.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/process.rb +1 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/process/daemon.rb +23 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/range.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/range/blockless_step.rb +29 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/range/conversions.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/range/cover.rb +3 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/range/include_range.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/rexml.rb +46 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string.rb +14 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/access.rb +99 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/conversions.rb +66 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/encoding.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/filters.rb +49 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/inflections.rb +202 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/interpolation.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/multibyte.rb +72 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/output_safety.rb +186 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/strip.rb +26 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/string/xchar.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/time/calculations.rb +356 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/time/conversions.rb +87 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/time/marshal.rb +57 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/time/zones.rb +86 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/core_ext/uri.rb +30 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb +703 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies/autoload.rb +50 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/deprecation.rb +18 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/deprecation/behaviors.rb +49 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/deprecation/method_wrappers.rb +29 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/deprecation/reporting.rb +65 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/descendants_tracker.rb +45 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/duration.rb +110 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/file_update_checker.rb +121 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/file_watcher.rb +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/gzip.rb +30 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/hash_with_indifferent_access.rb +178 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/i18n.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/i18n_railtie.rb +102 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflections.rb +63 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/inflections.rb +174 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb +321 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/inflector/transliterate.rb +98 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/json.rb +2 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/decoding.rb +79 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb +278 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/variable.rb +9 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb +46 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/locale/en.yml +36 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/log_subscriber.rb +122 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/log_subscriber/test_helper.rb +101 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/memoizable.rb +116 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/message_encryptor.rb +103 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/message_verifier.rb +74 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/multibyte.rb +44 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/multibyte/chars.rb +476 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/multibyte/exceptions.rb +8 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/multibyte/unicode.rb +393 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/multibyte/utils.rb +60 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb +154 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/fanout.rb +61 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb +53 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/option_merger.rb +25 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/ordered_hash.rb +222 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/ordered_options.rb +61 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/railtie.rb +59 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/rescuable.rb +115 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/ruby/shim.rb +22 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/string_inquirer.rb +21 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb +80 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/test_case.rb +34 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/assertions.rb +97 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/declarative.rb +40 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/deprecation.rb +55 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/isolation.rb +165 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb +7 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/pending.rb +52 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/performance.rb +317 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/performance/jruby.rb +115 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/performance/rubinius.rb +113 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/performance/ruby.rb +152 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/performance/ruby/mri.rb +57 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb +121 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/time.rb +35 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/time/autoload.rb +5 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/time_with_zone.rb +368 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/values/time_zone.rb +397 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/version.rb +10 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/whiny_nil.rb +24 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini.rb +168 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/jdom.rb +181 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/libxmlsax.rb +86 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/nokogiri.rb +84 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/nokogirisax.rb +88 -0
- data/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/README.md +145 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid.rb +537 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/actor.rb +428 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/autostart.rb +3 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/calls.rb +154 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/condition.rb +70 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/core_ext.rb +9 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/cpu_counter.rb +24 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/evented_mailbox.rb +82 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/fiber.rb +32 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/fsm.rb +186 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/future.rb +118 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/internal_pool.rb +83 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/legacy.rb +47 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/links.rb +36 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logger.rb +63 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logging.rb +5 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logging/incident.rb +21 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logging/incident_logger.rb +129 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logging/incident_reporter.rb +48 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logging/log_event.rb +20 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/logging/ring_buffer.rb +65 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/mailbox.rb +145 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/method.rb +24 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/notifications.rb +83 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/pool_manager.rb +128 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/proxies/abstract_proxy.rb +17 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/proxies/actor_proxy.rb +99 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/proxies/async_proxy.rb +35 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/proxies/block_proxy.rb +29 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/proxies/future_proxy.rb +25 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/proxies/sync_proxy.rb +31 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/receivers.rb +71 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/registry.rb +64 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/responses.rb +44 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/rspec.rb +8 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/signals.rb +51 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/stack_dump.rb +97 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/supervision_group.rb +156 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/supervisor.rb +22 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/system_events.rb +65 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/tasks.rb +120 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/tasks/task_fiber.rb +33 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/tasks/task_thread.rb +52 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/thread.rb +92 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/thread_handle.rb +49 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/uuid.rb +38 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/lib/celluloid/version.rb +4 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/spec/support/actor_examples.rb +895 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/spec/support/example_actor_class.rb +101 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/spec/support/mailbox_examples.rb +66 -0
- data/vendor/ruby/1.9.1/gems/celluloid-0.14.0/spec/support/task_examples.rb +47 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/README_INDEX.rdoc +123 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/Rakefile +35 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/bin/coderay +215 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay.rb +285 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/duo.rb +81 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoder.rb +201 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/count.rb +39 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/debug.rb +61 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/div.rb +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html.rb +327 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html/numbering.rb +103 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/json.rb +83 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/null.rb +18 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/page.rb +24 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/span.rb +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/statistic.rb +96 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/terminal.rb +179 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/text.rb +46 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb +143 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/gzip.rb +41 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/plugin.rb +283 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanner.rb +323 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/c.rb +189 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/cpp.rb +215 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/css.rb +199 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/debug.rb +65 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/diff.rb +199 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/groovy.rb +255 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/html.rb +253 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/java.rb +174 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/java_script.rb +213 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/json.rb +95 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/php.rb +509 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/python.rb +287 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/raydebug.rb +66 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/ruby.rb +470 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/ruby/patterns.rb +175 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/ruby/string_state.rb +71 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/sql.rb +174 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/text.rb +26 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/style.rb +23 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/styles/_map.rb +7 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/styles/alpha.rb +142 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/token_kinds.rb +90 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/tokens.rb +215 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/lib/coderay/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/basic.rb +320 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/examples.rb +129 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/for_redcloth.rb +84 -0
- data/vendor/ruby/1.9.1/gems/coderay-1.0.9/test/functional/suite.rb +15 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/.gitignore +4 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/Changes.md +46 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/Gemfile +7 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/README.md +72 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/Rakefile +14 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/connection_pool.gemspec +17 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/lib/connection_pool.rb +101 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/lib/connection_pool/timed_stack.rb +42 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/lib/connection_pool/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/test/helper.rb +19 -0
- data/vendor/ruby/1.9.1/gems/connection_pool-1.0.0/test/test_connection_pool.rb +150 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.autotest +3 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.hoerc +2 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/.travis.yml +22 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Contributing.rdoc +64 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Gemfile +20 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/History.rdoc +146 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/License.rdoc +39 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Manifest.txt +38 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/README.rdoc +85 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/Rakefile +39 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/autotest/discover.rb +1 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/bin/htmldiff +32 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/bin/ldiff +6 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/docs/COPYING.txt +339 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/docs/artistic.txt +127 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff-lcs.rb +3 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs.rb +805 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/array.rb +7 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/block.rb +37 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb +177 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/internals.rb +301 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/ldiff.rb +195 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/lib/diff/lcs/string.rb +5 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/change_spec.rb +65 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/diff_spec.rb +47 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/hunk_spec.rb +72 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/issues_spec.rb +24 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/lcs_spec.rb +54 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/patch_spec.rb +414 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/sdiff_spec.rb +202 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/spec_helper.rb +290 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/ruby/1.9.1/gems/diff-lcs-1.2.4/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/COPYING +674 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/COPYING.LESSER +165 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/History.txt +1 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/LICENSE +14 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/README.md +109 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/Rakefile +219 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/AbstractMemory.c +1021 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/AbstractMemory.h +166 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ArrayType.c +153 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ArrayType.h +50 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Buffer.c +355 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Buffer.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Call.c +456 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Call.h +84 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Call.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ClosurePool.c +274 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ClosurePool.h +48 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DataConverter.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DataConverter.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DynamicLibrary.c +324 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DynamicLibrary.h +40 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Function.c +990 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Function.h +78 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Function.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/FunctionInfo.c +261 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LastError.c +174 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LastError.h +38 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LastError.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.c +63 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Makefile +218 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MappedType.c +159 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MappedType.h +50 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MappedType.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MemoryPointer.c +188 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MemoryPointer.h +44 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MethodHandle.c +351 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MethodHandle.h +46 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Platform.c +112 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Platform.h +36 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Platform.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Pointer.c +499 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Pointer.h +54 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Pointer.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Struct.c +819 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Struct.h +97 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Struct.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByReference.c +190 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByReference.h +50 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByReference.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByValue.c +141 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByValue.h +46 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructLayout.c +689 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Thread.c +343 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Thread.h +86 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Thread.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.c +386 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.h +47 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Types.c +130 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Types.h +80 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Types.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Variadic.c +266 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Variadic.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/compat.h +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/cruby-ext.iml +12 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/extconf.h +8 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/extconf.rb +65 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ffi.c +88 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ffi.o +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/ffi_c.bundle +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.bsd.mk +34 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.darwin.mk +95 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.gnu.mk +31 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.mk +13 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog +4600 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.am +196 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.in +1820 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.vc +141 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/Makefile.vc64 +141 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/README +342 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/acinclude.m4 +92 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/aclocal.m4 +1873 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/build-ios.sh +67 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/compile +143 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/config.guess +1501 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/config.sub +1705 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/configure +17191 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/configure.ac +496 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/configure.host +11 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/depcomp +630 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/fficonfig.h.in +199 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/fficonfig.hw +57 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/Makefile.in +487 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi.h.in +427 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/include/ffi_common.h +126 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/install-sh +520 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/libffi.pc.in +10 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/ltmain.sh +9636 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/libtool.m4 +7831 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ltoptions.m4 +369 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ltsugar.m4 +123 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/ltversion.m4 +23 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/m4/lt~obsolete.m4 +98 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/Makefile.in +466 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/ffi.3 +31 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/man/ffi_prep_cif.3 +66 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/mdate-sh +201 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/missing +376 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/msvcc.sh +197 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/alpha/ffi.c +284 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/alpha/ffitarget.h +48 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/alpha/osf.S +387 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/ffi.c +728 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/ffitarget.h +65 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/sysv.S +497 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/avr32/ffitarget.h +50 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/closures.c +615 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/cris/ffi.c +383 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/cris/ffitarget.h +51 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/debug.c +59 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/dlmalloc.c +5161 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/frv/ffitarget.h +57 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/ffi.c +582 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/ffitarget.h +50 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/ia64/unix.S +560 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/java_raw_api.c +356 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m32r/ffitarget.h +48 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m68k/ffi.c +288 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m68k/ffitarget.h +49 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/m68k/sysv.S +270 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/ffi.c +1036 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/ffitarget.h +242 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/n32.S +591 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/mips/o32.S +381 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/ffitarget.h +78 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/pa/linux.S +357 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/aix.S +328 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/aix_closure.S +445 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/darwin.S +383 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +575 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ffi.c +1448 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1359 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ffitarget.h +139 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/linux64.S +187 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +236 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +327 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/powerpc/sysv.S +219 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/prep_cif.c +177 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/raw_api.c +254 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/s390/ffi.c +780 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/s390/ffitarget.h +62 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/s390/sysv.S +434 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh/ffi.c +716 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh/ffitarget.h +49 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh64/ffi.c +468 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh64/ffitarget.h +53 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/ffi.c +669 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/ffitarget.h +68 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/v8.S +313 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/sparc/v9.S +307 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/types.c +77 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/darwin.S +444 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/darwin64.S +416 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/ffi.c +644 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/ffi64.c +635 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/ffitarget.h +121 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/freebsd.S +458 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/sysv.S +468 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/unix64.S +426 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/win32.S +1065 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/src/x86/win64.S +468 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/Makefile.am +80 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/Makefile.in +500 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +300 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +263 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +32 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +64 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +134 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +117 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +60 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +60 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +140 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +153 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +58 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +58 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +72 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +342 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/many.c +69 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +63 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +53 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +133 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +35 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +44 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +65 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +59 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +63 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +65 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +80 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +67 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +96 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +35 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +124 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc +53 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/libffi/texinfo.tex +7210 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/mkmf.log +254 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/rbffi.h +48 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/win32/stdbool.h +8 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/win32/stdint.h +201 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/ffi.gemspec +22 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/gen/Rakefile +30 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/gen/log +1 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi.rb +28 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/autopointer.rb +184 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/buffer.rb +4 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/callback.rb +4 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/enum.rb +162 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/errno.rb +33 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/ffi.iml +11 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/ffi.rb +33 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/io.rb +52 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/library.rb +489 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/managedstruct.rb +55 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/memorypointer.rb +1 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform.rb +139 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/arm-linux/types.conf +104 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-openbsd/types.conf +126 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i386-windows/types.conf +105 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/i486-gnu/types.conf +107 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-darwin/types.conf +100 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-linux/types.conf +102 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-netbsd/types.conf +126 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-openbsd/types.conf +126 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/platform/x86_64-windows/types.conf +27 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/pointer.rb +122 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/struct.rb +356 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/struct_layout_builder.rb +211 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/const_generator.rb +229 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/generator.rb +60 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/generator_task.rb +36 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/struct_generator.rb +194 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/tools/types_generator.rb +135 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/types.rb +177 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/union.rb +32 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/variadic.rb +65 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi/version.rb +4 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/lib/ffi_c.bundle +0 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/Benchmark.c +52 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c +31 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/BufferTest.c +31 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/ClosureTest.c +190 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/EnumTest.c +34 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/FunctionTest.c +58 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/GNUmakefile +149 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/GlobalVariable.c +62 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/LastErrorTest.c +21 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/NumberTest.c +132 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/PointerTest.c +63 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/ReferenceTest.c +23 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/StringTest.c +34 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/StructTest.c +240 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/UnionTest.c +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/VariadicTest.c +62 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/async_callback_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/bool_spec.rb +29 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/buffer_spec.rb +251 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/callback_spec.rb +667 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/custom_param_type.rb +36 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/custom_type_spec.rb +74 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/dup_spec.rb +54 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/enum_spec.rb +220 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/errno_spec.rb +18 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/ffi_spec.rb +29 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/function_spec.rb +76 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/library_spec.rb +216 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/long_double.rb +30 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/managed_struct_spec.rb +57 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/number_spec.rb +236 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/pointer_spec.rb +265 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/attach_function_spec.rb +28 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/memory_pointer_spec.rb +123 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/spec_helper.rb +1 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/rbx/struct_spec.rb +13 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/spec.iml +12 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/spec_helper.rb +33 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/string_spec.rb +108 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/strptr_spec.rb +50 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_by_ref_spec.rb +43 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_callback_spec.rb +69 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_initialize_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_packed_spec.rb +51 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/struct_spec.rb +748 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/typedef_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/union_spec.rb +65 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/ffi/variadic_spec.rb +92 -0
- data/vendor/ruby/1.9.1/gems/ffi-1.8.1/spec/spec.opts +4 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/Gemfile +3 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/README.rdoc +91 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/Rakefile +143 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/changelog.txt +13 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/formatador.gemspec +80 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/lib/formatador.rb +130 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/lib/formatador/progressbar.rb +60 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/lib/formatador/table.rb +98 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/tests/basic_tests.rb +29 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/tests/table_tests.rb +96 -0
- data/vendor/ruby/1.9.1/gems/formatador-0.2.4/tests/tests_helper.rb +15 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/History.rdoc +45 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/Manifest +20 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/README.rdoc +111 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/Rakefile +16 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/examples/growl.rb +19 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/growl.gemspec +30 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl.rb +25 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl/growl.rb +202 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl/images/error.png +0 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl/images/info.png +0 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl/images/ok.png +0 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl/images/warning.png +0 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/lib/growl/version.rb +4 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/spec/fixtures/icon.icns +0 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/spec/fixtures/image.png +0 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/spec/growl_spec.rb +119 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/spec/spec_helper.rb +6 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/tasks/docs.rake +13 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/tasks/gemspec.rake +3 -0
- data/vendor/ruby/1.9.1/gems/growl-1.0.3/tasks/spec.rake +25 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/CHANGELOG.md +858 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/README.md +1000 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/bin/fsevent_watch_guard +0 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/bin/guard +6 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/images/failed.png +0 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/images/guard.png +0 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/images/pending.png +0 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/images/success.png +0 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard.rb +523 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/cli.rb +205 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/all.rb +34 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/change.rb +34 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/notification.rb +27 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/pause.rb +28 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/reload.rb +35 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/scope.rb +32 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/commands/show.rb +27 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/dsl.rb +534 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/dsl_describer.rb +86 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/group.rb +44 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/guard.rb +167 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/guardfile.rb +94 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/hook.rb +120 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/interactor.rb +312 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifier.rb +269 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/emacs.rb +87 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/file_notifier.rb +55 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/gntp.rb +119 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/growl.rb +100 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/growl_notify.rb +93 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/libnotify.rb +97 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/notifysend.rb +85 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/rb_notifu.rb +103 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/terminal_notifier.rb +67 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/terminal_title.rb +31 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/notifiers/tmux.rb +192 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/runner.rb +238 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/templates/Guardfile +2 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/ui.rb +298 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/version.rb +4 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/lib/guard/watcher.rb +131 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/man/guard.1 +108 -0
- data/vendor/ruby/1.9.1/gems/guard-1.8.0/man/guard.1.html +194 -0
- data/vendor/ruby/1.9.1/gems/guard-bundler-1.0.0/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/guard-bundler-1.0.0/README.md +62 -0
- data/vendor/ruby/1.9.1/gems/guard-bundler-1.0.0/lib/guard/bundler.rb +60 -0
- data/vendor/ruby/1.9.1/gems/guard-bundler-1.0.0/lib/guard/bundler/notifier.rb +35 -0
- data/vendor/ruby/1.9.1/gems/guard-bundler-1.0.0/lib/guard/bundler/templates/Guardfile +5 -0
- data/vendor/ruby/1.9.1/gems/guard-bundler-1.0.0/lib/guard/bundler/version.rb +6 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/README.md +230 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/lib/guard/rspec.rb +128 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/lib/guard/rspec/formatter.rb +68 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/lib/guard/rspec/inspector.rb +66 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/lib/guard/rspec/runner.rb +259 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/lib/guard/rspec/templates/Guardfile +21 -0
- data/vendor/ruby/1.9.1/gems/guard-rspec-3.0.0/lib/guard/rspec/version.rb +5 -0
- data/vendor/ruby/1.9.1/gems/guard-yard-2.1.0/LICENSE +19 -0
- data/vendor/ruby/1.9.1/gems/guard-yard-2.1.0/README.markdown +51 -0
- data/vendor/ruby/1.9.1/gems/guard-yard-2.1.0/lib/guard/yard.rb +73 -0
- data/vendor/ruby/1.9.1/gems/guard-yard-2.1.0/lib/guard/yard/server.rb +56 -0
- data/vendor/ruby/1.9.1/gems/guard-yard-2.1.0/lib/guard/yard/templates/Guardfile +5 -0
- data/vendor/ruby/1.9.1/gems/guard-yard-2.1.0/lib/guard/yard/version.rb +5 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/CHANGELOG.textile +152 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/MIT-LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/README.textile +105 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.no-rails +5 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.no-rails.lock +14 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x +9 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x.lock +23 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-3.x +9 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/ci/Gemfile.rails-3.x.lock +23 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n.rb +332 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend.rb +18 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb +181 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/cache.rb +96 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/chain.rb +78 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb +65 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/simple.rb +87 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb +98 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/config.rb +86 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/exceptions.rb +106 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/gettext.rb +25 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/interpolate/ruby.rb +31 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale.rb +6 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag.rb +28 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests.rb +12 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/basics.rb +54 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/link.rb +56 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization.rb +19 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/date.rb +84 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/date_time.rb +77 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/localization/time.rb +76 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/lookup.rb +74 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/tests/procs.rb +55 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/lib/i18n/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/all.rb +8 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/all_features_test.rb +58 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/cascade_test.rb +28 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/chain_test.rb +24 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/fallbacks_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/key_value_test.rb +28 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/memoize_test.rb +60 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/override_test.rb +48 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/pluralization_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/api/simple_test.rb +28 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/cache_test.rb +85 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/cascade_test.rb +85 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/chain_test.rb +72 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/exceptions_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/fallbacks_test.rb +125 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/interpolation_compiler_test.rb +102 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/key_value_test.rb +46 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/memoize_test.rb +47 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/metadata_test.rb +47 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/pluralization_test.rb +44 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/simple_test.rb +83 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/backend/transliterator_test.rb +81 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/core_ext/hash_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/gettext/api_test.rb +206 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/gettext/backend_test.rb +101 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/i18n/exceptions_test.rb +116 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/i18n/interpolate_test.rb +61 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/i18n/load_path_test.rb +26 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/i18n_test.rb +254 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/locale/fallbacks_test.rb +136 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/locale/tag/simple_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb +21 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/de.po +82 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/en.rb +3 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/en.yml +3 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/test_data/locales/plurals.rb +113 -0
- data/vendor/ruby/1.9.1/gems/i18n-0.6.1/test/test_helper.rb +56 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/CHANGELOG.md +285 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/README.md +332 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen.rb +55 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/adapter.rb +312 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/adapters/bsd.rb +75 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/adapters/darwin.rb +48 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/adapters/linux.rb +81 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/adapters/polling.rb +58 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/adapters/windows.rb +91 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/directory_record.rb +401 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/listener.rb +299 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/multi_listener.rb +15 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/turnstile.rb +32 -0
- data/vendor/ruby/1.9.1/gems/listen-1.0.3/lib/listen/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/MIT_LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/README.rdoc +100 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/Rakefile +40 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/VERSION +1 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack.rb +38 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device.rb +26 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device/date_rolling_log_file.rb +58 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device/log_file.rb +18 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device/null.rb +15 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device/rolling_log_file.rb +110 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device/size_rolling_log_file.rb +60 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/device/writer.rb +129 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter.rb +76 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter/exception_formatter.rb +12 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter/inspect_formatter.rb +10 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter/pretty_print_formatter.rb +23 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/formatter/string_formatter.rb +10 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/log_entry.rb +36 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/logger.rb +302 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/rack.rb +5 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/rack/unit_of_work.rb +15 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/severity.rb +23 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/lib/lumberjack/template.rb +71 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/device/date_rolling_log_file_spec.rb +66 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/device/log_file_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/device/null_spec.rb +12 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/device/rolling_log_file_spec.rb +129 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/device/size_rolling_log_file_spec.rb +54 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/device/writer_spec.rb +118 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/formatter/exception_formatter_spec.rb +20 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/formatter/inspect_formatter_spec.rb +13 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/formatter/pretty_print_formatter_spec.rb +14 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/formatter/string_formatter_spec.rb +12 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/formatter_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/log_entry_spec.rb +69 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/logger_spec.rb +390 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/lumberjack_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/rack/unit_of_work_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/severity_spec.rb +23 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/spec_helper.rb +16 -0
- data/vendor/ruby/1.9.1/gems/lumberjack-1.0.3/spec/template_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/.travis.yml +17 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/.yardopts +1 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/Gemfile +2 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/LICENSE +25 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/README.markdown +91 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/Rakefile +79 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source.rb +141 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source/code_helpers.rb +139 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source/source_location.rb +138 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/lib/method_source/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/method_source.gemspec +33 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/test/test.rb +138 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/test/test_code_helpers.rb +41 -0
- data/vendor/ruby/1.9.1/gems/method_source-0.8.1/test/test_helper.rb +98 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/.document +5 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/.travis.yml +11 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/CHANGELOG.md +147 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/CONTRIBUTING.md +46 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/Gemfile +31 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/LICENSE.md +20 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/README.md +109 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/Rakefile +12 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json.rb +154 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapter.rb +43 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/gson.rb +19 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/jr_jackson.rb +19 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/json_common.rb +35 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/json_gem.rb +15 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/json_pure.rb +15 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/nsjsonserialization.rb +34 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/oj.rb +28 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/ok_json.rb +22 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/adapters/yajl.rb +19 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/convertible_hash_keys.rb +43 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/options.rb +39 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/vendor/okjson.rb +600 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/lib/multi_json/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/multi_json.gemspec +22 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/spec/adapter_shared_example.rb +235 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/spec/has_options.rb +74 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/spec/helper.rb +32 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/spec/json_common_shared_example.rb +30 -0
- data/vendor/ruby/1.9.1/gems/multi_json-1.7.3/spec/multi_json_spec.rb +224 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/.document +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/.gitignore +16 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/.travis.yml +21 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/.yardopts +1 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/CHANGELOG +531 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/CONTRIBUTORS +55 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/Gemfile +9 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/Guardfile +62 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/LICENSE +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/README.markdown +400 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/Rakefile +140 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/TODO +117 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/bin/pry +16 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry.rb +271 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/cli.rb +202 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/code.rb +385 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/code/code_range.rb +70 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/code/loc.rb +92 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/code_object.rb +153 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/command.rb +689 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/command_set.rb +400 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands.rb +6 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/bang.rb +20 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/cat.rb +53 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/cat/exception_formatter.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/cat/file_formatter.rb +84 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/cd.rb +30 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/code_collector.rb +165 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/edit.rb +207 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/edit/file_and_line_locator.rb +38 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/edit/method_patcher.rb +122 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/exit.rb +42 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/exit_program.rb +24 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/find_method.rb +199 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/gem_install.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/gist.rb +102 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/help.rb +164 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/hist.rb +161 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/import_set.rb +22 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/install_command.rb +51 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/ls.rb +338 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/nesting.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/play.rb +69 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/pry_backtrace.rb +26 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/reload_code.rb +46 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/reset.rb +18 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/ri.rb +56 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/save_file.rb +61 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/shell_command.rb +43 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/shell_mode.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/show_doc.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/show_info.rb +200 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/show_input.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/show_source.rb +38 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/stat.rb +40 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/toggle_color.rb +20 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/whereami.rb +182 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/commands/wtf.rb +57 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/completion.rb +304 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/config.rb +244 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/core_extensions.rb +121 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/custom_completions.rb +6 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/editor.rb +129 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers.rb +5 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers/base_helpers.rb +200 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers/command_helpers.rb +154 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers/documentation_helpers.rb +76 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers/table.rb +109 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/helpers/text.rb +108 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/history.rb +122 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/history_array.rb +116 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/hooks.rb +250 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/indent.rb +406 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/method.rb +551 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/method/disowned.rb +53 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/method/weird_method_locator.rb +186 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/module_candidate.rb +146 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/pager.rb +90 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/plugins.rb +103 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/pry_class.rb +469 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/pry_instance.rb +763 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/rbx_method.rb +13 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/rbx_path.rb +22 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/repl_file_loader.rb +80 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/rubygem.rb +74 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/terminal.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/test/helper.rb +185 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/lib/pry/wrapped_module.rb +383 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/man/pry.1 +195 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/man/pry.1.html +204 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/man/pry.1.ronn +141 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/pry.gemspec +30 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/Procfile +3 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/cli_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/code_object_spec.rb +277 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/code_spec.rb +219 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/command_helpers_spec.rb +29 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/command_integration_spec.rb +644 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/command_set_spec.rb +627 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/command_spec.rb +821 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/amend_line_spec.rb +247 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/bang_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/cat_spec.rb +164 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/cd_spec.rb +250 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/disable_pry_spec.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/edit_spec.rb +727 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/exit_all_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/exit_program_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/exit_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/find_method_spec.rb +70 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/gem_list_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/gist_spec.rb +79 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/help_spec.rb +56 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/hist_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/jump_to_spec.rb +15 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/ls_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/play_spec.rb +140 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/raise_up_spec.rb +56 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/save_file_spec.rb +177 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/show_doc_spec.rb +510 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/show_input_spec.rb +17 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/show_source_spec.rb +782 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/commands/whereami_spec.rb +203 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/completion_spec.rb +239 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/control_d_handler_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/documentation_helper_spec.rb +73 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/editor_spec.rb +79 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/exception_whitelist_spec.rb +21 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/candidate_helper1.rb +11 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/candidate_helper2.rb +8 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/example.erb +5 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/example_nesting.rb +33 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/show_source_doc_examples.rb +15 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/testrc +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/testrcbad +2 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/fixtures/whereami_helper.rb +6 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/helper.rb +34 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/helpers/bacon.rb +86 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/helpers/mock_pry.rb +43 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/helpers/table_spec.rb +105 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/history_array_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/hooks_spec.rb +522 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/indent_spec.rb +301 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/input_stack_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/method_spec.rb +482 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/prompt_spec.rb +60 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/pry_defaults_spec.rb +419 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/pry_history_spec.rb +99 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/pry_output_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/pry_spec.rb +504 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/run_command_spec.rb +25 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/sticky_locals_spec.rb +157 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/syntax_checking_spec.rb +81 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/spec/wrapped_module_spec.rb +261 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/wiki/Customizing-pry.md +397 -0
- data/vendor/ruby/1.9.1/gems/pry-0.9.12.1/wiki/Home.md +4 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/.gemtest +0 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/CHANGES +530 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/MIT-LICENSE +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/README.rdoc +187 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/Rakefile +375 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/TODO +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/bin/rake +33 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/install.rb +90 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake.rb +71 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/alt_system.rb +109 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb +681 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/backtrace.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/clean.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/cloneable.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/ftptools.rb +151 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/contrib/sys.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/default_loader.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/dsl_definition.rb +156 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/early_time.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/core.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/module.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/string.rb +168 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ext/time.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_creation_task.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_list.rb +410 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_task.rb +47 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb +114 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/file_utils_ext.rb +143 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/gempackagetask.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/invocation_chain.rb +51 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/multi_task.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/name_space.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/packagetask.rb +185 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/pathmap.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/phony.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/private_reader.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/promise.rb +99 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/pseudo_status.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_module.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rdoctask.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/runtest.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb +368 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task_argument_error.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task_arguments.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task_manager.rb +296 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/tasklib.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/testtask.rb +198 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/thread_history_display.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/thread_pool.rb +155 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/trace_output.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/version.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/lib/rake/win32.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/file_creation.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/helper.rb +562 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_private_reader.rb +42 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_application.rb +515 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_application_options.rb +455 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_backtrace.rb +89 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_clean.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_definitions.rb +80 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_directory_task.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_dsl.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_early_time.rb +31 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_extension.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_list.rb +628 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_task.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_file_utils.rb +305 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_ftp_file.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_functional.rb +496 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_multi_task.rb +59 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_name_space.rb +43 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_package_task.rb +79 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_path_map.rb +157 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_reduce_compat.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_require.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_rules.rb +327 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task.rb +340 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_arguments.rb +88 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_lib.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_manager.rb +157 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_test_task.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_thread_pool.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_rake_win32.rb +72 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_thread_history_display.rb +91 -0
- data/vendor/ruby/1.9.1/gems/rake-10.0.4/test/test_trace_output.rb +50 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/README.rdoc +258 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/bin/fsevent_watch +0 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/LICENSE +21 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/TSICTString.c +394 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/TSICTString.h +74 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/cli.c +158 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/cli.h +44 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/common.h +22 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/compat.c +20 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/compat.h +40 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/defines.h +40 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/fsevent_watch/main.c +509 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/ext/rakefile.rb +191 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/lib/rb-fsevent.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/lib/rb-fsevent/fsevent.rb +111 -0
- data/vendor/ruby/1.9.1/gems/rb-fsevent-0.9.3/lib/rb-fsevent/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/.yardopts +4 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/MIT-LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/README.md +66 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/Rakefile +54 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/VERSION +1 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/lib/rb-inotify.rb +17 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/lib/rb-inotify/event.rb +139 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/lib/rb-inotify/native.rb +31 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/lib/rb-inotify/native/flags.rb +89 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/lib/rb-inotify/notifier.rb +311 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/lib/rb-inotify/watcher.rb +83 -0
- data/vendor/ruby/1.9.1/gems/rb-inotify-0.9.0/rb-inotify.gemspec +52 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/.gitignore +4 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/.yardopts +5 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/Gemfile +3 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/MIT-LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/README.md +44 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/Rakefile +11 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/VERSION +1 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/event.rb +83 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/native.rb +42 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/native/flags.rb +116 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/queue.rb +365 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher.rb +124 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/file.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/process.rb +20 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/read_write.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/signal.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/socket_read_write.rb +43 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/timer.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/rb-kqueue.gemspec +29 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/COPYING +14 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/Gemfile +2 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/README.markdown +335 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/Rakefile +131 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/bin/redcarpet +38 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/Makefile +218 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/autolink.c +296 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/autolink.h +51 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/autolink.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/buffer.c +225 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/buffer.h +96 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/buffer.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/extconf.rb +4 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/houdini.h +37 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/houdini_href_e.c +108 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/houdini_href_e.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/houdini_html_e.c +84 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/houdini_html_e.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/html.c +635 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/html.h +77 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/html.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/html_blocks.h +206 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/html_smartypants.c +389 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/html_smartypants.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/markdown.c +2556 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/markdown.h +138 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/markdown.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/rc_markdown.c +149 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/rc_markdown.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/rc_render.c +463 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/rc_render.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/redcarpet.bundle +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/redcarpet.h +37 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/stack.c +81 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/stack.h +29 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/ext/redcarpet/stack.o +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/lib/redcarpet.bundle +0 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/lib/redcarpet.rb +124 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/lib/redcarpet/compat.rb +3 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/lib/redcarpet/render_man.rb +65 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/lib/redcarpet/render_strip.rb +33 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/redcarpet.gemspec +54 -0
- data/vendor/ruby/1.9.1/gems/redcarpet-2.2.2/test/redcarpet_test.rb +447 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/.gitignore +10 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/.order +170 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/.travis.yml +50 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/.travis/Gemfile +11 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/.yardopts +3 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/CHANGELOG.md +261 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/README.md +232 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/Rakefile +392 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/benchmarking/logging.rb +71 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/benchmarking/pipeline.rb +51 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/benchmarking/speed.rb +21 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/benchmarking/suite.rb +24 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/benchmarking/worker.rb +71 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/basic.rb +15 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/dist_redis.rb +43 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/incr-decr.rb +17 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/list.rb +26 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/pubsub.rb +37 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/sets.rb +36 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/unicorn/config.ru +3 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/examples/unicorn/unicorn.rb +20 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis.rb +2290 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/client.rb +409 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/connection.rb +9 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/connection/command_helper.rb +44 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/connection/hiredis.rb +63 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/connection/registry.rb +12 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/connection/ruby.rb +291 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/connection/synchrony.rb +124 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/distributed.rb +838 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/errors.rb +40 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/hash_ring.rb +131 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/pipeline.rb +138 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/subscribe.rb +82 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/lib/redis/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/redis.gemspec +41 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/blocking_commands_test.rb +42 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/command_map_test.rb +30 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/commands_on_hashes_test.rb +21 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/commands_on_lists_test.rb +20 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/commands_on_sets_test.rb +77 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/commands_on_sorted_sets_test.rb +109 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/commands_on_strings_test.rb +99 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/commands_on_value_types_test.rb +99 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/connection_handling_test.rb +189 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/db/.gitignore +1 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_blocking_commands_test.rb +46 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_hashes_test.rb +10 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_lists_test.rb +22 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_sets_test.rb +83 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_sorted_sets_test.rb +18 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_strings_test.rb +59 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_value_types_test.rb +87 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_requiring_clustering_test.rb +164 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_connection_handling_test.rb +23 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_internals_test.rb +41 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_key_tags_test.rb +52 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_persistence_control_commands_test.rb +26 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_publish_subscribe_test.rb +92 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_remote_server_control_commands_test.rb +66 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_scripting_test.rb +102 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_sorting_test.rb +20 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_test.rb +58 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_transactions_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/encoding_test.rb +18 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/error_replies_test.rb +59 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/helper.rb +194 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/helper_test.rb +24 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/internals_test.rb +301 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/blocking_commands.rb +150 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/hashes.rb +162 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/lists.rb +143 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/sets.rb +125 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/sorted_sets.rb +238 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/strings.rb +223 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/lint/value_types.rb +126 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/persistence_control_commands_test.rb +26 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/pipelining_commands_test.rb +207 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/publish_subscribe_test.rb +151 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/remote_server_control_commands_test.rb +117 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/scripting_test.rb +78 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/sorting_test.rb +59 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/support/connection/hiredis.rb +1 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/support/connection/ruby.rb +1 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/support/connection/synchrony.rb +17 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/support/redis_mock.rb +110 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/support/wire/synchrony.rb +24 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/support/wire/thread.rb +5 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/synchrony_driver.rb +88 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/test.conf +9 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/thread_safety_test.rb +32 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/transactions_test.rb +266 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/unknown_commands_test.rb +14 -0
- data/vendor/ruby/1.9.1/gems/redis-3.0.4/test/url_param_test.rb +132 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/README.md +38 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/Rakefile +13 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/lib/redis-namespace.rb +1 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/lib/redis/namespace.rb +357 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/spec/redis_spec.rb +434 -0
- data/vendor/ruby/1.9.1/gems/redis-namespace-1.3.0/spec/spec_helper.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/License.txt +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/README.md +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/lib/rspec.rb +4 -0
- data/vendor/ruby/1.9.1/gems/rspec-2.13.0/lib/rspec/version.rb +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/.document +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/Changelog.md +718 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/License.txt +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/README.md +261 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/exe/autospec +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/exe/rspec +25 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/Autotest.md +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/README.md +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/Upgrade.md +364 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/README.md +28 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/example_name_option.feature +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/exit_status.feature +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/format_option.feature +81 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/init.feature +18 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/line_number_appended_to_path.feature +140 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/line_number_option.feature +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/order.feature +29 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/pattern_option.feature +31 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/rake_task.feature +122 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/ruby.feature +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/command_line/tag.feature +98 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/alias_example_to.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/backtrace_clean_patterns.feature +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/custom_settings.feature +84 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/default_path.feature +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/fail_fast.feature +77 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/failure_exit_code.feature +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/order_and_seed.feature +3 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/output_stream.feature +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/pattern.feature +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/profile.feature +163 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/read_options_from_file.feature +87 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/run_all_when_everything_filtered.feature +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/show_failures_in_pending_blocks.feature +61 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/example_groups/basic_structure.feature +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/example_groups/shared_context.feature +74 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/example_groups/shared_examples.feature +222 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/exclusion_filters.feature +138 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/if_and_unless.feature +168 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/inclusion_filters.feature +105 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/filtering/run_all_when_everything_filtered.feature +46 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/configurable_colors.feature +31 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/custom_formatter.feature +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/json_formatter.feature +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/formatters/text_formatter.feature +46 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/helper_methods/arbitrary_methods.feature +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/helper_methods/let.feature +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/helper_methods/modules.feature +149 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/hooks/around_hooks.feature +343 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/hooks/before_and_after_hooks.feature +427 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/hooks/filtering.feature +234 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/metadata/current_example.feature +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/metadata/described_class.feature +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/metadata/user_defined.feature +113 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_any_framework.feature +106 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_flexmock.feature +96 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_mocha.feature +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_rr.feature +98 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/mock_framework_integration/use_rspec.feature +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/pending/pending_examples.feature +229 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/spec_files/arbitrary_file_suffix.feature +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/step_definitions/additional_cli_steps.rb +49 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/attribute_of_subject.feature +124 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/explicit_subject.feature +101 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/implicit_receiver.feature +29 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/subject/implicit_subject.feature +63 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/features/support/env.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/autotest/discover.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/autotest/rspec2.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/autorun.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core.rb +146 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/backward_compatibility.rb +65 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb +1087 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/configuration_options.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/deprecation.rb +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/drb_command_line.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/drb_options.rb +87 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/dsl.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb +331 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb +478 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/kernel.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/extensions/ordered.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/filter_manager.rb +203 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_formatter.rb +237 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb +292 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/helpers.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/html_formatter.rb +154 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/html_printer.rb +407 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/json_formatter.rb +73 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/progress_formatter.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb +489 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/load_path.rb +3 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/memoized_helpers.rb +501 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb +297 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata_hash_builder.rb +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_flexmock.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_mocha.rb +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_rr.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_rspec.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/option_parser.rb +208 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/pending.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/project_initializer.rb +86 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/rake_task.rb +202 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/ruby_project.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb +87 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/shared_context.rb +49 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/shared_example_group.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/version.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/world.rb +128 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/autotest/discover_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/autotest/failed_results_re_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/autotest/rspec_spec.rb +133 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/command_line/order_spec.rb +204 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/command_line_spec.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/configuration_options_spec.rb +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/configuration_spec.rb +1376 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/deprecations_spec.rb +75 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/drb_command_line_spec.rb +102 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/drb_options_spec.rb +193 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/dsl_spec.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/example_group_spec.rb +1176 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/example_spec.rb +418 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/filter_manager_spec.rb +246 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/base_text_formatter_spec.rb +429 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/helpers_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.8.7.html +409 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.2.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +410 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-1.9.3.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatted-2.0.0.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/html_formatter_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/json_formatter_spec.rb +110 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +409 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +398 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +577 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +416 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/formatters/text_mate_formatter_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/hooks_filtering_spec.rb +227 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/hooks_spec.rb +267 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/kernel_extensions_spec.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/memoized_helpers_spec.rb +642 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/metadata_spec.rb +486 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/option_parser_spec.rb +208 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/pending_example_spec.rb +220 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/project_initializer_spec.rb +130 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/rake_task_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/reporter_spec.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/a_spec.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/formatter_specs.rb +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/rspec_matchers_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/ruby_project_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/runner_spec.rb +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/shared_context_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/shared_example_group_spec.rb +96 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core/world_spec.rb +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/rspec/core_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/spec_helper.rb +132 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/config_options_helper.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/helper_methods.rb +18 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/isolated_directory.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/isolated_home_directory.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/matchers.rb +65 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/shared_example_groups.rb +41 -0
- data/vendor/ruby/1.9.1/gems/rspec-core-2.13.1/spec/support/spec_files.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/.document +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/Changelog.md +328 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/License.txt +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/README.md +228 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/README.md +49 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/Upgrade.md +53 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/README.md +90 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/be.feature +175 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/be_within.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/cover.feature +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/end_with.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/equality.feature +139 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/exist.feature +45 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/expect_change.feature +59 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/expect_error.feature +144 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/have.feature +109 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/include.feature +174 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/match.feature +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/operators.feature +227 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/predicates.feature +137 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/respond_to.feature +84 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/satisfy.feature +33 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/start_with.feature +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/throw_symbol.feature +91 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/types.feature +116 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/built_in_matchers/yield.feature +146 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/access_running_example.feature +53 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_diffable_matcher.feature +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_matcher.feature +368 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/customized_message.feature +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/diffing.feature +85 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/implicit_docstrings.feature +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/step_definitions/additional_cli_steps.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/support/env.rb +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/syntax_configuration.feature +68 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/features/test_frameworks/test_unit.feature +46 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec-expectations.rb +1 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations.rb +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/deprecation.rb +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/differ.rb +115 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/errors.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/expectation_target.rb +88 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/extensions.rb +2 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/extensions/array.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/extensions/object.rb +39 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/fail_with.rb +69 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/handler.rb +63 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/syntax.rb +164 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers.rb +699 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/be_close.rb +9 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in.rb +39 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be.rb +189 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/be_within.rb +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/change.rb +133 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/cover.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/eq.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/eql.rb +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/equal.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/exist.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/has.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/have.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/include.rb +69 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/match.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/match_array.rb +51 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/raise_error.rb +107 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/respond_to.rb +74 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/satisfy.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/built_in/yield.rb +221 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/compatibility.rb +14 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/configuration.rb +108 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/dsl.rb +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/generated_descriptions.rb +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/matcher.rb +300 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/method_missing.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/operator_matcher.rb +109 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/pretty.rb +64 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/differ_spec.rb +170 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/expectation_target_spec.rb +75 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/fail_with_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/handler_spec.rb +206 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/expectations/syntax_spec.rb +97 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/base_matcher_spec.rb +62 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_close_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_instance_of_spec.rb +63 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_kind_of_spec.rb +41 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_spec.rb +516 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/be_within_spec.rb +129 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/change_spec.rb +542 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/configuration_spec.rb +238 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/cover_spec.rb +69 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/description_generation_spec.rb +176 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/dsl_spec.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/eq_spec.rb +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/eql_spec.rb +41 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/equal_spec.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/exist_spec.rb +124 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/has_spec.rb +122 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/have_spec.rb +445 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/include_matcher_integration_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/include_spec.rb +531 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/match_array_spec.rb +194 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/match_spec.rb +61 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/matcher_spec.rb +471 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/matchers_spec.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/method_missing_spec.rb +28 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/operator_matcher_spec.rb +223 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/raise_error_spec.rb +395 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/respond_to_spec.rb +292 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/satisfy_spec.rb +44 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/start_with_end_with_spec.rb +186 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/rspec/matchers/yield_spec.rb +437 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/spec_helper.rb +54 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/classes.rb +56 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/in_sub_process.rb +38 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/matchers.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/ruby_version.rb +10 -0
- data/vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/spec/support/shared_examples.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/.document +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/.yardopts +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/Changelog.md +306 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/License.txt +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/README.md +315 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/README.md +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/Scope.md +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/Upgrade.md +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/README.md +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/explicit.feature +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/general_matchers.feature +85 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/argument_matchers/type_matchers.feature +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/README.md +73 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/any_instance.feature +21 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/block_local_expectations.feature.pending +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/call_original.feature +24 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/expect_message.feature +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/receive_counts.feature +209 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/README.md +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/any_instance.feature +132 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/as_null_object.feature +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/simple_return_value.feature +64 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/stub_chain.feature +51 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/stub_implementation.feature +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/method_stubs/to_ary.feature +47 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/README.md +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/hiding_defined_constant.feature +64 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/stub_defined_constant.feature +79 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/mutating_constants/stub_undefined_constant.feature +50 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/outside_rspec/configuration.feature +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/outside_rspec/standalone.feature +33 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/step_definitions/additional_cli_steps.rb +4 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/features/support/env.rb +13 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks.rb +82 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance.rb +81 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/chain.rb +78 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/expectation_chain.rb +66 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/recorder.rb +204 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/stub_chain.rb +37 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +25 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/argument_list_matcher.rb +93 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/argument_matchers.rb +238 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/configuration.rb +28 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/error_generator.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/errors.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/example_methods.rb +120 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/extensions/marshal.rb +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/extensions/psych.rb +23 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/framework.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/instance_method_stasher.rb +85 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/message_expectation.rb +567 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/method_double.rb +267 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/methods.rb +155 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/mock.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/mutate_const.rb +415 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/order_group.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/proxy.rb +205 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/serialization.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/space.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/test_double.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/rspec/mocks/version.rb +7 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/lib/spec/mocks.rb +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/and_call_original_spec.rb +235 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/and_yield_spec.rb +127 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/any_instance_spec.rb +925 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/any_number_of_times_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/argument_expectation_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/at_least_spec.rb +142 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/at_most_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/block_return_value_spec.rb +53 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/combining_implementation_instructions_spec.rb +197 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/configuration_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/double_spec.rb +12 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/failing_argument_matchers_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mock_space_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mock_spec.rb +734 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/multiple_return_value_spec.rb +132 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/mutate_const_spec.rb +481 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/nil_expectation_warning_spec.rb +62 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/null_object_mock_spec.rb +107 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/once_counts_spec.rb +52 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/options_hash_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/partial_mock_spec.rb +196 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/precise_counts_spec.rb +68 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/record_messages_spec.rb +26 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/serialization_spec.rb +110 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stash_spec.rb +54 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stub_chain_spec.rb +154 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stub_spec.rb +279 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/stubbed_message_expectations_spec.rb +58 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/test_double_spec.rb +57 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/to_ary_spec.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks/twice_counts_spec.rb +66 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/rspec/mocks_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/rspec-mocks-2.13.1/spec/spec_helper.rb +36 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/.gitignore +2 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/Gemfile +4 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/LICENSE +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/README.md +55 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/Rakefile +6 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/lib/rspec-redis_helper.rb +40 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/lib/rspec-redis_helper/version.rb +5 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/rspec-redis_helper.gemspec +22 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/spec/helper.rb +15 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/spec/redis_helper_spec.rb +42 -0
- data/vendor/ruby/1.9.1/gems/rspec-redis_helper-0.1.2/spec/redis_spec.rb +10 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/.gitignore +9 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/.travis.yml +19 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/COMM-LICENSE +83 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/Changes.md +595 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/Gemfile +17 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/LICENSE +9 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/README.md +87 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/Rakefile +9 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/bin/sidekiq +14 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/bin/sidekiqctl +78 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/config.ru +18 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq.rb +118 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/api.rb +407 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/capistrano.rb +50 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/cli.rb +345 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/client.rb +138 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/core_ext.rb +91 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/exception_handler.rb +39 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/extensions/action_mailer.rb +37 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/extensions/active_record.rb +36 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/extensions/class_methods.rb +36 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/extensions/generic_proxy.rb +22 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/fetch.rb +119 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/launcher.rb +30 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/logging.rb +47 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/manager.rb +169 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/middleware/chain.rb +130 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/middleware/i18n.rb +35 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/middleware/server/active_record.rb +13 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/middleware/server/logging.rb +31 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/middleware/server/retry_jobs.rb +117 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/paginator.rb +31 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/processor.rb +119 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/rails.rb +19 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/redis_connection.rb +51 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/scheduled.rb +78 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/testing.rb +110 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/testing/inline.rb +41 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/util.rb +36 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/web.rb +271 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/worker.rb +73 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/lib/sidekiq/yaml_patch.rb +21 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/sidekiq.gemspec +29 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/config.yml +11 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/env_based_config.yml +11 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/fake_env.rb +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/helper.rb +28 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_api.rb +346 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_cli.rb +326 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_client.rb +186 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_exception_handler.rb +128 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_extensions.rb +105 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_fetch.rb +44 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_middleware.rb +126 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_processor.rb +128 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_redis_connection.rb +67 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_retry.rb +202 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_scheduled.rb +48 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_scheduling.rb +39 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_sidekiq.rb +37 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_testing.rb +220 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_testing_inline.rb +95 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/test/test_web.rb +300 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/images/bootstrap/glyphicons-halflings.png +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/images/logo.png +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/images/status-sd8051fd480.png +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/images/status/active.png +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/images/status/idle.png +0 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/javascripts/application.js +44 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/javascripts/dashboard.js +156 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/stylesheets/application.css +810 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/assets/stylesheets/bootstrap.css +20 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/da.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/de.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/en.yml +62 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/es.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/fr.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/it.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/ja.yml +62 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/nl.yml +62 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/no.yml +62 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/pl.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/pt-br.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/pt.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/locales/ru.yml +59 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_nav.slim +17 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_paging.slim +15 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_status.slim +3 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_summary.slim +19 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_workers.slim +21 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/dashboard.slim +46 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/index.slim +10 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/layout.slim +48 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/queue.slim +27 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/queues.slim +15 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/retries.slim +40 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/retry.slim +55 -0
- data/vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/scheduled.slim +30 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/.gitignore +32 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/.travis.yml +21 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/.yardopts +1 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/Appraisals +8 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/CHANGELOG.md +173 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/CONTRIBUTING.md +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/Gemfile +5 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/README.md +498 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/Rakefile +27 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/cucumber.yml +13 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_adapters.feature +44 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_autoload.feature +46 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_command_name.feature +33 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_coverage_dir.feature +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_deactivate_merging.feature +42 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_formatters.feature +52 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_merge_timeout.feature +39 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_nocov_token.feature +79 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_project_name.feature +27 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_styles.feature +93 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/cucumber_basic.feature +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/maximum_coverage_drop.feature +36 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/merging_test_unit_and_rspec.feature +44 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/minimum_coverage.feature +59 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/refuse_coverage_drop.feature +35 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/rspec_basic.feature +31 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/rspec_fails_on_initialization.feature +14 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/rspec_groups_and_filters_basic.feature +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/rspec_groups_and_filters_complex.feature +35 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/rspec_groups_using_filter_class.feature +40 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/rspec_without_simplecov.feature +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/skipping_code_blocks_manually.feature +70 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/step_definitions/html_steps.rb +45 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/step_definitions/simplecov_steps.rb +66 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/step_definitions/transformers.rb +13 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/step_definitions/web_steps.rb +64 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/support/env.rb +26 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/test_unit_basic.feature +34 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/test_unit_groups_and_filters_basic.feature +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/test_unit_groups_and_filters_complex.feature +35 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/test_unit_groups_using_filter_class.feature +40 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/test_unit_without_simplecov.feature +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/unicode_compatiblity.feature +67 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/gemfiles/multi_json-legacy.gemfile +7 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/gemfiles/multi_json-new.gemfile +7 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov.rb +134 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/adapters.rb +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/command_guesser.rb +49 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/configuration.rb +243 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/defaults.rb +86 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/exit_codes.rb +5 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/file_list.rb +44 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/filter.rb +44 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/formatter.rb +8 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/formatter/multi_formatter.rb +25 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/formatter/simple_formatter.rb +19 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/json.rb +27 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/merge_helpers.rb +39 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/railtie.rb +7 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/railties/tasks.rake +11 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/result.rb +126 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/result_merger.rb +74 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/source_file.rb +188 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/lib/simplecov/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/simplecov.gemspec +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/Gemfile +6 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/Rakefile +8 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/cucumber.yml +13 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/features/step_definitions/my_steps.rb +23 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/features/support/env.rb +12 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/features/test_stuff.feature +6 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/lib/faked_project.rb +11 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/lib/faked_project/framework_specific.rb +18 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/lib/faked_project/meta_magic.rb +24 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/lib/faked_project/some_class.rb +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/spec/faked_spec.rb +11 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/spec/meta_magic_spec.rb +10 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/spec/some_class_spec.rb +10 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/spec/spec_helper.rb +15 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/test/faked_test.rb +11 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/test/meta_magic_test.rb +13 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/test/some_class_test.rb +15 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/faked_project/test/test_helper.rb +16 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/app/controllers/sample_controller.rb +10 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/app/models/user.rb +10 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/deleted_source_sample.rb +15 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/frameworks/rspec_bad.rb +9 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/frameworks/rspec_good.rb +9 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/frameworks/testunit_bad.rb +9 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/frameworks/testunit_good.rb +9 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/iso-8859.rb +3 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/resultset1.rb +4 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/resultset2.rb +5 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/sample.rb +16 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/fixtures/utf-8.rb +3 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/helper.rb +35 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/shoulda_macros.rb +29 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_1_8_fallbacks.rb +33 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_command_guesser.rb +21 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_deleted_source.rb +16 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_file_list.rb +24 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_filters.rb +80 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_merge_helpers.rb +107 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_result.rb +162 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_return_codes.rb +39 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_source_file.rb +95 -0
- data/vendor/ruby/1.9.1/gems/simplecov-0.7.1/test/test_source_file_line.rb +110 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/.document +5 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/.gitignore +26 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/Gemfile +15 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/Guardfile +12 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/README.md +30 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/Rakefile +32 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/application.js +92 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/plugins/highlight.pack.js +1 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.fancybox-1.3.1.pack.js +44 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.timeago.js +141 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.url.js +174 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/stylesheets/application.css +3 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/stylesheets/plugins/highlight.css +129 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/stylesheets/plugins/jquery.fancybox-1.3.1.css +363 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/stylesheets/reset.css +103 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/assets/stylesheets/screen.css.sass +220 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/lib/simplecov-html.rb +100 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/lib/simplecov-html/version.rb +7 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/application.css +1110 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/application.js +626 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/blank.gif +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_close.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_loading.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_nav_left.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_nav_right.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_e.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_n.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_ne.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_nw.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_s.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_se.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_sw.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_w.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_left.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_main.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_over.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_right.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancybox-x.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancybox-y.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/fancybox/fancybox.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/favicon_green.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/favicon_red.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/favicon_yellow.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/loading.gif +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/magnify.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/simplecov-html.gemspec +25 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/test/helper.rb +9 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/test/test_simple_cov-html.rb +8 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/views/file_list.erb +45 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/views/layout.erb +41 -0
- data/vendor/ruby/1.9.1/gems/simplecov-html-0.7.1/views/source_file.erb +23 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/.gitignore +7 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/.travis.yml +12 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/CHANGES.md +285 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/Gemfile +3 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/LICENSE +20 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/README.md +182 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/Rakefile +29 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/lib/slop.rb +682 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/lib/slop/commands.rb +196 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/lib/slop/option.rb +208 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/slop.gemspec +17 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/test/commands_test.rb +26 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/test/helper.rb +15 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/test/option_test.rb +134 -0
- data/vendor/ruby/1.9.1/gems/slop-3.4.4/test/slop_test.rb +482 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/.document +5 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/.gitignore +43 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/.travis.yml +6 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/Gemfile +2 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/LICENSE.txt +20 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/README.rdoc +75 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/Rakefile +15 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/lib/statsd.rb +275 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/spec/helper.rb +34 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/spec/statsd_spec.rb +384 -0
- data/vendor/ruby/1.9.1/gems/statsd-ruby-1.2.0/statsd-ruby.gemspec +25 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/.document +5 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/CHANGELOG.md +139 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/LICENSE.md +20 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/README.md +35 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/Thorfile +30 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/bin/thor +6 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor.rb +473 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions.rb +318 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions/create_file.rb +105 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions/create_link.rb +60 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions/directory.rb +119 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb +137 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions/file_manipulation.rb +314 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb +109 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/base.rb +652 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/command.rb +136 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/core_ext/hash_with_indifferent_access.rb +80 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/core_ext/io_binary_read.rb +12 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/core_ext/ordered_hash.rb +100 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/error.rb +28 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/group.rb +282 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/invocation.rb +172 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/parser.rb +4 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/parser/argument.rb +74 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/parser/arguments.rb +171 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/parser/option.rb +121 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/parser/options.rb +218 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/rake_compat.rb +72 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/runner.rb +322 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/shell.rb +88 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/shell/basic.rb +393 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/shell/color.rb +148 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/shell/html.rb +127 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/util.rb +270 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/lib/thor/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions/create_file_spec.rb +170 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions/create_link_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions/directory_spec.rb +169 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions/empty_directory_spec.rb +129 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions/file_manipulation_spec.rb +382 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/actions_spec.rb +331 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/base_spec.rb +291 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/command_spec.rb +80 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/exit_condition_spec.rb +19 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/application.rb +2 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/app{1}/README +3 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/command.thor +10 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/enum.thor +10 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/group.thor +128 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/invoke.thor +112 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/path with spaces b/data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/path with → spaces +0 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/preserve/script.sh +3 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/script.thor +220 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/fixtures/subcommand.thor +17 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/group_spec.rb +216 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/helper.rb +67 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/invocation_spec.rb +100 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/parser/argument_spec.rb +53 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/parser/arguments_spec.rb +66 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/parser/option_spec.rb +202 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/parser/options_spec.rb +400 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/rake_compat_spec.rb +72 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/register_spec.rb +197 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/runner_spec.rb +241 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/shell/basic_spec.rb +311 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/shell/color_spec.rb +95 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/shell/html_spec.rb +32 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/shell_spec.rb +47 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/subcommand_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/thor_spec.rb +491 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/spec/util_spec.rb +196 -0
- data/vendor/ruby/1.9.1/gems/thor-0.18.1/thor.gemspec +24 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/LICENSE +22 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/README.markdown +138 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/Rakefile +28 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/lib/timecop.rb +2 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/lib/timecop/time_extensions.rb +81 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/lib/timecop/time_stack_item.rb +158 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/lib/timecop/timecop.rb +160 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/lib/timecop/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/test/run_tests.sh +6 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/test/test_helper.rb +54 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/test/time_stack_item_test.rb +275 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/test/timecop_test.rb +438 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/test/timecop_without_date_but_with_time_test.rb +12 -0
- data/vendor/ruby/1.9.1/gems/timecop-0.6.1/test/timecop_without_date_test.rb +119 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/.gitignore +17 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/.travis.yml +10 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/CHANGES.md +15 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/Gemfile +4 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/LICENSE +22 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/README.md +73 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/Rakefile +7 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/lib/timers.rb +122 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/lib/timers/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/spec/spec_helper.rb +2 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/spec/timers_spec.rb +77 -0
- data/vendor/ruby/1.9.1/gems/timers-1.1.0/timers.gemspec +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/.yardopts +25 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/LEGAL +66 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/LICENSE +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/README.md +601 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/Rakefile +61 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/builtins_vs_eval.rb +23 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/concat_vs_join.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/erb_vs_erubis.rb +53 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/format_args.rb +46 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/generation.rb +37 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/marshal_vs_dbm.rb +63 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/parsing.rb +46 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/pathname_vs_string.rb +50 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/rdoc_vs_yardoc.rb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/registry_store_types.rb +48 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/ri_vs_yri.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/ripper_parser.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/splat_vs_flatten.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/template_erb.rb +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/template_format.rb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/template_profile.rb +17 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/benchmarks/yri_cache.rb +19 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/bin/yard +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/bin/yardoc +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/bin/yri +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/CodeObjects.md +115 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/GettingStarted.md +592 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/Handlers.md +152 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/Overview.md +61 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/Parser.md +191 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/Tags.md +282 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/TagsArch.md +123 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/Templates.md +496 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/WhatsNew.md +1244 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/images/overview-class-diagram.png +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/images/parser-class-diagram.png +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/images/tags-class-diagram.png +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/default/layout/html/setup.rb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/default/yard_tags/html/setup.rb +27 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/docs/templates/plugin.rb +65 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/rubygems_plugin.rb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard.rb +71 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/autoload.rb +290 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/command.rb +84 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/command_parser.rb +92 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/config.rb +136 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/diff.rb +270 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/display.rb +68 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/gems.rb +83 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/graph.rb +125 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/help.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/i18n.rb +69 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/list.rb +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/markup_types.rb +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/server.rb +253 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/stats.rb +213 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/yardoc.rb +731 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/yardopts_command.rb +109 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/cli/yri.rb +214 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/base.rb +585 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/class_object.rb +143 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/class_variable_object.rb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/constant_object.rb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/extended_method_object.rb +23 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/extra_file_object.rb +128 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/method_object.rb +191 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/module_object.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/proxy.rb +258 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/code_objects/root_object.rb +17 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/config.rb +269 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/array.rb +15 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/file.rb +65 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/hash.rb +15 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/insertion.rb +60 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/module.rb +19 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/string.rb +67 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/core_ext/symbol_hash.rb +73 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/docstring.rb +364 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/docstring_parser.rb +321 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/globals.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/base.rb +597 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/alias_handler.rb +15 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/base.rb +110 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/class_handler.rb +26 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/constant_handler.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/handler_methods.rb +166 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/init_handler.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/method_handler.rb +35 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/mixin_handler.rb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/module_handler.rb +16 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/override_comment_handler.rb +30 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/path_handler.rb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/struct_handler.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/c/symbol_handler.rb +7 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/processor.rb +201 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/alias_handler.rb +41 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/base.rb +164 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/class_handler.rb +121 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/comment_handler.rb +9 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/constant_handler.rb +45 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/dsl_handler_methods.rb +77 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/exception_handler.rb +26 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/extend_handler.rb +21 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/alias_handler.rb +34 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/base.rb +250 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/class_handler.rb +111 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/method_handler.rb +85 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/method_handler.rb +92 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/module_handler.rb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/struct_handler_methods.rb +141 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/handlers/ruby/yield_handler.rb +30 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/i18n/locale.rb +74 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/i18n/message.rb +56 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/i18n/messages.rb +55 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/i18n/pot_generator.rb +280 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/i18n/text.rb +173 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/logging.rb +190 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/options.rb +216 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/base.rb +56 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/c/c_parser.rb +225 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/c/comment_parser.rb +131 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/c/statement.rb +63 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/ast_node.rb +496 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/legacy/ruby_lex.rb +1377 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/legacy/statement.rb +65 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/legacy/statement_list.rb +384 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/legacy/token_list.rb +71 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/ruby/ruby_parser.rb +625 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/parser/source_parser.rb +517 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rake/yardoc_task.rb +74 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/registry.rb +438 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/registry_store.rb +319 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/backports.rb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/backports/gem.rb +9 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/backports/source_index.rb +370 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/doc_manager.rb +88 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/rubygems/specification.rb +41 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/serializers/base.rb +80 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/serializers/file_system_serializer.rb +90 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/serializers/stdout_serializer.rb +32 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/serializers/yardoc_serializer.rb +124 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server.rb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/adapter.rb +100 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/base.rb +192 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/display_file_command.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/display_object_command.rb +58 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/frames_command.rb +15 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/library_command.rb +148 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/library_index_command.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/list_command.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/search_command.rb +78 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/commands/static_file_command.rb +57 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/doc_server_helper.rb +76 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/doc_server_serializer.rb +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/library_version.rb +227 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/rack_adapter.rb +88 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/router.rb +176 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/static_caching.rb +45 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/server/webrick_adapter.rb +43 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/engine.rb +185 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/erb_cache.rb +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/base_helper.rb +212 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/filter_helper.rb +26 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/html_helper.rb +599 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +59 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/markup/rdoc_markdown.rb +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/markup/rdoc_markup.rb +106 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/markup_helper.rb +169 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/method_helper.rb +74 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/module_helper.rb +19 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/text_helper.rb +95 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/helpers/uml_helper.rb +46 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/section.rb +106 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/template.rb +407 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/templates/template_options.rb +88 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/verifier.rb +148 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/lib/yard/version.rb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/command_spec.rb +36 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/config_spec.rb +92 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/diff_spec.rb +260 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/display_spec.rb +30 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/gems_spec.rb +81 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/graph_spec.rb +17 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/help_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/i18n_spec.rb +111 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/list_spec.rb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/markup_types_spec.rb +22 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/server_spec.rb +327 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/stats_spec.rb +90 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/yardoc_spec.rb +777 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/cli/yri_spec.rb +99 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/base_spec.rb +438 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/class_object_spec.rb +225 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/code_object_list_spec.rb +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/constants_spec.rb +82 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/extra_file_object_spec.rb +147 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/macro_object_spec.rb +148 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/method_object_spec.rb +175 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/module_object_spec.rb +141 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/namespace_object_spec.rb +170 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/proxy_spec.rb +140 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/config_spec.rb +176 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/array_spec.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/file_spec.rb +68 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/module_spec.rb +15 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/string_spec.rb +42 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/core_ext/symbol_hash_spec.rb +86 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/docstring_parser_spec.rb +228 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/docstring_spec.rb +325 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/alias_handler_spec.rb +80 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/attribute_handler_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/base_spec.rb +206 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/alias_handler_spec.rb +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/attribute_handler_spec.rb +40 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/class_handler_spec.rb +63 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/constant_handler_spec.rb +68 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/init_handler_spec.rb +47 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/method_handler_spec.rb +229 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/mixin_handler_spec.rb +27 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/module_handler_spec.rb +38 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/override_comment_handler_spec.rb +46 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/path_handler_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/spec_helper.rb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/c/struct_handler_spec.rb +15 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/class_condition_handler_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/class_handler_spec.rb +246 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/class_variable_handler_spec.rb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/constant_handler_spec.rb +64 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/dsl_handler_spec.rb +197 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/alias_handler_001.rb.txt +44 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/dsl_handler_001.rb.txt +125 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/method_handler_001.rb.txt +126 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/visibility_handler_001.rb.txt +32 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/exception_handler_spec.rb +48 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/extend_handler_spec.rb +23 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/method_condition_handler_spec.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/method_handler_spec.rb +184 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/mixin_handler_spec.rb +55 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/module_function_handler_spec.rb +105 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/module_handler_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/private_constant_handler_spec.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/processor_spec.rb +34 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/ruby/base_spec.rb +94 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/ruby/legacy/base_spec.rb +82 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/spec_helper.rb +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/visibility_handler_spec.rb +39 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/handlers/yield_handler_spec.rb +51 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/i18n/locale_spec.rb +68 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/i18n/message_spec.rb +52 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/i18n/messages_spec.rb +67 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/i18n/pot_generator_spec.rb +262 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/i18n/text_spec.rb +180 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/logging_spec.rb +35 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/options_spec.rb +171 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/base_spec.rb +24 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/c_parser_spec.rb +166 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/multifile.c.txt +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/override.c.txt +424 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/ruby/ruby_parser_spec.rb +334 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/source_parser_spec.rb +717 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/parser/tag_parsing_spec.rb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/rake/yardoc_task_spec.rb +101 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/registry_spec.rb +393 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/registry_store_spec.rb +315 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/rubygems/doc_manager_spec.rb +112 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/file_system_serializer_spec.rb +124 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/spec_helper.rb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/serializers/yardoc_serializer_spec.rb +46 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/adapter_spec.rb +38 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/commands/base_spec.rb +87 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/commands/static_file_command_spec.rb +84 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/doc_server_helper_spec.rb +53 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/doc_server_serializer_spec.rb +45 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/rack_adapter_spec.rb +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/router_spec.rb +122 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/spec_helper.rb +17 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/static_caching_spec.rb +39 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server/webrick_servlet_spec.rb +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/server_spec.rb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/spec_helper.rb +128 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/class_spec.rb +44 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/constant_spec.rb +40 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/engine_spec.rb +121 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/class001.html +280 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/class001.txt +36 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/class002.html +35 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/constant001.txt +25 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/constant002.txt +7 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/constant003.txt +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method001.html +130 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method001.txt +35 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method002.html +86 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method002.txt +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method003.html +159 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method003.txt +45 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method004.html +44 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method004.txt +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method005.html +99 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/method005.txt +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/module001.dot +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/module001.html +791 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/module001.txt +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/module002.html +318 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/module003.html +185 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/module004.html +387 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/examples/tag001.txt +82 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/base_helper_spec.rb +175 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/html_helper_spec.rb +612 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +48 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/markup/rdoc_markup_spec.rb +84 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/markup_helper_spec.rb +135 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/method_helper_spec.rb +82 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/shared_signature_examples.rb +123 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/helpers/text_helper_spec.rb +44 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/method_spec.rb +102 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/module_spec.rb +181 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/onefile_spec.rb +64 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/section_spec.rb +146 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/spec_helper.rb +73 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/tag_spec.rb +51 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/templates/template_spec.rb +409 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/spec/verifier_spec.rb +106 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/dot/setup.rb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/html/setup.rb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/setup.rb +36 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/text/setup.rb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/constant/text/header.erb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/constant/text/setup.rb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/index.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/note.erb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/private.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/text.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/setup.rb +49 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/index.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/note.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/private.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/text.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/css/full_list.css +57 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/css/style.css +338 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/frames.erb +28 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/full_list.erb +39 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/full_list_file.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/full_list_method.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/js/app.js +214 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/js/full_list.js +178 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/fulldoc/html/setup.rb +199 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/dot/header.erb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/dot/setup.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/breadcrumb.erb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/files.erb +11 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/footer.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/headers.erb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/index.erb +2 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/layout.erb +20 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/listing.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/objects.erb +32 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/script_setup.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/search.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/layout/html/setup.rb +71 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method/html/header.erb +16 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method/setup.rb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method/text/header.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/html/header.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/html/source.erb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/setup.rb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/text/header.erb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/method_details/text/setup.rb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/child.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/header.erb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/info.erb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/setup.rb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/box_info.erb +37 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/children.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/constant_summary.erb +13 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/defines.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/header.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/setup.rb +164 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/children.erb +10 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/extends.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/header.erb +7 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/includes.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/text/setup.rb +12 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/onefile/html/files.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/onefile/html/setup.rb +61 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/root/dot/child.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/root/dot/setup.rb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/root/html/setup.rb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/class/html/setup.rb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/docstring/html/setup.rb +1 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/fulldoc/html/setup.rb +73 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/layout/html/setup.rb +28 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/method/html/header.erb +18 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/method/html/setup.rb +21 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/module/html/header.erb +7 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/module/html/setup.rb +26 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/onefile/html/setup.rb +5 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/ruby/1.9.1/gems/yard-0.8.6.1/yard.gemspec +25 -0
- data/vendor/ruby/1.9.1/specifications/activesupport-3.2.13.gemspec +33 -0
- data/vendor/ruby/1.9.1/specifications/celluloid-0.14.0.gemspec +42 -0
- data/vendor/ruby/1.9.1/specifications/coderay-1.0.9.gemspec +32 -0
- data/vendor/ruby/1.9.1/specifications/connection_pool-1.0.0.gemspec +25 -0
- data/vendor/ruby/1.9.1/specifications/diff-lcs-1.2.4.gemspec +64 -0
- data/vendor/ruby/1.9.1/specifications/ffi-1.8.1.gemspec +42 -0
- data/vendor/ruby/1.9.1/specifications/formatador-0.2.4.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/growl-1.0.3.gemspec +29 -0
- data/vendor/ruby/1.9.1/specifications/guard-1.8.0.gemspec +49 -0
- data/vendor/ruby/1.9.1/specifications/guard-bundler-1.0.0.gemspec +39 -0
- data/vendor/ruby/1.9.1/specifications/guard-rspec-3.0.0.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/guard-yard-2.1.0.gemspec +33 -0
- data/vendor/ruby/1.9.1/specifications/i18n-0.6.1.gemspec +38 -0
- data/vendor/ruby/1.9.1/specifications/listen-1.0.3.gemspec +41 -0
- data/vendor/ruby/1.9.1/specifications/lumberjack-1.0.3.gemspec +28 -0
- data/vendor/ruby/1.9.1/specifications/method_source-0.8.1.gemspec +31 -0
- data/vendor/ruby/1.9.1/specifications/multi_json-1.7.3.gemspec +30 -0
- data/vendor/ruby/1.9.1/specifications/pry-0.9.12.1.gemspec +54 -0
- data/vendor/ruby/1.9.1/specifications/rake-10.0.4.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/rb-fsevent-0.9.3.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/rb-inotify-0.9.0.gemspec +33 -0
- data/vendor/ruby/1.9.1/specifications/rb-kqueue-0.2.0.gemspec +34 -0
- data/vendor/ruby/1.9.1/specifications/redcarpet-2.2.2.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/redis-3.0.4.gemspec +28 -0
- data/vendor/ruby/1.9.1/specifications/redis-namespace-1.3.0.gemspec +34 -0
- data/vendor/ruby/1.9.1/specifications/rspec-2.13.0.gemspec +39 -0
- data/vendor/ruby/1.9.1/specifications/rspec-core-2.13.1.gemspec +58 -0
- data/vendor/ruby/1.9.1/specifications/rspec-expectations-2.13.0.gemspec +40 -0
- data/vendor/ruby/1.9.1/specifications/rspec-mocks-2.13.1.gemspec +37 -0
- data/vendor/ruby/1.9.1/specifications/rspec-redis_helper-0.1.2.gemspec +34 -0
- data/vendor/ruby/1.9.1/specifications/sidekiq-2.11.2.gemspec +64 -0
- data/vendor/ruby/1.9.1/specifications/simplecov-0.7.1.gemspec +52 -0
- data/vendor/ruby/1.9.1/specifications/simplecov-html-0.7.1.gemspec +35 -0
- data/vendor/ruby/1.9.1/specifications/slop-3.4.4.gemspec +33 -0
- data/vendor/ruby/1.9.1/specifications/statsd-ruby-1.2.0.gemspec +40 -0
- data/vendor/ruby/1.9.1/specifications/thor-0.18.1.gemspec +31 -0
- data/vendor/ruby/1.9.1/specifications/timecop-0.6.1.gemspec +30 -0
- data/vendor/ruby/1.9.1/specifications/timers-1.1.0.gemspec +31 -0
- data/vendor/ruby/1.9.1/specifications/yard-0.8.6.1.gemspec +29 -0
- metadata +3424 -0
@@ -0,0 +1,2556 @@
|
|
1
|
+
/* markdown.c - generic markdown parser */
|
2
|
+
|
3
|
+
/*
|
4
|
+
* Copyright (c) 2009, Natacha Porté
|
5
|
+
* Copyright (c) 2011, Vicent Marti
|
6
|
+
*
|
7
|
+
* Permission to use, copy, modify, and distribute this software for any
|
8
|
+
* purpose with or without fee is hereby granted, provided that the above
|
9
|
+
* copyright notice and this permission notice appear in all copies.
|
10
|
+
*
|
11
|
+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
12
|
+
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
13
|
+
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
14
|
+
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
15
|
+
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
16
|
+
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
17
|
+
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#include "markdown.h"
|
21
|
+
#include "stack.h"
|
22
|
+
|
23
|
+
#include <assert.h>
|
24
|
+
#include <string.h>
|
25
|
+
#include <ctype.h>
|
26
|
+
#include <stdio.h>
|
27
|
+
|
28
|
+
#if defined(_WIN32)
|
29
|
+
#define strncasecmp _strnicmp
|
30
|
+
#endif
|
31
|
+
|
32
|
+
#define REF_TABLE_SIZE 8
|
33
|
+
|
34
|
+
#define BUFFER_BLOCK 0
|
35
|
+
#define BUFFER_SPAN 1
|
36
|
+
|
37
|
+
#define MKD_LI_END 8 /* internal list flag */
|
38
|
+
|
39
|
+
#define gperf_case_strncmp(s1, s2, n) strncasecmp(s1, s2, n)
|
40
|
+
#define GPERF_DOWNCASE 1
|
41
|
+
#define GPERF_CASE_STRNCMP 1
|
42
|
+
#include "html_blocks.h"
|
43
|
+
|
44
|
+
/***************
|
45
|
+
* LOCAL TYPES *
|
46
|
+
***************/
|
47
|
+
|
48
|
+
/* link_ref: reference to a link */
|
49
|
+
struct link_ref {
|
50
|
+
unsigned int id;
|
51
|
+
|
52
|
+
struct buf *link;
|
53
|
+
struct buf *title;
|
54
|
+
|
55
|
+
struct link_ref *next;
|
56
|
+
};
|
57
|
+
|
58
|
+
/* char_trigger: function pointer to render active chars */
|
59
|
+
/* returns the number of chars taken care of */
|
60
|
+
/* data is the pointer of the beginning of the span */
|
61
|
+
/* offset is the number of valid chars before data */
|
62
|
+
struct sd_markdown;
|
63
|
+
typedef size_t
|
64
|
+
(*char_trigger)(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
65
|
+
|
66
|
+
static size_t char_emphasis(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
67
|
+
static size_t char_linebreak(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
68
|
+
static size_t char_codespan(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
69
|
+
static size_t char_escape(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
70
|
+
static size_t char_entity(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
71
|
+
static size_t char_langle_tag(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
72
|
+
static size_t char_autolink_url(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
73
|
+
static size_t char_autolink_email(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
74
|
+
static size_t char_autolink_www(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
75
|
+
static size_t char_link(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
76
|
+
static size_t char_superscript(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
|
77
|
+
|
78
|
+
enum markdown_char_t {
|
79
|
+
MD_CHAR_NONE = 0,
|
80
|
+
MD_CHAR_EMPHASIS,
|
81
|
+
MD_CHAR_CODESPAN,
|
82
|
+
MD_CHAR_LINEBREAK,
|
83
|
+
MD_CHAR_LINK,
|
84
|
+
MD_CHAR_LANGLE,
|
85
|
+
MD_CHAR_ESCAPE,
|
86
|
+
MD_CHAR_ENTITITY,
|
87
|
+
MD_CHAR_AUTOLINK_URL,
|
88
|
+
MD_CHAR_AUTOLINK_EMAIL,
|
89
|
+
MD_CHAR_AUTOLINK_WWW,
|
90
|
+
MD_CHAR_SUPERSCRIPT,
|
91
|
+
};
|
92
|
+
|
93
|
+
static char_trigger markdown_char_ptrs[] = {
|
94
|
+
NULL,
|
95
|
+
&char_emphasis,
|
96
|
+
&char_codespan,
|
97
|
+
&char_linebreak,
|
98
|
+
&char_link,
|
99
|
+
&char_langle_tag,
|
100
|
+
&char_escape,
|
101
|
+
&char_entity,
|
102
|
+
&char_autolink_url,
|
103
|
+
&char_autolink_email,
|
104
|
+
&char_autolink_www,
|
105
|
+
&char_superscript,
|
106
|
+
};
|
107
|
+
|
108
|
+
/* render • structure containing one particular render */
|
109
|
+
struct sd_markdown {
|
110
|
+
struct sd_callbacks cb;
|
111
|
+
void *opaque;
|
112
|
+
|
113
|
+
struct link_ref *refs[REF_TABLE_SIZE];
|
114
|
+
uint8_t active_char[256];
|
115
|
+
struct stack work_bufs[2];
|
116
|
+
unsigned int ext_flags;
|
117
|
+
size_t max_nesting;
|
118
|
+
int in_link_body;
|
119
|
+
};
|
120
|
+
|
121
|
+
/***************************
|
122
|
+
* HELPER FUNCTIONS *
|
123
|
+
***************************/
|
124
|
+
|
125
|
+
static inline struct buf *
|
126
|
+
rndr_newbuf(struct sd_markdown *rndr, int type)
|
127
|
+
{
|
128
|
+
static const size_t buf_size[2] = {256, 64};
|
129
|
+
struct buf *work = NULL;
|
130
|
+
struct stack *pool = &rndr->work_bufs[type];
|
131
|
+
|
132
|
+
if (pool->size < pool->asize &&
|
133
|
+
pool->item[pool->size] != NULL) {
|
134
|
+
work = pool->item[pool->size++];
|
135
|
+
work->size = 0;
|
136
|
+
} else {
|
137
|
+
work = bufnew(buf_size[type]);
|
138
|
+
stack_push(pool, work);
|
139
|
+
}
|
140
|
+
|
141
|
+
return work;
|
142
|
+
}
|
143
|
+
|
144
|
+
static inline void
|
145
|
+
rndr_popbuf(struct sd_markdown *rndr, int type)
|
146
|
+
{
|
147
|
+
rndr->work_bufs[type].size--;
|
148
|
+
}
|
149
|
+
|
150
|
+
static void
|
151
|
+
unscape_text(struct buf *ob, struct buf *src)
|
152
|
+
{
|
153
|
+
size_t i = 0, org;
|
154
|
+
while (i < src->size) {
|
155
|
+
org = i;
|
156
|
+
while (i < src->size && src->data[i] != '\\')
|
157
|
+
i++;
|
158
|
+
|
159
|
+
if (i > org)
|
160
|
+
bufput(ob, src->data + org, i - org);
|
161
|
+
|
162
|
+
if (i + 1 >= src->size)
|
163
|
+
break;
|
164
|
+
|
165
|
+
bufputc(ob, src->data[i + 1]);
|
166
|
+
i += 2;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
static unsigned int
|
171
|
+
hash_link_ref(const uint8_t *link_ref, size_t length)
|
172
|
+
{
|
173
|
+
size_t i;
|
174
|
+
unsigned int hash = 0;
|
175
|
+
|
176
|
+
for (i = 0; i < length; ++i)
|
177
|
+
hash = tolower(link_ref[i]) + (hash << 6) + (hash << 16) - hash;
|
178
|
+
|
179
|
+
return hash;
|
180
|
+
}
|
181
|
+
|
182
|
+
static struct link_ref *
|
183
|
+
add_link_ref(
|
184
|
+
struct link_ref **references,
|
185
|
+
const uint8_t *name, size_t name_size)
|
186
|
+
{
|
187
|
+
struct link_ref *ref = calloc(1, sizeof(struct link_ref));
|
188
|
+
|
189
|
+
if (!ref)
|
190
|
+
return NULL;
|
191
|
+
|
192
|
+
ref->id = hash_link_ref(name, name_size);
|
193
|
+
ref->next = references[ref->id % REF_TABLE_SIZE];
|
194
|
+
|
195
|
+
references[ref->id % REF_TABLE_SIZE] = ref;
|
196
|
+
return ref;
|
197
|
+
}
|
198
|
+
|
199
|
+
static struct link_ref *
|
200
|
+
find_link_ref(struct link_ref **references, uint8_t *name, size_t length)
|
201
|
+
{
|
202
|
+
unsigned int hash = hash_link_ref(name, length);
|
203
|
+
struct link_ref *ref = NULL;
|
204
|
+
|
205
|
+
ref = references[hash % REF_TABLE_SIZE];
|
206
|
+
|
207
|
+
while (ref != NULL) {
|
208
|
+
if (ref->id == hash)
|
209
|
+
return ref;
|
210
|
+
|
211
|
+
ref = ref->next;
|
212
|
+
}
|
213
|
+
|
214
|
+
return NULL;
|
215
|
+
}
|
216
|
+
|
217
|
+
static void
|
218
|
+
free_link_refs(struct link_ref **references)
|
219
|
+
{
|
220
|
+
size_t i;
|
221
|
+
|
222
|
+
for (i = 0; i < REF_TABLE_SIZE; ++i) {
|
223
|
+
struct link_ref *r = references[i];
|
224
|
+
struct link_ref *next;
|
225
|
+
|
226
|
+
while (r) {
|
227
|
+
next = r->next;
|
228
|
+
bufrelease(r->link);
|
229
|
+
bufrelease(r->title);
|
230
|
+
free(r);
|
231
|
+
r = next;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
/*
|
237
|
+
* Check whether a char is a Markdown space.
|
238
|
+
|
239
|
+
* Right now we only consider spaces the actual
|
240
|
+
* space and a newline: tabs and carriage returns
|
241
|
+
* are filtered out during the preprocessing phase.
|
242
|
+
*
|
243
|
+
* If we wanted to actually be UTF-8 compliant, we
|
244
|
+
* should instead extract an Unicode codepoint from
|
245
|
+
* this character and check for space properties.
|
246
|
+
*/
|
247
|
+
static inline int
|
248
|
+
_isspace(int c)
|
249
|
+
{
|
250
|
+
return c == ' ' || c == '\n';
|
251
|
+
}
|
252
|
+
|
253
|
+
/****************************
|
254
|
+
* INLINE PARSING FUNCTIONS *
|
255
|
+
****************************/
|
256
|
+
|
257
|
+
/* is_mail_autolink • looks for the address part of a mail autolink and '>' */
|
258
|
+
/* this is less strict than the original markdown e-mail address matching */
|
259
|
+
static size_t
|
260
|
+
is_mail_autolink(uint8_t *data, size_t size)
|
261
|
+
{
|
262
|
+
size_t i = 0, nb = 0;
|
263
|
+
|
264
|
+
/* address is assumed to be: [-@._a-zA-Z0-9]+ with exactly one '@' */
|
265
|
+
for (i = 0; i < size; ++i) {
|
266
|
+
if (isalnum(data[i]))
|
267
|
+
continue;
|
268
|
+
|
269
|
+
switch (data[i]) {
|
270
|
+
case '@':
|
271
|
+
nb++;
|
272
|
+
|
273
|
+
case '-':
|
274
|
+
case '.':
|
275
|
+
case '_':
|
276
|
+
break;
|
277
|
+
|
278
|
+
case '>':
|
279
|
+
return (nb == 1) ? i + 1 : 0;
|
280
|
+
|
281
|
+
default:
|
282
|
+
return 0;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
return 0;
|
287
|
+
}
|
288
|
+
|
289
|
+
/* tag_length • returns the length of the given tag, or 0 is it's not valid */
|
290
|
+
static size_t
|
291
|
+
tag_length(uint8_t *data, size_t size, enum mkd_autolink *autolink)
|
292
|
+
{
|
293
|
+
size_t i, j;
|
294
|
+
|
295
|
+
/* a valid tag can't be shorter than 3 chars */
|
296
|
+
if (size < 3) return 0;
|
297
|
+
|
298
|
+
/* begins with a '<' optionally followed by '/', followed by letter or number */
|
299
|
+
if (data[0] != '<') return 0;
|
300
|
+
i = (data[1] == '/') ? 2 : 1;
|
301
|
+
|
302
|
+
if (!isalnum(data[i]))
|
303
|
+
return 0;
|
304
|
+
|
305
|
+
/* scheme test */
|
306
|
+
*autolink = MKDA_NOT_AUTOLINK;
|
307
|
+
|
308
|
+
/* try to find the beginning of an URI */
|
309
|
+
while (i < size && (isalnum(data[i]) || data[i] == '.' || data[i] == '+' || data[i] == '-'))
|
310
|
+
i++;
|
311
|
+
|
312
|
+
if (i > 1 && data[i] == '@') {
|
313
|
+
if ((j = is_mail_autolink(data + i, size - i)) != 0) {
|
314
|
+
*autolink = MKDA_EMAIL;
|
315
|
+
return i + j;
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
319
|
+
if (i > 2 && data[i] == ':') {
|
320
|
+
*autolink = MKDA_NORMAL;
|
321
|
+
i++;
|
322
|
+
}
|
323
|
+
|
324
|
+
/* completing autolink test: no whitespace or ' or " */
|
325
|
+
if (i >= size)
|
326
|
+
*autolink = MKDA_NOT_AUTOLINK;
|
327
|
+
|
328
|
+
else if (*autolink) {
|
329
|
+
j = i;
|
330
|
+
|
331
|
+
while (i < size) {
|
332
|
+
if (data[i] == '\\') i += 2;
|
333
|
+
else if (data[i] == '>' || data[i] == '\'' ||
|
334
|
+
data[i] == '"' || data[i] == ' ' || data[i] == '\n')
|
335
|
+
break;
|
336
|
+
else i++;
|
337
|
+
}
|
338
|
+
|
339
|
+
if (i >= size) return 0;
|
340
|
+
if (i > j && data[i] == '>') return i + 1;
|
341
|
+
/* one of the forbidden chars has been found */
|
342
|
+
*autolink = MKDA_NOT_AUTOLINK;
|
343
|
+
}
|
344
|
+
|
345
|
+
/* looking for sometinhg looking like a tag end */
|
346
|
+
while (i < size && data[i] != '>') i++;
|
347
|
+
if (i >= size) return 0;
|
348
|
+
return i + 1;
|
349
|
+
}
|
350
|
+
|
351
|
+
/* parse_inline • parses inline markdown elements */
|
352
|
+
static void
|
353
|
+
parse_inline(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
354
|
+
{
|
355
|
+
size_t i = 0, end = 0;
|
356
|
+
uint8_t action = 0;
|
357
|
+
struct buf work = { 0, 0, 0, 0 };
|
358
|
+
|
359
|
+
if (rndr->work_bufs[BUFFER_SPAN].size +
|
360
|
+
rndr->work_bufs[BUFFER_BLOCK].size > rndr->max_nesting)
|
361
|
+
return;
|
362
|
+
|
363
|
+
while (i < size) {
|
364
|
+
/* copying inactive chars into the output */
|
365
|
+
while (end < size && (action = rndr->active_char[data[end]]) == 0) {
|
366
|
+
end++;
|
367
|
+
}
|
368
|
+
|
369
|
+
if (rndr->cb.normal_text) {
|
370
|
+
work.data = data + i;
|
371
|
+
work.size = end - i;
|
372
|
+
rndr->cb.normal_text(ob, &work, rndr->opaque);
|
373
|
+
}
|
374
|
+
else
|
375
|
+
bufput(ob, data + i, end - i);
|
376
|
+
|
377
|
+
if (end >= size) break;
|
378
|
+
i = end;
|
379
|
+
|
380
|
+
end = markdown_char_ptrs[(int)action](ob, rndr, data + i, i, size - i);
|
381
|
+
if (!end) /* no action from the callback */
|
382
|
+
end = i + 1;
|
383
|
+
else {
|
384
|
+
i += end;
|
385
|
+
end = i;
|
386
|
+
}
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
/* find_emph_char • looks for the next emph uint8_t, skipping other constructs */
|
391
|
+
static size_t
|
392
|
+
find_emph_char(uint8_t *data, size_t size, uint8_t c)
|
393
|
+
{
|
394
|
+
size_t i = 1;
|
395
|
+
|
396
|
+
while (i < size) {
|
397
|
+
while (i < size && data[i] != c && data[i] != '`' && data[i] != '[')
|
398
|
+
i++;
|
399
|
+
|
400
|
+
if (i == size)
|
401
|
+
return 0;
|
402
|
+
|
403
|
+
if (data[i] == c)
|
404
|
+
return i;
|
405
|
+
|
406
|
+
/* not counting escaped chars */
|
407
|
+
if (i && data[i - 1] == '\\') {
|
408
|
+
i++; continue;
|
409
|
+
}
|
410
|
+
|
411
|
+
if (data[i] == '`') {
|
412
|
+
size_t span_nb = 0, bt;
|
413
|
+
size_t tmp_i = 0;
|
414
|
+
|
415
|
+
/* counting the number of opening backticks */
|
416
|
+
while (i < size && data[i] == '`') {
|
417
|
+
i++; span_nb++;
|
418
|
+
}
|
419
|
+
|
420
|
+
if (i >= size) return 0;
|
421
|
+
|
422
|
+
/* finding the matching closing sequence */
|
423
|
+
bt = 0;
|
424
|
+
while (i < size && bt < span_nb) {
|
425
|
+
if (!tmp_i && data[i] == c) tmp_i = i;
|
426
|
+
if (data[i] == '`') bt++;
|
427
|
+
else bt = 0;
|
428
|
+
i++;
|
429
|
+
}
|
430
|
+
|
431
|
+
if (i >= size) return tmp_i;
|
432
|
+
}
|
433
|
+
/* skipping a link */
|
434
|
+
else if (data[i] == '[') {
|
435
|
+
size_t tmp_i = 0;
|
436
|
+
uint8_t cc;
|
437
|
+
|
438
|
+
i++;
|
439
|
+
while (i < size && data[i] != ']') {
|
440
|
+
if (!tmp_i && data[i] == c) tmp_i = i;
|
441
|
+
i++;
|
442
|
+
}
|
443
|
+
|
444
|
+
i++;
|
445
|
+
while (i < size && (data[i] == ' ' || data[i] == '\n'))
|
446
|
+
i++;
|
447
|
+
|
448
|
+
if (i >= size)
|
449
|
+
return tmp_i;
|
450
|
+
|
451
|
+
switch (data[i]) {
|
452
|
+
case '[':
|
453
|
+
cc = ']'; break;
|
454
|
+
|
455
|
+
case '(':
|
456
|
+
cc = ')'; break;
|
457
|
+
|
458
|
+
default:
|
459
|
+
if (tmp_i)
|
460
|
+
return tmp_i;
|
461
|
+
else
|
462
|
+
continue;
|
463
|
+
}
|
464
|
+
|
465
|
+
i++;
|
466
|
+
while (i < size && data[i] != cc) {
|
467
|
+
if (!tmp_i && data[i] == c) tmp_i = i;
|
468
|
+
i++;
|
469
|
+
}
|
470
|
+
|
471
|
+
if (i >= size)
|
472
|
+
return tmp_i;
|
473
|
+
|
474
|
+
i++;
|
475
|
+
}
|
476
|
+
}
|
477
|
+
|
478
|
+
return 0;
|
479
|
+
}
|
480
|
+
|
481
|
+
/* parse_emph1 • parsing single emphase */
|
482
|
+
/* closed by a symbol not preceded by whitespace and not followed by symbol */
|
483
|
+
static size_t
|
484
|
+
parse_emph1(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, uint8_t c)
|
485
|
+
{
|
486
|
+
size_t i = 0, len;
|
487
|
+
struct buf *work = 0;
|
488
|
+
int r;
|
489
|
+
|
490
|
+
if (!rndr->cb.emphasis) return 0;
|
491
|
+
|
492
|
+
/* skipping one symbol if coming from emph3 */
|
493
|
+
if (size > 1 && data[0] == c && data[1] == c) i = 1;
|
494
|
+
|
495
|
+
while (i < size) {
|
496
|
+
len = find_emph_char(data + i, size - i, c);
|
497
|
+
if (!len) return 0;
|
498
|
+
i += len;
|
499
|
+
if (i >= size) return 0;
|
500
|
+
|
501
|
+
if (data[i] == c && !_isspace(data[i - 1])) {
|
502
|
+
|
503
|
+
if (rndr->ext_flags & MKDEXT_NO_INTRA_EMPHASIS) {
|
504
|
+
if (i + i < size && isalnum(data[i + 1]))
|
505
|
+
continue;
|
506
|
+
}
|
507
|
+
|
508
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
509
|
+
parse_inline(work, rndr, data, i);
|
510
|
+
r = rndr->cb.emphasis(ob, work, rndr->opaque);
|
511
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
512
|
+
return r ? i + 1 : 0;
|
513
|
+
}
|
514
|
+
}
|
515
|
+
|
516
|
+
return 0;
|
517
|
+
}
|
518
|
+
|
519
|
+
/* parse_emph2 • parsing single emphase */
|
520
|
+
static size_t
|
521
|
+
parse_emph2(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, uint8_t c)
|
522
|
+
{
|
523
|
+
int (*render_method)(struct buf *ob, const struct buf *text, void *opaque);
|
524
|
+
size_t i = 0, len;
|
525
|
+
struct buf *work = 0;
|
526
|
+
int r;
|
527
|
+
|
528
|
+
render_method = (c == '~') ? rndr->cb.strikethrough : rndr->cb.double_emphasis;
|
529
|
+
|
530
|
+
if (!render_method)
|
531
|
+
return 0;
|
532
|
+
|
533
|
+
while (i < size) {
|
534
|
+
len = find_emph_char(data + i, size - i, c);
|
535
|
+
if (!len) return 0;
|
536
|
+
i += len;
|
537
|
+
|
538
|
+
if (i + 1 < size && data[i] == c && data[i + 1] == c && i && !_isspace(data[i - 1])) {
|
539
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
540
|
+
parse_inline(work, rndr, data, i);
|
541
|
+
r = render_method(ob, work, rndr->opaque);
|
542
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
543
|
+
return r ? i + 2 : 0;
|
544
|
+
}
|
545
|
+
i++;
|
546
|
+
}
|
547
|
+
return 0;
|
548
|
+
}
|
549
|
+
|
550
|
+
/* parse_emph3 • parsing single emphase */
|
551
|
+
/* finds the first closing tag, and delegates to the other emph */
|
552
|
+
static size_t
|
553
|
+
parse_emph3(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, uint8_t c)
|
554
|
+
{
|
555
|
+
size_t i = 0, len;
|
556
|
+
int r;
|
557
|
+
|
558
|
+
while (i < size) {
|
559
|
+
len = find_emph_char(data + i, size - i, c);
|
560
|
+
if (!len) return 0;
|
561
|
+
i += len;
|
562
|
+
|
563
|
+
/* skip whitespace preceded symbols */
|
564
|
+
if (data[i] != c || _isspace(data[i - 1]))
|
565
|
+
continue;
|
566
|
+
|
567
|
+
if (i + 2 < size && data[i + 1] == c && data[i + 2] == c && rndr->cb.triple_emphasis) {
|
568
|
+
/* triple symbol found */
|
569
|
+
struct buf *work = rndr_newbuf(rndr, BUFFER_SPAN);
|
570
|
+
|
571
|
+
parse_inline(work, rndr, data, i);
|
572
|
+
r = rndr->cb.triple_emphasis(ob, work, rndr->opaque);
|
573
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
574
|
+
return r ? i + 3 : 0;
|
575
|
+
|
576
|
+
} else if (i + 1 < size && data[i + 1] == c) {
|
577
|
+
/* double symbol found, handing over to emph1 */
|
578
|
+
len = parse_emph1(ob, rndr, data - 2, size + 2, c);
|
579
|
+
if (!len) return 0;
|
580
|
+
else return len - 2;
|
581
|
+
|
582
|
+
} else {
|
583
|
+
/* single symbol found, handing over to emph2 */
|
584
|
+
len = parse_emph2(ob, rndr, data - 1, size + 1, c);
|
585
|
+
if (!len) return 0;
|
586
|
+
else return len - 1;
|
587
|
+
}
|
588
|
+
}
|
589
|
+
return 0;
|
590
|
+
}
|
591
|
+
|
592
|
+
/* char_emphasis • single and double emphasis parsing */
|
593
|
+
static size_t
|
594
|
+
char_emphasis(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
595
|
+
{
|
596
|
+
uint8_t c = data[0];
|
597
|
+
size_t ret;
|
598
|
+
|
599
|
+
if (rndr->ext_flags & MKDEXT_NO_INTRA_EMPHASIS) {
|
600
|
+
if (offset > 0 && !_isspace(data[-1]) && data[-1] != '>')
|
601
|
+
return 0;
|
602
|
+
}
|
603
|
+
|
604
|
+
if (size > 2 && data[1] != c) {
|
605
|
+
/* whitespace cannot follow an opening emphasis;
|
606
|
+
* strikethrough only takes two characters '~~' */
|
607
|
+
if (c == '~' || _isspace(data[1]) || (ret = parse_emph1(ob, rndr, data + 1, size - 1, c)) == 0)
|
608
|
+
return 0;
|
609
|
+
|
610
|
+
return ret + 1;
|
611
|
+
}
|
612
|
+
|
613
|
+
if (size > 3 && data[1] == c && data[2] != c) {
|
614
|
+
if (_isspace(data[2]) || (ret = parse_emph2(ob, rndr, data + 2, size - 2, c)) == 0)
|
615
|
+
return 0;
|
616
|
+
|
617
|
+
return ret + 2;
|
618
|
+
}
|
619
|
+
|
620
|
+
if (size > 4 && data[1] == c && data[2] == c && data[3] != c) {
|
621
|
+
if (c == '~' || _isspace(data[3]) || (ret = parse_emph3(ob, rndr, data + 3, size - 3, c)) == 0)
|
622
|
+
return 0;
|
623
|
+
|
624
|
+
return ret + 3;
|
625
|
+
}
|
626
|
+
|
627
|
+
return 0;
|
628
|
+
}
|
629
|
+
|
630
|
+
|
631
|
+
/* char_linebreak • '\n' preceded by two spaces (assuming linebreak != 0) */
|
632
|
+
static size_t
|
633
|
+
char_linebreak(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
634
|
+
{
|
635
|
+
if (offset < 2 || data[-1] != ' ' || data[-2] != ' ')
|
636
|
+
return 0;
|
637
|
+
|
638
|
+
/* removing the last space from ob and rendering */
|
639
|
+
while (ob->size && ob->data[ob->size - 1] == ' ')
|
640
|
+
ob->size--;
|
641
|
+
|
642
|
+
return rndr->cb.linebreak(ob, rndr->opaque) ? 1 : 0;
|
643
|
+
}
|
644
|
+
|
645
|
+
|
646
|
+
/* char_codespan • '`' parsing a code span (assuming codespan != 0) */
|
647
|
+
static size_t
|
648
|
+
char_codespan(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
649
|
+
{
|
650
|
+
size_t end, nb = 0, i, f_begin, f_end;
|
651
|
+
|
652
|
+
/* counting the number of backticks in the delimiter */
|
653
|
+
while (nb < size && data[nb] == '`')
|
654
|
+
nb++;
|
655
|
+
|
656
|
+
/* finding the next delimiter */
|
657
|
+
i = 0;
|
658
|
+
for (end = nb; end < size && i < nb; end++) {
|
659
|
+
if (data[end] == '`') i++;
|
660
|
+
else i = 0;
|
661
|
+
}
|
662
|
+
|
663
|
+
if (i < nb && end >= size)
|
664
|
+
return 0; /* no matching delimiter */
|
665
|
+
|
666
|
+
/* trimming outside whitespaces */
|
667
|
+
f_begin = nb;
|
668
|
+
while (f_begin < end && data[f_begin] == ' ')
|
669
|
+
f_begin++;
|
670
|
+
|
671
|
+
f_end = end - nb;
|
672
|
+
while (f_end > nb && data[f_end-1] == ' ')
|
673
|
+
f_end--;
|
674
|
+
|
675
|
+
/* real code span */
|
676
|
+
if (f_begin < f_end) {
|
677
|
+
struct buf work = { data + f_begin, f_end - f_begin, 0, 0 };
|
678
|
+
if (!rndr->cb.codespan(ob, &work, rndr->opaque))
|
679
|
+
end = 0;
|
680
|
+
} else {
|
681
|
+
if (!rndr->cb.codespan(ob, 0, rndr->opaque))
|
682
|
+
end = 0;
|
683
|
+
}
|
684
|
+
|
685
|
+
return end;
|
686
|
+
}
|
687
|
+
|
688
|
+
|
689
|
+
/* char_escape • '\\' backslash escape */
|
690
|
+
static size_t
|
691
|
+
char_escape(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
692
|
+
{
|
693
|
+
static const char *escape_chars = "\\`*_{}[]()#+-.!:|&<>^~";
|
694
|
+
struct buf work = { 0, 0, 0, 0 };
|
695
|
+
|
696
|
+
if (size > 1) {
|
697
|
+
if (strchr(escape_chars, data[1]) == NULL)
|
698
|
+
return 0;
|
699
|
+
|
700
|
+
if (rndr->cb.normal_text) {
|
701
|
+
work.data = data + 1;
|
702
|
+
work.size = 1;
|
703
|
+
rndr->cb.normal_text(ob, &work, rndr->opaque);
|
704
|
+
}
|
705
|
+
else bufputc(ob, data[1]);
|
706
|
+
} else if (size == 1) {
|
707
|
+
bufputc(ob, data[0]);
|
708
|
+
}
|
709
|
+
|
710
|
+
return 2;
|
711
|
+
}
|
712
|
+
|
713
|
+
/* char_entity • '&' escaped when it doesn't belong to an entity */
|
714
|
+
/* valid entities are assumed to be anything matching &#?[A-Za-z0-9]+; */
|
715
|
+
static size_t
|
716
|
+
char_entity(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
717
|
+
{
|
718
|
+
size_t end = 1;
|
719
|
+
struct buf work = { 0, 0, 0, 0 };
|
720
|
+
|
721
|
+
if (end < size && data[end] == '#')
|
722
|
+
end++;
|
723
|
+
|
724
|
+
while (end < size && isalnum(data[end]))
|
725
|
+
end++;
|
726
|
+
|
727
|
+
if (end < size && data[end] == ';')
|
728
|
+
end++; /* real entity */
|
729
|
+
else
|
730
|
+
return 0; /* lone '&' */
|
731
|
+
|
732
|
+
if (rndr->cb.entity) {
|
733
|
+
work.data = data;
|
734
|
+
work.size = end;
|
735
|
+
rndr->cb.entity(ob, &work, rndr->opaque);
|
736
|
+
}
|
737
|
+
else bufput(ob, data, end);
|
738
|
+
|
739
|
+
return end;
|
740
|
+
}
|
741
|
+
|
742
|
+
/* char_langle_tag • '<' when tags or autolinks are allowed */
|
743
|
+
static size_t
|
744
|
+
char_langle_tag(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
745
|
+
{
|
746
|
+
enum mkd_autolink altype = MKDA_NOT_AUTOLINK;
|
747
|
+
size_t end = tag_length(data, size, &altype);
|
748
|
+
struct buf work = { data, end, 0, 0 };
|
749
|
+
int ret = 0;
|
750
|
+
|
751
|
+
if (end > 2) {
|
752
|
+
if (rndr->cb.autolink && altype != MKDA_NOT_AUTOLINK) {
|
753
|
+
struct buf *u_link = rndr_newbuf(rndr, BUFFER_SPAN);
|
754
|
+
work.data = data + 1;
|
755
|
+
work.size = end - 2;
|
756
|
+
unscape_text(u_link, &work);
|
757
|
+
ret = rndr->cb.autolink(ob, u_link, altype, rndr->opaque);
|
758
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
759
|
+
}
|
760
|
+
else if (rndr->cb.raw_html_tag)
|
761
|
+
ret = rndr->cb.raw_html_tag(ob, &work, rndr->opaque);
|
762
|
+
}
|
763
|
+
|
764
|
+
if (!ret) return 0;
|
765
|
+
else return end;
|
766
|
+
}
|
767
|
+
|
768
|
+
static size_t
|
769
|
+
char_autolink_www(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
770
|
+
{
|
771
|
+
struct buf *link, *link_url, *link_text;
|
772
|
+
size_t link_len, rewind;
|
773
|
+
|
774
|
+
if (!rndr->cb.link || rndr->in_link_body)
|
775
|
+
return 0;
|
776
|
+
|
777
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
778
|
+
|
779
|
+
if ((link_len = sd_autolink__www(&rewind, link, data, offset, size, 0)) > 0) {
|
780
|
+
link_url = rndr_newbuf(rndr, BUFFER_SPAN);
|
781
|
+
BUFPUTSL(link_url, "http://");
|
782
|
+
bufput(link_url, link->data, link->size);
|
783
|
+
|
784
|
+
ob->size -= rewind;
|
785
|
+
if (rndr->cb.normal_text) {
|
786
|
+
link_text = rndr_newbuf(rndr, BUFFER_SPAN);
|
787
|
+
rndr->cb.normal_text(link_text, link, rndr->opaque);
|
788
|
+
rndr->cb.link(ob, link_url, NULL, link_text, rndr->opaque);
|
789
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
790
|
+
} else {
|
791
|
+
rndr->cb.link(ob, link_url, NULL, link, rndr->opaque);
|
792
|
+
}
|
793
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
794
|
+
}
|
795
|
+
|
796
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
797
|
+
return link_len;
|
798
|
+
}
|
799
|
+
|
800
|
+
static size_t
|
801
|
+
char_autolink_email(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
802
|
+
{
|
803
|
+
struct buf *link;
|
804
|
+
size_t link_len, rewind;
|
805
|
+
|
806
|
+
if (!rndr->cb.autolink || rndr->in_link_body)
|
807
|
+
return 0;
|
808
|
+
|
809
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
810
|
+
|
811
|
+
if ((link_len = sd_autolink__email(&rewind, link, data, offset, size, 0)) > 0) {
|
812
|
+
ob->size -= rewind;
|
813
|
+
rndr->cb.autolink(ob, link, MKDA_EMAIL, rndr->opaque);
|
814
|
+
}
|
815
|
+
|
816
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
817
|
+
return link_len;
|
818
|
+
}
|
819
|
+
|
820
|
+
static size_t
|
821
|
+
char_autolink_url(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
822
|
+
{
|
823
|
+
struct buf *link;
|
824
|
+
size_t link_len, rewind;
|
825
|
+
|
826
|
+
if (!rndr->cb.autolink || rndr->in_link_body)
|
827
|
+
return 0;
|
828
|
+
|
829
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
830
|
+
|
831
|
+
if ((link_len = sd_autolink__url(&rewind, link, data, offset, size, 0)) > 0) {
|
832
|
+
ob->size -= rewind;
|
833
|
+
rndr->cb.autolink(ob, link, MKDA_NORMAL, rndr->opaque);
|
834
|
+
}
|
835
|
+
|
836
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
837
|
+
return link_len;
|
838
|
+
}
|
839
|
+
|
840
|
+
/* char_link • '[': parsing a link or an image */
|
841
|
+
static size_t
|
842
|
+
char_link(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
843
|
+
{
|
844
|
+
int is_img = (offset && data[-1] == '!'), level;
|
845
|
+
size_t i = 1, txt_e, link_b = 0, link_e = 0, title_b = 0, title_e = 0;
|
846
|
+
struct buf *content = 0;
|
847
|
+
struct buf *link = 0;
|
848
|
+
struct buf *title = 0;
|
849
|
+
struct buf *u_link = 0;
|
850
|
+
size_t org_work_size = rndr->work_bufs[BUFFER_SPAN].size;
|
851
|
+
int text_has_nl = 0, ret = 0;
|
852
|
+
int in_title = 0, qtype = 0;
|
853
|
+
|
854
|
+
/* checking whether the correct renderer exists */
|
855
|
+
if ((is_img && !rndr->cb.image) || (!is_img && !rndr->cb.link))
|
856
|
+
goto cleanup;
|
857
|
+
|
858
|
+
/* looking for the matching closing bracket */
|
859
|
+
for (level = 1; i < size; i++) {
|
860
|
+
if (data[i] == '\n')
|
861
|
+
text_has_nl = 1;
|
862
|
+
|
863
|
+
else if (data[i - 1] == '\\')
|
864
|
+
continue;
|
865
|
+
|
866
|
+
else if (data[i] == '[')
|
867
|
+
level++;
|
868
|
+
|
869
|
+
else if (data[i] == ']') {
|
870
|
+
level--;
|
871
|
+
if (level <= 0)
|
872
|
+
break;
|
873
|
+
}
|
874
|
+
}
|
875
|
+
|
876
|
+
if (i >= size)
|
877
|
+
goto cleanup;
|
878
|
+
|
879
|
+
txt_e = i;
|
880
|
+
i++;
|
881
|
+
|
882
|
+
/* skip any amount of whitespace or newline */
|
883
|
+
/* (this is much more laxist than original markdown syntax) */
|
884
|
+
while (i < size && _isspace(data[i]))
|
885
|
+
i++;
|
886
|
+
|
887
|
+
/* inline style link */
|
888
|
+
if (i < size && data[i] == '(') {
|
889
|
+
/* skipping initial whitespace */
|
890
|
+
i++;
|
891
|
+
|
892
|
+
while (i < size && _isspace(data[i]))
|
893
|
+
i++;
|
894
|
+
|
895
|
+
link_b = i;
|
896
|
+
|
897
|
+
/* looking for link end: ' " ) */
|
898
|
+
while (i < size) {
|
899
|
+
if (data[i] == '\\') i += 2;
|
900
|
+
else if (data[i] == ')') break;
|
901
|
+
else if (i >= 1 && _isspace(data[i-1]) && (data[i] == '\'' || data[i] == '"')) break;
|
902
|
+
else i++;
|
903
|
+
}
|
904
|
+
|
905
|
+
if (i >= size) goto cleanup;
|
906
|
+
link_e = i;
|
907
|
+
|
908
|
+
/* looking for title end if present */
|
909
|
+
if (data[i] == '\'' || data[i] == '"') {
|
910
|
+
qtype = data[i];
|
911
|
+
in_title = 1;
|
912
|
+
i++;
|
913
|
+
title_b = i;
|
914
|
+
|
915
|
+
while (i < size) {
|
916
|
+
if (data[i] == '\\') i += 2;
|
917
|
+
else if (data[i] == qtype) {in_title = 0; i++;}
|
918
|
+
else if ((data[i] == ')') && !in_title) break;
|
919
|
+
else i++;
|
920
|
+
}
|
921
|
+
|
922
|
+
if (i >= size) goto cleanup;
|
923
|
+
|
924
|
+
/* skipping whitespaces after title */
|
925
|
+
title_e = i - 1;
|
926
|
+
while (title_e > title_b && _isspace(data[title_e]))
|
927
|
+
title_e--;
|
928
|
+
|
929
|
+
/* checking for closing quote presence */
|
930
|
+
if (data[title_e] != '\'' && data[title_e] != '"') {
|
931
|
+
title_b = title_e = 0;
|
932
|
+
link_e = i;
|
933
|
+
}
|
934
|
+
}
|
935
|
+
|
936
|
+
/* remove whitespace at the end of the link */
|
937
|
+
while (link_e > link_b && _isspace(data[link_e - 1]))
|
938
|
+
link_e--;
|
939
|
+
|
940
|
+
/* remove optional angle brackets around the link */
|
941
|
+
if (data[link_b] == '<') link_b++;
|
942
|
+
if (data[link_e - 1] == '>') link_e--;
|
943
|
+
|
944
|
+
/* building escaped link and title */
|
945
|
+
if (link_e > link_b) {
|
946
|
+
link = rndr_newbuf(rndr, BUFFER_SPAN);
|
947
|
+
bufput(link, data + link_b, link_e - link_b);
|
948
|
+
}
|
949
|
+
|
950
|
+
if (title_e > title_b) {
|
951
|
+
title = rndr_newbuf(rndr, BUFFER_SPAN);
|
952
|
+
bufput(title, data + title_b, title_e - title_b);
|
953
|
+
}
|
954
|
+
|
955
|
+
i++;
|
956
|
+
}
|
957
|
+
|
958
|
+
/* reference style link */
|
959
|
+
else if (i < size && data[i] == '[') {
|
960
|
+
struct buf id = { 0, 0, 0, 0 };
|
961
|
+
struct link_ref *lr;
|
962
|
+
|
963
|
+
/* looking for the id */
|
964
|
+
i++;
|
965
|
+
link_b = i;
|
966
|
+
while (i < size && data[i] != ']') i++;
|
967
|
+
if (i >= size) goto cleanup;
|
968
|
+
link_e = i;
|
969
|
+
|
970
|
+
/* finding the link_ref */
|
971
|
+
if (link_b == link_e) {
|
972
|
+
if (text_has_nl) {
|
973
|
+
struct buf *b = rndr_newbuf(rndr, BUFFER_SPAN);
|
974
|
+
size_t j;
|
975
|
+
|
976
|
+
for (j = 1; j < txt_e; j++) {
|
977
|
+
if (data[j] != '\n')
|
978
|
+
bufputc(b, data[j]);
|
979
|
+
else if (data[j - 1] != ' ')
|
980
|
+
bufputc(b, ' ');
|
981
|
+
}
|
982
|
+
|
983
|
+
id.data = b->data;
|
984
|
+
id.size = b->size;
|
985
|
+
} else {
|
986
|
+
id.data = data + 1;
|
987
|
+
id.size = txt_e - 1;
|
988
|
+
}
|
989
|
+
} else {
|
990
|
+
id.data = data + link_b;
|
991
|
+
id.size = link_e - link_b;
|
992
|
+
}
|
993
|
+
|
994
|
+
lr = find_link_ref(rndr->refs, id.data, id.size);
|
995
|
+
if (!lr)
|
996
|
+
goto cleanup;
|
997
|
+
|
998
|
+
/* keeping link and title from link_ref */
|
999
|
+
link = lr->link;
|
1000
|
+
title = lr->title;
|
1001
|
+
i++;
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
/* shortcut reference style link */
|
1005
|
+
else {
|
1006
|
+
struct buf id = { 0, 0, 0, 0 };
|
1007
|
+
struct link_ref *lr;
|
1008
|
+
|
1009
|
+
/* crafting the id */
|
1010
|
+
if (text_has_nl) {
|
1011
|
+
struct buf *b = rndr_newbuf(rndr, BUFFER_SPAN);
|
1012
|
+
size_t j;
|
1013
|
+
|
1014
|
+
for (j = 1; j < txt_e; j++) {
|
1015
|
+
if (data[j] != '\n')
|
1016
|
+
bufputc(b, data[j]);
|
1017
|
+
else if (data[j - 1] != ' ')
|
1018
|
+
bufputc(b, ' ');
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
id.data = b->data;
|
1022
|
+
id.size = b->size;
|
1023
|
+
} else {
|
1024
|
+
id.data = data + 1;
|
1025
|
+
id.size = txt_e - 1;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
/* finding the link_ref */
|
1029
|
+
lr = find_link_ref(rndr->refs, id.data, id.size);
|
1030
|
+
if (!lr)
|
1031
|
+
goto cleanup;
|
1032
|
+
|
1033
|
+
/* keeping link and title from link_ref */
|
1034
|
+
link = lr->link;
|
1035
|
+
title = lr->title;
|
1036
|
+
|
1037
|
+
/* rewinding the whitespace */
|
1038
|
+
i = txt_e + 1;
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
/* building content: img alt is escaped, link content is parsed */
|
1042
|
+
if (txt_e > 1) {
|
1043
|
+
content = rndr_newbuf(rndr, BUFFER_SPAN);
|
1044
|
+
if (is_img) {
|
1045
|
+
bufput(content, data + 1, txt_e - 1);
|
1046
|
+
} else {
|
1047
|
+
/* disable autolinking when parsing inline the
|
1048
|
+
* content of a link */
|
1049
|
+
rndr->in_link_body = 1;
|
1050
|
+
parse_inline(content, rndr, data + 1, txt_e - 1);
|
1051
|
+
rndr->in_link_body = 0;
|
1052
|
+
}
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
if (link) {
|
1056
|
+
u_link = rndr_newbuf(rndr, BUFFER_SPAN);
|
1057
|
+
unscape_text(u_link, link);
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
/* calling the relevant rendering function */
|
1061
|
+
if (is_img) {
|
1062
|
+
if (ob->size && ob->data[ob->size - 1] == '!')
|
1063
|
+
ob->size -= 1;
|
1064
|
+
|
1065
|
+
ret = rndr->cb.image(ob, u_link, title, content, rndr->opaque);
|
1066
|
+
} else {
|
1067
|
+
ret = rndr->cb.link(ob, u_link, title, content, rndr->opaque);
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
/* cleanup */
|
1071
|
+
cleanup:
|
1072
|
+
rndr->work_bufs[BUFFER_SPAN].size = (int)org_work_size;
|
1073
|
+
return ret ? i : 0;
|
1074
|
+
}
|
1075
|
+
|
1076
|
+
static size_t
|
1077
|
+
char_superscript(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size)
|
1078
|
+
{
|
1079
|
+
size_t sup_start, sup_len;
|
1080
|
+
struct buf *sup;
|
1081
|
+
|
1082
|
+
if (!rndr->cb.superscript)
|
1083
|
+
return 0;
|
1084
|
+
|
1085
|
+
if (size < 2)
|
1086
|
+
return 0;
|
1087
|
+
|
1088
|
+
if (data[1] == '(') {
|
1089
|
+
sup_start = sup_len = 2;
|
1090
|
+
|
1091
|
+
while (sup_len < size && data[sup_len] != ')' && data[sup_len - 1] != '\\')
|
1092
|
+
sup_len++;
|
1093
|
+
|
1094
|
+
if (sup_len == size)
|
1095
|
+
return 0;
|
1096
|
+
} else {
|
1097
|
+
sup_start = sup_len = 1;
|
1098
|
+
|
1099
|
+
while (sup_len < size && !_isspace(data[sup_len]))
|
1100
|
+
sup_len++;
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
if (sup_len - sup_start == 0)
|
1104
|
+
return (sup_start == 2) ? 3 : 0;
|
1105
|
+
|
1106
|
+
sup = rndr_newbuf(rndr, BUFFER_SPAN);
|
1107
|
+
parse_inline(sup, rndr, data + sup_start, sup_len - sup_start);
|
1108
|
+
rndr->cb.superscript(ob, sup, rndr->opaque);
|
1109
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1110
|
+
|
1111
|
+
return (sup_start == 2) ? sup_len + 1 : sup_len;
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
/*********************************
|
1115
|
+
* BLOCK-LEVEL PARSING FUNCTIONS *
|
1116
|
+
*********************************/
|
1117
|
+
|
1118
|
+
/* is_empty • returns the line length when it is empty, 0 otherwise */
|
1119
|
+
static size_t
|
1120
|
+
is_empty(uint8_t *data, size_t size)
|
1121
|
+
{
|
1122
|
+
size_t i;
|
1123
|
+
|
1124
|
+
for (i = 0; i < size && data[i] != '\n'; i++)
|
1125
|
+
if (data[i] != ' ')
|
1126
|
+
return 0;
|
1127
|
+
|
1128
|
+
return i + 1;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
/* is_hrule • returns whether a line is a horizontal rule */
|
1132
|
+
static int
|
1133
|
+
is_hrule(uint8_t *data, size_t size)
|
1134
|
+
{
|
1135
|
+
size_t i = 0, n = 0;
|
1136
|
+
uint8_t c;
|
1137
|
+
|
1138
|
+
/* skipping initial spaces */
|
1139
|
+
if (size < 3) return 0;
|
1140
|
+
if (data[0] == ' ') { i++;
|
1141
|
+
if (data[1] == ' ') { i++;
|
1142
|
+
if (data[2] == ' ') { i++; } } }
|
1143
|
+
|
1144
|
+
/* looking at the hrule uint8_t */
|
1145
|
+
if (i + 2 >= size
|
1146
|
+
|| (data[i] != '*' && data[i] != '-' && data[i] != '_'))
|
1147
|
+
return 0;
|
1148
|
+
c = data[i];
|
1149
|
+
|
1150
|
+
/* the whole line must be the char or whitespace */
|
1151
|
+
while (i < size && data[i] != '\n') {
|
1152
|
+
if (data[i] == c) n++;
|
1153
|
+
else if (data[i] != ' ')
|
1154
|
+
return 0;
|
1155
|
+
|
1156
|
+
i++;
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
return n >= 3;
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
/* check if a line begins with a code fence; return the
|
1163
|
+
* width of the code fence */
|
1164
|
+
static size_t
|
1165
|
+
prefix_codefence(uint8_t *data, size_t size)
|
1166
|
+
{
|
1167
|
+
size_t i = 0, n = 0;
|
1168
|
+
uint8_t c;
|
1169
|
+
|
1170
|
+
/* skipping initial spaces */
|
1171
|
+
if (size < 3) return 0;
|
1172
|
+
if (data[0] == ' ') { i++;
|
1173
|
+
if (data[1] == ' ') { i++;
|
1174
|
+
if (data[2] == ' ') { i++; } } }
|
1175
|
+
|
1176
|
+
/* looking at the hrule uint8_t */
|
1177
|
+
if (i + 2 >= size || !(data[i] == '~' || data[i] == '`'))
|
1178
|
+
return 0;
|
1179
|
+
|
1180
|
+
c = data[i];
|
1181
|
+
|
1182
|
+
/* the whole line must be the uint8_t or whitespace */
|
1183
|
+
while (i < size && data[i] == c) {
|
1184
|
+
n++; i++;
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
if (n < 3)
|
1188
|
+
return 0;
|
1189
|
+
|
1190
|
+
return i;
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
/* check if a line is a code fence; return its size if it is */
|
1194
|
+
static size_t
|
1195
|
+
is_codefence(uint8_t *data, size_t size, struct buf *syntax)
|
1196
|
+
{
|
1197
|
+
size_t i = 0, syn_len = 0;
|
1198
|
+
uint8_t *syn_start;
|
1199
|
+
|
1200
|
+
i = prefix_codefence(data, size);
|
1201
|
+
if (i == 0)
|
1202
|
+
return 0;
|
1203
|
+
|
1204
|
+
while (i < size && data[i] == ' ')
|
1205
|
+
i++;
|
1206
|
+
|
1207
|
+
syn_start = data + i;
|
1208
|
+
|
1209
|
+
if (i < size && data[i] == '{') {
|
1210
|
+
i++; syn_start++;
|
1211
|
+
|
1212
|
+
while (i < size && data[i] != '}' && data[i] != '\n') {
|
1213
|
+
syn_len++; i++;
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
if (i == size || data[i] != '}')
|
1217
|
+
return 0;
|
1218
|
+
|
1219
|
+
/* strip all whitespace at the beginning and the end
|
1220
|
+
* of the {} block */
|
1221
|
+
while (syn_len > 0 && _isspace(syn_start[0])) {
|
1222
|
+
syn_start++; syn_len--;
|
1223
|
+
}
|
1224
|
+
|
1225
|
+
while (syn_len > 0 && _isspace(syn_start[syn_len - 1]))
|
1226
|
+
syn_len--;
|
1227
|
+
|
1228
|
+
i++;
|
1229
|
+
} else {
|
1230
|
+
while (i < size && !_isspace(data[i])) {
|
1231
|
+
syn_len++; i++;
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
if (syntax) {
|
1236
|
+
syntax->data = syn_start;
|
1237
|
+
syntax->size = syn_len;
|
1238
|
+
}
|
1239
|
+
|
1240
|
+
while (i < size && data[i] != '\n') {
|
1241
|
+
if (!_isspace(data[i]))
|
1242
|
+
return 0;
|
1243
|
+
|
1244
|
+
i++;
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
return i + 1;
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
/* is_atxheader • returns whether the line is a hash-prefixed header */
|
1251
|
+
static int
|
1252
|
+
is_atxheader(struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1253
|
+
{
|
1254
|
+
if (data[0] != '#')
|
1255
|
+
return 0;
|
1256
|
+
|
1257
|
+
if (rndr->ext_flags & MKDEXT_SPACE_HEADERS) {
|
1258
|
+
size_t level = 0;
|
1259
|
+
|
1260
|
+
while (level < size && level < 6 && data[level] == '#')
|
1261
|
+
level++;
|
1262
|
+
|
1263
|
+
if (level < size && data[level] != ' ')
|
1264
|
+
return 0;
|
1265
|
+
}
|
1266
|
+
|
1267
|
+
return 1;
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
/* is_headerline • returns whether the line is a setext-style hdr underline */
|
1271
|
+
static int
|
1272
|
+
is_headerline(uint8_t *data, size_t size)
|
1273
|
+
{
|
1274
|
+
size_t i = 0;
|
1275
|
+
|
1276
|
+
/* test of level 1 header */
|
1277
|
+
if (data[i] == '=') {
|
1278
|
+
for (i = 1; i < size && data[i] == '='; i++);
|
1279
|
+
while (i < size && data[i] == ' ') i++;
|
1280
|
+
return (i >= size || data[i] == '\n') ? 1 : 0; }
|
1281
|
+
|
1282
|
+
/* test of level 2 header */
|
1283
|
+
if (data[i] == '-') {
|
1284
|
+
for (i = 1; i < size && data[i] == '-'; i++);
|
1285
|
+
while (i < size && data[i] == ' ') i++;
|
1286
|
+
return (i >= size || data[i] == '\n') ? 2 : 0; }
|
1287
|
+
|
1288
|
+
return 0;
|
1289
|
+
}
|
1290
|
+
|
1291
|
+
static int
|
1292
|
+
is_next_headerline(uint8_t *data, size_t size)
|
1293
|
+
{
|
1294
|
+
size_t i = 0;
|
1295
|
+
|
1296
|
+
while (i < size && data[i] != '\n')
|
1297
|
+
i++;
|
1298
|
+
|
1299
|
+
if (++i >= size)
|
1300
|
+
return 0;
|
1301
|
+
|
1302
|
+
return is_headerline(data + i, size - i);
|
1303
|
+
}
|
1304
|
+
|
1305
|
+
/* prefix_quote • returns blockquote prefix length */
|
1306
|
+
static size_t
|
1307
|
+
prefix_quote(uint8_t *data, size_t size)
|
1308
|
+
{
|
1309
|
+
size_t i = 0;
|
1310
|
+
if (i < size && data[i] == ' ') i++;
|
1311
|
+
if (i < size && data[i] == ' ') i++;
|
1312
|
+
if (i < size && data[i] == ' ') i++;
|
1313
|
+
|
1314
|
+
if (i < size && data[i] == '>') {
|
1315
|
+
if (i + 1 < size && data[i + 1] == ' ')
|
1316
|
+
return i + 2;
|
1317
|
+
|
1318
|
+
return i + 1;
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
return 0;
|
1322
|
+
}
|
1323
|
+
|
1324
|
+
/* prefix_code • returns prefix length for block code*/
|
1325
|
+
static size_t
|
1326
|
+
prefix_code(uint8_t *data, size_t size)
|
1327
|
+
{
|
1328
|
+
if (size > 3 && data[0] == ' ' && data[1] == ' '
|
1329
|
+
&& data[2] == ' ' && data[3] == ' ') return 4;
|
1330
|
+
|
1331
|
+
return 0;
|
1332
|
+
}
|
1333
|
+
|
1334
|
+
/* prefix_oli • returns ordered list item prefix */
|
1335
|
+
static size_t
|
1336
|
+
prefix_oli(uint8_t *data, size_t size)
|
1337
|
+
{
|
1338
|
+
size_t i = 0;
|
1339
|
+
|
1340
|
+
if (i < size && data[i] == ' ') i++;
|
1341
|
+
if (i < size && data[i] == ' ') i++;
|
1342
|
+
if (i < size && data[i] == ' ') i++;
|
1343
|
+
|
1344
|
+
if (i >= size || data[i] < '0' || data[i] > '9')
|
1345
|
+
return 0;
|
1346
|
+
|
1347
|
+
while (i < size && data[i] >= '0' && data[i] <= '9')
|
1348
|
+
i++;
|
1349
|
+
|
1350
|
+
if (i + 1 >= size || data[i] != '.' || data[i + 1] != ' ')
|
1351
|
+
return 0;
|
1352
|
+
|
1353
|
+
if (is_next_headerline(data + i, size - i))
|
1354
|
+
return 0;
|
1355
|
+
|
1356
|
+
return i + 2;
|
1357
|
+
}
|
1358
|
+
|
1359
|
+
/* prefix_uli • returns ordered list item prefix */
|
1360
|
+
static size_t
|
1361
|
+
prefix_uli(uint8_t *data, size_t size)
|
1362
|
+
{
|
1363
|
+
size_t i = 0;
|
1364
|
+
|
1365
|
+
if (i < size && data[i] == ' ') i++;
|
1366
|
+
if (i < size && data[i] == ' ') i++;
|
1367
|
+
if (i < size && data[i] == ' ') i++;
|
1368
|
+
|
1369
|
+
if (i + 1 >= size ||
|
1370
|
+
(data[i] != '*' && data[i] != '+' && data[i] != '-') ||
|
1371
|
+
data[i + 1] != ' ')
|
1372
|
+
return 0;
|
1373
|
+
|
1374
|
+
if (is_next_headerline(data + i, size - i))
|
1375
|
+
return 0;
|
1376
|
+
|
1377
|
+
return i + 2;
|
1378
|
+
}
|
1379
|
+
|
1380
|
+
|
1381
|
+
/* parse_block • parsing of one block, returning next uint8_t to parse */
|
1382
|
+
static void parse_block(struct buf *ob, struct sd_markdown *rndr,
|
1383
|
+
uint8_t *data, size_t size);
|
1384
|
+
|
1385
|
+
|
1386
|
+
/* parse_blockquote • handles parsing of a blockquote fragment */
|
1387
|
+
static size_t
|
1388
|
+
parse_blockquote(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1389
|
+
{
|
1390
|
+
size_t beg, end = 0, pre, work_size = 0;
|
1391
|
+
uint8_t *work_data = 0;
|
1392
|
+
struct buf *out = 0;
|
1393
|
+
|
1394
|
+
out = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1395
|
+
beg = 0;
|
1396
|
+
while (beg < size) {
|
1397
|
+
for (end = beg + 1; end < size && data[end - 1] != '\n'; end++);
|
1398
|
+
|
1399
|
+
pre = prefix_quote(data + beg, end - beg);
|
1400
|
+
|
1401
|
+
if (pre)
|
1402
|
+
beg += pre; /* skipping prefix */
|
1403
|
+
|
1404
|
+
/* empty line followed by non-quote line */
|
1405
|
+
else if (is_empty(data + beg, end - beg) &&
|
1406
|
+
(end >= size || (prefix_quote(data + end, size - end) == 0 &&
|
1407
|
+
!is_empty(data + end, size - end))))
|
1408
|
+
break;
|
1409
|
+
|
1410
|
+
if (beg < end) { /* copy into the in-place working buffer */
|
1411
|
+
/* bufput(work, data + beg, end - beg); */
|
1412
|
+
if (!work_data)
|
1413
|
+
work_data = data + beg;
|
1414
|
+
else if (data + beg != work_data + work_size)
|
1415
|
+
memmove(work_data + work_size, data + beg, end - beg);
|
1416
|
+
work_size += end - beg;
|
1417
|
+
}
|
1418
|
+
beg = end;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
parse_block(out, rndr, work_data, work_size);
|
1422
|
+
if (rndr->cb.blockquote)
|
1423
|
+
rndr->cb.blockquote(ob, out, rndr->opaque);
|
1424
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1425
|
+
return end;
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
static size_t
|
1429
|
+
parse_htmlblock(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int do_render);
|
1430
|
+
|
1431
|
+
/* parse_blockquote • handles parsing of a regular paragraph */
|
1432
|
+
static size_t
|
1433
|
+
parse_paragraph(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1434
|
+
{
|
1435
|
+
size_t i = 0, end = 0;
|
1436
|
+
int level = 0;
|
1437
|
+
struct buf work = { data, 0, 0, 0 };
|
1438
|
+
|
1439
|
+
while (i < size) {
|
1440
|
+
for (end = i + 1; end < size && data[end - 1] != '\n'; end++) /* empty */;
|
1441
|
+
|
1442
|
+
if (is_empty(data + i, size - i))
|
1443
|
+
break;
|
1444
|
+
|
1445
|
+
if ((level = is_headerline(data + i, size - i)) != 0)
|
1446
|
+
break;
|
1447
|
+
|
1448
|
+
if (is_atxheader(rndr, data + i, size - i) ||
|
1449
|
+
is_hrule(data + i, size - i) ||
|
1450
|
+
prefix_quote(data + i, size - i)) {
|
1451
|
+
end = i;
|
1452
|
+
break;
|
1453
|
+
}
|
1454
|
+
|
1455
|
+
/*
|
1456
|
+
* Early termination of a paragraph with the same logic
|
1457
|
+
* as Markdown 1.0.0. If this logic is applied, the
|
1458
|
+
* Markdown 1.0.3 test suite won't pass cleanly
|
1459
|
+
*
|
1460
|
+
* :: If the first character in a new line is not a letter,
|
1461
|
+
* let's check to see if there's some kind of block starting
|
1462
|
+
* here
|
1463
|
+
*/
|
1464
|
+
if ((rndr->ext_flags & MKDEXT_LAX_SPACING) && !isalnum(data[i])) {
|
1465
|
+
if (prefix_oli(data + i, size - i) ||
|
1466
|
+
prefix_uli(data + i, size - i)) {
|
1467
|
+
end = i;
|
1468
|
+
break;
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
/* see if an html block starts here */
|
1472
|
+
if (data[i] == '<' && rndr->cb.blockhtml &&
|
1473
|
+
parse_htmlblock(ob, rndr, data + i, size - i, 0)) {
|
1474
|
+
end = i;
|
1475
|
+
break;
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
/* see if a code fence starts here */
|
1479
|
+
if ((rndr->ext_flags & MKDEXT_FENCED_CODE) != 0 &&
|
1480
|
+
is_codefence(data + i, size - i, NULL) != 0) {
|
1481
|
+
end = i;
|
1482
|
+
break;
|
1483
|
+
}
|
1484
|
+
}
|
1485
|
+
|
1486
|
+
i = end;
|
1487
|
+
}
|
1488
|
+
|
1489
|
+
work.size = i;
|
1490
|
+
while (work.size && data[work.size - 1] == '\n')
|
1491
|
+
work.size--;
|
1492
|
+
|
1493
|
+
if (!level) {
|
1494
|
+
struct buf *tmp = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1495
|
+
parse_inline(tmp, rndr, work.data, work.size);
|
1496
|
+
if (rndr->cb.paragraph)
|
1497
|
+
rndr->cb.paragraph(ob, tmp, rndr->opaque);
|
1498
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1499
|
+
} else {
|
1500
|
+
struct buf *header_work;
|
1501
|
+
|
1502
|
+
if (work.size) {
|
1503
|
+
size_t beg;
|
1504
|
+
i = work.size;
|
1505
|
+
work.size -= 1;
|
1506
|
+
|
1507
|
+
while (work.size && data[work.size] != '\n')
|
1508
|
+
work.size -= 1;
|
1509
|
+
|
1510
|
+
beg = work.size + 1;
|
1511
|
+
while (work.size && data[work.size - 1] == '\n')
|
1512
|
+
work.size -= 1;
|
1513
|
+
|
1514
|
+
if (work.size > 0) {
|
1515
|
+
struct buf *tmp = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1516
|
+
parse_inline(tmp, rndr, work.data, work.size);
|
1517
|
+
|
1518
|
+
if (rndr->cb.paragraph)
|
1519
|
+
rndr->cb.paragraph(ob, tmp, rndr->opaque);
|
1520
|
+
|
1521
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1522
|
+
work.data += beg;
|
1523
|
+
work.size = i - beg;
|
1524
|
+
}
|
1525
|
+
else work.size = i;
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
header_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
1529
|
+
parse_inline(header_work, rndr, work.data, work.size);
|
1530
|
+
|
1531
|
+
if (rndr->cb.header)
|
1532
|
+
rndr->cb.header(ob, header_work, (int)level, rndr->opaque);
|
1533
|
+
|
1534
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1535
|
+
}
|
1536
|
+
|
1537
|
+
return end;
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
/* parse_fencedcode • handles parsing of a block-level code fragment */
|
1541
|
+
static size_t
|
1542
|
+
parse_fencedcode(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1543
|
+
{
|
1544
|
+
size_t beg, end;
|
1545
|
+
struct buf *work = 0;
|
1546
|
+
struct buf lang = { 0, 0, 0, 0 };
|
1547
|
+
|
1548
|
+
beg = is_codefence(data, size, &lang);
|
1549
|
+
if (beg == 0) return 0;
|
1550
|
+
|
1551
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1552
|
+
|
1553
|
+
while (beg < size) {
|
1554
|
+
size_t fence_end;
|
1555
|
+
struct buf fence_trail = { 0, 0, 0, 0 };
|
1556
|
+
|
1557
|
+
fence_end = is_codefence(data + beg, size - beg, &fence_trail);
|
1558
|
+
if (fence_end != 0 && fence_trail.size == 0) {
|
1559
|
+
beg += fence_end;
|
1560
|
+
break;
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
for (end = beg + 1; end < size && data[end - 1] != '\n'; end++);
|
1564
|
+
|
1565
|
+
if (beg < end) {
|
1566
|
+
/* verbatim copy to the working buffer,
|
1567
|
+
escaping entities */
|
1568
|
+
if (is_empty(data + beg, end - beg))
|
1569
|
+
bufputc(work, '\n');
|
1570
|
+
else bufput(work, data + beg, end - beg);
|
1571
|
+
}
|
1572
|
+
beg = end;
|
1573
|
+
}
|
1574
|
+
|
1575
|
+
if (work->size && work->data[work->size - 1] != '\n')
|
1576
|
+
bufputc(work, '\n');
|
1577
|
+
|
1578
|
+
if (rndr->cb.blockcode)
|
1579
|
+
rndr->cb.blockcode(ob, work, lang.size ? &lang : NULL, rndr->opaque);
|
1580
|
+
|
1581
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1582
|
+
return beg;
|
1583
|
+
}
|
1584
|
+
|
1585
|
+
static size_t
|
1586
|
+
parse_blockcode(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1587
|
+
{
|
1588
|
+
size_t beg, end, pre;
|
1589
|
+
struct buf *work = 0;
|
1590
|
+
|
1591
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1592
|
+
|
1593
|
+
beg = 0;
|
1594
|
+
while (beg < size) {
|
1595
|
+
for (end = beg + 1; end < size && data[end - 1] != '\n'; end++) {};
|
1596
|
+
pre = prefix_code(data + beg, end - beg);
|
1597
|
+
|
1598
|
+
if (pre)
|
1599
|
+
beg += pre; /* skipping prefix */
|
1600
|
+
else if (!is_empty(data + beg, end - beg))
|
1601
|
+
/* non-empty non-prefixed line breaks the pre */
|
1602
|
+
break;
|
1603
|
+
|
1604
|
+
if (beg < end) {
|
1605
|
+
/* verbatim copy to the working buffer,
|
1606
|
+
escaping entities */
|
1607
|
+
if (is_empty(data + beg, end - beg))
|
1608
|
+
bufputc(work, '\n');
|
1609
|
+
else bufput(work, data + beg, end - beg);
|
1610
|
+
}
|
1611
|
+
beg = end;
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
while (work->size && work->data[work->size - 1] == '\n')
|
1615
|
+
work->size -= 1;
|
1616
|
+
|
1617
|
+
bufputc(work, '\n');
|
1618
|
+
|
1619
|
+
if (rndr->cb.blockcode)
|
1620
|
+
rndr->cb.blockcode(ob, work, NULL, rndr->opaque);
|
1621
|
+
|
1622
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1623
|
+
return beg;
|
1624
|
+
}
|
1625
|
+
|
1626
|
+
/* parse_listitem • parsing of a single list item */
|
1627
|
+
/* assuming initial prefix is already removed */
|
1628
|
+
static size_t
|
1629
|
+
parse_listitem(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int *flags)
|
1630
|
+
{
|
1631
|
+
struct buf *work = 0, *inter = 0;
|
1632
|
+
size_t beg = 0, end, pre, sublist = 0, orgpre = 0, i;
|
1633
|
+
int in_empty = 0, has_inside_empty = 0, in_fence = 0;
|
1634
|
+
|
1635
|
+
/* keeping track of the first indentation prefix */
|
1636
|
+
while (orgpre < 3 && orgpre < size && data[orgpre] == ' ')
|
1637
|
+
orgpre++;
|
1638
|
+
|
1639
|
+
beg = prefix_uli(data, size);
|
1640
|
+
if (!beg)
|
1641
|
+
beg = prefix_oli(data, size);
|
1642
|
+
|
1643
|
+
if (!beg)
|
1644
|
+
return 0;
|
1645
|
+
|
1646
|
+
/* skipping to the beginning of the following line */
|
1647
|
+
end = beg;
|
1648
|
+
while (end < size && data[end - 1] != '\n')
|
1649
|
+
end++;
|
1650
|
+
|
1651
|
+
/* getting working buffers */
|
1652
|
+
work = rndr_newbuf(rndr, BUFFER_SPAN);
|
1653
|
+
inter = rndr_newbuf(rndr, BUFFER_SPAN);
|
1654
|
+
|
1655
|
+
/* putting the first line into the working buffer */
|
1656
|
+
bufput(work, data + beg, end - beg);
|
1657
|
+
beg = end;
|
1658
|
+
|
1659
|
+
/* process the following lines */
|
1660
|
+
while (beg < size) {
|
1661
|
+
size_t has_next_uli = 0, has_next_oli = 0;
|
1662
|
+
|
1663
|
+
end++;
|
1664
|
+
|
1665
|
+
while (end < size && data[end - 1] != '\n')
|
1666
|
+
end++;
|
1667
|
+
|
1668
|
+
/* process an empty line */
|
1669
|
+
if (is_empty(data + beg, end - beg)) {
|
1670
|
+
in_empty = 1;
|
1671
|
+
beg = end;
|
1672
|
+
continue;
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
/* calculating the indentation */
|
1676
|
+
i = 0;
|
1677
|
+
while (i < 4 && beg + i < end && data[beg + i] == ' ')
|
1678
|
+
i++;
|
1679
|
+
|
1680
|
+
pre = i;
|
1681
|
+
|
1682
|
+
if (rndr->ext_flags & MKDEXT_FENCED_CODE) {
|
1683
|
+
if (is_codefence(data + beg + i, end - beg - i, NULL) != 0)
|
1684
|
+
in_fence = !in_fence;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
/* Only check for new list items if we are **not** inside
|
1688
|
+
* a fenced code block */
|
1689
|
+
if (!in_fence) {
|
1690
|
+
has_next_uli = prefix_uli(data + beg + i, end - beg - i);
|
1691
|
+
has_next_oli = prefix_oli(data + beg + i, end - beg - i);
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
/* checking for ul/ol switch */
|
1695
|
+
if (in_empty && (
|
1696
|
+
((*flags & MKD_LIST_ORDERED) && has_next_uli) ||
|
1697
|
+
(!(*flags & MKD_LIST_ORDERED) && has_next_oli))){
|
1698
|
+
*flags |= MKD_LI_END;
|
1699
|
+
break; /* the following item must have same list type */
|
1700
|
+
}
|
1701
|
+
|
1702
|
+
/* checking for a new item */
|
1703
|
+
if ((has_next_uli && !is_hrule(data + beg + i, end - beg - i)) || has_next_oli) {
|
1704
|
+
if (in_empty)
|
1705
|
+
has_inside_empty = 1;
|
1706
|
+
|
1707
|
+
if (pre == orgpre) /* the following item must have */
|
1708
|
+
break; /* the same indentation */
|
1709
|
+
|
1710
|
+
if (!sublist)
|
1711
|
+
sublist = work->size;
|
1712
|
+
}
|
1713
|
+
/* joining only indented stuff after empty lines;
|
1714
|
+
* note that now we only require 1 space of indentation
|
1715
|
+
* to continue a list */
|
1716
|
+
else if (in_empty && pre == 0) {
|
1717
|
+
*flags |= MKD_LI_END;
|
1718
|
+
break;
|
1719
|
+
}
|
1720
|
+
else if (in_empty) {
|
1721
|
+
bufputc(work, '\n');
|
1722
|
+
has_inside_empty = 1;
|
1723
|
+
}
|
1724
|
+
|
1725
|
+
in_empty = 0;
|
1726
|
+
|
1727
|
+
/* adding the line without prefix into the working buffer */
|
1728
|
+
bufput(work, data + beg + i, end - beg - i);
|
1729
|
+
beg = end;
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
/* render of li contents */
|
1733
|
+
if (has_inside_empty)
|
1734
|
+
*flags |= MKD_LI_BLOCK;
|
1735
|
+
|
1736
|
+
if (*flags & MKD_LI_BLOCK) {
|
1737
|
+
/* intermediate render of block li */
|
1738
|
+
if (sublist && sublist < work->size) {
|
1739
|
+
parse_block(inter, rndr, work->data, sublist);
|
1740
|
+
parse_block(inter, rndr, work->data + sublist, work->size - sublist);
|
1741
|
+
}
|
1742
|
+
else
|
1743
|
+
parse_block(inter, rndr, work->data, work->size);
|
1744
|
+
} else {
|
1745
|
+
/* intermediate render of inline li */
|
1746
|
+
if (sublist && sublist < work->size) {
|
1747
|
+
parse_inline(inter, rndr, work->data, sublist);
|
1748
|
+
parse_block(inter, rndr, work->data + sublist, work->size - sublist);
|
1749
|
+
}
|
1750
|
+
else
|
1751
|
+
parse_inline(inter, rndr, work->data, work->size);
|
1752
|
+
}
|
1753
|
+
|
1754
|
+
/* render of li itself */
|
1755
|
+
if (rndr->cb.listitem)
|
1756
|
+
rndr->cb.listitem(ob, inter, *flags, rndr->opaque);
|
1757
|
+
|
1758
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1759
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1760
|
+
return beg;
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
|
1764
|
+
/* parse_list • parsing ordered or unordered list block */
|
1765
|
+
static size_t
|
1766
|
+
parse_list(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int flags)
|
1767
|
+
{
|
1768
|
+
struct buf *work = 0;
|
1769
|
+
size_t i = 0, j;
|
1770
|
+
|
1771
|
+
work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
1772
|
+
|
1773
|
+
while (i < size) {
|
1774
|
+
j = parse_listitem(work, rndr, data + i, size - i, &flags);
|
1775
|
+
i += j;
|
1776
|
+
|
1777
|
+
if (!j || (flags & MKD_LI_END))
|
1778
|
+
break;
|
1779
|
+
}
|
1780
|
+
|
1781
|
+
if (rndr->cb.list)
|
1782
|
+
rndr->cb.list(ob, work, flags, rndr->opaque);
|
1783
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
1784
|
+
return i;
|
1785
|
+
}
|
1786
|
+
|
1787
|
+
/* parse_atxheader • parsing of atx-style headers */
|
1788
|
+
static size_t
|
1789
|
+
parse_atxheader(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
1790
|
+
{
|
1791
|
+
size_t level = 0;
|
1792
|
+
size_t i, end, skip;
|
1793
|
+
|
1794
|
+
while (level < size && level < 6 && data[level] == '#')
|
1795
|
+
level++;
|
1796
|
+
|
1797
|
+
for (i = level; i < size && data[i] == ' '; i++);
|
1798
|
+
|
1799
|
+
for (end = i; end < size && data[end] != '\n'; end++);
|
1800
|
+
skip = end;
|
1801
|
+
|
1802
|
+
while (end && data[end - 1] == '#')
|
1803
|
+
end--;
|
1804
|
+
|
1805
|
+
while (end && data[end - 1] == ' ')
|
1806
|
+
end--;
|
1807
|
+
|
1808
|
+
if (end > i) {
|
1809
|
+
struct buf *work = rndr_newbuf(rndr, BUFFER_SPAN);
|
1810
|
+
|
1811
|
+
parse_inline(work, rndr, data + i, end - i);
|
1812
|
+
|
1813
|
+
if (rndr->cb.header)
|
1814
|
+
rndr->cb.header(ob, work, (int)level, rndr->opaque);
|
1815
|
+
|
1816
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
1817
|
+
}
|
1818
|
+
|
1819
|
+
return skip;
|
1820
|
+
}
|
1821
|
+
|
1822
|
+
|
1823
|
+
/* htmlblock_end • checking end of HTML block : </tag>[ \t]*\n[ \t*]\n */
|
1824
|
+
/* returns the length on match, 0 otherwise */
|
1825
|
+
static size_t
|
1826
|
+
htmlblock_end_tag(
|
1827
|
+
const char *tag,
|
1828
|
+
size_t tag_len,
|
1829
|
+
struct sd_markdown *rndr,
|
1830
|
+
uint8_t *data,
|
1831
|
+
size_t size)
|
1832
|
+
{
|
1833
|
+
size_t i, w;
|
1834
|
+
|
1835
|
+
/* checking if tag is a match */
|
1836
|
+
if (tag_len + 3 >= size ||
|
1837
|
+
strncasecmp((char *)data + 2, tag, tag_len) != 0 ||
|
1838
|
+
data[tag_len + 2] != '>')
|
1839
|
+
return 0;
|
1840
|
+
|
1841
|
+
/* checking white lines */
|
1842
|
+
i = tag_len + 3;
|
1843
|
+
w = 0;
|
1844
|
+
if (i < size && (w = is_empty(data + i, size - i)) == 0)
|
1845
|
+
return 0; /* non-blank after tag */
|
1846
|
+
i += w;
|
1847
|
+
w = 0;
|
1848
|
+
|
1849
|
+
if (i < size)
|
1850
|
+
w = is_empty(data + i, size - i);
|
1851
|
+
|
1852
|
+
return i + w;
|
1853
|
+
}
|
1854
|
+
|
1855
|
+
static size_t
|
1856
|
+
htmlblock_end(const char *curtag,
|
1857
|
+
struct sd_markdown *rndr,
|
1858
|
+
uint8_t *data,
|
1859
|
+
size_t size,
|
1860
|
+
int start_of_line)
|
1861
|
+
{
|
1862
|
+
size_t tag_size = strlen(curtag);
|
1863
|
+
size_t i = 1, end_tag;
|
1864
|
+
int block_lines = 0;
|
1865
|
+
|
1866
|
+
while (i < size) {
|
1867
|
+
i++;
|
1868
|
+
while (i < size && !(data[i - 1] == '<' && data[i] == '/')) {
|
1869
|
+
if (data[i] == '\n')
|
1870
|
+
block_lines++;
|
1871
|
+
|
1872
|
+
i++;
|
1873
|
+
}
|
1874
|
+
|
1875
|
+
/* If we are only looking for unindented tags, skip the tag
|
1876
|
+
* if it doesn't follow a newline.
|
1877
|
+
*
|
1878
|
+
* The only exception to this is if the tag is still on the
|
1879
|
+
* initial line; in that case it still counts as a closing
|
1880
|
+
* tag
|
1881
|
+
*/
|
1882
|
+
if (start_of_line && block_lines > 0 && data[i - 2] != '\n')
|
1883
|
+
continue;
|
1884
|
+
|
1885
|
+
if (i + 2 + tag_size >= size)
|
1886
|
+
break;
|
1887
|
+
|
1888
|
+
end_tag = htmlblock_end_tag(curtag, tag_size, rndr, data + i - 1, size - i + 1);
|
1889
|
+
if (end_tag)
|
1890
|
+
return i + end_tag - 1;
|
1891
|
+
}
|
1892
|
+
|
1893
|
+
return 0;
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
|
1897
|
+
/* parse_htmlblock • parsing of inline HTML block */
|
1898
|
+
static size_t
|
1899
|
+
parse_htmlblock(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size, int do_render)
|
1900
|
+
{
|
1901
|
+
size_t i, j = 0, tag_end;
|
1902
|
+
const char *curtag = NULL;
|
1903
|
+
struct buf work = { data, 0, 0, 0 };
|
1904
|
+
|
1905
|
+
/* identification of the opening tag */
|
1906
|
+
if (size < 2 || data[0] != '<')
|
1907
|
+
return 0;
|
1908
|
+
|
1909
|
+
i = 1;
|
1910
|
+
while (i < size && data[i] != '>' && data[i] != ' ')
|
1911
|
+
i++;
|
1912
|
+
|
1913
|
+
if (i < size)
|
1914
|
+
curtag = find_block_tag((char *)data + 1, (int)i - 1);
|
1915
|
+
|
1916
|
+
/* handling of special cases */
|
1917
|
+
if (!curtag) {
|
1918
|
+
|
1919
|
+
/* HTML comment, laxist form */
|
1920
|
+
if (size > 5 && data[1] == '!' && data[2] == '-' && data[3] == '-') {
|
1921
|
+
i = 5;
|
1922
|
+
|
1923
|
+
while (i < size && !(data[i - 2] == '-' && data[i - 1] == '-' && data[i] == '>'))
|
1924
|
+
i++;
|
1925
|
+
|
1926
|
+
i++;
|
1927
|
+
|
1928
|
+
if (i < size)
|
1929
|
+
j = is_empty(data + i, size - i);
|
1930
|
+
|
1931
|
+
if (j) {
|
1932
|
+
work.size = i + j;
|
1933
|
+
if (do_render && rndr->cb.blockhtml)
|
1934
|
+
rndr->cb.blockhtml(ob, &work, rndr->opaque);
|
1935
|
+
return work.size;
|
1936
|
+
}
|
1937
|
+
}
|
1938
|
+
|
1939
|
+
/* HR, which is the only self-closing block tag considered */
|
1940
|
+
if (size > 4 && (data[1] == 'h' || data[1] == 'H') && (data[2] == 'r' || data[2] == 'R')) {
|
1941
|
+
i = 3;
|
1942
|
+
while (i < size && data[i] != '>')
|
1943
|
+
i++;
|
1944
|
+
|
1945
|
+
if (i + 1 < size) {
|
1946
|
+
i++;
|
1947
|
+
j = is_empty(data + i, size - i);
|
1948
|
+
if (j) {
|
1949
|
+
work.size = i + j;
|
1950
|
+
if (do_render && rndr->cb.blockhtml)
|
1951
|
+
rndr->cb.blockhtml(ob, &work, rndr->opaque);
|
1952
|
+
return work.size;
|
1953
|
+
}
|
1954
|
+
}
|
1955
|
+
}
|
1956
|
+
|
1957
|
+
/* no special case recognised */
|
1958
|
+
return 0;
|
1959
|
+
}
|
1960
|
+
|
1961
|
+
/* looking for an unindented matching closing tag */
|
1962
|
+
/* followed by a blank line */
|
1963
|
+
tag_end = htmlblock_end(curtag, rndr, data, size, 1);
|
1964
|
+
|
1965
|
+
/* if not found, trying a second pass looking for indented match */
|
1966
|
+
/* but not if tag is "ins" or "del" (following original Markdown.pl) */
|
1967
|
+
if (!tag_end && strcmp(curtag, "ins") != 0 && strcmp(curtag, "del") != 0) {
|
1968
|
+
tag_end = htmlblock_end(curtag, rndr, data, size, 0);
|
1969
|
+
}
|
1970
|
+
|
1971
|
+
if (!tag_end)
|
1972
|
+
return 0;
|
1973
|
+
|
1974
|
+
/* the end of the block has been found */
|
1975
|
+
work.size = tag_end;
|
1976
|
+
if (do_render && rndr->cb.blockhtml)
|
1977
|
+
rndr->cb.blockhtml(ob, &work, rndr->opaque);
|
1978
|
+
|
1979
|
+
return tag_end;
|
1980
|
+
}
|
1981
|
+
|
1982
|
+
static void
|
1983
|
+
parse_table_row(
|
1984
|
+
struct buf *ob,
|
1985
|
+
struct sd_markdown *rndr,
|
1986
|
+
uint8_t *data,
|
1987
|
+
size_t size,
|
1988
|
+
size_t columns,
|
1989
|
+
int *col_data,
|
1990
|
+
int header_flag)
|
1991
|
+
{
|
1992
|
+
size_t i = 0, col;
|
1993
|
+
struct buf *row_work = 0;
|
1994
|
+
|
1995
|
+
if (!rndr->cb.table_cell || !rndr->cb.table_row)
|
1996
|
+
return;
|
1997
|
+
|
1998
|
+
row_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
1999
|
+
|
2000
|
+
if (i < size && data[i] == '|')
|
2001
|
+
i++;
|
2002
|
+
|
2003
|
+
for (col = 0; col < columns && i < size; ++col) {
|
2004
|
+
size_t cell_start, cell_end;
|
2005
|
+
struct buf *cell_work;
|
2006
|
+
|
2007
|
+
cell_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2008
|
+
|
2009
|
+
while (i < size && _isspace(data[i]))
|
2010
|
+
i++;
|
2011
|
+
|
2012
|
+
cell_start = i;
|
2013
|
+
|
2014
|
+
while (i < size && data[i] != '|')
|
2015
|
+
i++;
|
2016
|
+
|
2017
|
+
cell_end = i - 1;
|
2018
|
+
|
2019
|
+
while (cell_end > cell_start && _isspace(data[cell_end]))
|
2020
|
+
cell_end--;
|
2021
|
+
|
2022
|
+
parse_inline(cell_work, rndr, data + cell_start, 1 + cell_end - cell_start);
|
2023
|
+
rndr->cb.table_cell(row_work, cell_work, col_data[col] | header_flag, rndr->opaque);
|
2024
|
+
|
2025
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2026
|
+
i++;
|
2027
|
+
}
|
2028
|
+
|
2029
|
+
for (; col < columns; ++col) {
|
2030
|
+
struct buf empty_cell = { 0, 0, 0, 0 };
|
2031
|
+
rndr->cb.table_cell(row_work, &empty_cell, col_data[col] | header_flag, rndr->opaque);
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
rndr->cb.table_row(ob, row_work, rndr->opaque);
|
2035
|
+
|
2036
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2037
|
+
}
|
2038
|
+
|
2039
|
+
static size_t
|
2040
|
+
parse_table_header(
|
2041
|
+
struct buf *ob,
|
2042
|
+
struct sd_markdown *rndr,
|
2043
|
+
uint8_t *data,
|
2044
|
+
size_t size,
|
2045
|
+
size_t *columns,
|
2046
|
+
int **column_data)
|
2047
|
+
{
|
2048
|
+
int pipes;
|
2049
|
+
size_t i = 0, col, header_end, under_end;
|
2050
|
+
|
2051
|
+
pipes = 0;
|
2052
|
+
while (i < size && data[i] != '\n')
|
2053
|
+
if (data[i++] == '|')
|
2054
|
+
pipes++;
|
2055
|
+
|
2056
|
+
if (i == size || pipes == 0)
|
2057
|
+
return 0;
|
2058
|
+
|
2059
|
+
header_end = i;
|
2060
|
+
|
2061
|
+
while (header_end > 0 && _isspace(data[header_end - 1]))
|
2062
|
+
header_end--;
|
2063
|
+
|
2064
|
+
if (data[0] == '|')
|
2065
|
+
pipes--;
|
2066
|
+
|
2067
|
+
if (header_end && data[header_end - 1] == '|')
|
2068
|
+
pipes--;
|
2069
|
+
|
2070
|
+
*columns = pipes + 1;
|
2071
|
+
*column_data = calloc(*columns, sizeof(int));
|
2072
|
+
|
2073
|
+
/* Parse the header underline */
|
2074
|
+
i++;
|
2075
|
+
if (i < size && data[i] == '|')
|
2076
|
+
i++;
|
2077
|
+
|
2078
|
+
under_end = i;
|
2079
|
+
while (under_end < size && data[under_end] != '\n')
|
2080
|
+
under_end++;
|
2081
|
+
|
2082
|
+
for (col = 0; col < *columns && i < under_end; ++col) {
|
2083
|
+
size_t dashes = 0;
|
2084
|
+
|
2085
|
+
while (i < under_end && data[i] == ' ')
|
2086
|
+
i++;
|
2087
|
+
|
2088
|
+
if (data[i] == ':') {
|
2089
|
+
i++; (*column_data)[col] |= MKD_TABLE_ALIGN_L;
|
2090
|
+
dashes++;
|
2091
|
+
}
|
2092
|
+
|
2093
|
+
while (i < under_end && data[i] == '-') {
|
2094
|
+
i++; dashes++;
|
2095
|
+
}
|
2096
|
+
|
2097
|
+
if (i < under_end && data[i] == ':') {
|
2098
|
+
i++; (*column_data)[col] |= MKD_TABLE_ALIGN_R;
|
2099
|
+
dashes++;
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
while (i < under_end && data[i] == ' ')
|
2103
|
+
i++;
|
2104
|
+
|
2105
|
+
if (i < under_end && data[i] != '|')
|
2106
|
+
break;
|
2107
|
+
|
2108
|
+
if (dashes < 3)
|
2109
|
+
break;
|
2110
|
+
|
2111
|
+
i++;
|
2112
|
+
}
|
2113
|
+
|
2114
|
+
if (col < *columns)
|
2115
|
+
return 0;
|
2116
|
+
|
2117
|
+
parse_table_row(
|
2118
|
+
ob, rndr, data,
|
2119
|
+
header_end,
|
2120
|
+
*columns,
|
2121
|
+
*column_data,
|
2122
|
+
MKD_TABLE_HEADER
|
2123
|
+
);
|
2124
|
+
|
2125
|
+
return under_end + 1;
|
2126
|
+
}
|
2127
|
+
|
2128
|
+
static size_t
|
2129
|
+
parse_table(
|
2130
|
+
struct buf *ob,
|
2131
|
+
struct sd_markdown *rndr,
|
2132
|
+
uint8_t *data,
|
2133
|
+
size_t size)
|
2134
|
+
{
|
2135
|
+
size_t i;
|
2136
|
+
|
2137
|
+
struct buf *header_work = 0;
|
2138
|
+
struct buf *body_work = 0;
|
2139
|
+
|
2140
|
+
size_t columns;
|
2141
|
+
int *col_data = NULL;
|
2142
|
+
|
2143
|
+
header_work = rndr_newbuf(rndr, BUFFER_SPAN);
|
2144
|
+
body_work = rndr_newbuf(rndr, BUFFER_BLOCK);
|
2145
|
+
|
2146
|
+
i = parse_table_header(header_work, rndr, data, size, &columns, &col_data);
|
2147
|
+
if (i > 0) {
|
2148
|
+
|
2149
|
+
while (i < size) {
|
2150
|
+
size_t row_start;
|
2151
|
+
int pipes = 0;
|
2152
|
+
|
2153
|
+
row_start = i;
|
2154
|
+
|
2155
|
+
while (i < size && data[i] != '\n')
|
2156
|
+
if (data[i++] == '|')
|
2157
|
+
pipes++;
|
2158
|
+
|
2159
|
+
if (pipes == 0 || i == size) {
|
2160
|
+
i = row_start;
|
2161
|
+
break;
|
2162
|
+
}
|
2163
|
+
|
2164
|
+
parse_table_row(
|
2165
|
+
body_work,
|
2166
|
+
rndr,
|
2167
|
+
data + row_start,
|
2168
|
+
i - row_start,
|
2169
|
+
columns,
|
2170
|
+
col_data, 0
|
2171
|
+
);
|
2172
|
+
|
2173
|
+
i++;
|
2174
|
+
}
|
2175
|
+
|
2176
|
+
if (rndr->cb.table)
|
2177
|
+
rndr->cb.table(ob, header_work, body_work, rndr->opaque);
|
2178
|
+
}
|
2179
|
+
|
2180
|
+
free(col_data);
|
2181
|
+
rndr_popbuf(rndr, BUFFER_SPAN);
|
2182
|
+
rndr_popbuf(rndr, BUFFER_BLOCK);
|
2183
|
+
return i;
|
2184
|
+
}
|
2185
|
+
|
2186
|
+
/* parse_block • parsing of one block, returning next uint8_t to parse */
|
2187
|
+
static void
|
2188
|
+
parse_block(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
|
2189
|
+
{
|
2190
|
+
size_t beg, end, i;
|
2191
|
+
uint8_t *txt_data;
|
2192
|
+
beg = 0;
|
2193
|
+
|
2194
|
+
if (rndr->work_bufs[BUFFER_SPAN].size +
|
2195
|
+
rndr->work_bufs[BUFFER_BLOCK].size > rndr->max_nesting)
|
2196
|
+
return;
|
2197
|
+
|
2198
|
+
while (beg < size) {
|
2199
|
+
txt_data = data + beg;
|
2200
|
+
end = size - beg;
|
2201
|
+
|
2202
|
+
if (is_atxheader(rndr, txt_data, end))
|
2203
|
+
beg += parse_atxheader(ob, rndr, txt_data, end);
|
2204
|
+
|
2205
|
+
else if (data[beg] == '<' && rndr->cb.blockhtml &&
|
2206
|
+
(i = parse_htmlblock(ob, rndr, txt_data, end, 1)) != 0)
|
2207
|
+
beg += i;
|
2208
|
+
|
2209
|
+
else if ((i = is_empty(txt_data, end)) != 0)
|
2210
|
+
beg += i;
|
2211
|
+
|
2212
|
+
else if (is_hrule(txt_data, end)) {
|
2213
|
+
if (rndr->cb.hrule)
|
2214
|
+
rndr->cb.hrule(ob, rndr->opaque);
|
2215
|
+
|
2216
|
+
while (beg < size && data[beg] != '\n')
|
2217
|
+
beg++;
|
2218
|
+
|
2219
|
+
beg++;
|
2220
|
+
}
|
2221
|
+
|
2222
|
+
else if ((rndr->ext_flags & MKDEXT_FENCED_CODE) != 0 &&
|
2223
|
+
(i = parse_fencedcode(ob, rndr, txt_data, end)) != 0)
|
2224
|
+
beg += i;
|
2225
|
+
|
2226
|
+
else if ((rndr->ext_flags & MKDEXT_TABLES) != 0 &&
|
2227
|
+
(i = parse_table(ob, rndr, txt_data, end)) != 0)
|
2228
|
+
beg += i;
|
2229
|
+
|
2230
|
+
else if (prefix_quote(txt_data, end))
|
2231
|
+
beg += parse_blockquote(ob, rndr, txt_data, end);
|
2232
|
+
|
2233
|
+
else if (prefix_code(txt_data, end))
|
2234
|
+
beg += parse_blockcode(ob, rndr, txt_data, end);
|
2235
|
+
|
2236
|
+
else if (prefix_uli(txt_data, end))
|
2237
|
+
beg += parse_list(ob, rndr, txt_data, end, 0);
|
2238
|
+
|
2239
|
+
else if (prefix_oli(txt_data, end))
|
2240
|
+
beg += parse_list(ob, rndr, txt_data, end, MKD_LIST_ORDERED);
|
2241
|
+
|
2242
|
+
else
|
2243
|
+
beg += parse_paragraph(ob, rndr, txt_data, end);
|
2244
|
+
}
|
2245
|
+
}
|
2246
|
+
|
2247
|
+
|
2248
|
+
|
2249
|
+
/*********************
|
2250
|
+
* REFERENCE PARSING *
|
2251
|
+
*********************/
|
2252
|
+
|
2253
|
+
/* is_ref • returns whether a line is a reference or not */
|
2254
|
+
static int
|
2255
|
+
is_ref(const uint8_t *data, size_t beg, size_t end, size_t *last, struct link_ref **refs)
|
2256
|
+
{
|
2257
|
+
/* int n; */
|
2258
|
+
size_t i = 0;
|
2259
|
+
size_t id_offset, id_end;
|
2260
|
+
size_t link_offset, link_end;
|
2261
|
+
size_t title_offset, title_end;
|
2262
|
+
size_t line_end;
|
2263
|
+
|
2264
|
+
/* up to 3 optional leading spaces */
|
2265
|
+
if (beg + 3 >= end) return 0;
|
2266
|
+
if (data[beg] == ' ') { i = 1;
|
2267
|
+
if (data[beg + 1] == ' ') { i = 2;
|
2268
|
+
if (data[beg + 2] == ' ') { i = 3;
|
2269
|
+
if (data[beg + 3] == ' ') return 0; } } }
|
2270
|
+
i += beg;
|
2271
|
+
|
2272
|
+
/* id part: anything but a newline between brackets */
|
2273
|
+
if (data[i] != '[') return 0;
|
2274
|
+
i++;
|
2275
|
+
id_offset = i;
|
2276
|
+
while (i < end && data[i] != '\n' && data[i] != '\r' && data[i] != ']')
|
2277
|
+
i++;
|
2278
|
+
if (i >= end || data[i] != ']') return 0;
|
2279
|
+
id_end = i;
|
2280
|
+
|
2281
|
+
/* spacer: colon (space | tab)* newline? (space | tab)* */
|
2282
|
+
i++;
|
2283
|
+
if (i >= end || data[i] != ':') return 0;
|
2284
|
+
i++;
|
2285
|
+
while (i < end && data[i] == ' ') i++;
|
2286
|
+
if (i < end && (data[i] == '\n' || data[i] == '\r')) {
|
2287
|
+
i++;
|
2288
|
+
if (i < end && data[i] == '\r' && data[i - 1] == '\n') i++; }
|
2289
|
+
while (i < end && data[i] == ' ') i++;
|
2290
|
+
if (i >= end) return 0;
|
2291
|
+
|
2292
|
+
/* link: whitespace-free sequence, optionally between angle brackets */
|
2293
|
+
if (data[i] == '<')
|
2294
|
+
i++;
|
2295
|
+
|
2296
|
+
link_offset = i;
|
2297
|
+
|
2298
|
+
while (i < end && data[i] != ' ' && data[i] != '\n' && data[i] != '\r')
|
2299
|
+
i++;
|
2300
|
+
|
2301
|
+
if (data[i - 1] == '>') link_end = i - 1;
|
2302
|
+
else link_end = i;
|
2303
|
+
|
2304
|
+
/* optional spacer: (space | tab)* (newline | '\'' | '"' | '(' ) */
|
2305
|
+
while (i < end && data[i] == ' ') i++;
|
2306
|
+
if (i < end && data[i] != '\n' && data[i] != '\r'
|
2307
|
+
&& data[i] != '\'' && data[i] != '"' && data[i] != '(')
|
2308
|
+
return 0;
|
2309
|
+
line_end = 0;
|
2310
|
+
/* computing end-of-line */
|
2311
|
+
if (i >= end || data[i] == '\r' || data[i] == '\n') line_end = i;
|
2312
|
+
if (i + 1 < end && data[i] == '\n' && data[i + 1] == '\r')
|
2313
|
+
line_end = i + 1;
|
2314
|
+
|
2315
|
+
/* optional (space|tab)* spacer after a newline */
|
2316
|
+
if (line_end) {
|
2317
|
+
i = line_end + 1;
|
2318
|
+
while (i < end && data[i] == ' ') i++; }
|
2319
|
+
|
2320
|
+
/* optional title: any non-newline sequence enclosed in '"()
|
2321
|
+
alone on its line */
|
2322
|
+
title_offset = title_end = 0;
|
2323
|
+
if (i + 1 < end
|
2324
|
+
&& (data[i] == '\'' || data[i] == '"' || data[i] == '(')) {
|
2325
|
+
i++;
|
2326
|
+
title_offset = i;
|
2327
|
+
/* looking for EOL */
|
2328
|
+
while (i < end && data[i] != '\n' && data[i] != '\r') i++;
|
2329
|
+
if (i + 1 < end && data[i] == '\n' && data[i + 1] == '\r')
|
2330
|
+
title_end = i + 1;
|
2331
|
+
else title_end = i;
|
2332
|
+
/* stepping back */
|
2333
|
+
i -= 1;
|
2334
|
+
while (i > title_offset && data[i] == ' ')
|
2335
|
+
i -= 1;
|
2336
|
+
if (i > title_offset
|
2337
|
+
&& (data[i] == '\'' || data[i] == '"' || data[i] == ')')) {
|
2338
|
+
line_end = title_end;
|
2339
|
+
title_end = i; } }
|
2340
|
+
|
2341
|
+
if (!line_end || link_end == link_offset)
|
2342
|
+
return 0; /* garbage after the link empty link */
|
2343
|
+
|
2344
|
+
/* a valid ref has been found, filling-in return structures */
|
2345
|
+
if (last)
|
2346
|
+
*last = line_end;
|
2347
|
+
|
2348
|
+
if (refs) {
|
2349
|
+
struct link_ref *ref;
|
2350
|
+
|
2351
|
+
ref = add_link_ref(refs, data + id_offset, id_end - id_offset);
|
2352
|
+
if (!ref)
|
2353
|
+
return 0;
|
2354
|
+
|
2355
|
+
ref->link = bufnew(link_end - link_offset);
|
2356
|
+
bufput(ref->link, data + link_offset, link_end - link_offset);
|
2357
|
+
|
2358
|
+
if (title_end > title_offset) {
|
2359
|
+
ref->title = bufnew(title_end - title_offset);
|
2360
|
+
bufput(ref->title, data + title_offset, title_end - title_offset);
|
2361
|
+
}
|
2362
|
+
}
|
2363
|
+
|
2364
|
+
return 1;
|
2365
|
+
}
|
2366
|
+
|
2367
|
+
static void expand_tabs(struct buf *ob, const uint8_t *line, size_t size)
|
2368
|
+
{
|
2369
|
+
size_t i = 0, tab = 0;
|
2370
|
+
|
2371
|
+
while (i < size) {
|
2372
|
+
size_t org = i;
|
2373
|
+
|
2374
|
+
while (i < size && line[i] != '\t') {
|
2375
|
+
i++; tab++;
|
2376
|
+
}
|
2377
|
+
|
2378
|
+
if (i > org)
|
2379
|
+
bufput(ob, line + org, i - org);
|
2380
|
+
|
2381
|
+
if (i >= size)
|
2382
|
+
break;
|
2383
|
+
|
2384
|
+
do {
|
2385
|
+
bufputc(ob, ' '); tab++;
|
2386
|
+
} while (tab % 4);
|
2387
|
+
|
2388
|
+
i++;
|
2389
|
+
}
|
2390
|
+
}
|
2391
|
+
|
2392
|
+
/**********************
|
2393
|
+
* EXPORTED FUNCTIONS *
|
2394
|
+
**********************/
|
2395
|
+
|
2396
|
+
struct sd_markdown *
|
2397
|
+
sd_markdown_new(
|
2398
|
+
unsigned int extensions,
|
2399
|
+
size_t max_nesting,
|
2400
|
+
const struct sd_callbacks *callbacks,
|
2401
|
+
void *opaque)
|
2402
|
+
{
|
2403
|
+
struct sd_markdown *md = NULL;
|
2404
|
+
|
2405
|
+
assert(max_nesting > 0 && callbacks);
|
2406
|
+
|
2407
|
+
md = malloc(sizeof(struct sd_markdown));
|
2408
|
+
if (!md)
|
2409
|
+
return NULL;
|
2410
|
+
|
2411
|
+
memcpy(&md->cb, callbacks, sizeof(struct sd_callbacks));
|
2412
|
+
|
2413
|
+
stack_init(&md->work_bufs[BUFFER_BLOCK], 4);
|
2414
|
+
stack_init(&md->work_bufs[BUFFER_SPAN], 8);
|
2415
|
+
|
2416
|
+
memset(md->active_char, 0x0, 256);
|
2417
|
+
|
2418
|
+
if (md->cb.emphasis || md->cb.double_emphasis || md->cb.triple_emphasis) {
|
2419
|
+
md->active_char['*'] = MD_CHAR_EMPHASIS;
|
2420
|
+
md->active_char['_'] = MD_CHAR_EMPHASIS;
|
2421
|
+
if (extensions & MKDEXT_STRIKETHROUGH)
|
2422
|
+
md->active_char['~'] = MD_CHAR_EMPHASIS;
|
2423
|
+
}
|
2424
|
+
|
2425
|
+
if (md->cb.codespan)
|
2426
|
+
md->active_char['`'] = MD_CHAR_CODESPAN;
|
2427
|
+
|
2428
|
+
if (md->cb.linebreak)
|
2429
|
+
md->active_char['\n'] = MD_CHAR_LINEBREAK;
|
2430
|
+
|
2431
|
+
if (md->cb.image || md->cb.link)
|
2432
|
+
md->active_char['['] = MD_CHAR_LINK;
|
2433
|
+
|
2434
|
+
md->active_char['<'] = MD_CHAR_LANGLE;
|
2435
|
+
md->active_char['\\'] = MD_CHAR_ESCAPE;
|
2436
|
+
md->active_char['&'] = MD_CHAR_ENTITITY;
|
2437
|
+
|
2438
|
+
if (extensions & MKDEXT_AUTOLINK) {
|
2439
|
+
md->active_char[':'] = MD_CHAR_AUTOLINK_URL;
|
2440
|
+
md->active_char['@'] = MD_CHAR_AUTOLINK_EMAIL;
|
2441
|
+
md->active_char['w'] = MD_CHAR_AUTOLINK_WWW;
|
2442
|
+
}
|
2443
|
+
|
2444
|
+
if (extensions & MKDEXT_SUPERSCRIPT)
|
2445
|
+
md->active_char['^'] = MD_CHAR_SUPERSCRIPT;
|
2446
|
+
|
2447
|
+
/* Extension data */
|
2448
|
+
md->ext_flags = extensions;
|
2449
|
+
md->opaque = opaque;
|
2450
|
+
md->max_nesting = max_nesting;
|
2451
|
+
md->in_link_body = 0;
|
2452
|
+
|
2453
|
+
return md;
|
2454
|
+
}
|
2455
|
+
|
2456
|
+
void
|
2457
|
+
sd_markdown_render(struct buf *ob, const uint8_t *document, size_t doc_size, struct sd_markdown *md)
|
2458
|
+
{
|
2459
|
+
#define MARKDOWN_GROW(x) ((x) + ((x) >> 1))
|
2460
|
+
static const char UTF8_BOM[] = {0xEF, 0xBB, 0xBF};
|
2461
|
+
|
2462
|
+
struct buf *text;
|
2463
|
+
size_t beg, end;
|
2464
|
+
|
2465
|
+
text = bufnew(64);
|
2466
|
+
if (!text)
|
2467
|
+
return;
|
2468
|
+
|
2469
|
+
/* Preallocate enough space for our buffer to avoid expanding while copying */
|
2470
|
+
bufgrow(text, doc_size);
|
2471
|
+
|
2472
|
+
/* reset the references table */
|
2473
|
+
memset(&md->refs, 0x0, REF_TABLE_SIZE * sizeof(void *));
|
2474
|
+
|
2475
|
+
/* first pass: looking for references, copying everything else */
|
2476
|
+
beg = 0;
|
2477
|
+
|
2478
|
+
/* Skip a possible UTF-8 BOM, even though the Unicode standard
|
2479
|
+
* discourages having these in UTF-8 documents */
|
2480
|
+
if (doc_size >= 3 && memcmp(document, UTF8_BOM, 3) == 0)
|
2481
|
+
beg += 3;
|
2482
|
+
|
2483
|
+
while (beg < doc_size) /* iterating over lines */
|
2484
|
+
if (is_ref(document, beg, doc_size, &end, md->refs))
|
2485
|
+
beg = end;
|
2486
|
+
else { /* skipping to the next line */
|
2487
|
+
end = beg;
|
2488
|
+
while (end < doc_size && document[end] != '\n' && document[end] != '\r')
|
2489
|
+
end++;
|
2490
|
+
|
2491
|
+
/* adding the line body if present */
|
2492
|
+
if (end > beg)
|
2493
|
+
expand_tabs(text, document + beg, end - beg);
|
2494
|
+
|
2495
|
+
while (end < doc_size && (document[end] == '\n' || document[end] == '\r')) {
|
2496
|
+
/* add one \n per newline */
|
2497
|
+
if (document[end] == '\n' || (end + 1 < doc_size && document[end + 1] != '\n'))
|
2498
|
+
bufputc(text, '\n');
|
2499
|
+
end++;
|
2500
|
+
}
|
2501
|
+
|
2502
|
+
beg = end;
|
2503
|
+
}
|
2504
|
+
|
2505
|
+
/* pre-grow the output buffer to minimize allocations */
|
2506
|
+
bufgrow(ob, MARKDOWN_GROW(text->size));
|
2507
|
+
|
2508
|
+
/* second pass: actual rendering */
|
2509
|
+
if (md->cb.doc_header)
|
2510
|
+
md->cb.doc_header(ob, md->opaque);
|
2511
|
+
|
2512
|
+
if (text->size) {
|
2513
|
+
/* adding a final newline if not already present */
|
2514
|
+
if (text->data[text->size - 1] != '\n' && text->data[text->size - 1] != '\r')
|
2515
|
+
bufputc(text, '\n');
|
2516
|
+
|
2517
|
+
parse_block(ob, md, text->data, text->size);
|
2518
|
+
}
|
2519
|
+
|
2520
|
+
if (md->cb.doc_footer)
|
2521
|
+
md->cb.doc_footer(ob, md->opaque);
|
2522
|
+
|
2523
|
+
/* clean-up */
|
2524
|
+
bufrelease(text);
|
2525
|
+
free_link_refs(md->refs);
|
2526
|
+
|
2527
|
+
assert(md->work_bufs[BUFFER_SPAN].size == 0);
|
2528
|
+
assert(md->work_bufs[BUFFER_BLOCK].size == 0);
|
2529
|
+
}
|
2530
|
+
|
2531
|
+
void
|
2532
|
+
sd_markdown_free(struct sd_markdown *md)
|
2533
|
+
{
|
2534
|
+
size_t i;
|
2535
|
+
|
2536
|
+
for (i = 0; i < (size_t)md->work_bufs[BUFFER_SPAN].asize; ++i)
|
2537
|
+
bufrelease(md->work_bufs[BUFFER_SPAN].item[i]);
|
2538
|
+
|
2539
|
+
for (i = 0; i < (size_t)md->work_bufs[BUFFER_BLOCK].asize; ++i)
|
2540
|
+
bufrelease(md->work_bufs[BUFFER_BLOCK].item[i]);
|
2541
|
+
|
2542
|
+
stack_free(&md->work_bufs[BUFFER_SPAN]);
|
2543
|
+
stack_free(&md->work_bufs[BUFFER_BLOCK]);
|
2544
|
+
|
2545
|
+
free(md);
|
2546
|
+
}
|
2547
|
+
|
2548
|
+
void
|
2549
|
+
sd_version(int *ver_major, int *ver_minor, int *ver_revision)
|
2550
|
+
{
|
2551
|
+
*ver_major = SUNDOWN_VER_MAJOR;
|
2552
|
+
*ver_minor = SUNDOWN_VER_MINOR;
|
2553
|
+
*ver_revision = SUNDOWN_VER_REVISION;
|
2554
|
+
}
|
2555
|
+
|
2556
|
+
/* vim: set filetype=c: */
|