pract6 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gem/credentials +2 -0
- data/.gem/ruby/2.3.0/bin/bundle +22 -0
- data/.gem/ruby/2.3.0/bin/bundler +22 -0
- data/.gem/ruby/2.3.0/bin/rackup +22 -0
- data/.gem/ruby/2.3.0/cache/activesupport-5.1.4.gem +0 -0
- data/.gem/ruby/2.3.0/cache/bundler-1.15.4.gem +0 -0
- data/.gem/ruby/2.3.0/cache/bundler-1.16.0.pre.3.gem +0 -0
- data/.gem/ruby/2.3.0/cache/coderay-1.1.2.gem +0 -0
- data/.gem/ruby/2.3.0/cache/concurrent-ruby-1.0.5.gem +0 -0
- data/.gem/ruby/2.3.0/cache/ffi-1.9.18.gem +0 -0
- data/.gem/ruby/2.3.0/cache/i18n-0.8.6.gem +0 -0
- data/.gem/ruby/2.3.0/cache/mini_portile2-2.3.0.gem +0 -0
- data/.gem/ruby/2.3.0/cache/nokogiri-1.8.1.gem +0 -0
- data/.gem/ruby/2.3.0/cache/rack-2.0.3.gem +0 -0
- data/.gem/ruby/2.3.0/cache/rack-test-0.7.0.gem +0 -0
- data/.gem/ruby/2.3.0/cache/rainbow-2.2.2.gem +0 -0
- data/.gem/ruby/2.3.0/cache/rdoc-5.1.0.gem +0 -0
- data/.gem/ruby/2.3.0/cache/rspec-support-3.7.0.gem +0 -0
- data/.gem/ruby/2.3.0/cache/thread_safe-0.3.6.gem +0 -0
- data/.gem/ruby/2.3.0/cache/tzinfo-1.2.3.gem +0 -0
- data/.gem/ruby/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.8.1/gem_make.out +5 -0
- data/.gem/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem_make.out +8 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/CHANGELOG.md +749 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/MIT-LICENSE +20 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/README.rdoc +39 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support.rb +103 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/all.rb +3 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/array_inquirer.rb +46 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/backtrace_cleaner.rb +103 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/benchmarkable.rb +49 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/builder.rb +6 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache.rb +694 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/file_store.rb +195 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/mem_cache_store.rb +197 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/memory_store.rb +167 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/null_store.rb +41 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache.rb +163 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb +43 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb +856 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concern.rb +142 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb +225 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/configurable.rb +148 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext.rb +3 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array.rb +7 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/access.rb +90 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/conversions.rb +211 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/grouping.rb +107 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/inquiry.rb +17 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/wrap.rb +46 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/benchmark.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/big_decimal/conversions.rb +12 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class.rb +2 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/attribute.rb +128 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/subclasses.rb +55 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date.rb +5 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/blank.rb +12 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/calculations.rb +143 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/conversions.rb +95 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/zones.rb +6 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_and_time/calculations.rb +340 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_and_time/compatibility.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_and_time/zones.rb +39 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time.rb +5 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/blank.rb +12 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/calculations.rb +209 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/compatibility.rb +16 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/conversions.rb +105 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/digest/uuid.rb +51 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/enumerable.rb +157 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/file.rb +1 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/file/atomic.rb +68 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash.rb +9 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/compact.rb +27 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/conversions.rb +261 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/except.rb +22 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/indifferent_access.rb +22 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/keys.rb +170 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/transform_values.rb +30 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer.rb +3 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer/inflections.rb +29 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer/time.rb +29 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel.rb +4 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/concern.rb +12 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/reporting.rb +43 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/load_error.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/marshal.rb +22 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module.rb +11 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/aliasing.rb +29 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/anonymous.rb +28 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/attr_internal.rb +36 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/attribute_accessors.rb +218 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +148 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/concerning.rb +135 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/delegation.rb +285 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/deprecation.rb +23 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/introspection.rb +60 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/remove_method.rb +35 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/name_error.rb +31 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric.rb +4 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/bytes.rb +64 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/conversions.rb +138 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/inquiry.rb +26 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/time.rb +74 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/blank.rb +145 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/deep_dup.rb +53 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/duplicable.rb +154 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/inclusion.rb +27 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/instance_variables.rb +28 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/json.rb +219 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/to_param.rb +1 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/to_query.rb +84 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/try.rb +146 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/with_options.rb +80 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range.rb +4 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/conversions.rb +31 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/each.rb +21 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/include_range.rb +23 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/regexp.rb +9 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/securerandom.rb +23 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string.rb +13 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/access.rb +104 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/conversions.rb +57 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/filters.rb +102 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/indent.rb +43 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/inflections.rb +240 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/multibyte.rb +53 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/output_safety.rb +259 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/strip.rb +23 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/zones.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time.rb +5 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/calculations.rb +307 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/compatibility.rb +14 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/conversions.rb +70 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/zones.rb +111 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/uri.rb +24 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb +753 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/autoload.rb +77 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb +55 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation.rb +44 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/behaviors.rb +90 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/constant_accessor.rb +50 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/instance_delegator.rb +37 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/method_wrappers.rb +70 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/proxy_wrappers.rb +151 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/reporting.rb +112 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/descendants_tracker.rb +60 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/duration.rb +420 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/duration/iso8601_parser.rb +123 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/duration/iso8601_serializer.rb +53 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/evented_file_update_checker.rb +203 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb +126 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/executor.rb +6 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/file_update_checker.rb +161 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/gem_version.rb +15 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/gzip.rb +36 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/hash_with_indifferent_access.rb +341 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/i18n.rb +13 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/i18n_railtie.rb +116 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflections.rb +70 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector.rb +7 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector/inflections.rb +244 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector/methods.rb +391 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector/transliterate.rb +109 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/json.rb +2 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/json/decoding.rb +74 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/json/encoding.rb +128 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/key_generator.rb +71 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb +76 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/locale/en.yml +135 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/log_subscriber.rb +111 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/log_subscriber/test_helper.rb +104 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/logger.rb +106 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/logger_silence.rb +28 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/logger_thread_safe_level.rb +31 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/message_encryptor.rb +156 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/message_verifier.rb +134 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte.rb +21 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte/chars.rb +233 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte/unicode.rb +392 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb +214 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications/fanout.rb +157 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb +91 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper.rb +369 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_converter.rb +182 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_currency_converter.rb +44 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_delimited_converter.rb +27 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_human_size_converter.rb +57 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_phone_converter.rb +56 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_rounded_converter.rb +72 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/rounding_helper.rb +64 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/option_merger.rb +25 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/ordered_hash.rb +48 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/ordered_options.rb +83 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/per_thread_registry.rb +58 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/proxy_object.rb +13 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/rails.rb +33 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/railtie.rb +51 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/reloader.rb +129 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/rescuable.rb +173 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/security_utils.rb +27 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/string_inquirer.rb +32 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/subscriber.rb +124 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb +77 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/test_case.rb +71 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/assertions.rb +197 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/autorun.rb +5 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/constant_lookup.rb +49 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/declarative.rb +26 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/deprecation.rb +37 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/file_fixtures.rb +34 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/isolation.rb +106 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/method_call_assertions.rb +41 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/setup_and_teardown.rb +50 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/stream.rb +42 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/tagged_logging.rb +25 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/time_helpers.rb +170 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/time.rb +18 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/time_with_zone.rb +513 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/values/time_zone.rb +550 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/values/unicode_tables.dat +0 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/version.rb +8 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini.rb +207 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/jdom.rb +181 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/libxml.rb +78 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/libxmlsax.rb +81 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/nokogiri.rb +81 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/nokogirisax.rb +84 -0
- data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/rexml.rb +128 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/CHANGELOG.md +2833 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/LICENSE.md +23 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/README.md +59 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/exe/bundle +31 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/exe/bundle_ruby +60 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/exe/bundler +4 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb +543 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/build_metadata.rb +38 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/capistrano.rb +22 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli.rb +746 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/add.rb +25 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/binstubs.rb +43 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/cache.rb +36 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/check.rb +38 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/clean.rb +25 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/common.rb +102 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/config.rb +119 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/console.rb +43 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/doctor.rb +94 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/exec.rb +105 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/gem.rb +249 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/info.rb +50 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/init.rb +46 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/inject.rb +60 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/install.rb +214 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/issue.rb +40 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/list.rb +22 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/lock.rb +63 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/open.rb +26 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/outdated.rb +260 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/package.rb +49 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/platform.rb +46 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/plugin.rb +24 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/pristine.rb +43 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/show.rb +75 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/update.rb +89 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/viz.rb +31 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compact_index_client.rb +109 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compact_index_client/cache.rb +120 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compact_index_client/updater.rb +107 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compatibility_guard.rb +14 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/constants.rb +7 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/current_ruby.rb +86 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/definition.rb +985 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/dep_proxy.rb +48 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/dependency.rb +138 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/deployment.rb +69 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/deprecate.rb +33 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/dsl.rb +599 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/endpoint_specification.rb +141 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/env.rb +153 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/environment_preserver.rb +59 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/errors.rb +158 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/feature_flag.rb +67 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher.rb +312 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/base.rb +52 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/compact_index.rb +126 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/dependency.rb +82 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/downloader.rb +79 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/index.rb +52 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/friendly_errors.rb +127 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_helper.rb +202 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_helpers.rb +101 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_remote_fetcher.rb +43 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_tasks.rb +7 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_version_promoter.rb +176 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gemdeps.rb +29 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/graph.rb +152 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/index.rb +213 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/injector.rb +94 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/inline.rb +74 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer.rb +281 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer/gem_installer.rb +78 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer/parallel_installer.rb +228 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer/standalone.rb +53 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/lazy_specification.rb +123 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/lockfile_generator.rb +95 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/lockfile_parser.rb +256 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/match_platform.rb +24 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/mirror.rb +223 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin.rb +285 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/api.rb +81 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/api/source.rb +307 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/dsl.rb +53 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/index.rb +157 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/installer.rb +96 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/installer/git.rb +38 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/installer/rubygems.rb +27 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/source_list.rb +27 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/process_lock.rb +24 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/psyched_yaml.rb +28 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/remote_specification.rb +114 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/resolver.rb +367 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/resolver/spec_group.rb +111 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/retry.rb +66 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ruby_dsl.rb +18 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ruby_version.rb +152 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/rubygems_ext.rb +210 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/rubygems_gem_installer.rb +99 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/rubygems_integration.rb +891 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb +318 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/settings.rb +442 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/settings/validator.rb +79 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/setup.rb +28 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/shared_helpers.rb +351 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/similarity_detector.rb +63 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source.rb +94 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/gemspec.rb +18 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/git.rb +329 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/git/git_proxy.rb +256 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/metadata.rb +63 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/path.rb +249 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/path/installer.rb +74 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/rubygems.rb +532 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/rubygems/remote.rb +66 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source_list.rb +186 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/spec_set.rb +189 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/.document +1 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/certificate_manager.rb +66 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +21 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +23 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +25 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/stub_specification.rb +108 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Executable +21 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Executable.bundler +105 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Executable.standalone +14 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Gemfile +7 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/gems.rb +8 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/.travis.yml.tt +5 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +74 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/Gemfile.tt +6 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/LICENSE.txt.tt +21 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/README.md.tt +47 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/Rakefile.tt +29 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/bin/console.tt +14 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/bin/setup.tt +8 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/exe/newgem.tt +3 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +3 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/gitignore.tt +20 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/lib/newgem.rb.tt +12 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +7 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/newgem.gemspec.tt +49 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/rspec.tt +3 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +9 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +14 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/test/newgem_test.rb.tt +11 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/test/test_helper.rb.tt +4 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui.rb +9 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui/rg_proxy.rb +19 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui/shell.rb +144 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui/silent.rb +69 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/uri_credentials_filter.rb +37 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo.rb +12 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +81 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +223 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +126 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +138 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +101 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +837 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +58 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +27 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1233 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +129 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor.rb +509 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions.rb +321 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +104 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +60 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +118 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +364 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +109 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/base.rb +679 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/command.rb +135 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +12 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +129 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/error.rb +32 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/group.rb +281 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/invocation.rb +177 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +70 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +175 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/option.rb +146 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/options.rb +221 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +71 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/runner.rb +324 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +437 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell/color.rb +149 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell/html.rb +126 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/util.rb +268 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_fileutils.rb +9 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_molinillo.rb +4 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_persistent.rb +52 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_thor.rb +8 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/version.rb +28 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/version_ranges.rb +76 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vlad.rb +17 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/worker.rb +106 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/yaml_serializer.rb +90 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-add.1 +43 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-add.1.txt +40 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-add.ronn +29 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-binstubs.1 +40 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-binstubs.1.txt +48 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-binstubs.ronn +43 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-check.1 +31 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-check.1.txt +32 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-check.ronn +26 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-clean.1 +24 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-clean.1.txt +26 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-clean.ronn +18 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-config.1 +455 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-config.1.txt +491 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-config.ronn +372 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-exec.1 +165 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-exec.1.txt +178 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-exec.ronn +152 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-gem.1 +80 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-gem.1.txt +91 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-gem.ronn +78 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-info.1 +20 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-info.1.txt +21 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-info.ronn +17 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-init.1 +20 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-init.1.txt +24 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-init.ronn +18 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-inject.1 +33 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-inject.1.txt +32 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-inject.ronn +22 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-install.1 +305 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-install.1.txt +385 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-install.ronn +369 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-list.1 +20 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-list.1.txt +21 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-list.ronn +15 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-lock.1 +84 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-lock.1.txt +93 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-lock.ronn +94 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-open.1 +32 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-open.1.txt +29 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-open.ronn +19 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-outdated.1 +151 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-outdated.1.txt +127 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-outdated.ronn +107 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-package.1 +55 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-package.1.txt +79 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-package.ronn +72 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-platform.1 +61 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-platform.1.txt +57 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-platform.ronn +42 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-pristine.1 +34 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-pristine.1.txt +44 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-pristine.ronn +34 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-show.1 +23 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-show.1.txt +25 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-show.ronn +20 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-update.1 +390 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-update.1.txt +386 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-update.ronn +346 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-viz.1 +39 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-viz.1.txt +38 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-viz.ronn +30 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle.1 +132 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle.1.txt +113 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle.ronn +108 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/gemfile.5 +679 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/gemfile.5.ronn +506 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/gemfile.5.txt +636 -0
- data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/index.txt +23 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/CHANGELOG.md +387 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/LICENSE.txt +21 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/README.md +247 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +130 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +587 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +39 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +445 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +222 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +122 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +139 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +51 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +109 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +145 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +53 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +34 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +27 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +220 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +110 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +188 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +8 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +80 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +197 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +26 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +69 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +356 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +185 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +175 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +20 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +138 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +36 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +93 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +208 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +81 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +240 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +229 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +228 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +242 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +42 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +547 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +318 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +128 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +31 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +58 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +34 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +153 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +31 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +34 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +16 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +331 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +86 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +258 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +97 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +56 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +53 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +160 -0
- data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +4 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/MIT-LICENSE +20 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/README.md +84 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-3.2.x +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-4.0.x +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-4.1.x +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-4.2.x +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-5.0.x +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-master +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n.rb +343 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend.rb +18 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/base.rb +230 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/cache.rb +114 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/cascade.rb +54 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/chain.rb +97 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/fallbacks.rb +84 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/flatten.rb +113 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/gettext.rb +81 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/key_value.rb +100 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/memoize.rb +46 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/metadata.rb +69 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/pluralization.rb +53 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/simple.rb +87 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/transliterator.rb +106 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/config.rb +142 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/core_ext/hash.rb +29 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/exceptions.rb +104 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/gettext.rb +26 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/gettext/helpers.rb +73 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/gettext/po_parser.rb +329 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/interpolate/ruby.rb +37 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale.rb +6 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/fallbacks.rb +96 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag.rb +28 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag/parents.rb +22 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag/simple.rb +39 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests.rb +12 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/basics.rb +60 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/defaults.rb +48 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/interpolation.rb +153 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/link.rb +56 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization.rb +19 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/date.rb +95 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/date_time.rb +82 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/procs.rb +116 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/time.rb +81 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/lookup.rb +81 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/pluralization.rb +35 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/procs.rb +55 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/version.rb +3 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/all_features_test.rb +58 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/cascade_test.rb +28 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/chain_test.rb +24 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/fallbacks_test.rb +30 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/key_value_test.rb +24 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/memoize_test.rb +56 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/override_test.rb +42 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/pluralization_test.rb +30 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/simple_test.rb +28 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/cache_test.rb +108 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/cascade_test.rb +86 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/chain_test.rb +91 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/exceptions_test.rb +36 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/fallbacks_test.rb +206 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/interpolation_compiler_test.rb +118 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/key_value_test.rb +43 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/memoize_test.rb +47 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/metadata_test.rb +48 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/pluralization_test.rb +45 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/simple_test.rb +84 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/transliterator_test.rb +84 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/core_ext/hash_test.rb +42 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/gettext/api_test.rb +214 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/gettext/backend_test.rb +92 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/exceptions_test.rb +117 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/gettext_plural_keys_test.rb +20 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/interpolate_test.rb +91 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/load_path_test.rb +34 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n_test.rb +446 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/locale/fallbacks_test.rb +133 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/locale/tag/rfc4646_test.rb +143 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/locale/tag/simple_test.rb +32 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/run_all.rb +20 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/de.po +82 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/en.rb +3 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/en.yml +3 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/invalid/empty.yml +0 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/invalid/syntax.yml +4 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/plurals.rb +113 -0
- data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_helper.rb +55 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/.concourse.yml +83 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/.gitignore +7 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/.travis.yml +15 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/CHANGELOG.md +202 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/Gemfile +4 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/LICENSE.txt +20 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/README.md +245 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/Rakefile +29 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/appveyor.yml +25 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/concourse/mini_portile.yml +160 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/concourse/tasks/rake-test/task.ps1 +13 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/concourse/tasks/rake-test/task.sh +13 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2.rb +3 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb +551 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile_cmake.rb +40 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/version.rb +3 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/mini_portile2.gemspec +42 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/git/config +4 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/gpg-fixtures/data +1 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/gpg-fixtures/data.asc +9 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/gpg-fixtures/data.invalid.asc +9 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/patch 1.diff +7 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test mini portile-1.0.0/configure +11 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test-cmake-1.0/CMakeLists.txt +7 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test-cmake-1.0/hello.c +4 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test-download-archive.tar.gz +1 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/helper.rb +60 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_cmake.rb +64 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_cook.rb +115 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_digest.rb +215 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_download.rb +71 -0
- data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_proxy.rb +121 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.autotest +22 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.cross_rubies +6 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.editorconfig +17 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.gemtest +0 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.travis.yml +63 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/CHANGELOG.md +1280 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/CONTRIBUTING.md +42 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/C_CODING_STYLE.rdoc +33 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Gemfile +23 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Gemfile-libxml-ruby +3 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/LICENSE-DEPENDENCIES.md +1612 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/LICENSE.md +31 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Manifest.txt +362 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/README.md +173 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ROADMAP.md +111 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Rakefile +357 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/STANDARD_RESPONSES.md +47 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Y_U_NO_GEMSPEC.md +155 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/appveyor.yml +24 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/bin/nokogiri +118 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/build_all +44 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/dependencies.yml +69 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/depend +358 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/extconf.rb +675 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_document.c +170 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_document.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_element_description.c +279 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_element_description.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_entity_lookup.c +32 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_entity_lookup.h +8 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/nokogiri.c +141 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/nokogiri.h +121 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attr.c +98 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attr.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_cdata.c +60 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_cdata.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_comment.c +69 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_comment.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document.c +606 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document.h +23 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document_fragment.c +48 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document_fragment.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_dtd.c +202 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_dtd.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_content.c +123 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_content.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_decl.c +69 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_decl.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_decl.c +110 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_decl.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_reference.c +52 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_reference.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_io.c +60 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_io.h +11 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_namespace.c +117 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_namespace.h +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node.c +1682 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node.h +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node_set.c +485 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node_set.h +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_reader.c +668 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_reader.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_relax_ng.c +161 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_relax_ng.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser.c +310 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser.h +39 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_push_parser.c +159 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_schema.c +205 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_schema.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_syntax_error.c +64 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_syntax_error.h +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_text.c +52 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_text.h +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_xpath_context.c +298 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_xpath_context.h +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri.rb +144 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css.rb +27 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/node.rb +52 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/parser.rb +732 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/parser.y +261 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/parser_extras.rb +91 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/syntax_error.rb +7 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/tokenizer.rb +152 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/tokenizer.rex +55 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/xpath_visitor.rb +223 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/decorators/slop.rb +42 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html.rb +37 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/builder.rb +35 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/document.rb +335 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/document_fragment.rb +39 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/element_description.rb +23 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/sax/parser.rb +62 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/sax/push_parser.rb +36 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/syntax_error.rb +4 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/version.rb +109 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml.rb +74 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/attr.rb +14 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/builder.rb +443 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/cdata.rb +11 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/character_data.rb +7 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/document.rb +285 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/document_fragment.rb +149 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/dtd.rb +32 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/element_content.rb +36 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/element_decl.rb +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/namespace.rb +13 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node.rb +834 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb +327 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/notation.rb +6 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/parse_options.rb +120 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/pp.rb +2 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/pp/node.rb +56 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/reader.rb +112 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax.rb +4 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/document.rb +171 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/parser.rb +122 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/schema.rb +63 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/searchable.rb +230 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/syntax_error.rb +70 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/text.rb +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/xpath.rb +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xslt.rb +56 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/patches/sort-patches-by-date +25 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ports/archives/libxml2-2.9.5.tar.gz +0 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ports/archives/libxslt-1.1.30.tar.gz +0 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/suppressions/README.txt +1 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/suppressions/nokogiri_ruby-2.supp +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/tasks/test.rb +100 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_nthiness.rb +226 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_parser.rb +369 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_tokenizer.rb +215 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_xpath_visitor.rb +96 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/decorators/test_slop.rb +23 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/2ch.html +108 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/GH_1042.html +18 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/address_book.rlx +12 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/address_book.xml +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/atom.xml +344 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/bar/bar.xsd +4 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/bogus.xml +0 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/dont_hurt_em_why.xml +422 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/encoding.html +82 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/encoding.xhtml +84 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/exslt.xml +8 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/exslt.xslt +35 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/foo/foo.xsd +4 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/metacharset.html +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/namespace_pressure_test.xml +1684 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/noencoding.html +47 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/po.xml +32 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/po.xsd +66 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/saml20assertion_schema.xsd +283 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/xenc_schema.xsd +146 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/xmldsig_schema.xsd +318 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/shift_jis.html +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/shift_jis.xml +5 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/shift_jis_no_charset.html +9 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/slow-xpath.xml +25509 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/snuggles.xml +3 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/staff.dtd +10 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/staff.xml +59 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/staff.xslt +32 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/test_document_url/bar.xml +2 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/test_document_url/document.dtd +4 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/test_document_url/document.xml +6 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/tlm.html +851 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/to_be_xincluded.xml +2 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/valid_bar.xml +2 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/xinclude.xml +4 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/helper.rb +191 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/sax/test_parser.rb +168 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/sax/test_parser_context.rb +46 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/sax/test_push_parser.rb +87 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_builder.rb +164 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_document.rb +712 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_document_encoding.rb +143 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_document_fragment.rb +304 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_element_description.rb +105 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_named_characters.rb +14 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_node.rb +212 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_node_encoding.rb +85 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_aliased_default.rb +24 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_parsed_doc.rb +80 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_preservation.rb +31 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_convert_xpath.rb +135 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_css_cache.rb +45 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_encoding_handler.rb +48 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_memory_leak.rb +156 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_nokogiri.rb +138 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_soap4r_sax.rb +52 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_xslt_transforms.rb +314 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/node/test_save_options.rb +28 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/node/test_subclass.rb +44 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/sax/test_parser.rb +394 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/sax/test_parser_context.rb +115 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/sax/test_push_parser.rb +205 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_attr.rb +74 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_attribute_decl.rb +86 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_builder.rb +341 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_c14n.rb +180 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_cdata.rb +54 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_comment.rb +40 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_document.rb +982 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_document_encoding.rb +31 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_document_fragment.rb +298 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_dtd.rb +187 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_dtd_encoding.rb +31 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_element_content.rb +56 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_element_decl.rb +73 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_entity_decl.rb +122 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_entity_reference.rb +251 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_namespace.rb +96 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node.rb +1242 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_attributes.rb +115 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_encoding.rb +69 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_inheritance.rb +32 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_reparenting.rb +563 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_set.rb +782 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_parse_options.rb +64 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_processing_instruction.rb +30 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_reader.rb +608 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_reader_encoding.rb +134 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_relax_ng.rb +60 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_schema.rb +142 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_syntax_error.rb +36 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_text.rb +60 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_unparented_node.rb +483 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_xinclude.rb +83 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_xpath.rb +462 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xslt/test_custom_functions.rb +133 -0
- data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xslt/test_exception_handling.rb +37 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/COPYING +18 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/HISTORY.md +505 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/README.rdoc +304 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/Rakefile +116 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/SPEC +263 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/bin/rackup +4 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rack.png +0 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rack.svg +150 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rack_logo.svg +164 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rdoc.css +412 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/example/lobster.ru +4 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/example/protectedlobster.rb +14 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/example/protectedlobster.ru +8 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack.rb +147 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/abstract/handler.rb +37 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/abstract/request.rb +47 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/basic.rb +58 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/md5.rb +129 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/nonce.rb +51 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/params.rb +52 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/request.rb +41 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/body_proxy.rb +44 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb +164 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/cascade.rb +52 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/chunked.rb +69 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/common_logger.rb +72 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/conditional_get.rb +79 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/config.rb +20 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/content_length.rb +37 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/content_type.rb +29 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/deflater.rb +119 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/directory.rb +179 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/etag.rb +74 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/events.rb +154 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/file.rb +176 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler.rb +99 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/cgi.rb +60 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/fastcgi.rb +100 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/lsws.rb +61 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/scgi.rb +70 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/thin.rb +36 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb +120 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/head.rb +25 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lint.rb +760 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lobster.rb +70 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lock.rb +22 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/logger.rb +18 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/media_type.rb +38 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb +46 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/mime.rb +677 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/mock.rb +196 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart.rb +63 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart/generator.rb +93 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart/parser.rb +367 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart/uploaded_file.rb +33 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/null_logger.rb +37 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/query_parser.rb +192 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/recursive.rb +62 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/reloader.rb +110 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/request.rb +487 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/response.rb +235 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/rewindable_input.rb +93 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb +32 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb +158 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb +395 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb +445 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/cookie.rb +195 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/memcache.rb +93 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/pool.rb +76 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/show_exceptions.rb +386 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/show_status.rb +113 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/static.rb +175 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/tempfile_reaper.rb +22 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/urlmap.rb +91 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/utils.rb +620 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/rack.gemspec +35 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/an_underscore_app.rb +5 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/anything.rb +5 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/comment.ru +4 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/end.ru +5 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/line.ru +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/options.ru +2 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/folder/test.js +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/fonts/font.eot +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/images/image.png +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/index.html +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/javascripts/app.js +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/stylesheets/app.css +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/lighttpd.conf +26 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/rackup_stub.rb +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/sample_rackup.ru +5 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test +9 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test+directory/test+file +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test.fcgi +9 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test.gz +0 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test.ru +5 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/gemloader.rb +10 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/helper.rb +34 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/bad_robots +259 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/binary +0 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/content_type_and_no_filename +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/empty +10 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/fail_16384_nofile +814 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/file1.txt +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_and_modification_param +7 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_and_no_name +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_encoded_words +7 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_escaped_quotes +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_null_byte +7 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_single_quote +7 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_percentages +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_quotes +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/ie +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/invalid_character +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/mixed_files +21 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/nested +10 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/none +9 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/quoted +15 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/rack-logo.png +0 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/semicolon +6 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/text +15 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/three_files_three_fields +31 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/unity3d_wwwform +11 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/webkit +32 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/rackup/config.ru +31 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_auth_basic.rb +89 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_auth_digest.rb +260 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_body_proxy.rb +85 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_builder.rb +233 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_cascade.rb +63 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_cgi.rb +84 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_chunked.rb +103 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_common_logger.rb +95 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_conditional_get.rb +103 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_config.rb +23 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_content_length.rb +86 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_content_type.rb +46 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_deflater.rb +375 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_directory.rb +148 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_etag.rb +108 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_events.rb +133 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_fastcgi.rb +85 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_file.rb +264 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_handler.rb +57 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_head.rb +46 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_lint.rb +515 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_lobster.rb +59 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_lock.rb +194 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_logger.rb +24 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_media_type.rb +42 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_method_override.rb +96 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_mime.rb +51 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_mock.rb +359 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_multipart.rb +722 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_null_logger.rb +21 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_recursive.rb +75 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_request.rb +1393 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_response.rb +510 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_rewindable_input.rb +128 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_runtime.rb +50 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_sendfile.rb +125 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_server.rb +193 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_abstract_id.rb +31 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_abstract_session_hash.rb +45 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_cookie.rb +442 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_memcache.rb +320 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_pool.rb +210 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_show_exceptions.rb +80 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_show_status.rb +104 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_static.rb +184 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_tempfile_reaper.rb +64 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_thin.rb +96 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_urlmap.rb +237 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_utils.rb +742 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_version.rb +11 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_webrick.rb +209 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/static/another/index.html +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/static/foo.html +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/static/index.html +1 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/testrequest.rb +78 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/History.md +191 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/MIT-LICENSE.txt +19 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/README.md +110 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/mock_session.rb +66 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test.rb +323 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/cookie_jar.rb +198 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/methods.rb +83 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/mock_digest_request.rb +29 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/uploaded_file.rb +64 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/utils.rb +156 -0
- data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/version.rb +5 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/.gitignore +17 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/.rubocop.yml +14 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/.travis.yml +22 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Changelog.md +87 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Gemfile +23 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Guardfile +9 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/LICENSE +20 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/README.markdown +217 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Rakefile +6 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/ext/Rakefile +1 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +22 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow.rb +24 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +144 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +56 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +21 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +15 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +41 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +135 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +20 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +3 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +22 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +152 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/rainbow.gemspec +26 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +35 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +160 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +84 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/spec_helper.rb +6 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +9 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +301 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +31 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +111 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +201 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +62 -0
- data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +34 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/.rspec +2 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/.travis.yml +46 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/.yardopts +13 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/.yardopts +6 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/CHANGES.md +770 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/LICENSE +19 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/README.md +151 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/Rakefile +107 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo.rb +40 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country.rb +196 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country_index_definition.rb +31 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country_info.rb +42 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country_timezone.rb +123 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb +190 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_timezone.rb +58 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_timezone_info.rb +55 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/info_timezone.rb +30 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/linked_timezone.rb +63 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/offset_rationals.rb +77 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/ruby_core_support.rb +146 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/ruby_country_info.rb +70 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/ruby_data_source.rb +136 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/time_or_datetime.rb +333 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb +669 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_definition.rb +36 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_info.rb +30 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_offset.rb +78 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_period.rb +221 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_proxy.rb +99 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_transition.rb +120 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_transition_definition.rb +101 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/zoneinfo_country_info.rb +35 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/zoneinfo_data_source.rb +487 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/zoneinfo_timezone_info.rb +294 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country.rb +236 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country_index_definition.rb +69 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country_info.rb +16 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country_timezone.rb +161 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_data_source.rb +218 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_data_timezone.rb +99 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_data_timezone_info.rb +18 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_info_timezone.rb +34 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_linked_timezone.rb +155 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_linked_timezone_info.rb +23 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_offset_rationals.rb +23 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_ruby_core_support.rb +168 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_ruby_country_info.rb +80 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_ruby_data_source.rb +143 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_time_or_datetime.rb +639 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone.rb +1350 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_definition.rb +113 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_index_definition.rb +73 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_info.rb +11 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_london.rb +143 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_melbourne.rb +142 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_new_york.rb +142 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_offset.rb +126 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_period.rb +548 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_proxy.rb +127 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_transition.rb +352 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_transition_definition.rb +284 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_utc.rb +27 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_transition_data_timezone_info.rb +423 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_zoneinfo_country_info.rb +64 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_zoneinfo_data_source.rb +1193 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_zoneinfo_timezone_info.rb +1128 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/test_utils.rb +134 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/ts_all.rb +7 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/ts_all_ruby.rb +5 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/ts_all_zoneinfo.rb +7 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/America/New_York +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Australia/Melbourne +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/EST +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Etc/UTC +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Amsterdam +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Andorra +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/London +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Paris +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Prague +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Factory +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/iso3166.tab +275 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/posix/Europe/London +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/posixrules +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/right/Europe/London +0 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/zone.tab +439 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/zone1970.tab +369 -0
- data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/tzinfo.gemspec +21 -0
- data/.gem/ruby/2.3.0/specifications/activesupport-5.1.4.gemspec +43 -0
- data/.gem/ruby/2.3.0/specifications/bundler-1.16.0.pre.3.gemspec +52 -0
- data/.gem/ruby/2.3.0/specifications/concurrent-ruby-1.0.5.gemspec +23 -0
- data/.gem/ruby/2.3.0/specifications/i18n-0.8.6.gemspec +22 -0
- data/.gem/ruby/2.3.0/specifications/mini_portile2-2.3.0.gemspec +48 -0
- data/.gem/ruby/2.3.0/specifications/rack-2.0.3.gemspec +45 -0
- data/.gem/ruby/2.3.0/specifications/rack-test-0.7.0.gemspec +53 -0
- data/.gem/ruby/2.3.0/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/.gem/ruby/2.3.0/specifications/tzinfo-1.2.3.gemspec +37 -0
- data/.gem/specs/api.rubygems.org%443/latest_specs.4.8 +0 -0
- data/.gem/specs/api.rubygems.org%443/prerelease_specs.4.8 +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/activesupport-5.1.4.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/bundle-0.0.1.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/bundler-1.15.4.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/bundler-1.16.0.pre.3.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/coderay-1.1.2.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/concurrent-ruby-1.0.5.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/ffi-1.9.18.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/i18n-0.8.6.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/mini_portile2-2.3.0.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/nokogiri-1.8.1.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/pry-0.11.1.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rack-2.0.3.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rack-test-0.7.0.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rails-5.1.4.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rainbow-2.2.2.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rdoc-5.1.0.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rspec-3.7.0.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rspec-support-3.7.0.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rubocop-0.50.0.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/thread_safe-0.3.6.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/tzinfo-1.2.3.gemspec +0 -0
- data/.gem/specs/api.rubygems.org%443/specs.4.8 +0 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +111 -0
- data/Guardfile +82 -0
- data/README.md +33 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docs/Alimento.html +344 -0
- data/docs/Bebidas.html +103 -0
- data/docs/Carnes.html +103 -0
- data/docs/Frutas.html +103 -0
- data/docs/Grasos.html +103 -0
- data/docs/Hiperglucemicos.html +103 -0
- data/docs/Lacteos.html +103 -0
- data/docs/List.html +377 -0
- data/docs/Object.html +117 -0
- data/docs/Pescados.html +103 -0
- data/docs/Pract6.html +110 -0
- data/docs/Verduras.html +103 -0
- data/docs/created.rid +4 -0
- data/docs/css/fonts.css +167 -0
- data/docs/css/rdoc.css +590 -0
- data/docs/fonts/Lato-Light.ttf +0 -0
- data/docs/fonts/Lato-LightItalic.ttf +0 -0
- data/docs/fonts/Lato-Regular.ttf +0 -0
- data/docs/fonts/Lato-RegularItalic.ttf +0 -0
- data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
- data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
- data/docs/images/add.png +0 -0
- data/docs/images/arrow_up.png +0 -0
- data/docs/images/brick.png +0 -0
- data/docs/images/brick_link.png +0 -0
- data/docs/images/bug.png +0 -0
- data/docs/images/bullet_black.png +0 -0
- data/docs/images/bullet_toggle_minus.png +0 -0
- data/docs/images/bullet_toggle_plus.png +0 -0
- data/docs/images/date.png +0 -0
- data/docs/images/delete.png +0 -0
- data/docs/images/find.png +0 -0
- data/docs/images/loadingAnimation.gif +0 -0
- data/docs/images/macFFBgHack.png +0 -0
- data/docs/images/package.png +0 -0
- data/docs/images/page_green.png +0 -0
- data/docs/images/page_white_text.png +0 -0
- data/docs/images/page_white_width.png +0 -0
- data/docs/images/plugin.png +0 -0
- data/docs/images/ruby.png +0 -0
- data/docs/images/tag_blue.png +0 -0
- data/docs/images/tag_green.png +0 -0
- data/docs/images/transparent.png +0 -0
- data/docs/images/wrench.png +0 -0
- data/docs/images/wrench_orange.png +0 -0
- data/docs/images/zoom.png +0 -0
- data/docs/index.html +103 -0
- data/docs/js/darkfish.js +161 -0
- data/docs/js/jquery.js +4 -0
- data/docs/js/navigation.js +142 -0
- data/docs/js/navigation.js.gz +0 -0
- data/docs/js/search.js +109 -0
- data/docs/js/search_index.js +1 -0
- data/docs/js/search_index.js.gz +0 -0
- data/docs/js/searcher.js +229 -0
- data/docs/js/searcher.js.gz +0 -0
- data/docs/table_of_contents.html +131 -0
- data/lib/pract6.rb +7 -0
- data/lib/pract6/Alimento.rb +185 -0
- data/lib/pract6/List.rb +143 -0
- data/lib/pract6/version.rb +3 -0
- data/pract6.gemspec +39 -0
- metadata +1698 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
#ifndef HAVE_XMLFIRSTELEMENTCHILD
|
2
|
+
|
3
|
+
#ifndef XML_LIBXML2_HACKS
|
4
|
+
#define XML_LIBXML2_HACKS
|
5
|
+
|
6
|
+
xmlNodePtr xmlFirstElementChild(xmlNodePtr parent);
|
7
|
+
xmlNodePtr xmlNextElementSibling(xmlNodePtr node);
|
8
|
+
xmlNodePtr xmlLastElementChild(xmlNodePtr parent);
|
9
|
+
|
10
|
+
#endif
|
11
|
+
|
12
|
+
#endif
|
@@ -0,0 +1,117 @@
|
|
1
|
+
#include <xml_namespace.h>
|
2
|
+
|
3
|
+
VALUE cNokogiriXmlNamespace ;
|
4
|
+
|
5
|
+
static void dealloc_namespace(xmlNsPtr ns)
|
6
|
+
{
|
7
|
+
/*
|
8
|
+
*
|
9
|
+
* this deallocator is only used for namespace nodes that are part of an xpath
|
10
|
+
* node set.
|
11
|
+
*
|
12
|
+
* see Nokogiri_wrap_xml_namespace() for more details.
|
13
|
+
*
|
14
|
+
*/
|
15
|
+
NOKOGIRI_DEBUG_START(ns) ;
|
16
|
+
if (ns->href) {
|
17
|
+
xmlFree((xmlChar *)ns->href);
|
18
|
+
}
|
19
|
+
if (ns->prefix) {
|
20
|
+
xmlFree((xmlChar *)ns->prefix);
|
21
|
+
}
|
22
|
+
xmlFree(ns);
|
23
|
+
NOKOGIRI_DEBUG_END(ns) ;
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
int Nokogiri_namespace_eh(xmlNodePtr node)
|
28
|
+
{
|
29
|
+
return (node->type == XML_NAMESPACE_DECL);
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
/*
|
34
|
+
* call-seq:
|
35
|
+
* prefix
|
36
|
+
*
|
37
|
+
* Get the prefix for this namespace. Returns +nil+ if there is no prefix.
|
38
|
+
*/
|
39
|
+
static VALUE prefix(VALUE self)
|
40
|
+
{
|
41
|
+
xmlNsPtr ns;
|
42
|
+
|
43
|
+
Data_Get_Struct(self, xmlNs, ns);
|
44
|
+
if(!ns->prefix) return Qnil;
|
45
|
+
|
46
|
+
return NOKOGIRI_STR_NEW2(ns->prefix);
|
47
|
+
}
|
48
|
+
|
49
|
+
/*
|
50
|
+
* call-seq:
|
51
|
+
* href
|
52
|
+
*
|
53
|
+
* Get the href for this namespace
|
54
|
+
*/
|
55
|
+
static VALUE href(VALUE self)
|
56
|
+
{
|
57
|
+
xmlNsPtr ns;
|
58
|
+
|
59
|
+
Data_Get_Struct(self, xmlNs, ns);
|
60
|
+
if(!ns->href) return Qnil;
|
61
|
+
|
62
|
+
return NOKOGIRI_STR_NEW2(ns->href);
|
63
|
+
}
|
64
|
+
|
65
|
+
static int part_of_an_xpath_node_set_eh(xmlNsPtr node)
|
66
|
+
{
|
67
|
+
return (node->next && ! Nokogiri_namespace_eh(node->next));
|
68
|
+
}
|
69
|
+
|
70
|
+
VALUE Nokogiri_wrap_xml_namespace(xmlDocPtr doc, xmlNsPtr node)
|
71
|
+
{
|
72
|
+
VALUE ns, document, node_cache;
|
73
|
+
|
74
|
+
assert(doc->type == XML_DOCUMENT_NODE || doc->type == XML_HTML_DOCUMENT_NODE);
|
75
|
+
|
76
|
+
if (node->_private) return (VALUE)node->_private;
|
77
|
+
|
78
|
+
if (doc->type == XML_DOCUMENT_FRAG_NODE) doc = doc->doc;
|
79
|
+
|
80
|
+
ns = Data_Wrap_Struct(cNokogiriXmlNamespace, 0, 0, node);
|
81
|
+
|
82
|
+
if (DOC_RUBY_OBJECT_TEST(doc)) {
|
83
|
+
document = DOC_RUBY_OBJECT(doc);
|
84
|
+
|
85
|
+
if (part_of_an_xpath_node_set_eh(node)) {
|
86
|
+
/*
|
87
|
+
* this is a duplicate returned as part of an xpath query node set, and so
|
88
|
+
* we need to make sure we manage this memory.
|
89
|
+
*
|
90
|
+
* see comments in xml_node_set.c for more details.
|
91
|
+
*/
|
92
|
+
ns = Data_Wrap_Struct(cNokogiriXmlNamespace, 0, dealloc_namespace, node);
|
93
|
+
} else {
|
94
|
+
ns = Data_Wrap_Struct(cNokogiriXmlNamespace, 0, 0, node);
|
95
|
+
node_cache = rb_iv_get(document, "@node_cache");
|
96
|
+
rb_ary_push(node_cache, ns);
|
97
|
+
}
|
98
|
+
|
99
|
+
rb_iv_set(ns, "@document", document);
|
100
|
+
}
|
101
|
+
|
102
|
+
node->_private = (void *)ns;
|
103
|
+
|
104
|
+
return ns;
|
105
|
+
}
|
106
|
+
|
107
|
+
void init_xml_namespace()
|
108
|
+
{
|
109
|
+
VALUE nokogiri = rb_define_module("Nokogiri");
|
110
|
+
VALUE xml = rb_define_module_under(nokogiri, "XML");
|
111
|
+
VALUE klass = rb_define_class_under(xml, "Namespace", rb_cObject);
|
112
|
+
|
113
|
+
cNokogiriXmlNamespace = klass;
|
114
|
+
|
115
|
+
rb_define_method(klass, "prefix", prefix, 0);
|
116
|
+
rb_define_method(klass, "href", href, 0);
|
117
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#ifndef NOKOGIRI_XML_NAMESPACE
|
2
|
+
#define NOKOGIRI_XML_NAMESPACE
|
3
|
+
|
4
|
+
#include <nokogiri.h>
|
5
|
+
|
6
|
+
void init_xml_namespace();
|
7
|
+
|
8
|
+
extern VALUE cNokogiriXmlNamespace ;
|
9
|
+
|
10
|
+
VALUE Nokogiri_wrap_xml_namespace(xmlDocPtr doc, xmlNsPtr node) ;
|
11
|
+
VALUE Nokogiri_wrap_xml_namespace2(VALUE document, xmlNsPtr node) ;
|
12
|
+
|
13
|
+
#endif
|
@@ -0,0 +1,1682 @@
|
|
1
|
+
#include <xml_node.h>
|
2
|
+
|
3
|
+
static ID decorate, decorate_bang;
|
4
|
+
|
5
|
+
#ifdef DEBUG
|
6
|
+
static void debug_node_dealloc(xmlNodePtr x)
|
7
|
+
{
|
8
|
+
NOKOGIRI_DEBUG_START(x)
|
9
|
+
NOKOGIRI_DEBUG_END(x)
|
10
|
+
}
|
11
|
+
#else
|
12
|
+
# define debug_node_dealloc 0
|
13
|
+
#endif
|
14
|
+
|
15
|
+
static void mark(xmlNodePtr node)
|
16
|
+
{
|
17
|
+
xmlDocPtr doc = node->doc;
|
18
|
+
if(doc->type == XML_DOCUMENT_NODE || doc->type == XML_HTML_DOCUMENT_NODE) {
|
19
|
+
if(DOC_RUBY_OBJECT_TEST(doc)) {
|
20
|
+
rb_gc_mark(DOC_RUBY_OBJECT(doc));
|
21
|
+
}
|
22
|
+
} else if(node->doc->_private) {
|
23
|
+
rb_gc_mark((VALUE)doc->_private);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
/* :nodoc: */
|
28
|
+
typedef xmlNodePtr (*pivot_reparentee_func)(xmlNodePtr, xmlNodePtr);
|
29
|
+
|
30
|
+
/* :nodoc: */
|
31
|
+
static void relink_namespace(xmlNodePtr reparented)
|
32
|
+
{
|
33
|
+
xmlChar *name, *prefix;
|
34
|
+
xmlNodePtr child;
|
35
|
+
xmlNsPtr ns;
|
36
|
+
|
37
|
+
if (reparented->type != XML_ATTRIBUTE_NODE &&
|
38
|
+
reparented->type != XML_ELEMENT_NODE) { return; }
|
39
|
+
|
40
|
+
if (reparented->ns == NULL || reparented->ns->prefix == NULL) {
|
41
|
+
name = xmlSplitQName2(reparented->name, &prefix);
|
42
|
+
|
43
|
+
if(reparented->type == XML_ATTRIBUTE_NODE) {
|
44
|
+
if (prefix == NULL || strcmp((char*)prefix, XMLNS_PREFIX) == 0) { return; }
|
45
|
+
}
|
46
|
+
|
47
|
+
ns = xmlSearchNs(reparented->doc, reparented, prefix);
|
48
|
+
|
49
|
+
if (ns == NULL && reparented->parent) {
|
50
|
+
ns = xmlSearchNs(reparented->doc, reparented->parent, prefix);
|
51
|
+
}
|
52
|
+
|
53
|
+
if (ns != NULL) {
|
54
|
+
xmlNodeSetName(reparented, name);
|
55
|
+
xmlSetNs(reparented, ns);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Avoid segv when relinking against unlinked nodes. */
|
60
|
+
if (reparented->type != XML_ELEMENT_NODE || !reparented->parent) { return; }
|
61
|
+
|
62
|
+
/* Make sure that our reparented node has the correct namespaces */
|
63
|
+
if (!reparented->ns && reparented->doc != (xmlDocPtr)reparented->parent) {
|
64
|
+
xmlSetNs(reparented, reparented->parent->ns);
|
65
|
+
}
|
66
|
+
|
67
|
+
/* Search our parents for an existing definition */
|
68
|
+
if (reparented->nsDef) {
|
69
|
+
xmlNsPtr curr = reparented->nsDef;
|
70
|
+
xmlNsPtr prev = NULL;
|
71
|
+
|
72
|
+
while (curr) {
|
73
|
+
xmlNsPtr ns = xmlSearchNsByHref(
|
74
|
+
reparented->doc,
|
75
|
+
reparented->parent,
|
76
|
+
curr->href
|
77
|
+
);
|
78
|
+
/* If we find the namespace is already declared, remove it from this
|
79
|
+
* definition list. */
|
80
|
+
if (ns && ns != curr && xmlStrEqual(ns->prefix, curr->prefix)) {
|
81
|
+
if (prev) {
|
82
|
+
prev->next = curr->next;
|
83
|
+
} else {
|
84
|
+
reparented->nsDef = curr->next;
|
85
|
+
}
|
86
|
+
nokogiri_root_nsdef(curr, reparented->doc);
|
87
|
+
} else {
|
88
|
+
prev = curr;
|
89
|
+
}
|
90
|
+
curr = curr->next;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
/* Only walk all children if there actually is a namespace we need to */
|
95
|
+
/* reparent. */
|
96
|
+
if (NULL == reparented->ns) { return; }
|
97
|
+
|
98
|
+
/* When a node gets reparented, walk it's children to make sure that */
|
99
|
+
/* their namespaces are reparented as well. */
|
100
|
+
child = reparented->children;
|
101
|
+
while (NULL != child) {
|
102
|
+
relink_namespace(child);
|
103
|
+
child = child->next;
|
104
|
+
}
|
105
|
+
|
106
|
+
if (reparented->type == XML_ELEMENT_NODE) {
|
107
|
+
child = (xmlNodePtr)((xmlElementPtr)reparented)->attributes;
|
108
|
+
while(NULL != child) {
|
109
|
+
relink_namespace(child);
|
110
|
+
child = child->next;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
/* :nodoc: */
|
116
|
+
static xmlNodePtr xmlReplaceNodeWrapper(xmlNodePtr pivot, xmlNodePtr new_node)
|
117
|
+
{
|
118
|
+
xmlNodePtr retval ;
|
119
|
+
|
120
|
+
retval = xmlReplaceNode(pivot, new_node) ;
|
121
|
+
|
122
|
+
if (retval == pivot) {
|
123
|
+
retval = new_node ; /* return semantics for reparent_node_with */
|
124
|
+
}
|
125
|
+
|
126
|
+
/* work around libxml2 issue: https://bugzilla.gnome.org/show_bug.cgi?id=615612 */
|
127
|
+
if (retval && retval->type == XML_TEXT_NODE) {
|
128
|
+
if (retval->prev && retval->prev->type == XML_TEXT_NODE) {
|
129
|
+
retval = xmlTextMerge(retval->prev, retval);
|
130
|
+
}
|
131
|
+
if (retval->next && retval->next->type == XML_TEXT_NODE) {
|
132
|
+
retval = xmlTextMerge(retval, retval->next);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
return retval ;
|
137
|
+
}
|
138
|
+
|
139
|
+
/* :nodoc: */
|
140
|
+
static VALUE reparent_node_with(VALUE pivot_obj, VALUE reparentee_obj, pivot_reparentee_func prf)
|
141
|
+
{
|
142
|
+
VALUE reparented_obj ;
|
143
|
+
xmlNodePtr reparentee, pivot, reparented, next_text, new_next_text, parent ;
|
144
|
+
int original_ns_prefix_is_default = 0 ;
|
145
|
+
|
146
|
+
if(!rb_obj_is_kind_of(reparentee_obj, cNokogiriXmlNode))
|
147
|
+
rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node");
|
148
|
+
if(rb_obj_is_kind_of(reparentee_obj, cNokogiriXmlDocument))
|
149
|
+
rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node");
|
150
|
+
|
151
|
+
Data_Get_Struct(reparentee_obj, xmlNode, reparentee);
|
152
|
+
Data_Get_Struct(pivot_obj, xmlNode, pivot);
|
153
|
+
|
154
|
+
/*
|
155
|
+
* Check if nodes given are appropriate to have a parent-child
|
156
|
+
* relationship, based on the DOM specification.
|
157
|
+
*
|
158
|
+
* cf. http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1590626202
|
159
|
+
*/
|
160
|
+
if (prf == xmlAddChild) {
|
161
|
+
parent = pivot;
|
162
|
+
} else {
|
163
|
+
parent = pivot->parent;
|
164
|
+
}
|
165
|
+
|
166
|
+
if (parent) {
|
167
|
+
switch (parent->type) {
|
168
|
+
case XML_DOCUMENT_NODE:
|
169
|
+
case XML_HTML_DOCUMENT_NODE:
|
170
|
+
switch (reparentee->type) {
|
171
|
+
case XML_ELEMENT_NODE:
|
172
|
+
case XML_PI_NODE:
|
173
|
+
case XML_COMMENT_NODE:
|
174
|
+
case XML_DOCUMENT_TYPE_NODE:
|
175
|
+
/*
|
176
|
+
* The DOM specification says no to adding text-like nodes
|
177
|
+
* directly to a document, but we allow it for compatibility.
|
178
|
+
*/
|
179
|
+
case XML_TEXT_NODE:
|
180
|
+
case XML_CDATA_SECTION_NODE:
|
181
|
+
case XML_ENTITY_REF_NODE:
|
182
|
+
goto ok;
|
183
|
+
}
|
184
|
+
break;
|
185
|
+
case XML_DOCUMENT_FRAG_NODE:
|
186
|
+
case XML_ENTITY_REF_NODE:
|
187
|
+
case XML_ELEMENT_NODE:
|
188
|
+
switch (reparentee->type) {
|
189
|
+
case XML_ELEMENT_NODE:
|
190
|
+
case XML_PI_NODE:
|
191
|
+
case XML_COMMENT_NODE:
|
192
|
+
case XML_TEXT_NODE:
|
193
|
+
case XML_CDATA_SECTION_NODE:
|
194
|
+
case XML_ENTITY_REF_NODE:
|
195
|
+
goto ok;
|
196
|
+
}
|
197
|
+
break;
|
198
|
+
case XML_ATTRIBUTE_NODE:
|
199
|
+
switch (reparentee->type) {
|
200
|
+
case XML_TEXT_NODE:
|
201
|
+
case XML_ENTITY_REF_NODE:
|
202
|
+
goto ok;
|
203
|
+
}
|
204
|
+
break;
|
205
|
+
case XML_TEXT_NODE:
|
206
|
+
/*
|
207
|
+
* xmlAddChild() breaks the DOM specification in that it allows
|
208
|
+
* adding a text node to another, in which case text nodes are
|
209
|
+
* coalesced, but since our JRuby version does not support such
|
210
|
+
* operation, we should inhibit it.
|
211
|
+
*/
|
212
|
+
break;
|
213
|
+
}
|
214
|
+
|
215
|
+
rb_raise(rb_eArgError, "cannot reparent %s there", rb_obj_classname(reparentee_obj));
|
216
|
+
}
|
217
|
+
|
218
|
+
ok:
|
219
|
+
xmlUnlinkNode(reparentee);
|
220
|
+
|
221
|
+
if (reparentee->doc != pivot->doc || reparentee->type == XML_TEXT_NODE) {
|
222
|
+
/*
|
223
|
+
* if the reparentee is a text node, there's a very good chance it will be
|
224
|
+
* merged with an adjacent text node after being reparented, and in that case
|
225
|
+
* libxml will free the underlying C struct.
|
226
|
+
*
|
227
|
+
* since we clearly have a ruby object which references the underlying
|
228
|
+
* memory, we can't let the C struct get freed. let's pickle the original
|
229
|
+
* reparentee by rooting it; and then we'll reparent a duplicate of the
|
230
|
+
* node that we don't care about preserving.
|
231
|
+
*
|
232
|
+
* alternatively, if the reparentee is from a different document than the
|
233
|
+
* pivot node, libxml2 is going to get confused about which document's
|
234
|
+
* "dictionary" the node's strings belong to (this is an otherwise
|
235
|
+
* uninteresting libxml2 implementation detail). as a result, we cannot
|
236
|
+
* reparent the actual reparentee, so we reparent a duplicate.
|
237
|
+
*/
|
238
|
+
if (reparentee->type == XML_TEXT_NODE && reparentee->_private) {
|
239
|
+
/*
|
240
|
+
* additionally, since we know this C struct isn't going to be related to
|
241
|
+
* a Ruby object anymore, let's break the relationship on this end as
|
242
|
+
* well.
|
243
|
+
*
|
244
|
+
* this is not absolutely necessary unless libxml-ruby is also in effect,
|
245
|
+
* in which case its global callback `rxml_node_deregisterNode` will try
|
246
|
+
* to do things to our data.
|
247
|
+
*
|
248
|
+
* for more details on this particular (and particularly nasty) edge
|
249
|
+
* case, see:
|
250
|
+
*
|
251
|
+
* https://github.com/sparklemotion/nokogiri/issues/1426
|
252
|
+
*/
|
253
|
+
reparentee->_private = NULL ;
|
254
|
+
}
|
255
|
+
|
256
|
+
if (reparentee->ns != NULL && reparentee->ns->prefix == NULL) {
|
257
|
+
original_ns_prefix_is_default = 1;
|
258
|
+
}
|
259
|
+
|
260
|
+
nokogiri_root_node(reparentee);
|
261
|
+
|
262
|
+
if (!(reparentee = xmlDocCopyNode(reparentee, pivot->doc, 1))) {
|
263
|
+
rb_raise(rb_eRuntimeError, "Could not reparent node (xmlDocCopyNode)");
|
264
|
+
}
|
265
|
+
|
266
|
+
if (original_ns_prefix_is_default && reparentee->ns != NULL && reparentee->ns->prefix != NULL) {
|
267
|
+
/* issue #391, where new node's prefix may become the string "default" */
|
268
|
+
reparentee->ns->prefix = NULL;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
if (prf != xmlAddPrevSibling && prf != xmlAddNextSibling
|
273
|
+
&& reparentee->type == XML_TEXT_NODE && pivot->next && pivot->next->type == XML_TEXT_NODE) {
|
274
|
+
/*
|
275
|
+
* libxml merges text nodes in a right-to-left fashion, meaning that if
|
276
|
+
* there are two text nodes who would be adjacent, the right (or following,
|
277
|
+
* or next) node will be merged into the left (or preceding, or previous)
|
278
|
+
* node.
|
279
|
+
*
|
280
|
+
* and by "merged" I mean the string contents will be concatenated onto the
|
281
|
+
* left node's contents, and then the node will be freed.
|
282
|
+
*
|
283
|
+
* which means that if we have a ruby object wrapped around the right node,
|
284
|
+
* its memory would be freed out from under it.
|
285
|
+
*
|
286
|
+
* so, we detect this edge case and unlink-and-root the text node before it gets
|
287
|
+
* merged. then we dup the node and insert that duplicate back into the
|
288
|
+
* document where the real node was.
|
289
|
+
*
|
290
|
+
* yes, this is totally lame.
|
291
|
+
*/
|
292
|
+
next_text = pivot->next ;
|
293
|
+
new_next_text = xmlDocCopyNode(next_text, pivot->doc, 1) ;
|
294
|
+
|
295
|
+
xmlUnlinkNode(next_text);
|
296
|
+
nokogiri_root_node(next_text);
|
297
|
+
|
298
|
+
xmlAddNextSibling(pivot, new_next_text);
|
299
|
+
}
|
300
|
+
|
301
|
+
if(!(reparented = (*prf)(pivot, reparentee))) {
|
302
|
+
rb_raise(rb_eRuntimeError, "Could not reparent node");
|
303
|
+
}
|
304
|
+
|
305
|
+
/*
|
306
|
+
* make sure the ruby object is pointed at the just-reparented node, which
|
307
|
+
* might be a duplicate (see above) or might be the result of merging
|
308
|
+
* adjacent text nodes.
|
309
|
+
*/
|
310
|
+
DATA_PTR(reparentee_obj) = reparented ;
|
311
|
+
|
312
|
+
relink_namespace(reparented);
|
313
|
+
|
314
|
+
reparented_obj = Nokogiri_wrap_xml_node(Qnil, reparented);
|
315
|
+
|
316
|
+
rb_funcall(reparented_obj, decorate_bang, 0);
|
317
|
+
|
318
|
+
return reparented_obj ;
|
319
|
+
}
|
320
|
+
|
321
|
+
|
322
|
+
/*
|
323
|
+
* call-seq:
|
324
|
+
* document
|
325
|
+
*
|
326
|
+
* Get the document for this Node
|
327
|
+
*/
|
328
|
+
static VALUE document(VALUE self)
|
329
|
+
{
|
330
|
+
xmlNodePtr node;
|
331
|
+
Data_Get_Struct(self, xmlNode, node);
|
332
|
+
return DOC_RUBY_OBJECT(node->doc);
|
333
|
+
}
|
334
|
+
|
335
|
+
/*
|
336
|
+
* call-seq:
|
337
|
+
* pointer_id
|
338
|
+
*
|
339
|
+
* Get the internal pointer number
|
340
|
+
*/
|
341
|
+
static VALUE pointer_id(VALUE self)
|
342
|
+
{
|
343
|
+
xmlNodePtr node;
|
344
|
+
Data_Get_Struct(self, xmlNode, node);
|
345
|
+
|
346
|
+
return INT2NUM((long)(node));
|
347
|
+
}
|
348
|
+
|
349
|
+
/*
|
350
|
+
* call-seq:
|
351
|
+
* encode_special_chars(string)
|
352
|
+
*
|
353
|
+
* Encode any special characters in +string+
|
354
|
+
*/
|
355
|
+
static VALUE encode_special_chars(VALUE self, VALUE string)
|
356
|
+
{
|
357
|
+
xmlNodePtr node;
|
358
|
+
xmlChar *encoded;
|
359
|
+
VALUE encoded_str;
|
360
|
+
|
361
|
+
Data_Get_Struct(self, xmlNode, node);
|
362
|
+
encoded = xmlEncodeSpecialChars(
|
363
|
+
node->doc,
|
364
|
+
(const xmlChar *)StringValueCStr(string)
|
365
|
+
);
|
366
|
+
|
367
|
+
encoded_str = NOKOGIRI_STR_NEW2(encoded);
|
368
|
+
xmlFree(encoded);
|
369
|
+
|
370
|
+
return encoded_str;
|
371
|
+
}
|
372
|
+
|
373
|
+
/*
|
374
|
+
* call-seq:
|
375
|
+
* create_internal_subset(name, external_id, system_id)
|
376
|
+
*
|
377
|
+
* Create the internal subset of a document.
|
378
|
+
*
|
379
|
+
* doc.create_internal_subset("chapter", "-//OASIS//DTD DocBook XML//EN", "chapter.dtd")
|
380
|
+
* # => <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML//EN" "chapter.dtd">
|
381
|
+
*
|
382
|
+
* doc.create_internal_subset("chapter", nil, "chapter.dtd")
|
383
|
+
* # => <!DOCTYPE chapter SYSTEM "chapter.dtd">
|
384
|
+
*/
|
385
|
+
static VALUE create_internal_subset(VALUE self, VALUE name, VALUE external_id, VALUE system_id)
|
386
|
+
{
|
387
|
+
xmlNodePtr node;
|
388
|
+
xmlDocPtr doc;
|
389
|
+
xmlDtdPtr dtd;
|
390
|
+
|
391
|
+
Data_Get_Struct(self, xmlNode, node);
|
392
|
+
|
393
|
+
doc = node->doc;
|
394
|
+
|
395
|
+
if(xmlGetIntSubset(doc))
|
396
|
+
rb_raise(rb_eRuntimeError, "Document already has an internal subset");
|
397
|
+
|
398
|
+
dtd = xmlCreateIntSubset(
|
399
|
+
doc,
|
400
|
+
NIL_P(name) ? NULL : (const xmlChar *)StringValueCStr(name),
|
401
|
+
NIL_P(external_id) ? NULL : (const xmlChar *)StringValueCStr(external_id),
|
402
|
+
NIL_P(system_id) ? NULL : (const xmlChar *)StringValueCStr(system_id)
|
403
|
+
);
|
404
|
+
|
405
|
+
if(!dtd) return Qnil;
|
406
|
+
|
407
|
+
return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
|
408
|
+
}
|
409
|
+
|
410
|
+
/*
|
411
|
+
* call-seq:
|
412
|
+
* create_external_subset(name, external_id, system_id)
|
413
|
+
*
|
414
|
+
* Create an external subset
|
415
|
+
*/
|
416
|
+
static VALUE create_external_subset(VALUE self, VALUE name, VALUE external_id, VALUE system_id)
|
417
|
+
{
|
418
|
+
xmlNodePtr node;
|
419
|
+
xmlDocPtr doc;
|
420
|
+
xmlDtdPtr dtd;
|
421
|
+
|
422
|
+
Data_Get_Struct(self, xmlNode, node);
|
423
|
+
|
424
|
+
doc = node->doc;
|
425
|
+
|
426
|
+
if(doc->extSubset)
|
427
|
+
rb_raise(rb_eRuntimeError, "Document already has an external subset");
|
428
|
+
|
429
|
+
dtd = xmlNewDtd(
|
430
|
+
doc,
|
431
|
+
NIL_P(name) ? NULL : (const xmlChar *)StringValueCStr(name),
|
432
|
+
NIL_P(external_id) ? NULL : (const xmlChar *)StringValueCStr(external_id),
|
433
|
+
NIL_P(system_id) ? NULL : (const xmlChar *)StringValueCStr(system_id)
|
434
|
+
);
|
435
|
+
|
436
|
+
if(!dtd) return Qnil;
|
437
|
+
|
438
|
+
return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
|
439
|
+
}
|
440
|
+
|
441
|
+
/*
|
442
|
+
* call-seq:
|
443
|
+
* external_subset
|
444
|
+
*
|
445
|
+
* Get the external subset
|
446
|
+
*/
|
447
|
+
static VALUE external_subset(VALUE self)
|
448
|
+
{
|
449
|
+
xmlNodePtr node;
|
450
|
+
xmlDocPtr doc;
|
451
|
+
xmlDtdPtr dtd;
|
452
|
+
|
453
|
+
Data_Get_Struct(self, xmlNode, node);
|
454
|
+
|
455
|
+
if(!node->doc) return Qnil;
|
456
|
+
|
457
|
+
doc = node->doc;
|
458
|
+
dtd = doc->extSubset;
|
459
|
+
|
460
|
+
if(!dtd) return Qnil;
|
461
|
+
|
462
|
+
return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
|
463
|
+
}
|
464
|
+
|
465
|
+
/*
|
466
|
+
* call-seq:
|
467
|
+
* internal_subset
|
468
|
+
*
|
469
|
+
* Get the internal subset
|
470
|
+
*/
|
471
|
+
static VALUE internal_subset(VALUE self)
|
472
|
+
{
|
473
|
+
xmlNodePtr node;
|
474
|
+
xmlDocPtr doc;
|
475
|
+
xmlDtdPtr dtd;
|
476
|
+
|
477
|
+
Data_Get_Struct(self, xmlNode, node);
|
478
|
+
|
479
|
+
if(!node->doc) return Qnil;
|
480
|
+
|
481
|
+
doc = node->doc;
|
482
|
+
dtd = xmlGetIntSubset(doc);
|
483
|
+
|
484
|
+
if(!dtd) return Qnil;
|
485
|
+
|
486
|
+
return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
|
487
|
+
}
|
488
|
+
|
489
|
+
/*
|
490
|
+
* call-seq:
|
491
|
+
* dup
|
492
|
+
*
|
493
|
+
* Copy this node. An optional depth may be passed in, but it defaults
|
494
|
+
* to a deep copy. 0 is a shallow copy, 1 is a deep copy.
|
495
|
+
*/
|
496
|
+
static VALUE duplicate_node(int argc, VALUE *argv, VALUE self)
|
497
|
+
{
|
498
|
+
VALUE level;
|
499
|
+
xmlNodePtr node, dup;
|
500
|
+
|
501
|
+
if(rb_scan_args(argc, argv, "01", &level) == 0)
|
502
|
+
level = INT2NUM((long)1);
|
503
|
+
|
504
|
+
Data_Get_Struct(self, xmlNode, node);
|
505
|
+
|
506
|
+
dup = xmlDocCopyNode(node, node->doc, (int)NUM2INT(level));
|
507
|
+
if(dup == NULL) return Qnil;
|
508
|
+
|
509
|
+
nokogiri_root_node(dup);
|
510
|
+
|
511
|
+
return Nokogiri_wrap_xml_node(rb_obj_class(self), dup);
|
512
|
+
}
|
513
|
+
|
514
|
+
/*
|
515
|
+
* call-seq:
|
516
|
+
* unlink
|
517
|
+
*
|
518
|
+
* Unlink this node from its current context.
|
519
|
+
*/
|
520
|
+
static VALUE unlink_node(VALUE self)
|
521
|
+
{
|
522
|
+
xmlNodePtr node;
|
523
|
+
Data_Get_Struct(self, xmlNode, node);
|
524
|
+
xmlUnlinkNode(node);
|
525
|
+
nokogiri_root_node(node);
|
526
|
+
return self;
|
527
|
+
}
|
528
|
+
|
529
|
+
/*
|
530
|
+
* call-seq:
|
531
|
+
* blank?
|
532
|
+
*
|
533
|
+
* Is this node blank?
|
534
|
+
*/
|
535
|
+
static VALUE blank_eh(VALUE self)
|
536
|
+
{
|
537
|
+
xmlNodePtr node;
|
538
|
+
Data_Get_Struct(self, xmlNode, node);
|
539
|
+
return (1 == xmlIsBlankNode(node)) ? Qtrue : Qfalse ;
|
540
|
+
}
|
541
|
+
|
542
|
+
/*
|
543
|
+
* call-seq:
|
544
|
+
* next_sibling
|
545
|
+
*
|
546
|
+
* Returns the next sibling node
|
547
|
+
*/
|
548
|
+
static VALUE next_sibling(VALUE self)
|
549
|
+
{
|
550
|
+
xmlNodePtr node, sibling;
|
551
|
+
Data_Get_Struct(self, xmlNode, node);
|
552
|
+
|
553
|
+
sibling = node->next;
|
554
|
+
if(!sibling) return Qnil;
|
555
|
+
|
556
|
+
return Nokogiri_wrap_xml_node(Qnil, sibling) ;
|
557
|
+
}
|
558
|
+
|
559
|
+
/*
|
560
|
+
* call-seq:
|
561
|
+
* previous_sibling
|
562
|
+
*
|
563
|
+
* Returns the previous sibling node
|
564
|
+
*/
|
565
|
+
static VALUE previous_sibling(VALUE self)
|
566
|
+
{
|
567
|
+
xmlNodePtr node, sibling;
|
568
|
+
Data_Get_Struct(self, xmlNode, node);
|
569
|
+
|
570
|
+
sibling = node->prev;
|
571
|
+
if(!sibling) return Qnil;
|
572
|
+
|
573
|
+
return Nokogiri_wrap_xml_node(Qnil, sibling);
|
574
|
+
}
|
575
|
+
|
576
|
+
/*
|
577
|
+
* call-seq:
|
578
|
+
* next_element
|
579
|
+
*
|
580
|
+
* Returns the next Nokogiri::XML::Element type sibling node.
|
581
|
+
*/
|
582
|
+
static VALUE next_element(VALUE self)
|
583
|
+
{
|
584
|
+
xmlNodePtr node, sibling;
|
585
|
+
Data_Get_Struct(self, xmlNode, node);
|
586
|
+
|
587
|
+
sibling = xmlNextElementSibling(node);
|
588
|
+
if(!sibling) return Qnil;
|
589
|
+
|
590
|
+
return Nokogiri_wrap_xml_node(Qnil, sibling);
|
591
|
+
}
|
592
|
+
|
593
|
+
/*
|
594
|
+
* call-seq:
|
595
|
+
* previous_element
|
596
|
+
*
|
597
|
+
* Returns the previous Nokogiri::XML::Element type sibling node.
|
598
|
+
*/
|
599
|
+
static VALUE previous_element(VALUE self)
|
600
|
+
{
|
601
|
+
xmlNodePtr node, sibling;
|
602
|
+
Data_Get_Struct(self, xmlNode, node);
|
603
|
+
|
604
|
+
/*
|
605
|
+
* note that we don't use xmlPreviousElementSibling here because it's buggy pre-2.7.7.
|
606
|
+
*/
|
607
|
+
sibling = node->prev;
|
608
|
+
if(!sibling) return Qnil;
|
609
|
+
|
610
|
+
while(sibling && sibling->type != XML_ELEMENT_NODE)
|
611
|
+
sibling = sibling->prev;
|
612
|
+
|
613
|
+
return sibling ? Nokogiri_wrap_xml_node(Qnil, sibling) : Qnil ;
|
614
|
+
}
|
615
|
+
|
616
|
+
/* :nodoc: */
|
617
|
+
static VALUE replace(VALUE self, VALUE new_node)
|
618
|
+
{
|
619
|
+
VALUE reparent = reparent_node_with(self, new_node, xmlReplaceNodeWrapper);
|
620
|
+
|
621
|
+
xmlNodePtr pivot;
|
622
|
+
Data_Get_Struct(self, xmlNode, pivot);
|
623
|
+
nokogiri_root_node(pivot);
|
624
|
+
|
625
|
+
return reparent;
|
626
|
+
}
|
627
|
+
|
628
|
+
/*
|
629
|
+
* call-seq:
|
630
|
+
* children
|
631
|
+
*
|
632
|
+
* Get the list of children for this node as a NodeSet
|
633
|
+
*/
|
634
|
+
static VALUE children(VALUE self)
|
635
|
+
{
|
636
|
+
xmlNodePtr node;
|
637
|
+
xmlNodePtr child;
|
638
|
+
xmlNodeSetPtr set;
|
639
|
+
VALUE document;
|
640
|
+
VALUE node_set;
|
641
|
+
|
642
|
+
Data_Get_Struct(self, xmlNode, node);
|
643
|
+
|
644
|
+
child = node->children;
|
645
|
+
set = xmlXPathNodeSetCreate(child);
|
646
|
+
|
647
|
+
document = DOC_RUBY_OBJECT(node->doc);
|
648
|
+
|
649
|
+
if(!child) return Nokogiri_wrap_xml_node_set(set, document);
|
650
|
+
|
651
|
+
child = child->next;
|
652
|
+
while(NULL != child) {
|
653
|
+
xmlXPathNodeSetAddUnique(set, child);
|
654
|
+
child = child->next;
|
655
|
+
}
|
656
|
+
|
657
|
+
node_set = Nokogiri_wrap_xml_node_set(set, document);
|
658
|
+
|
659
|
+
return node_set;
|
660
|
+
}
|
661
|
+
|
662
|
+
/*
|
663
|
+
* call-seq:
|
664
|
+
* element_children
|
665
|
+
*
|
666
|
+
* Get the list of children for this node as a NodeSet. All nodes will be
|
667
|
+
* element nodes.
|
668
|
+
*
|
669
|
+
* Example:
|
670
|
+
*
|
671
|
+
* @doc.root.element_children.all? { |x| x.element? } # => true
|
672
|
+
*/
|
673
|
+
static VALUE element_children(VALUE self)
|
674
|
+
{
|
675
|
+
xmlNodePtr node;
|
676
|
+
xmlNodePtr child;
|
677
|
+
xmlNodeSetPtr set;
|
678
|
+
VALUE document;
|
679
|
+
VALUE node_set;
|
680
|
+
|
681
|
+
Data_Get_Struct(self, xmlNode, node);
|
682
|
+
|
683
|
+
child = xmlFirstElementChild(node);
|
684
|
+
set = xmlXPathNodeSetCreate(child);
|
685
|
+
|
686
|
+
document = DOC_RUBY_OBJECT(node->doc);
|
687
|
+
|
688
|
+
if(!child) return Nokogiri_wrap_xml_node_set(set, document);
|
689
|
+
|
690
|
+
child = xmlNextElementSibling(child);
|
691
|
+
while(NULL != child) {
|
692
|
+
xmlXPathNodeSetAddUnique(set, child);
|
693
|
+
child = xmlNextElementSibling(child);
|
694
|
+
}
|
695
|
+
|
696
|
+
node_set = Nokogiri_wrap_xml_node_set(set, document);
|
697
|
+
|
698
|
+
return node_set;
|
699
|
+
}
|
700
|
+
|
701
|
+
/*
|
702
|
+
* call-seq:
|
703
|
+
* child
|
704
|
+
*
|
705
|
+
* Returns the child node
|
706
|
+
*/
|
707
|
+
static VALUE child(VALUE self)
|
708
|
+
{
|
709
|
+
xmlNodePtr node, child;
|
710
|
+
Data_Get_Struct(self, xmlNode, node);
|
711
|
+
|
712
|
+
child = node->children;
|
713
|
+
if(!child) return Qnil;
|
714
|
+
|
715
|
+
return Nokogiri_wrap_xml_node(Qnil, child);
|
716
|
+
}
|
717
|
+
|
718
|
+
/*
|
719
|
+
* call-seq:
|
720
|
+
* first_element_child
|
721
|
+
*
|
722
|
+
* Returns the first child node of this node that is an element.
|
723
|
+
*
|
724
|
+
* Example:
|
725
|
+
*
|
726
|
+
* @doc.root.first_element_child.element? # => true
|
727
|
+
*/
|
728
|
+
static VALUE first_element_child(VALUE self)
|
729
|
+
{
|
730
|
+
xmlNodePtr node, child;
|
731
|
+
Data_Get_Struct(self, xmlNode, node);
|
732
|
+
|
733
|
+
child = xmlFirstElementChild(node);
|
734
|
+
if(!child) return Qnil;
|
735
|
+
|
736
|
+
return Nokogiri_wrap_xml_node(Qnil, child);
|
737
|
+
}
|
738
|
+
|
739
|
+
/*
|
740
|
+
* call-seq:
|
741
|
+
* last_element_child
|
742
|
+
*
|
743
|
+
* Returns the last child node of this node that is an element.
|
744
|
+
*
|
745
|
+
* Example:
|
746
|
+
*
|
747
|
+
* @doc.root.last_element_child.element? # => true
|
748
|
+
*/
|
749
|
+
static VALUE last_element_child(VALUE self)
|
750
|
+
{
|
751
|
+
xmlNodePtr node, child;
|
752
|
+
Data_Get_Struct(self, xmlNode, node);
|
753
|
+
|
754
|
+
child = xmlLastElementChild(node);
|
755
|
+
if(!child) return Qnil;
|
756
|
+
|
757
|
+
return Nokogiri_wrap_xml_node(Qnil, child);
|
758
|
+
}
|
759
|
+
|
760
|
+
/*
|
761
|
+
* call-seq:
|
762
|
+
* key?(attribute)
|
763
|
+
*
|
764
|
+
* Returns true if +attribute+ is set
|
765
|
+
*/
|
766
|
+
static VALUE key_eh(VALUE self, VALUE attribute)
|
767
|
+
{
|
768
|
+
xmlNodePtr node;
|
769
|
+
Data_Get_Struct(self, xmlNode, node);
|
770
|
+
if(xmlHasProp(node, (xmlChar *)StringValueCStr(attribute)))
|
771
|
+
return Qtrue;
|
772
|
+
return Qfalse;
|
773
|
+
}
|
774
|
+
|
775
|
+
/*
|
776
|
+
* call-seq:
|
777
|
+
* namespaced_key?(attribute, namespace)
|
778
|
+
*
|
779
|
+
* Returns true if +attribute+ is set with +namespace+
|
780
|
+
*/
|
781
|
+
static VALUE namespaced_key_eh(VALUE self, VALUE attribute, VALUE namespace)
|
782
|
+
{
|
783
|
+
xmlNodePtr node;
|
784
|
+
Data_Get_Struct(self, xmlNode, node);
|
785
|
+
if(xmlHasNsProp(node, (xmlChar *)StringValueCStr(attribute),
|
786
|
+
NIL_P(namespace) ? NULL : (xmlChar *)StringValueCStr(namespace)))
|
787
|
+
return Qtrue;
|
788
|
+
return Qfalse;
|
789
|
+
}
|
790
|
+
|
791
|
+
/*
|
792
|
+
* call-seq:
|
793
|
+
* []=(property, value)
|
794
|
+
*
|
795
|
+
* Set the +property+ to +value+
|
796
|
+
*/
|
797
|
+
static VALUE set(VALUE self, VALUE property, VALUE value)
|
798
|
+
{
|
799
|
+
xmlNodePtr node, cur;
|
800
|
+
xmlAttrPtr prop;
|
801
|
+
Data_Get_Struct(self, xmlNode, node);
|
802
|
+
|
803
|
+
/* If a matching attribute node already exists, then xmlSetProp will destroy
|
804
|
+
* the existing node's children. However, if Nokogiri has a node object
|
805
|
+
* pointing to one of those children, we are left with a broken reference.
|
806
|
+
*
|
807
|
+
* We can avoid this by unlinking these nodes first.
|
808
|
+
*/
|
809
|
+
if (node->type != XML_ELEMENT_NODE)
|
810
|
+
return(Qnil);
|
811
|
+
prop = xmlHasProp(node, (xmlChar *)StringValueCStr(property));
|
812
|
+
if (prop && prop->children) {
|
813
|
+
for (cur = prop->children; cur; cur = cur->next) {
|
814
|
+
if (cur->_private) {
|
815
|
+
nokogiri_root_node(cur);
|
816
|
+
xmlUnlinkNode(cur);
|
817
|
+
}
|
818
|
+
}
|
819
|
+
}
|
820
|
+
|
821
|
+
xmlSetProp(node, (xmlChar *)StringValueCStr(property),
|
822
|
+
(xmlChar *)StringValueCStr(value));
|
823
|
+
|
824
|
+
return value;
|
825
|
+
}
|
826
|
+
|
827
|
+
/*
|
828
|
+
* call-seq:
|
829
|
+
* get(attribute)
|
830
|
+
*
|
831
|
+
* Get the value for +attribute+
|
832
|
+
*/
|
833
|
+
static VALUE get(VALUE self, VALUE rattribute)
|
834
|
+
{
|
835
|
+
xmlNodePtr node;
|
836
|
+
const xmlChar *value = 0;
|
837
|
+
VALUE rvalue;
|
838
|
+
xmlChar *colon;
|
839
|
+
const xmlChar *attribute, *attr_name, *prefix;
|
840
|
+
xmlNsPtr ns;
|
841
|
+
|
842
|
+
if (NIL_P(rattribute)) return Qnil;
|
843
|
+
|
844
|
+
Data_Get_Struct(self, xmlNode, node);
|
845
|
+
attribute = xmlCharStrdup(StringValueCStr(rattribute));
|
846
|
+
|
847
|
+
colon = (xmlChar *)xmlStrchr(attribute, (const xmlChar)':');
|
848
|
+
if (colon) {
|
849
|
+
/* split the attribute string into separate prefix and name by
|
850
|
+
* null-terminating the prefix at the colon */
|
851
|
+
prefix = attribute;
|
852
|
+
attr_name = colon + 1;
|
853
|
+
(*colon) = 0;
|
854
|
+
|
855
|
+
ns = xmlSearchNs(node->doc, node, prefix);
|
856
|
+
if (ns) {
|
857
|
+
value = xmlGetNsProp(node, attr_name, ns->href);
|
858
|
+
} else {
|
859
|
+
value = xmlGetProp(node, (xmlChar*)StringValueCStr(rattribute));
|
860
|
+
}
|
861
|
+
} else {
|
862
|
+
value = xmlGetNoNsProp(node, attribute);
|
863
|
+
}
|
864
|
+
|
865
|
+
xmlFree((void *)attribute);
|
866
|
+
if (!value) return Qnil;
|
867
|
+
|
868
|
+
rvalue = NOKOGIRI_STR_NEW2(value);
|
869
|
+
xmlFree((void *)value);
|
870
|
+
|
871
|
+
return rvalue ;
|
872
|
+
}
|
873
|
+
|
874
|
+
/*
|
875
|
+
* call-seq:
|
876
|
+
* set_namespace(namespace)
|
877
|
+
*
|
878
|
+
* Set the namespace to +namespace+
|
879
|
+
*/
|
880
|
+
static VALUE set_namespace(VALUE self, VALUE namespace)
|
881
|
+
{
|
882
|
+
xmlNodePtr node;
|
883
|
+
xmlNsPtr ns = NULL;
|
884
|
+
|
885
|
+
Data_Get_Struct(self, xmlNode, node);
|
886
|
+
|
887
|
+
if(!NIL_P(namespace))
|
888
|
+
Data_Get_Struct(namespace, xmlNs, ns);
|
889
|
+
|
890
|
+
xmlSetNs(node, ns);
|
891
|
+
|
892
|
+
return self;
|
893
|
+
}
|
894
|
+
|
895
|
+
/*
|
896
|
+
* call-seq:
|
897
|
+
* attribute(name)
|
898
|
+
*
|
899
|
+
* Get the attribute node with +name+
|
900
|
+
*/
|
901
|
+
static VALUE attr(VALUE self, VALUE name)
|
902
|
+
{
|
903
|
+
xmlNodePtr node;
|
904
|
+
xmlAttrPtr prop;
|
905
|
+
Data_Get_Struct(self, xmlNode, node);
|
906
|
+
prop = xmlHasProp(node, (xmlChar *)StringValueCStr(name));
|
907
|
+
|
908
|
+
if(! prop) return Qnil;
|
909
|
+
return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)prop);
|
910
|
+
}
|
911
|
+
|
912
|
+
/*
|
913
|
+
* call-seq:
|
914
|
+
* attribute_with_ns(name, namespace)
|
915
|
+
*
|
916
|
+
* Get the attribute node with +name+ and +namespace+
|
917
|
+
*/
|
918
|
+
static VALUE attribute_with_ns(VALUE self, VALUE name, VALUE namespace)
|
919
|
+
{
|
920
|
+
xmlNodePtr node;
|
921
|
+
xmlAttrPtr prop;
|
922
|
+
Data_Get_Struct(self, xmlNode, node);
|
923
|
+
prop = xmlHasNsProp(node, (xmlChar *)StringValueCStr(name),
|
924
|
+
NIL_P(namespace) ? NULL : (xmlChar *)StringValueCStr(namespace));
|
925
|
+
|
926
|
+
if(! prop) return Qnil;
|
927
|
+
return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)prop);
|
928
|
+
}
|
929
|
+
|
930
|
+
/*
|
931
|
+
* call-seq:
|
932
|
+
* attribute_nodes()
|
933
|
+
*
|
934
|
+
* returns a list containing the Node attributes.
|
935
|
+
*/
|
936
|
+
static VALUE attribute_nodes(VALUE self)
|
937
|
+
{
|
938
|
+
/* this code in the mode of xmlHasProp() */
|
939
|
+
xmlNodePtr node;
|
940
|
+
VALUE attr;
|
941
|
+
|
942
|
+
Data_Get_Struct(self, xmlNode, node);
|
943
|
+
|
944
|
+
attr = rb_ary_new();
|
945
|
+
Nokogiri_xml_node_properties(node, attr);
|
946
|
+
|
947
|
+
return attr ;
|
948
|
+
}
|
949
|
+
|
950
|
+
|
951
|
+
/*
|
952
|
+
* call-seq:
|
953
|
+
* namespace()
|
954
|
+
*
|
955
|
+
* returns the namespace of the element or attribute node as a Namespace
|
956
|
+
* object, or nil if there is no namespace for the element or attribute.
|
957
|
+
*/
|
958
|
+
static VALUE namespace(VALUE self)
|
959
|
+
{
|
960
|
+
xmlNodePtr node ;
|
961
|
+
Data_Get_Struct(self, xmlNode, node);
|
962
|
+
|
963
|
+
if (node->ns)
|
964
|
+
return Nokogiri_wrap_xml_namespace(node->doc, node->ns);
|
965
|
+
|
966
|
+
return Qnil ;
|
967
|
+
}
|
968
|
+
|
969
|
+
/*
|
970
|
+
* call-seq:
|
971
|
+
* namespace_definitions()
|
972
|
+
*
|
973
|
+
* returns namespaces defined on self element directly, as an array of Namespace objects. Includes both a default namespace (as in"xmlns="), and prefixed namespaces (as in "xmlns:prefix=").
|
974
|
+
*/
|
975
|
+
static VALUE namespace_definitions(VALUE self)
|
976
|
+
{
|
977
|
+
/* this code in the mode of xmlHasProp() */
|
978
|
+
xmlNodePtr node ;
|
979
|
+
VALUE list;
|
980
|
+
xmlNsPtr ns;
|
981
|
+
|
982
|
+
Data_Get_Struct(self, xmlNode, node);
|
983
|
+
|
984
|
+
list = rb_ary_new();
|
985
|
+
|
986
|
+
ns = node->nsDef;
|
987
|
+
|
988
|
+
if(!ns) return list;
|
989
|
+
|
990
|
+
while(NULL != ns) {
|
991
|
+
rb_ary_push(list, Nokogiri_wrap_xml_namespace(node->doc, ns));
|
992
|
+
ns = ns->next;
|
993
|
+
}
|
994
|
+
|
995
|
+
return list;
|
996
|
+
}
|
997
|
+
|
998
|
+
/*
|
999
|
+
* call-seq:
|
1000
|
+
* namespace_scopes()
|
1001
|
+
*
|
1002
|
+
* returns namespaces in scope for self -- those defined on self element
|
1003
|
+
* directly or any ancestor node -- as an array of Namespace objects. Default
|
1004
|
+
* namespaces ("xmlns=" style) for self are included in this array; Default
|
1005
|
+
* namespaces for ancestors, however, are not. See also #namespaces
|
1006
|
+
*/
|
1007
|
+
static VALUE namespace_scopes(VALUE self)
|
1008
|
+
{
|
1009
|
+
xmlNodePtr node ;
|
1010
|
+
VALUE list;
|
1011
|
+
xmlNsPtr *ns_list;
|
1012
|
+
int j;
|
1013
|
+
|
1014
|
+
Data_Get_Struct(self, xmlNode, node);
|
1015
|
+
|
1016
|
+
list = rb_ary_new();
|
1017
|
+
ns_list = xmlGetNsList(node->doc, node);
|
1018
|
+
|
1019
|
+
if(!ns_list) return list;
|
1020
|
+
|
1021
|
+
for (j = 0 ; ns_list[j] != NULL ; ++j) {
|
1022
|
+
rb_ary_push(list, Nokogiri_wrap_xml_namespace(node->doc, ns_list[j]));
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
xmlFree(ns_list);
|
1026
|
+
return list;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/*
|
1030
|
+
* call-seq:
|
1031
|
+
* node_type
|
1032
|
+
*
|
1033
|
+
* Get the type for this Node
|
1034
|
+
*/
|
1035
|
+
static VALUE node_type(VALUE self)
|
1036
|
+
{
|
1037
|
+
xmlNodePtr node;
|
1038
|
+
Data_Get_Struct(self, xmlNode, node);
|
1039
|
+
return INT2NUM((long)node->type);
|
1040
|
+
}
|
1041
|
+
|
1042
|
+
/*
|
1043
|
+
* call-seq:
|
1044
|
+
* content=
|
1045
|
+
*
|
1046
|
+
* Set the content for this Node
|
1047
|
+
*/
|
1048
|
+
static VALUE set_native_content(VALUE self, VALUE content)
|
1049
|
+
{
|
1050
|
+
xmlNodePtr node, child, next ;
|
1051
|
+
Data_Get_Struct(self, xmlNode, node);
|
1052
|
+
|
1053
|
+
child = node->children;
|
1054
|
+
while (NULL != child) {
|
1055
|
+
next = child->next ;
|
1056
|
+
xmlUnlinkNode(child) ;
|
1057
|
+
nokogiri_root_node(child);
|
1058
|
+
child = next ;
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
xmlNodeSetContent(node, (xmlChar *)StringValueCStr(content));
|
1062
|
+
return content;
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
/*
|
1066
|
+
* call-seq:
|
1067
|
+
* content
|
1068
|
+
*
|
1069
|
+
* Returns the content for this Node
|
1070
|
+
*/
|
1071
|
+
static VALUE get_native_content(VALUE self)
|
1072
|
+
{
|
1073
|
+
xmlNodePtr node;
|
1074
|
+
xmlChar * content;
|
1075
|
+
|
1076
|
+
Data_Get_Struct(self, xmlNode, node);
|
1077
|
+
|
1078
|
+
content = xmlNodeGetContent(node);
|
1079
|
+
if(content) {
|
1080
|
+
VALUE rval = NOKOGIRI_STR_NEW2(content);
|
1081
|
+
xmlFree(content);
|
1082
|
+
return rval;
|
1083
|
+
}
|
1084
|
+
return Qnil;
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
/*
|
1088
|
+
* call-seq:
|
1089
|
+
* lang=
|
1090
|
+
*
|
1091
|
+
* Set the language of a node, i.e. the values of the xml:lang attribute.
|
1092
|
+
*/
|
1093
|
+
static VALUE set_lang(VALUE self_rb, VALUE lang_rb)
|
1094
|
+
{
|
1095
|
+
xmlNodePtr self ;
|
1096
|
+
xmlChar* lang ;
|
1097
|
+
|
1098
|
+
Data_Get_Struct(self_rb, xmlNode, self);
|
1099
|
+
lang = (xmlChar*)StringValueCStr(lang_rb);
|
1100
|
+
|
1101
|
+
xmlNodeSetLang(self, lang);
|
1102
|
+
|
1103
|
+
return Qnil ;
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
/*
|
1107
|
+
* call-seq:
|
1108
|
+
* lang
|
1109
|
+
*
|
1110
|
+
* Searches the language of a node, i.e. the values of the xml:lang attribute or
|
1111
|
+
* the one carried by the nearest ancestor.
|
1112
|
+
*/
|
1113
|
+
static VALUE get_lang(VALUE self_rb)
|
1114
|
+
{
|
1115
|
+
xmlNodePtr self ;
|
1116
|
+
xmlChar* lang ;
|
1117
|
+
VALUE lang_rb ;
|
1118
|
+
|
1119
|
+
Data_Get_Struct(self_rb, xmlNode, self);
|
1120
|
+
|
1121
|
+
lang = xmlNodeGetLang(self);
|
1122
|
+
if (lang) {
|
1123
|
+
lang_rb = NOKOGIRI_STR_NEW2(lang);
|
1124
|
+
xmlFree(lang);
|
1125
|
+
return lang_rb ;
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
return Qnil ;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
/* :nodoc: */
|
1132
|
+
static VALUE add_child(VALUE self, VALUE new_child)
|
1133
|
+
{
|
1134
|
+
return reparent_node_with(self, new_child, xmlAddChild);
|
1135
|
+
}
|
1136
|
+
|
1137
|
+
/*
|
1138
|
+
* call-seq:
|
1139
|
+
* parent
|
1140
|
+
*
|
1141
|
+
* Get the parent Node for this Node
|
1142
|
+
*/
|
1143
|
+
static VALUE get_parent(VALUE self)
|
1144
|
+
{
|
1145
|
+
xmlNodePtr node, parent;
|
1146
|
+
Data_Get_Struct(self, xmlNode, node);
|
1147
|
+
|
1148
|
+
parent = node->parent;
|
1149
|
+
if(!parent) return Qnil;
|
1150
|
+
|
1151
|
+
return Nokogiri_wrap_xml_node(Qnil, parent) ;
|
1152
|
+
}
|
1153
|
+
|
1154
|
+
/*
|
1155
|
+
* call-seq:
|
1156
|
+
* name=(new_name)
|
1157
|
+
*
|
1158
|
+
* Set the name for this Node
|
1159
|
+
*/
|
1160
|
+
static VALUE set_name(VALUE self, VALUE new_name)
|
1161
|
+
{
|
1162
|
+
xmlNodePtr node;
|
1163
|
+
Data_Get_Struct(self, xmlNode, node);
|
1164
|
+
xmlNodeSetName(node, (xmlChar*)StringValueCStr(new_name));
|
1165
|
+
return new_name;
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
/*
|
1169
|
+
* call-seq:
|
1170
|
+
* name
|
1171
|
+
*
|
1172
|
+
* Returns the name for this Node
|
1173
|
+
*/
|
1174
|
+
static VALUE get_name(VALUE self)
|
1175
|
+
{
|
1176
|
+
xmlNodePtr node;
|
1177
|
+
Data_Get_Struct(self, xmlNode, node);
|
1178
|
+
if(node->name)
|
1179
|
+
return NOKOGIRI_STR_NEW2(node->name);
|
1180
|
+
return Qnil;
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
/*
|
1184
|
+
* call-seq:
|
1185
|
+
* path
|
1186
|
+
*
|
1187
|
+
* Returns the path associated with this Node
|
1188
|
+
*/
|
1189
|
+
static VALUE path(VALUE self)
|
1190
|
+
{
|
1191
|
+
xmlNodePtr node;
|
1192
|
+
xmlChar *path ;
|
1193
|
+
VALUE rval;
|
1194
|
+
|
1195
|
+
Data_Get_Struct(self, xmlNode, node);
|
1196
|
+
|
1197
|
+
path = xmlGetNodePath(node);
|
1198
|
+
rval = NOKOGIRI_STR_NEW2(path);
|
1199
|
+
xmlFree(path);
|
1200
|
+
return rval ;
|
1201
|
+
}
|
1202
|
+
|
1203
|
+
/* :nodoc: */
|
1204
|
+
static VALUE add_next_sibling(VALUE self, VALUE new_sibling)
|
1205
|
+
{
|
1206
|
+
return reparent_node_with(self, new_sibling, xmlAddNextSibling) ;
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
/* :nodoc: */
|
1210
|
+
static VALUE add_previous_sibling(VALUE self, VALUE new_sibling)
|
1211
|
+
{
|
1212
|
+
return reparent_node_with(self, new_sibling, xmlAddPrevSibling) ;
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
/*
|
1216
|
+
* call-seq:
|
1217
|
+
* native_write_to(io, encoding, options)
|
1218
|
+
*
|
1219
|
+
* Write this Node to +io+ with +encoding+ and +options+
|
1220
|
+
*/
|
1221
|
+
static VALUE native_write_to(
|
1222
|
+
VALUE self,
|
1223
|
+
VALUE io,
|
1224
|
+
VALUE encoding,
|
1225
|
+
VALUE indent_string,
|
1226
|
+
VALUE options
|
1227
|
+
) {
|
1228
|
+
xmlNodePtr node;
|
1229
|
+
const char * before_indent;
|
1230
|
+
xmlSaveCtxtPtr savectx;
|
1231
|
+
|
1232
|
+
Data_Get_Struct(self, xmlNode, node);
|
1233
|
+
|
1234
|
+
xmlIndentTreeOutput = 1;
|
1235
|
+
|
1236
|
+
before_indent = xmlTreeIndentString;
|
1237
|
+
|
1238
|
+
xmlTreeIndentString = StringValueCStr(indent_string);
|
1239
|
+
|
1240
|
+
savectx = xmlSaveToIO(
|
1241
|
+
(xmlOutputWriteCallback)io_write_callback,
|
1242
|
+
(xmlOutputCloseCallback)io_close_callback,
|
1243
|
+
(void *)io,
|
1244
|
+
RTEST(encoding) ? StringValueCStr(encoding) : NULL,
|
1245
|
+
(int)NUM2INT(options)
|
1246
|
+
);
|
1247
|
+
|
1248
|
+
xmlSaveTree(savectx, node);
|
1249
|
+
xmlSaveClose(savectx);
|
1250
|
+
|
1251
|
+
xmlTreeIndentString = before_indent;
|
1252
|
+
return io;
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
/*
|
1256
|
+
* call-seq:
|
1257
|
+
* line
|
1258
|
+
*
|
1259
|
+
* Returns the line for this Node
|
1260
|
+
*/
|
1261
|
+
static VALUE line(VALUE self)
|
1262
|
+
{
|
1263
|
+
xmlNodePtr node;
|
1264
|
+
Data_Get_Struct(self, xmlNode, node);
|
1265
|
+
|
1266
|
+
return INT2NUM(xmlGetLineNo(node));
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
/*
|
1270
|
+
* call-seq:
|
1271
|
+
* add_namespace_definition(prefix, href)
|
1272
|
+
*
|
1273
|
+
* Adds a namespace definition with +prefix+ using +href+ value. The result is
|
1274
|
+
* as if parsed XML for this node had included an attribute
|
1275
|
+
* 'xmlns:prefix=value'. A default namespace for this node ("xmlns=") can be
|
1276
|
+
* added by passing 'nil' for prefix. Namespaces added this way will not
|
1277
|
+
* show up in #attributes, but they will be included as an xmlns attribute
|
1278
|
+
* when the node is serialized to XML.
|
1279
|
+
*/
|
1280
|
+
static VALUE add_namespace_definition(VALUE self, VALUE prefix, VALUE href)
|
1281
|
+
{
|
1282
|
+
xmlNodePtr node, namespacee;
|
1283
|
+
xmlNsPtr ns;
|
1284
|
+
|
1285
|
+
Data_Get_Struct(self, xmlNode, node);
|
1286
|
+
namespacee = node ;
|
1287
|
+
|
1288
|
+
ns = xmlSearchNs(
|
1289
|
+
node->doc,
|
1290
|
+
node,
|
1291
|
+
(const xmlChar *)(NIL_P(prefix) ? NULL : StringValueCStr(prefix))
|
1292
|
+
);
|
1293
|
+
|
1294
|
+
if(!ns) {
|
1295
|
+
if (node->type != XML_ELEMENT_NODE) {
|
1296
|
+
namespacee = node->parent;
|
1297
|
+
}
|
1298
|
+
ns = xmlNewNs(
|
1299
|
+
namespacee,
|
1300
|
+
(const xmlChar *)StringValueCStr(href),
|
1301
|
+
(const xmlChar *)(NIL_P(prefix) ? NULL : StringValueCStr(prefix))
|
1302
|
+
);
|
1303
|
+
}
|
1304
|
+
|
1305
|
+
if (!ns) return Qnil ;
|
1306
|
+
|
1307
|
+
if(NIL_P(prefix) || node != namespacee) xmlSetNs(node, ns);
|
1308
|
+
|
1309
|
+
return Nokogiri_wrap_xml_namespace(node->doc, ns);
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
/*
|
1313
|
+
* call-seq:
|
1314
|
+
* new(name, document)
|
1315
|
+
*
|
1316
|
+
* Create a new node with +name+ sharing GC lifecycle with +document+
|
1317
|
+
*/
|
1318
|
+
static VALUE new(int argc, VALUE *argv, VALUE klass)
|
1319
|
+
{
|
1320
|
+
xmlDocPtr doc;
|
1321
|
+
xmlNodePtr node;
|
1322
|
+
VALUE name;
|
1323
|
+
VALUE document;
|
1324
|
+
VALUE rest;
|
1325
|
+
VALUE rb_node;
|
1326
|
+
|
1327
|
+
rb_scan_args(argc, argv, "2*", &name, &document, &rest);
|
1328
|
+
|
1329
|
+
Data_Get_Struct(document, xmlDoc, doc);
|
1330
|
+
|
1331
|
+
node = xmlNewNode(NULL, (xmlChar *)StringValueCStr(name));
|
1332
|
+
node->doc = doc->doc;
|
1333
|
+
nokogiri_root_node(node);
|
1334
|
+
|
1335
|
+
rb_node = Nokogiri_wrap_xml_node(
|
1336
|
+
klass == cNokogiriXmlNode ? (VALUE)NULL : klass,
|
1337
|
+
node
|
1338
|
+
);
|
1339
|
+
rb_obj_call_init(rb_node, argc, argv);
|
1340
|
+
|
1341
|
+
if(rb_block_given_p()) rb_yield(rb_node);
|
1342
|
+
|
1343
|
+
return rb_node;
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
/*
|
1347
|
+
* call-seq:
|
1348
|
+
* dump_html
|
1349
|
+
*
|
1350
|
+
* Returns the Node as html.
|
1351
|
+
*/
|
1352
|
+
static VALUE dump_html(VALUE self)
|
1353
|
+
{
|
1354
|
+
xmlBufferPtr buf ;
|
1355
|
+
xmlNodePtr node ;
|
1356
|
+
VALUE html;
|
1357
|
+
|
1358
|
+
Data_Get_Struct(self, xmlNode, node);
|
1359
|
+
|
1360
|
+
buf = xmlBufferCreate() ;
|
1361
|
+
htmlNodeDump(buf, node->doc, node);
|
1362
|
+
html = NOKOGIRI_STR_NEW2(buf->content);
|
1363
|
+
xmlBufferFree(buf);
|
1364
|
+
return html ;
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
/*
|
1368
|
+
* call-seq:
|
1369
|
+
* compare(other)
|
1370
|
+
*
|
1371
|
+
* Compare this Node to +other+ with respect to their Document
|
1372
|
+
*/
|
1373
|
+
static VALUE compare(VALUE self, VALUE _other)
|
1374
|
+
{
|
1375
|
+
xmlNodePtr node, other;
|
1376
|
+
Data_Get_Struct(self, xmlNode, node);
|
1377
|
+
Data_Get_Struct(_other, xmlNode, other);
|
1378
|
+
|
1379
|
+
return INT2NUM((long)xmlXPathCmpNodes(other, node));
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
|
1383
|
+
/*
|
1384
|
+
* call-seq:
|
1385
|
+
* process_xincludes(options)
|
1386
|
+
*
|
1387
|
+
* Loads and substitutes all xinclude elements below the node. The
|
1388
|
+
* parser context will be initialized with +options+.
|
1389
|
+
*/
|
1390
|
+
static VALUE process_xincludes(VALUE self, VALUE options)
|
1391
|
+
{
|
1392
|
+
int rcode ;
|
1393
|
+
xmlNodePtr node;
|
1394
|
+
VALUE error_list = rb_ary_new();
|
1395
|
+
|
1396
|
+
Data_Get_Struct(self, xmlNode, node);
|
1397
|
+
|
1398
|
+
xmlSetStructuredErrorFunc((void *)error_list, Nokogiri_error_array_pusher);
|
1399
|
+
rcode = xmlXIncludeProcessTreeFlags(node, (int)NUM2INT(options));
|
1400
|
+
xmlSetStructuredErrorFunc(NULL, NULL);
|
1401
|
+
|
1402
|
+
if (rcode < 0) {
|
1403
|
+
xmlErrorPtr error;
|
1404
|
+
|
1405
|
+
error = xmlGetLastError();
|
1406
|
+
if(error)
|
1407
|
+
rb_exc_raise(Nokogiri_wrap_xml_syntax_error(error));
|
1408
|
+
else
|
1409
|
+
rb_raise(rb_eRuntimeError, "Could not perform xinclude substitution");
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
return self;
|
1413
|
+
}
|
1414
|
+
|
1415
|
+
|
1416
|
+
/* TODO: DOCUMENT ME */
|
1417
|
+
static VALUE in_context(VALUE self, VALUE _str, VALUE _options)
|
1418
|
+
{
|
1419
|
+
xmlNodePtr node, list = 0, tmp, child_iter, node_children, doc_children;
|
1420
|
+
xmlNodeSetPtr set;
|
1421
|
+
xmlParserErrors error;
|
1422
|
+
VALUE doc, err;
|
1423
|
+
int doc_is_empty;
|
1424
|
+
|
1425
|
+
Data_Get_Struct(self, xmlNode, node);
|
1426
|
+
|
1427
|
+
doc = DOC_RUBY_OBJECT(node->doc);
|
1428
|
+
err = rb_iv_get(doc, "@errors");
|
1429
|
+
doc_is_empty = (node->doc->children == NULL) ? 1 : 0;
|
1430
|
+
node_children = node->children;
|
1431
|
+
doc_children = node->doc->children;
|
1432
|
+
|
1433
|
+
xmlSetStructuredErrorFunc((void *)err, Nokogiri_error_array_pusher);
|
1434
|
+
|
1435
|
+
/* Twiddle global variable because of a bug in libxml2.
|
1436
|
+
* http://git.gnome.org/browse/libxml2/commit/?id=e20fb5a72c83cbfc8e4a8aa3943c6be8febadab7
|
1437
|
+
*/
|
1438
|
+
#ifndef HTML_PARSE_NOIMPLIED
|
1439
|
+
htmlHandleOmittedElem(0);
|
1440
|
+
#endif
|
1441
|
+
|
1442
|
+
/* This function adds a fake node to the child of +node+. If the parser
|
1443
|
+
* does not exit cleanly with XML_ERR_OK, the list is freed. This can
|
1444
|
+
* leave the child pointers in a bad state if they were originally empty.
|
1445
|
+
*
|
1446
|
+
* http://git.gnome.org/browse/libxml2/tree/parser.c#n13177
|
1447
|
+
* */
|
1448
|
+
error = xmlParseInNodeContext(node, StringValuePtr(_str),
|
1449
|
+
(int)RSTRING_LEN(_str),
|
1450
|
+
(int)NUM2INT(_options), &list);
|
1451
|
+
|
1452
|
+
/* xmlParseInNodeContext should not mutate the original document or node,
|
1453
|
+
* so reassigning these pointers should be OK. The reason we're reassigning
|
1454
|
+
* is because if there were errors, it's possible for the child pointers
|
1455
|
+
* to be manipulated. */
|
1456
|
+
if (error != XML_ERR_OK) {
|
1457
|
+
node->doc->children = doc_children;
|
1458
|
+
node->children = node_children;
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
/* make sure parent/child pointers are coherent so an unlink will work
|
1462
|
+
* properly (#331)
|
1463
|
+
*/
|
1464
|
+
child_iter = node->doc->children ;
|
1465
|
+
while (child_iter) {
|
1466
|
+
if (child_iter->parent != (xmlNodePtr)node->doc)
|
1467
|
+
child_iter->parent = (xmlNodePtr)node->doc;
|
1468
|
+
child_iter = child_iter->next;
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
#ifndef HTML_PARSE_NOIMPLIED
|
1472
|
+
htmlHandleOmittedElem(1);
|
1473
|
+
#endif
|
1474
|
+
|
1475
|
+
xmlSetStructuredErrorFunc(NULL, NULL);
|
1476
|
+
|
1477
|
+
/* Workaround for a libxml2 bug where a parsing error may leave a broken
|
1478
|
+
* node reference in node->doc->children.
|
1479
|
+
* This workaround is limited to when a parse error occurs, the document
|
1480
|
+
* went from having no children to having children, and the context node is
|
1481
|
+
* part of a document fragment.
|
1482
|
+
* https://bugzilla.gnome.org/show_bug.cgi?id=668155
|
1483
|
+
*/
|
1484
|
+
if (error != XML_ERR_OK && doc_is_empty && node->doc->children != NULL) {
|
1485
|
+
child_iter = node;
|
1486
|
+
while (child_iter->parent)
|
1487
|
+
child_iter = child_iter->parent;
|
1488
|
+
|
1489
|
+
if (child_iter->type == XML_DOCUMENT_FRAG_NODE)
|
1490
|
+
node->doc->children = NULL;
|
1491
|
+
}
|
1492
|
+
|
1493
|
+
/* FIXME: This probably needs to handle more constants... */
|
1494
|
+
switch (error) {
|
1495
|
+
case XML_ERR_INTERNAL_ERROR:
|
1496
|
+
case XML_ERR_NO_MEMORY:
|
1497
|
+
rb_raise(rb_eRuntimeError, "error parsing fragment (%d)", error);
|
1498
|
+
break;
|
1499
|
+
default:
|
1500
|
+
break;
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
set = xmlXPathNodeSetCreate(NULL);
|
1504
|
+
|
1505
|
+
while (list) {
|
1506
|
+
tmp = list->next;
|
1507
|
+
list->next = NULL;
|
1508
|
+
xmlXPathNodeSetAddUnique(set, list);
|
1509
|
+
nokogiri_root_node(list);
|
1510
|
+
list = tmp;
|
1511
|
+
}
|
1512
|
+
|
1513
|
+
return Nokogiri_wrap_xml_node_set(set, doc);
|
1514
|
+
}
|
1515
|
+
|
1516
|
+
|
1517
|
+
VALUE Nokogiri_wrap_xml_node(VALUE klass, xmlNodePtr node)
|
1518
|
+
{
|
1519
|
+
VALUE document = Qnil ;
|
1520
|
+
VALUE node_cache = Qnil ;
|
1521
|
+
VALUE rb_node = Qnil ;
|
1522
|
+
nokogiriTuplePtr node_has_a_document;
|
1523
|
+
xmlDocPtr doc;
|
1524
|
+
void (*mark_method)(xmlNodePtr) = NULL ;
|
1525
|
+
|
1526
|
+
assert(node);
|
1527
|
+
|
1528
|
+
if(node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE)
|
1529
|
+
return DOC_RUBY_OBJECT(node->doc);
|
1530
|
+
|
1531
|
+
/* It's OK if the node doesn't have a fully-realized document (as in XML::Reader). */
|
1532
|
+
/* see https://github.com/sparklemotion/nokogiri/issues/95 */
|
1533
|
+
/* and https://github.com/sparklemotion/nokogiri/issues/439 */
|
1534
|
+
doc = node->doc;
|
1535
|
+
if (doc->type == XML_DOCUMENT_FRAG_NODE) doc = doc->doc;
|
1536
|
+
node_has_a_document = DOC_RUBY_OBJECT_TEST(doc);
|
1537
|
+
|
1538
|
+
if(node->_private && node_has_a_document)
|
1539
|
+
return (VALUE)node->_private;
|
1540
|
+
|
1541
|
+
if(!RTEST(klass)) {
|
1542
|
+
switch(node->type)
|
1543
|
+
{
|
1544
|
+
case XML_ELEMENT_NODE:
|
1545
|
+
klass = cNokogiriXmlElement;
|
1546
|
+
break;
|
1547
|
+
case XML_TEXT_NODE:
|
1548
|
+
klass = cNokogiriXmlText;
|
1549
|
+
break;
|
1550
|
+
case XML_ATTRIBUTE_NODE:
|
1551
|
+
klass = cNokogiriXmlAttr;
|
1552
|
+
break;
|
1553
|
+
case XML_ENTITY_REF_NODE:
|
1554
|
+
klass = cNokogiriXmlEntityReference;
|
1555
|
+
break;
|
1556
|
+
case XML_COMMENT_NODE:
|
1557
|
+
klass = cNokogiriXmlComment;
|
1558
|
+
break;
|
1559
|
+
case XML_DOCUMENT_FRAG_NODE:
|
1560
|
+
klass = cNokogiriXmlDocumentFragment;
|
1561
|
+
break;
|
1562
|
+
case XML_PI_NODE:
|
1563
|
+
klass = cNokogiriXmlProcessingInstruction;
|
1564
|
+
break;
|
1565
|
+
case XML_ENTITY_DECL:
|
1566
|
+
klass = cNokogiriXmlEntityDecl;
|
1567
|
+
break;
|
1568
|
+
case XML_CDATA_SECTION_NODE:
|
1569
|
+
klass = cNokogiriXmlCData;
|
1570
|
+
break;
|
1571
|
+
case XML_DTD_NODE:
|
1572
|
+
klass = cNokogiriXmlDtd;
|
1573
|
+
break;
|
1574
|
+
case XML_ATTRIBUTE_DECL:
|
1575
|
+
klass = cNokogiriXmlAttributeDecl;
|
1576
|
+
break;
|
1577
|
+
case XML_ELEMENT_DECL:
|
1578
|
+
klass = cNokogiriXmlElementDecl;
|
1579
|
+
break;
|
1580
|
+
default:
|
1581
|
+
klass = cNokogiriXmlNode;
|
1582
|
+
}
|
1583
|
+
}
|
1584
|
+
|
1585
|
+
mark_method = node_has_a_document ? mark : NULL ;
|
1586
|
+
|
1587
|
+
rb_node = Data_Wrap_Struct(klass, mark_method, debug_node_dealloc, node) ;
|
1588
|
+
node->_private = (void *)rb_node;
|
1589
|
+
|
1590
|
+
if (node_has_a_document) {
|
1591
|
+
document = DOC_RUBY_OBJECT(doc);
|
1592
|
+
node_cache = DOC_NODE_CACHE(doc);
|
1593
|
+
rb_ary_push(node_cache, rb_node);
|
1594
|
+
rb_funcall(document, decorate, 1, rb_node);
|
1595
|
+
}
|
1596
|
+
|
1597
|
+
return rb_node ;
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
|
1601
|
+
void Nokogiri_xml_node_properties(xmlNodePtr node, VALUE attr_list)
|
1602
|
+
{
|
1603
|
+
xmlAttrPtr prop;
|
1604
|
+
prop = node->properties ;
|
1605
|
+
while (prop != NULL) {
|
1606
|
+
rb_ary_push(attr_list, Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)prop));
|
1607
|
+
prop = prop->next ;
|
1608
|
+
}
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
VALUE cNokogiriXmlNode ;
|
1612
|
+
VALUE cNokogiriXmlElement ;
|
1613
|
+
|
1614
|
+
void init_xml_node()
|
1615
|
+
{
|
1616
|
+
VALUE nokogiri = rb_define_module("Nokogiri");
|
1617
|
+
VALUE xml = rb_define_module_under(nokogiri, "XML");
|
1618
|
+
VALUE klass = rb_define_class_under(xml, "Node", rb_cObject);
|
1619
|
+
|
1620
|
+
cNokogiriXmlNode = klass;
|
1621
|
+
|
1622
|
+
cNokogiriXmlElement = rb_define_class_under(xml, "Element", klass);
|
1623
|
+
|
1624
|
+
rb_define_singleton_method(klass, "new", new, -1);
|
1625
|
+
|
1626
|
+
rb_define_method(klass, "add_namespace_definition", add_namespace_definition, 2);
|
1627
|
+
rb_define_method(klass, "node_name", get_name, 0);
|
1628
|
+
rb_define_method(klass, "document", document, 0);
|
1629
|
+
rb_define_method(klass, "node_name=", set_name, 1);
|
1630
|
+
rb_define_method(klass, "parent", get_parent, 0);
|
1631
|
+
rb_define_method(klass, "child", child, 0);
|
1632
|
+
rb_define_method(klass, "first_element_child", first_element_child, 0);
|
1633
|
+
rb_define_method(klass, "last_element_child", last_element_child, 0);
|
1634
|
+
rb_define_method(klass, "children", children, 0);
|
1635
|
+
rb_define_method(klass, "element_children", element_children, 0);
|
1636
|
+
rb_define_method(klass, "next_sibling", next_sibling, 0);
|
1637
|
+
rb_define_method(klass, "previous_sibling", previous_sibling, 0);
|
1638
|
+
rb_define_method(klass, "next_element", next_element, 0);
|
1639
|
+
rb_define_method(klass, "previous_element", previous_element, 0);
|
1640
|
+
rb_define_method(klass, "node_type", node_type, 0);
|
1641
|
+
rb_define_method(klass, "path", path, 0);
|
1642
|
+
rb_define_method(klass, "key?", key_eh, 1);
|
1643
|
+
rb_define_method(klass, "namespaced_key?", namespaced_key_eh, 2);
|
1644
|
+
rb_define_method(klass, "blank?", blank_eh, 0);
|
1645
|
+
rb_define_method(klass, "attribute_nodes", attribute_nodes, 0);
|
1646
|
+
rb_define_method(klass, "attribute", attr, 1);
|
1647
|
+
rb_define_method(klass, "attribute_with_ns", attribute_with_ns, 2);
|
1648
|
+
rb_define_method(klass, "namespace", namespace, 0);
|
1649
|
+
rb_define_method(klass, "namespace_definitions", namespace_definitions, 0);
|
1650
|
+
rb_define_method(klass, "namespace_scopes", namespace_scopes, 0);
|
1651
|
+
rb_define_method(klass, "encode_special_chars", encode_special_chars, 1);
|
1652
|
+
rb_define_method(klass, "dup", duplicate_node, -1);
|
1653
|
+
rb_define_method(klass, "unlink", unlink_node, 0);
|
1654
|
+
rb_define_method(klass, "internal_subset", internal_subset, 0);
|
1655
|
+
rb_define_method(klass, "external_subset", external_subset, 0);
|
1656
|
+
rb_define_method(klass, "create_internal_subset", create_internal_subset, 3);
|
1657
|
+
rb_define_method(klass, "create_external_subset", create_external_subset, 3);
|
1658
|
+
rb_define_method(klass, "pointer_id", pointer_id, 0);
|
1659
|
+
rb_define_method(klass, "line", line, 0);
|
1660
|
+
rb_define_method(klass, "content", get_native_content, 0);
|
1661
|
+
rb_define_method(klass, "native_content=", set_native_content, 1);
|
1662
|
+
rb_define_method(klass, "lang", get_lang, 0);
|
1663
|
+
rb_define_method(klass, "lang=", set_lang, 1);
|
1664
|
+
|
1665
|
+
rb_define_private_method(klass, "process_xincludes", process_xincludes, 1);
|
1666
|
+
rb_define_private_method(klass, "in_context", in_context, 2);
|
1667
|
+
rb_define_private_method(klass, "add_child_node", add_child, 1);
|
1668
|
+
rb_define_private_method(klass, "add_previous_sibling_node", add_previous_sibling, 1);
|
1669
|
+
rb_define_private_method(klass, "add_next_sibling_node", add_next_sibling, 1);
|
1670
|
+
rb_define_private_method(klass, "replace_node", replace, 1);
|
1671
|
+
rb_define_private_method(klass, "dump_html", dump_html, 0);
|
1672
|
+
rb_define_private_method(klass, "native_write_to", native_write_to, 4);
|
1673
|
+
rb_define_private_method(klass, "get", get, 1);
|
1674
|
+
rb_define_private_method(klass, "set", set, 2);
|
1675
|
+
rb_define_private_method(klass, "set_namespace", set_namespace, 1);
|
1676
|
+
rb_define_private_method(klass, "compare", compare, 1);
|
1677
|
+
|
1678
|
+
decorate = rb_intern("decorate");
|
1679
|
+
decorate_bang = rb_intern("decorate!");
|
1680
|
+
}
|
1681
|
+
|
1682
|
+
/* vim: set noet sw=4 sws=4 */
|