monero_wallet_gen 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/.gitignore +9 -0
- data/.rspec +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +14 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/monero_wallet_gen.rb +133 -0
- data/lib/monero_wallet_gen/base58.rb +86 -0
- data/lib/monero_wallet_gen/ed25519.rb +177 -0
- data/lib/monero_wallet_gen/version.rb +3 -0
- data/lib/monero_wallet_gen/words.rb +206 -0
- data/monero_wallet_gen.gemspec +30 -0
- data/vendor/bundle/ruby/2.3.0/bin/coderay +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/htmldiff +25 -0
- data/vendor/bundle/ruby/2.3.0/bin/ldiff +25 -0
- data/vendor/bundle/ruby/2.3.0/bin/pry +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/rake +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/rspec +23 -0
- data/vendor/bundle/ruby/2.3.0/cache/activesupport-5.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/coderay-1.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/concurrent-ruby-1.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/digest-sha3-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/i18n-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/method_source-0.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/minitest-5.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/pry-0.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rake-10.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/thread_safe-0.3.6.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/tzinfo-1.2.5.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/digest-sha3-1.1.0/gem_make.out +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/CHANGELOG.md +522 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/README.rdoc +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/all.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/array_inquirer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/backtrace_cleaner.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/benchmarkable.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/builder.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache.rb +811 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/file_store.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/mem_cache_store.rb +207 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/memory_store.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/null_store.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/redis_cache_store.rb +454 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb +845 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/concern.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb +227 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/configurable.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/access.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/conversions.rb +213 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/extract_options.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/grouping.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/inquiry.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/prepend_and_append.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/benchmark.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/big_decimal.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class/attribute.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/class/subclasses.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/blank.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/calculations.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/conversions.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date/zones.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_and_time/calculations.rb +374 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/blank.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/calculations.rb +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/digest/uuid.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/enumerable.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/file.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/file/atomic.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/compact.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/conversions.rb +263 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/except.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/keys.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/slice.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/hash/transform_values.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer/inflections.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer/multiple.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/integer/time.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/agnostics.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/concern.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/reporting.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/load_error.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/marshal.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/aliasing.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/anonymous.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/attr_internal.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/attribute_accessors.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/concerning.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/delegation.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/deprecation.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/reachable.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/redefine_method.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/module/remove_method.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/name_error.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/bytes.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/conversions.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/inquiry.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/numeric/time.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/acts_like.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/blank.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/conversions.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/deep_dup.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/duplicable.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/inclusion.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/instance_variables.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/json.rb +227 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/to_param.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/to_query.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/try.rb +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/object/with_options.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/conversions.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/each.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/include_range.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/range/overlaps.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/regexp.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/securerandom.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/access.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/behavior.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/conversions.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/exclude.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/filters.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/indent.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/inflections.rb +254 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/inquiry.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/multibyte.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/output_safety.rb +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/strip.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/string/zones.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/calculations.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/compatibility.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/conversions.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/time/zones.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/uri.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/current_attributes.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb +745 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies/autoload.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/behaviors.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/constant_accessor.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/instance_delegator.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/method_wrappers.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/proxy_wrappers.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/deprecation/reporting.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/descendants_tracker.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/digest.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/duration.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/duration/iso8601_parser.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/duration/iso8601_serializer.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/encrypted_configuration.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/encrypted_file.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/evented_file_update_checker.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/execution_wrapper.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/executor.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/file_update_checker.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/gem_version.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/gzip.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/hash_with_indifferent_access.rb +381 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/i18n.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/i18n_railtie.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflections.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector/inflections.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector/methods.rb +408 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/inflector/transliterate.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/json.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/json/decoding.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/json/encoding.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/locale/en.yml +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/log_subscriber.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/log_subscriber/test_helper.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/logger.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/logger_silence.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/logger_thread_safe_level.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/message_encryptor.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/message_verifier.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/messages/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/messages/rotation_configuration.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/messages/rotator.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/multibyte.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/multibyte/chars.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/multibyte/unicode.rb +394 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb +216 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/notifications/fanout.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper.rb +371 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_converter.rb +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_delimited_converter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_human_size_converter.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_percentage_converter.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/number_to_rounded_converter.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/number_helper/rounding_helper.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/option_merger.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/ordered_hash.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/ordered_options.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/per_thread_registry.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/proxy_object.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/rails.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/railtie.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/reloader.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/rescuable.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/security_utils.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/string_inquirer.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/subscriber.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/test_case.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/assertions.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/autorun.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/constant_lookup.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/declarative.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/deprecation.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/file_fixtures.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/isolation.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/method_call_assertions.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/setup_and_teardown.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/stream.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/tagged_logging.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/testing/time_helpers.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/time_with_zone.rb +551 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/values/time_zone.rb +564 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/version.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/jdom.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/libxmlsax.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/nokogirisax.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/bin/coderay +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/coderay-1.1.2/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/CHANGELOG.md +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/README.md +247 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +445 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +188 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +356 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +240 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +547 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +241 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +331 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/LICENSE +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/Makefile +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/README.md +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/digest-sha3.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakF-1600-int-set.h +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakF-1600-interface.h +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakF-1600-reference.c +300 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakNISTInterface.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakNISTInterface.h +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakSponge.c +266 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/KeccakSponge.h +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/brg_endian.h +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/displayIntermediateValues.c +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/displayIntermediateValues.h +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/extconf.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/ext/digest/sha3.c +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/digest-sha3-1.1.0/lib/digest/sha3/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/README.md +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-3.2.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-4.0.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-4.1.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-4.2.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-5.0.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-5.1.x +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/gemfiles/Gemfile.rails-master +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n.rb +372 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/base.rb +257 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/cache.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/cascade.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/chain.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/fallbacks.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/flatten.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/gettext.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/interpolation_compiler.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/key_value.rb +179 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/memoize.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/metadata.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/simple.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/backend/transliterator.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/config.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/core_ext/string/interpolate.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/exceptions.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/gettext.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/gettext/helpers.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/middleware.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/basics.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/defaults.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/interpolation.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/date.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/lib/i18n/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/chain_test.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/key_value_test.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/memoize_test.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/override_test.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/api/simple_test.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/cache_test.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/cascade_test.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/chain_test.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/exceptions_test.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/fallbacks_test.rb +219 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/key_value_test.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/memoize_test.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/metadata_test.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/pluralization_test.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/simple_test.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/backend/transliterator_test.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/core_ext/hash_test.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/gettext/api_test.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/gettext/backend_test.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/exceptions_test.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/gettext_plural_keys_test.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/interpolate_test.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/load_path_test.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n/middleware_test.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/i18n_test.rb +462 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/locale/fallbacks_test.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/locale/tag/rfc4646_test.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/run_all.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/i18n-1.0.1/test/test_helper.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.travis.yml +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/LICENSE +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/README.markdown +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/Rakefile +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/method_source.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/method_source_spec.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/method_source-0.9.0/spec/spec_helper.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/.autotest +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/History.rdoc +1310 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/Manifest.txt +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/README.rdoc +746 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/Rakefile +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest.rb +987 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
- data/vendor/bundle/ruby/2.3.0/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/CHANGELOG.md +797 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/LICENSE +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/README.md +407 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/bin/pry +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/basic_object.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/cli.rb +225 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code.rb +353 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/code_file.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/code_range.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code/loc.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/code_object.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/color_printer.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/command.rb +716 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/command_set.rb +450 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/amend_line.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/bang.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/bang_pry.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/abstract_formatter.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/exception_formatter.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/cd.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/change_inspector.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/change_prompt.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/code_collector.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/disable_pry.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/disabled_commands.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/easter_eggs.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit/exception_patcher.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit_all.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/exit_program.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/find_method.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/fix_indent.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_cd.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_install.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_list.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_open.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_readme.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gem_search.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/gist.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/help.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/hist.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/import_set.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/install_command.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/jump_to.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/list_inspectors.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/list_prompts.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/constants.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/formatter.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/globals.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/grep.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/instance_vars.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/interrogatable.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/jruby_hacks.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/local_names.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/local_vars.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/ls_entity.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/methods.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/methods_helper.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/nesting.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/play.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/pry_backtrace.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/pry_version.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/raise_up.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/reload_code.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/reset.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/ri.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/save_file.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/shell_command.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/shell_mode.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_doc.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_info.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_input.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/show_source.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/simple_prompt.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/stat.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/switch_to.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/toggle_color.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/watch_expression.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/watch_expression/expression.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/whereami.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/commands/wtf.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/behavior.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/convenience.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/default.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/config/memoization.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/core_extensions.rb +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/editor.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/exceptions.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/forwardable.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/command_helpers.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/documentation_helpers.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/options_helpers.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/table.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/helpers/text.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/history.rb +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/history_array.rb +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/hooks.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/indent.rb +410 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/input_completer.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/input_lock.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/inspector.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method.rb +546 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/disowned.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/patcher.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/method/weird_method_locator.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/object_path.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/output.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pager.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/platform.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/plugins.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/prompt.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pry_class.rb +401 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/pry_instance.rb +666 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/rbx_path.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/repl.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/repl_file_loader.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/rubygem.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop.rb +661 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/commands.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/slop/option.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/terminal.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/evalable.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/mockable.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/pry_tester.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/utility.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/testable/variables.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module.rb +378 -0
- data/vendor/bundle/ruby/2.3.0/gems/pry-0.11.3/lib/pry/wrapped_module/candidate.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/.autotest +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/.rubocop.yml +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/.togglerc +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/History.rdoc +659 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/Manifest.txt +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/README.rdoc +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/Rakefile +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/bin/rake +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/rake.1 +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb +790 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb +383 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/rakelib/publish.rake +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/helper.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/README.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/.yardopts +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/Changelog.md +2192 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/README.md +384 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/bisect/server.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/configuration.rb +2209 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/example.rb +653 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/example_group.rb +884 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/deprecation_formatter.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/exception_presenter.rb +496 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_printer.rb +416 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/hooks.rb +626 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/invocations.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb +535 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/option_parser.rb +309 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/reporter.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/runner.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/world.rb +264 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/Changelog.md +1083 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/README.md +305 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers.rb +1031 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/change.rb +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/composable.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/dsl.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/Changelog.md +1089 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/README.md +460 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/proxy.rb +484 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/Changelog.md +234 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/README.md +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/object_formatter.rb +267 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/ruby_features.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/shell_out.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/.rspec +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/.travis.yml +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/.yardopts +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/Gemfile +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/LICENSE +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/README.md +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/Rakefile +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/CHANGES.md +786 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/LICENSE +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/README.md +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/Rakefile +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb +340 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb +669 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb +245 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb +488 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb +296 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country.rb +234 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_country_timezone.rb +173 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_ruby_country_info.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_time_or_datetime.rb +654 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone.rb +1350 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_period.rb +555 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_proxy.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_transition.rb +366 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_transition_definition.rb +295 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_country_info.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_data_source.rb +1195 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_timezone_info.rb +1232 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/test_utils.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/leapseconds +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/tzinfo-1.2.5/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.3.0/specifications/activesupport-5.2.0.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/coderay-1.1.2.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/specifications/concurrent-ruby-1.0.5.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.3.0/specifications/i18n-1.0.1.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/specifications/method_source-0.9.0.gemspec +34 -0
- data/vendor/bundle/ruby/2.3.0/specifications/minitest-5.11.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/pry-0.11.3.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rake-10.5.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.7.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.7.1.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.7.1.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/thread_safe-0.3.6.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/specifications/tzinfo-1.2.5.gemspec +37 -0
- metadata +1498 -0
data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'concurrent/atomic_reference/direct_update'
|
2
|
+
require 'concurrent/atomic_reference/numeric_cas_wrapper'
|
3
|
+
|
4
|
+
module Concurrent
|
5
|
+
|
6
|
+
# @!macro atomic_reference
|
7
|
+
#
|
8
|
+
# @note Extends `Rubinius::AtomicReference` version adding aliases
|
9
|
+
# and numeric logic.
|
10
|
+
#
|
11
|
+
# @!visibility private
|
12
|
+
# @!macro internal_implementation_note
|
13
|
+
class RbxAtomicReference < Rubinius::AtomicReference
|
14
|
+
alias _compare_and_set compare_and_set
|
15
|
+
include Concurrent::AtomicDirectUpdate
|
16
|
+
include Concurrent::AtomicNumericCompareAndSetWrapper
|
17
|
+
|
18
|
+
alias_method :value, :get
|
19
|
+
alias_method :value=, :set
|
20
|
+
alias_method :swap, :get_and_set
|
21
|
+
end
|
22
|
+
end
|
data/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
if defined? Concurrent::CAtomicReference
|
2
|
+
require 'concurrent/synchronization'
|
3
|
+
require 'concurrent/atomic_reference/direct_update'
|
4
|
+
require 'concurrent/atomic_reference/numeric_cas_wrapper'
|
5
|
+
|
6
|
+
module Concurrent
|
7
|
+
|
8
|
+
# @!macro atomic_reference
|
9
|
+
#
|
10
|
+
# @!visibility private
|
11
|
+
# @!macro internal_implementation_note
|
12
|
+
class CAtomicReference
|
13
|
+
include Concurrent::AtomicDirectUpdate
|
14
|
+
include Concurrent::AtomicNumericCompareAndSetWrapper
|
15
|
+
|
16
|
+
# @!method initialize
|
17
|
+
# @!macro atomic_reference_method_initialize
|
18
|
+
|
19
|
+
# @!method get
|
20
|
+
# @!macro atomic_reference_method_get
|
21
|
+
|
22
|
+
# @!method set
|
23
|
+
# @!macro atomic_reference_method_set
|
24
|
+
|
25
|
+
# @!method get_and_set
|
26
|
+
# @!macro atomic_reference_method_get_and_set
|
27
|
+
|
28
|
+
# @!method _compare_and_set
|
29
|
+
# @!macro atomic_reference_method_compare_and_set
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# @!macro [new] atomic_reference
|
2
|
+
#
|
3
|
+
# An object reference that may be updated atomically. All read and write
|
4
|
+
# operations have java volatile semantic.
|
5
|
+
#
|
6
|
+
# @!macro thread_safe_variable_comparison
|
7
|
+
#
|
8
|
+
# @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html
|
9
|
+
# @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html
|
10
|
+
#
|
11
|
+
# @!method initialize
|
12
|
+
# @!macro [new] atomic_reference_method_initialize
|
13
|
+
# @param [Object] value The initial value.
|
14
|
+
#
|
15
|
+
# @!method get
|
16
|
+
# @!macro [new] atomic_reference_method_get
|
17
|
+
# Gets the current value.
|
18
|
+
# @return [Object] the current value
|
19
|
+
#
|
20
|
+
# @!method set
|
21
|
+
# @!macro [new] atomic_reference_method_set
|
22
|
+
# Sets to the given value.
|
23
|
+
# @param [Object] new_value the new value
|
24
|
+
# @return [Object] the new value
|
25
|
+
#
|
26
|
+
# @!method get_and_set
|
27
|
+
# @!macro [new] atomic_reference_method_get_and_set
|
28
|
+
# Atomically sets to the given value and returns the old value.
|
29
|
+
# @param [Object] new_value the new value
|
30
|
+
# @return [Object] the old value
|
31
|
+
#
|
32
|
+
# @!method compare_and_set
|
33
|
+
# @!macro [new] atomic_reference_method_compare_and_set
|
34
|
+
#
|
35
|
+
# Atomically sets the value to the given updated value if
|
36
|
+
# the current value == the expected value.
|
37
|
+
#
|
38
|
+
# @param [Object] old_value the expected value
|
39
|
+
# @param [Object] new_value the new value
|
40
|
+
#
|
41
|
+
# @return [Boolean] `true` if successful. A `false` return indicates
|
42
|
+
# that the actual value was not equal to the expected value.
|
43
|
+
|
44
|
+
require 'concurrent/atomic/atomic_reference'
|
45
|
+
require 'concurrent/atomic/atomic_boolean'
|
46
|
+
require 'concurrent/atomic/atomic_fixnum'
|
47
|
+
require 'concurrent/atomic/cyclic_barrier'
|
48
|
+
require 'concurrent/atomic/count_down_latch'
|
49
|
+
require 'concurrent/atomic/event'
|
50
|
+
require 'concurrent/atomic/read_write_lock'
|
51
|
+
require 'concurrent/atomic/reentrant_read_write_lock'
|
52
|
+
require 'concurrent/atomic/semaphore'
|
53
|
+
require 'concurrent/atomic/thread_local_var'
|
@@ -0,0 +1,107 @@
|
|
1
|
+
require 'concurrent/synchronization'
|
2
|
+
|
3
|
+
module Concurrent
|
4
|
+
module Collection
|
5
|
+
|
6
|
+
# A thread safe observer set implemented using copy-on-read approach:
|
7
|
+
# observers are added and removed from a thread safe collection; every time
|
8
|
+
# a notification is required the internal data structure is copied to
|
9
|
+
# prevent concurrency issues
|
10
|
+
#
|
11
|
+
# @api private
|
12
|
+
class CopyOnNotifyObserverSet < Synchronization::LockableObject
|
13
|
+
|
14
|
+
def initialize
|
15
|
+
super()
|
16
|
+
synchronize { ns_initialize }
|
17
|
+
end
|
18
|
+
|
19
|
+
# @!macro observable_add_observer
|
20
|
+
def add_observer(observer = nil, func = :update, &block)
|
21
|
+
if observer.nil? && block.nil?
|
22
|
+
raise ArgumentError, 'should pass observer as a first argument or block'
|
23
|
+
elsif observer && block
|
24
|
+
raise ArgumentError.new('cannot provide both an observer and a block')
|
25
|
+
end
|
26
|
+
|
27
|
+
if block
|
28
|
+
observer = block
|
29
|
+
func = :call
|
30
|
+
end
|
31
|
+
|
32
|
+
synchronize do
|
33
|
+
@observers[observer] = func
|
34
|
+
observer
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# @!macro observable_delete_observer
|
39
|
+
def delete_observer(observer)
|
40
|
+
synchronize do
|
41
|
+
@observers.delete(observer)
|
42
|
+
observer
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# @!macro observable_delete_observers
|
47
|
+
def delete_observers
|
48
|
+
synchronize do
|
49
|
+
@observers.clear
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# @!macro observable_count_observers
|
55
|
+
def count_observers
|
56
|
+
synchronize { @observers.count }
|
57
|
+
end
|
58
|
+
|
59
|
+
# Notifies all registered observers with optional args
|
60
|
+
# @param [Object] args arguments to be passed to each observer
|
61
|
+
# @return [CopyOnWriteObserverSet] self
|
62
|
+
def notify_observers(*args, &block)
|
63
|
+
observers = duplicate_observers
|
64
|
+
notify_to(observers, *args, &block)
|
65
|
+
self
|
66
|
+
end
|
67
|
+
|
68
|
+
# Notifies all registered observers with optional args and deletes them.
|
69
|
+
#
|
70
|
+
# @param [Object] args arguments to be passed to each observer
|
71
|
+
# @return [CopyOnWriteObserverSet] self
|
72
|
+
def notify_and_delete_observers(*args, &block)
|
73
|
+
observers = duplicate_and_clear_observers
|
74
|
+
notify_to(observers, *args, &block)
|
75
|
+
self
|
76
|
+
end
|
77
|
+
|
78
|
+
protected
|
79
|
+
|
80
|
+
def ns_initialize
|
81
|
+
@observers = {}
|
82
|
+
end
|
83
|
+
|
84
|
+
private
|
85
|
+
|
86
|
+
def duplicate_and_clear_observers
|
87
|
+
synchronize do
|
88
|
+
observers = @observers.dup
|
89
|
+
@observers.clear
|
90
|
+
observers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
def duplicate_observers
|
95
|
+
synchronize { @observers.dup }
|
96
|
+
end
|
97
|
+
|
98
|
+
def notify_to(observers, *args)
|
99
|
+
raise ArgumentError.new('cannot give arguments and a block') if block_given? && !args.empty?
|
100
|
+
observers.each do |observer, function|
|
101
|
+
args = yield if block_given?
|
102
|
+
observer.send(function, *args)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
require 'concurrent/synchronization'
|
2
|
+
|
3
|
+
module Concurrent
|
4
|
+
module Collection
|
5
|
+
|
6
|
+
# A thread safe observer set implemented using copy-on-write approach:
|
7
|
+
# every time an observer is added or removed the whole internal data structure is
|
8
|
+
# duplicated and replaced with a new one.
|
9
|
+
#
|
10
|
+
# @api private
|
11
|
+
class CopyOnWriteObserverSet < Synchronization::LockableObject
|
12
|
+
|
13
|
+
def initialize
|
14
|
+
super()
|
15
|
+
synchronize { ns_initialize }
|
16
|
+
end
|
17
|
+
|
18
|
+
# @!macro observable_add_observer
|
19
|
+
def add_observer(observer = nil, func = :update, &block)
|
20
|
+
if observer.nil? && block.nil?
|
21
|
+
raise ArgumentError, 'should pass observer as a first argument or block'
|
22
|
+
elsif observer && block
|
23
|
+
raise ArgumentError.new('cannot provide both an observer and a block')
|
24
|
+
end
|
25
|
+
|
26
|
+
if block
|
27
|
+
observer = block
|
28
|
+
func = :call
|
29
|
+
end
|
30
|
+
|
31
|
+
synchronize do
|
32
|
+
new_observers = @observers.dup
|
33
|
+
new_observers[observer] = func
|
34
|
+
@observers = new_observers
|
35
|
+
observer
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# @!macro observable_delete_observer
|
40
|
+
def delete_observer(observer)
|
41
|
+
synchronize do
|
42
|
+
new_observers = @observers.dup
|
43
|
+
new_observers.delete(observer)
|
44
|
+
@observers = new_observers
|
45
|
+
observer
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# @!macro observable_delete_observers
|
50
|
+
def delete_observers
|
51
|
+
self.observers = {}
|
52
|
+
self
|
53
|
+
end
|
54
|
+
|
55
|
+
# @!macro observable_count_observers
|
56
|
+
def count_observers
|
57
|
+
observers.count
|
58
|
+
end
|
59
|
+
|
60
|
+
# Notifies all registered observers with optional args
|
61
|
+
# @param [Object] args arguments to be passed to each observer
|
62
|
+
# @return [CopyOnWriteObserverSet] self
|
63
|
+
def notify_observers(*args, &block)
|
64
|
+
notify_to(observers, *args, &block)
|
65
|
+
self
|
66
|
+
end
|
67
|
+
|
68
|
+
# Notifies all registered observers with optional args and deletes them.
|
69
|
+
#
|
70
|
+
# @param [Object] args arguments to be passed to each observer
|
71
|
+
# @return [CopyOnWriteObserverSet] self
|
72
|
+
def notify_and_delete_observers(*args, &block)
|
73
|
+
old = clear_observers_and_return_old
|
74
|
+
notify_to(old, *args, &block)
|
75
|
+
self
|
76
|
+
end
|
77
|
+
|
78
|
+
protected
|
79
|
+
|
80
|
+
def ns_initialize
|
81
|
+
@observers = {}
|
82
|
+
end
|
83
|
+
|
84
|
+
private
|
85
|
+
|
86
|
+
def notify_to(observers, *args)
|
87
|
+
raise ArgumentError.new('cannot give arguments and a block') if block_given? && !args.empty?
|
88
|
+
observers.each do |observer, function|
|
89
|
+
args = yield if block_given?
|
90
|
+
observer.send(function, *args)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
def observers
|
95
|
+
synchronize { @observers }
|
96
|
+
end
|
97
|
+
|
98
|
+
def observers=(new_set)
|
99
|
+
synchronize { @observers = new_set }
|
100
|
+
end
|
101
|
+
|
102
|
+
def clear_observers_and_return_old
|
103
|
+
synchronize do
|
104
|
+
old_observers = @observers
|
105
|
+
@observers = {}
|
106
|
+
old_observers
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
if Concurrent.on_jruby?
|
2
|
+
|
3
|
+
module Concurrent
|
4
|
+
module Collection
|
5
|
+
|
6
|
+
|
7
|
+
# @!macro priority_queue
|
8
|
+
#
|
9
|
+
# @!visibility private
|
10
|
+
# @!macro internal_implementation_note
|
11
|
+
class JavaNonConcurrentPriorityQueue
|
12
|
+
|
13
|
+
# @!macro priority_queue_method_initialize
|
14
|
+
def initialize(opts = {})
|
15
|
+
order = opts.fetch(:order, :max)
|
16
|
+
if [:min, :low].include?(order)
|
17
|
+
@queue = java.util.PriorityQueue.new(11) # 11 is the default initial capacity
|
18
|
+
else
|
19
|
+
@queue = java.util.PriorityQueue.new(11, java.util.Collections.reverseOrder())
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# @!macro priority_queue_method_clear
|
24
|
+
def clear
|
25
|
+
@queue.clear
|
26
|
+
true
|
27
|
+
end
|
28
|
+
|
29
|
+
# @!macro priority_queue_method_delete
|
30
|
+
def delete(item)
|
31
|
+
found = false
|
32
|
+
while @queue.remove(item) do
|
33
|
+
found = true
|
34
|
+
end
|
35
|
+
found
|
36
|
+
end
|
37
|
+
|
38
|
+
# @!macro priority_queue_method_empty
|
39
|
+
def empty?
|
40
|
+
@queue.size == 0
|
41
|
+
end
|
42
|
+
|
43
|
+
# @!macro priority_queue_method_include
|
44
|
+
def include?(item)
|
45
|
+
@queue.contains(item)
|
46
|
+
end
|
47
|
+
alias_method :has_priority?, :include?
|
48
|
+
|
49
|
+
# @!macro priority_queue_method_length
|
50
|
+
def length
|
51
|
+
@queue.size
|
52
|
+
end
|
53
|
+
alias_method :size, :length
|
54
|
+
|
55
|
+
# @!macro priority_queue_method_peek
|
56
|
+
def peek
|
57
|
+
@queue.peek
|
58
|
+
end
|
59
|
+
|
60
|
+
# @!macro priority_queue_method_pop
|
61
|
+
def pop
|
62
|
+
@queue.poll
|
63
|
+
end
|
64
|
+
alias_method :deq, :pop
|
65
|
+
alias_method :shift, :pop
|
66
|
+
|
67
|
+
# @!macro priority_queue_method_push
|
68
|
+
def push(item)
|
69
|
+
raise ArgumentError.new('cannot enqueue nil') if item.nil?
|
70
|
+
@queue.add(item)
|
71
|
+
end
|
72
|
+
alias_method :<<, :push
|
73
|
+
alias_method :enq, :push
|
74
|
+
|
75
|
+
# @!macro priority_queue_method_from_list
|
76
|
+
def self.from_list(list, opts = {})
|
77
|
+
queue = new(opts)
|
78
|
+
list.each{|item| queue << item }
|
79
|
+
queue
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,927 @@
|
|
1
|
+
require 'concurrent/constants'
|
2
|
+
require 'concurrent/thread_safe/util'
|
3
|
+
require 'concurrent/thread_safe/util/adder'
|
4
|
+
require 'concurrent/thread_safe/util/cheap_lockable'
|
5
|
+
require 'concurrent/thread_safe/util/power_of_two_tuple'
|
6
|
+
require 'concurrent/thread_safe/util/volatile'
|
7
|
+
require 'concurrent/thread_safe/util/xor_shift_random'
|
8
|
+
|
9
|
+
module Concurrent
|
10
|
+
|
11
|
+
# @!visibility private
|
12
|
+
module Collection
|
13
|
+
|
14
|
+
# A Ruby port of the Doug Lea's jsr166e.ConcurrentHashMapV8 class version 1.59
|
15
|
+
# available in public domain.
|
16
|
+
#
|
17
|
+
# Original source code available here:
|
18
|
+
# http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/ConcurrentHashMapV8.java?revision=1.59
|
19
|
+
#
|
20
|
+
# The Ruby port skips out the +TreeBin+ (red-black trees for use in bins whose
|
21
|
+
# size exceeds a threshold).
|
22
|
+
#
|
23
|
+
# A hash table supporting full concurrency of retrievals and high expected
|
24
|
+
# concurrency for updates. However, even though all operations are
|
25
|
+
# thread-safe, retrieval operations do _not_ entail locking, and there is
|
26
|
+
# _not_ any support for locking the entire table in a way that prevents all
|
27
|
+
# access.
|
28
|
+
#
|
29
|
+
# Retrieval operations generally do not block, so may overlap with update
|
30
|
+
# operations. Retrievals reflect the results of the most recently _completed_
|
31
|
+
# update operations holding upon their onset. (More formally, an update
|
32
|
+
# operation for a given key bears a _happens-before_ relation with any (non
|
33
|
+
# +nil+) retrieval for that key reporting the updated value.) For aggregate
|
34
|
+
# operations such as +clear()+, concurrent retrievals may reflect insertion or
|
35
|
+
# removal of only some entries. Similarly, the +each_pair+ iterator yields
|
36
|
+
# elements reflecting the state of the hash table at some point at or since
|
37
|
+
# the start of the +each_pair+. Bear in mind that the results of aggregate
|
38
|
+
# status methods including +size()+ and +empty?+} are typically useful only
|
39
|
+
# when a map is not undergoing concurrent updates in other threads. Otherwise
|
40
|
+
# the results of these methods reflect transient states that may be adequate
|
41
|
+
# for monitoring or estimation purposes, but not for program control.
|
42
|
+
#
|
43
|
+
# The table is dynamically expanded when there are too many collisions (i.e.,
|
44
|
+
# keys that have distinct hash codes but fall into the same slot modulo the
|
45
|
+
# table size), with the expected average effect of maintaining roughly two
|
46
|
+
# bins per mapping (corresponding to a 0.75 load factor threshold for
|
47
|
+
# resizing). There may be much variance around this average as mappings are
|
48
|
+
# added and removed, but overall, this maintains a commonly accepted
|
49
|
+
# time/space tradeoff for hash tables. However, resizing this or any other
|
50
|
+
# kind of hash table may be a relatively slow operation. When possible, it is
|
51
|
+
# a good idea to provide a size estimate as an optional :initial_capacity
|
52
|
+
# initializer argument. An additional optional :load_factor constructor
|
53
|
+
# argument provides a further means of customizing initial table capacity by
|
54
|
+
# specifying the table density to be used in calculating the amount of space
|
55
|
+
# to allocate for the given number of elements. Note that using many keys with
|
56
|
+
# exactly the same +hash+ is a sure way to slow down performance of any hash
|
57
|
+
# table.
|
58
|
+
#
|
59
|
+
# ## Design overview
|
60
|
+
#
|
61
|
+
# The primary design goal of this hash table is to maintain concurrent
|
62
|
+
# readability (typically method +[]+, but also iteration and related methods)
|
63
|
+
# while minimizing update contention. Secondary goals are to keep space
|
64
|
+
# consumption about the same or better than plain +Hash+, and to support high
|
65
|
+
# initial insertion rates on an empty table by many threads.
|
66
|
+
#
|
67
|
+
# Each key-value mapping is held in a +Node+. The validation-based approach
|
68
|
+
# explained below leads to a lot of code sprawl because retry-control
|
69
|
+
# precludes factoring into smaller methods.
|
70
|
+
#
|
71
|
+
# The table is lazily initialized to a power-of-two size upon the first
|
72
|
+
# insertion. Each bin in the table normally contains a list of +Node+s (most
|
73
|
+
# often, the list has only zero or one +Node+). Table accesses require
|
74
|
+
# volatile/atomic reads, writes, and CASes. The lists of nodes within bins are
|
75
|
+
# always accurately traversable under volatile reads, so long as lookups check
|
76
|
+
# hash code and non-nullness of value before checking key equality.
|
77
|
+
#
|
78
|
+
# We use the top two bits of +Node+ hash fields for control purposes -- they
|
79
|
+
# are available anyway because of addressing constraints. As explained further
|
80
|
+
# below, these top bits are used as follows:
|
81
|
+
#
|
82
|
+
# - 00 - Normal
|
83
|
+
# - 01 - Locked
|
84
|
+
# - 11 - Locked and may have a thread waiting for lock
|
85
|
+
# - 10 - +Node+ is a forwarding node
|
86
|
+
#
|
87
|
+
# The lower 28 bits of each +Node+'s hash field contain a the key's hash code,
|
88
|
+
# except for forwarding nodes, for which the lower bits are zero (and so
|
89
|
+
# always have hash field == +MOVED+).
|
90
|
+
#
|
91
|
+
# Insertion (via +[]=+ or its variants) of the first node in an empty bin is
|
92
|
+
# performed by just CASing it to the bin. This is by far the most common case
|
93
|
+
# for put operations under most key/hash distributions. Other update
|
94
|
+
# operations (insert, delete, and replace) require locks. We do not want to
|
95
|
+
# waste the space required to associate a distinct lock object with each bin,
|
96
|
+
# so instead use the first node of a bin list itself as a lock. Blocking
|
97
|
+
# support for these locks relies +Concurrent::ThreadSafe::Util::CheapLockable. However, we also need a
|
98
|
+
# +try_lock+ construction, so we overlay these by using bits of the +Node+
|
99
|
+
# hash field for lock control (see above), and so normally use builtin
|
100
|
+
# monitors only for blocking and signalling using
|
101
|
+
# +cheap_wait+/+cheap_broadcast+ constructions. See +Node#try_await_lock+.
|
102
|
+
#
|
103
|
+
# Using the first node of a list as a lock does not by itself suffice though:
|
104
|
+
# When a node is locked, any update must first validate that it is still the
|
105
|
+
# first node after locking it, and retry if not. Because new nodes are always
|
106
|
+
# appended to lists, once a node is first in a bin, it remains first until
|
107
|
+
# deleted or the bin becomes invalidated (upon resizing). However, operations
|
108
|
+
# that only conditionally update may inspect nodes until the point of update.
|
109
|
+
# This is a converse of sorts to the lazy locking technique described by
|
110
|
+
# Herlihy & Shavit.
|
111
|
+
#
|
112
|
+
# The main disadvantage of per-bin locks is that other update operations on
|
113
|
+
# other nodes in a bin list protected by the same lock can stall, for example
|
114
|
+
# when user +eql?+ or mapping functions take a long time. However,
|
115
|
+
# statistically, under random hash codes, this is not a common problem.
|
116
|
+
# Ideally, the frequency of nodes in bins follows a Poisson distribution
|
117
|
+
# (http://en.wikipedia.org/wiki/Poisson_distribution) with a parameter of
|
118
|
+
# about 0.5 on average, given the resizing threshold of 0.75, although with a
|
119
|
+
# large variance because of resizing granularity. Ignoring variance, the
|
120
|
+
# expected occurrences of list size k are (exp(-0.5) * pow(0.5, k) /
|
121
|
+
# factorial(k)). The first values are:
|
122
|
+
#
|
123
|
+
# - 0: 0.60653066
|
124
|
+
# - 1: 0.30326533
|
125
|
+
# - 2: 0.07581633
|
126
|
+
# - 3: 0.01263606
|
127
|
+
# - 4: 0.00157952
|
128
|
+
# - 5: 0.00015795
|
129
|
+
# - 6: 0.00001316
|
130
|
+
# - 7: 0.00000094
|
131
|
+
# - 8: 0.00000006
|
132
|
+
# - more: less than 1 in ten million
|
133
|
+
#
|
134
|
+
# Lock contention probability for two threads accessing distinct elements is
|
135
|
+
# roughly 1 / (8 * #elements) under random hashes.
|
136
|
+
#
|
137
|
+
# The table is resized when occupancy exceeds a percentage threshold
|
138
|
+
# (nominally, 0.75, but see below). Only a single thread performs the resize
|
139
|
+
# (using field +size_control+, to arrange exclusion), but the table otherwise
|
140
|
+
# remains usable for reads and updates. Resizing proceeds by transferring
|
141
|
+
# bins, one by one, from the table to the next table. Because we are using
|
142
|
+
# power-of-two expansion, the elements from each bin must either stay at same
|
143
|
+
# index, or move with a power of two offset. We eliminate unnecessary node
|
144
|
+
# creation by catching cases where old nodes can be reused because their next
|
145
|
+
# fields won't change. On average, only about one-sixth of them need cloning
|
146
|
+
# when a table doubles. The nodes they replace will be garbage collectable as
|
147
|
+
# soon as they are no longer referenced by any reader thread that may be in
|
148
|
+
# the midst of concurrently traversing table. Upon transfer, the old table bin
|
149
|
+
# contains only a special forwarding node (with hash field +MOVED+) that
|
150
|
+
# contains the next table as its key. On encountering a forwarding node,
|
151
|
+
# access and update operations restart, using the new table.
|
152
|
+
#
|
153
|
+
# Each bin transfer requires its bin lock. However, unlike other cases, a
|
154
|
+
# transfer can skip a bin if it fails to acquire its lock, and revisit it
|
155
|
+
# later. Method +rebuild+ maintains a buffer of TRANSFER_BUFFER_SIZE bins that
|
156
|
+
# have been skipped because of failure to acquire a lock, and blocks only if
|
157
|
+
# none are available (i.e., only very rarely). The transfer operation must
|
158
|
+
# also ensure that all accessible bins in both the old and new table are
|
159
|
+
# usable by any traversal. When there are no lock acquisition failures, this
|
160
|
+
# is arranged simply by proceeding from the last bin (+table.size - 1+) up
|
161
|
+
# towards the first. Upon seeing a forwarding node, traversals arrange to move
|
162
|
+
# to the new table without revisiting nodes. However, when any node is skipped
|
163
|
+
# during a transfer, all earlier table bins may have become visible, so are
|
164
|
+
# initialized with a reverse-forwarding node back to the old table until the
|
165
|
+
# new ones are established. (This sometimes requires transiently locking a
|
166
|
+
# forwarding node, which is possible under the above encoding.) These more
|
167
|
+
# expensive mechanics trigger only when necessary.
|
168
|
+
#
|
169
|
+
# The traversal scheme also applies to partial traversals of
|
170
|
+
# ranges of bins (via an alternate Traverser constructor)
|
171
|
+
# to support partitioned aggregate operations. Also, read-only
|
172
|
+
# operations give up if ever forwarded to a null table, which
|
173
|
+
# provides support for shutdown-style clearing, which is also not
|
174
|
+
# currently implemented.
|
175
|
+
#
|
176
|
+
# Lazy table initialization minimizes footprint until first use.
|
177
|
+
#
|
178
|
+
# The element count is maintained using a +Concurrent::ThreadSafe::Util::Adder+,
|
179
|
+
# which avoids contention on updates but can encounter cache thrashing
|
180
|
+
# if read too frequently during concurrent access. To avoid reading so
|
181
|
+
# often, resizing is attempted either when a bin lock is
|
182
|
+
# contended, or upon adding to a bin already holding two or more
|
183
|
+
# nodes (checked before adding in the +x_if_absent+ methods, after
|
184
|
+
# adding in others). Under uniform hash distributions, the
|
185
|
+
# probability of this occurring at threshold is around 13%,
|
186
|
+
# meaning that only about 1 in 8 puts check threshold (and after
|
187
|
+
# resizing, many fewer do so). But this approximation has high
|
188
|
+
# variance for small table sizes, so we check on any collision
|
189
|
+
# for sizes <= 64. The bulk putAll operation further reduces
|
190
|
+
# contention by only committing count updates upon these size
|
191
|
+
# checks.
|
192
|
+
#
|
193
|
+
# @!visibility private
|
194
|
+
class AtomicReferenceMapBackend
|
195
|
+
|
196
|
+
# @!visibility private
|
197
|
+
class Table < Concurrent::ThreadSafe::Util::PowerOfTwoTuple
|
198
|
+
def cas_new_node(i, hash, key, value)
|
199
|
+
cas(i, nil, Node.new(hash, key, value))
|
200
|
+
end
|
201
|
+
|
202
|
+
def try_to_cas_in_computed(i, hash, key)
|
203
|
+
succeeded = false
|
204
|
+
new_value = nil
|
205
|
+
new_node = Node.new(locked_hash = hash | LOCKED, key, NULL)
|
206
|
+
if cas(i, nil, new_node)
|
207
|
+
begin
|
208
|
+
if NULL == (new_value = yield(NULL))
|
209
|
+
was_null = true
|
210
|
+
else
|
211
|
+
new_node.value = new_value
|
212
|
+
end
|
213
|
+
succeeded = true
|
214
|
+
ensure
|
215
|
+
volatile_set(i, nil) if !succeeded || was_null
|
216
|
+
new_node.unlock_via_hash(locked_hash, hash)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
return succeeded, new_value
|
220
|
+
end
|
221
|
+
|
222
|
+
def try_lock_via_hash(i, node, node_hash)
|
223
|
+
node.try_lock_via_hash(node_hash) do
|
224
|
+
yield if volatile_get(i) == node
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
def delete_node_at(i, node, predecessor_node)
|
229
|
+
if predecessor_node
|
230
|
+
predecessor_node.next = node.next
|
231
|
+
else
|
232
|
+
volatile_set(i, node.next)
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# Key-value entry. Nodes with a hash field of +MOVED+ are special, and do
|
238
|
+
# not contain user keys or values. Otherwise, keys are never +nil+, and
|
239
|
+
# +NULL+ +value+ fields indicate that a node is in the process of being
|
240
|
+
# deleted or created. For purposes of read-only access, a key may be read
|
241
|
+
# before a value, but can only be used after checking value to be +!= NULL+.
|
242
|
+
#
|
243
|
+
# @!visibility private
|
244
|
+
class Node
|
245
|
+
extend Concurrent::ThreadSafe::Util::Volatile
|
246
|
+
attr_volatile :hash, :value, :next
|
247
|
+
|
248
|
+
include Concurrent::ThreadSafe::Util::CheapLockable
|
249
|
+
|
250
|
+
bit_shift = Concurrent::ThreadSafe::Util::FIXNUM_BIT_SIZE - 2 # need 2 bits for ourselves
|
251
|
+
# Encodings for special uses of Node hash fields. See above for explanation.
|
252
|
+
MOVED = ('10' << ('0' * bit_shift)).to_i(2) # hash field for forwarding nodes
|
253
|
+
LOCKED = ('01' << ('0' * bit_shift)).to_i(2) # set/tested only as a bit
|
254
|
+
WAITING = ('11' << ('0' * bit_shift)).to_i(2) # both bits set/tested together
|
255
|
+
HASH_BITS = ('00' << ('1' * bit_shift)).to_i(2) # usable bits of normal node hash
|
256
|
+
|
257
|
+
SPIN_LOCK_ATTEMPTS = Concurrent::ThreadSafe::Util::CPU_COUNT > 1 ? Concurrent::ThreadSafe::Util::CPU_COUNT * 2 : 0
|
258
|
+
|
259
|
+
attr_reader :key
|
260
|
+
|
261
|
+
def initialize(hash, key, value, next_node = nil)
|
262
|
+
super()
|
263
|
+
@key = key
|
264
|
+
self.lazy_set_hash(hash)
|
265
|
+
self.lazy_set_value(value)
|
266
|
+
self.next = next_node
|
267
|
+
end
|
268
|
+
|
269
|
+
# Spins a while if +LOCKED+ bit set and this node is the first of its bin,
|
270
|
+
# and then sets +WAITING+ bits on hash field and blocks (once) if they are
|
271
|
+
# still set. It is OK for this method to return even if lock is not
|
272
|
+
# available upon exit, which enables these simple single-wait mechanics.
|
273
|
+
#
|
274
|
+
# The corresponding signalling operation is performed within callers: Upon
|
275
|
+
# detecting that +WAITING+ has been set when unlocking lock (via a failed
|
276
|
+
# CAS from non-waiting +LOCKED+ state), unlockers acquire the
|
277
|
+
# +cheap_synchronize+ lock and perform a +cheap_broadcast+.
|
278
|
+
def try_await_lock(table, i)
|
279
|
+
if table && i >= 0 && i < table.size # bounds check, TODO: why are we bounds checking?
|
280
|
+
spins = SPIN_LOCK_ATTEMPTS
|
281
|
+
randomizer = base_randomizer = Concurrent::ThreadSafe::Util::XorShiftRandom.get
|
282
|
+
while equal?(table.volatile_get(i)) && self.class.locked_hash?(my_hash = hash)
|
283
|
+
if spins >= 0
|
284
|
+
if (randomizer = (randomizer >> 1)).even? # spin at random
|
285
|
+
if (spins -= 1) == 0
|
286
|
+
Thread.pass # yield before blocking
|
287
|
+
else
|
288
|
+
randomizer = base_randomizer = Concurrent::ThreadSafe::Util::XorShiftRandom.xorshift(base_randomizer) if randomizer.zero?
|
289
|
+
end
|
290
|
+
end
|
291
|
+
elsif cas_hash(my_hash, my_hash | WAITING)
|
292
|
+
force_aquire_lock(table, i)
|
293
|
+
break
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
def key?(key)
|
300
|
+
@key.eql?(key)
|
301
|
+
end
|
302
|
+
|
303
|
+
def matches?(key, hash)
|
304
|
+
pure_hash == hash && key?(key)
|
305
|
+
end
|
306
|
+
|
307
|
+
def pure_hash
|
308
|
+
hash & HASH_BITS
|
309
|
+
end
|
310
|
+
|
311
|
+
def try_lock_via_hash(node_hash = hash)
|
312
|
+
if cas_hash(node_hash, locked_hash = node_hash | LOCKED)
|
313
|
+
begin
|
314
|
+
yield
|
315
|
+
ensure
|
316
|
+
unlock_via_hash(locked_hash, node_hash)
|
317
|
+
end
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
def locked?
|
322
|
+
self.class.locked_hash?(hash)
|
323
|
+
end
|
324
|
+
|
325
|
+
def unlock_via_hash(locked_hash, node_hash)
|
326
|
+
unless cas_hash(locked_hash, node_hash)
|
327
|
+
self.hash = node_hash
|
328
|
+
cheap_synchronize { cheap_broadcast }
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
private
|
333
|
+
def force_aquire_lock(table, i)
|
334
|
+
cheap_synchronize do
|
335
|
+
if equal?(table.volatile_get(i)) && (hash & WAITING) == WAITING
|
336
|
+
cheap_wait
|
337
|
+
else
|
338
|
+
cheap_broadcast # possibly won race vs signaller
|
339
|
+
end
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
class << self
|
344
|
+
def locked_hash?(hash)
|
345
|
+
(hash & LOCKED) != 0
|
346
|
+
end
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
# shorthands
|
351
|
+
MOVED = Node::MOVED
|
352
|
+
LOCKED = Node::LOCKED
|
353
|
+
WAITING = Node::WAITING
|
354
|
+
HASH_BITS = Node::HASH_BITS
|
355
|
+
|
356
|
+
NOW_RESIZING = -1
|
357
|
+
DEFAULT_CAPACITY = 16
|
358
|
+
MAX_CAPACITY = Concurrent::ThreadSafe::Util::MAX_INT
|
359
|
+
|
360
|
+
# The buffer size for skipped bins during transfers. The
|
361
|
+
# value is arbitrary but should be large enough to avoid
|
362
|
+
# most locking stalls during resizes.
|
363
|
+
TRANSFER_BUFFER_SIZE = 32
|
364
|
+
|
365
|
+
extend Concurrent::ThreadSafe::Util::Volatile
|
366
|
+
attr_volatile :table, # The array of bins. Lazily initialized upon first insertion. Size is always a power of two.
|
367
|
+
|
368
|
+
# Table initialization and resizing control. When negative, the
|
369
|
+
# table is being initialized or resized. Otherwise, when table is
|
370
|
+
# null, holds the initial table size to use upon creation, or 0
|
371
|
+
# for default. After initialization, holds the next element count
|
372
|
+
# value upon which to resize the table.
|
373
|
+
:size_control
|
374
|
+
|
375
|
+
def initialize(options = nil)
|
376
|
+
super()
|
377
|
+
@counter = Concurrent::ThreadSafe::Util::Adder.new
|
378
|
+
initial_capacity = options && options[:initial_capacity] || DEFAULT_CAPACITY
|
379
|
+
self.size_control = (capacity = table_size_for(initial_capacity)) > MAX_CAPACITY ? MAX_CAPACITY : capacity
|
380
|
+
end
|
381
|
+
|
382
|
+
def get_or_default(key, else_value = nil)
|
383
|
+
hash = key_hash(key)
|
384
|
+
current_table = table
|
385
|
+
while current_table
|
386
|
+
node = current_table.volatile_get_by_hash(hash)
|
387
|
+
current_table =
|
388
|
+
while node
|
389
|
+
if (node_hash = node.hash) == MOVED
|
390
|
+
break node.key
|
391
|
+
elsif (node_hash & HASH_BITS) == hash && node.key?(key) && NULL != (value = node.value)
|
392
|
+
return value
|
393
|
+
end
|
394
|
+
node = node.next
|
395
|
+
end
|
396
|
+
end
|
397
|
+
else_value
|
398
|
+
end
|
399
|
+
|
400
|
+
def [](key)
|
401
|
+
get_or_default(key)
|
402
|
+
end
|
403
|
+
|
404
|
+
def key?(key)
|
405
|
+
get_or_default(key, NULL) != NULL
|
406
|
+
end
|
407
|
+
|
408
|
+
def []=(key, value)
|
409
|
+
get_and_set(key, value)
|
410
|
+
value
|
411
|
+
end
|
412
|
+
|
413
|
+
def compute_if_absent(key)
|
414
|
+
hash = key_hash(key)
|
415
|
+
current_table = table || initialize_table
|
416
|
+
while true
|
417
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
418
|
+
succeeded, new_value = current_table.try_to_cas_in_computed(i, hash, key) { yield }
|
419
|
+
if succeeded
|
420
|
+
increment_size
|
421
|
+
return new_value
|
422
|
+
end
|
423
|
+
elsif (node_hash = node.hash) == MOVED
|
424
|
+
current_table = node.key
|
425
|
+
elsif NULL != (current_value = find_value_in_node_list(node, key, hash, node_hash & HASH_BITS))
|
426
|
+
return current_value
|
427
|
+
elsif Node.locked_hash?(node_hash)
|
428
|
+
try_await_lock(current_table, i, node)
|
429
|
+
else
|
430
|
+
succeeded, value = attempt_internal_compute_if_absent(key, hash, current_table, i, node, node_hash) { yield }
|
431
|
+
return value if succeeded
|
432
|
+
end
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
def compute_if_present(key)
|
437
|
+
new_value = nil
|
438
|
+
internal_replace(key) do |old_value|
|
439
|
+
if (new_value = yield(NULL == old_value ? nil : old_value)).nil?
|
440
|
+
NULL
|
441
|
+
else
|
442
|
+
new_value
|
443
|
+
end
|
444
|
+
end
|
445
|
+
new_value
|
446
|
+
end
|
447
|
+
|
448
|
+
def compute(key)
|
449
|
+
internal_compute(key) do |old_value|
|
450
|
+
if (new_value = yield(NULL == old_value ? nil : old_value)).nil?
|
451
|
+
NULL
|
452
|
+
else
|
453
|
+
new_value
|
454
|
+
end
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
def merge_pair(key, value)
|
459
|
+
internal_compute(key) do |old_value|
|
460
|
+
if NULL == old_value || !(value = yield(old_value)).nil?
|
461
|
+
value
|
462
|
+
else
|
463
|
+
NULL
|
464
|
+
end
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
def replace_pair(key, old_value, new_value)
|
469
|
+
NULL != internal_replace(key, old_value) { new_value }
|
470
|
+
end
|
471
|
+
|
472
|
+
def replace_if_exists(key, new_value)
|
473
|
+
if (result = internal_replace(key) { new_value }) && NULL != result
|
474
|
+
result
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
def get_and_set(key, value) # internalPut in the original CHMV8
|
479
|
+
hash = key_hash(key)
|
480
|
+
current_table = table || initialize_table
|
481
|
+
while true
|
482
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
483
|
+
if current_table.cas_new_node(i, hash, key, value)
|
484
|
+
increment_size
|
485
|
+
break
|
486
|
+
end
|
487
|
+
elsif (node_hash = node.hash) == MOVED
|
488
|
+
current_table = node.key
|
489
|
+
elsif Node.locked_hash?(node_hash)
|
490
|
+
try_await_lock(current_table, i, node)
|
491
|
+
else
|
492
|
+
succeeded, old_value = attempt_get_and_set(key, value, hash, current_table, i, node, node_hash)
|
493
|
+
break old_value if succeeded
|
494
|
+
end
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
def delete(key)
|
499
|
+
replace_if_exists(key, NULL)
|
500
|
+
end
|
501
|
+
|
502
|
+
def delete_pair(key, value)
|
503
|
+
result = internal_replace(key, value) { NULL }
|
504
|
+
if result && NULL != result
|
505
|
+
!!result
|
506
|
+
else
|
507
|
+
false
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
def each_pair
|
512
|
+
return self unless current_table = table
|
513
|
+
current_table_size = base_size = current_table.size
|
514
|
+
i = base_index = 0
|
515
|
+
while base_index < base_size
|
516
|
+
if node = current_table.volatile_get(i)
|
517
|
+
if node.hash == MOVED
|
518
|
+
current_table = node.key
|
519
|
+
current_table_size = current_table.size
|
520
|
+
else
|
521
|
+
begin
|
522
|
+
if NULL != (value = node.value) # skip deleted or special nodes
|
523
|
+
yield node.key, value
|
524
|
+
end
|
525
|
+
end while node = node.next
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
if (i_with_base = i + base_size) < current_table_size
|
530
|
+
i = i_with_base # visit upper slots if present
|
531
|
+
else
|
532
|
+
i = base_index += 1
|
533
|
+
end
|
534
|
+
end
|
535
|
+
self
|
536
|
+
end
|
537
|
+
|
538
|
+
def size
|
539
|
+
(sum = @counter.sum) < 0 ? 0 : sum # ignore transient negative values
|
540
|
+
end
|
541
|
+
|
542
|
+
def empty?
|
543
|
+
size == 0
|
544
|
+
end
|
545
|
+
|
546
|
+
# Implementation for clear. Steps through each bin, removing all nodes.
|
547
|
+
def clear
|
548
|
+
return self unless current_table = table
|
549
|
+
current_table_size = current_table.size
|
550
|
+
deleted_count = i = 0
|
551
|
+
while i < current_table_size
|
552
|
+
if !(node = current_table.volatile_get(i))
|
553
|
+
i += 1
|
554
|
+
elsif (node_hash = node.hash) == MOVED
|
555
|
+
current_table = node.key
|
556
|
+
current_table_size = current_table.size
|
557
|
+
elsif Node.locked_hash?(node_hash)
|
558
|
+
decrement_size(deleted_count) # opportunistically update count
|
559
|
+
deleted_count = 0
|
560
|
+
node.try_await_lock(current_table, i)
|
561
|
+
else
|
562
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
563
|
+
begin
|
564
|
+
deleted_count += 1 if NULL != node.value # recheck under lock
|
565
|
+
node.value = nil
|
566
|
+
end while node = node.next
|
567
|
+
current_table.volatile_set(i, nil)
|
568
|
+
i += 1
|
569
|
+
end
|
570
|
+
end
|
571
|
+
end
|
572
|
+
decrement_size(deleted_count)
|
573
|
+
self
|
574
|
+
end
|
575
|
+
|
576
|
+
private
|
577
|
+
# Internal versions of the insertion methods, each a
|
578
|
+
# little more complicated than the last. All have
|
579
|
+
# the same basic structure:
|
580
|
+
# 1. If table uninitialized, create
|
581
|
+
# 2. If bin empty, try to CAS new node
|
582
|
+
# 3. If bin stale, use new table
|
583
|
+
# 4. Lock and validate; if valid, scan and add or update
|
584
|
+
#
|
585
|
+
# The others interweave other checks and/or alternative actions:
|
586
|
+
# * Plain +get_and_set+ checks for and performs resize after insertion.
|
587
|
+
# * compute_if_absent prescans for mapping without lock (and fails to add
|
588
|
+
# if present), which also makes pre-emptive resize checks worthwhile.
|
589
|
+
#
|
590
|
+
# Someday when details settle down a bit more, it might be worth
|
591
|
+
# some factoring to reduce sprawl.
|
592
|
+
def internal_replace(key, expected_old_value = NULL, &block)
|
593
|
+
hash = key_hash(key)
|
594
|
+
current_table = table
|
595
|
+
while current_table
|
596
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
597
|
+
break
|
598
|
+
elsif (node_hash = node.hash) == MOVED
|
599
|
+
current_table = node.key
|
600
|
+
elsif (node_hash & HASH_BITS) != hash && !node.next # precheck
|
601
|
+
break # rules out possible existence
|
602
|
+
elsif Node.locked_hash?(node_hash)
|
603
|
+
try_await_lock(current_table, i, node)
|
604
|
+
else
|
605
|
+
succeeded, old_value = attempt_internal_replace(key, expected_old_value, hash, current_table, i, node, node_hash, &block)
|
606
|
+
return old_value if succeeded
|
607
|
+
end
|
608
|
+
end
|
609
|
+
NULL
|
610
|
+
end
|
611
|
+
|
612
|
+
def attempt_internal_replace(key, expected_old_value, hash, current_table, i, node, node_hash)
|
613
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
614
|
+
predecessor_node = nil
|
615
|
+
old_value = NULL
|
616
|
+
begin
|
617
|
+
if node.matches?(key, hash) && NULL != (current_value = node.value)
|
618
|
+
if NULL == expected_old_value || expected_old_value == current_value # NULL == expected_old_value means whatever value
|
619
|
+
old_value = current_value
|
620
|
+
if NULL == (node.value = yield(old_value))
|
621
|
+
current_table.delete_node_at(i, node, predecessor_node)
|
622
|
+
decrement_size
|
623
|
+
end
|
624
|
+
end
|
625
|
+
break
|
626
|
+
end
|
627
|
+
|
628
|
+
predecessor_node = node
|
629
|
+
end while node = node.next
|
630
|
+
|
631
|
+
return true, old_value
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
def find_value_in_node_list(node, key, hash, pure_hash)
|
636
|
+
do_check_for_resize = false
|
637
|
+
while true
|
638
|
+
if pure_hash == hash && node.key?(key) && NULL != (value = node.value)
|
639
|
+
return value
|
640
|
+
elsif node = node.next
|
641
|
+
do_check_for_resize = true # at least 2 nodes -> check for resize
|
642
|
+
pure_hash = node.pure_hash
|
643
|
+
else
|
644
|
+
return NULL
|
645
|
+
end
|
646
|
+
end
|
647
|
+
ensure
|
648
|
+
check_for_resize if do_check_for_resize
|
649
|
+
end
|
650
|
+
|
651
|
+
def internal_compute(key, &block)
|
652
|
+
hash = key_hash(key)
|
653
|
+
current_table = table || initialize_table
|
654
|
+
while true
|
655
|
+
if !(node = current_table.volatile_get(i = current_table.hash_to_index(hash)))
|
656
|
+
succeeded, new_value = current_table.try_to_cas_in_computed(i, hash, key, &block)
|
657
|
+
if succeeded
|
658
|
+
if NULL == new_value
|
659
|
+
break nil
|
660
|
+
else
|
661
|
+
increment_size
|
662
|
+
break new_value
|
663
|
+
end
|
664
|
+
end
|
665
|
+
elsif (node_hash = node.hash) == MOVED
|
666
|
+
current_table = node.key
|
667
|
+
elsif Node.locked_hash?(node_hash)
|
668
|
+
try_await_lock(current_table, i, node)
|
669
|
+
else
|
670
|
+
succeeded, new_value = attempt_compute(key, hash, current_table, i, node, node_hash, &block)
|
671
|
+
break new_value if succeeded
|
672
|
+
end
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
def attempt_internal_compute_if_absent(key, hash, current_table, i, node, node_hash)
|
677
|
+
added = false
|
678
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
679
|
+
while true
|
680
|
+
if node.matches?(key, hash) && NULL != (value = node.value)
|
681
|
+
return true, value
|
682
|
+
end
|
683
|
+
last = node
|
684
|
+
unless node = node.next
|
685
|
+
last.next = Node.new(hash, key, value = yield)
|
686
|
+
added = true
|
687
|
+
increment_size
|
688
|
+
return true, value
|
689
|
+
end
|
690
|
+
end
|
691
|
+
end
|
692
|
+
ensure
|
693
|
+
check_for_resize if added
|
694
|
+
end
|
695
|
+
|
696
|
+
def attempt_compute(key, hash, current_table, i, node, node_hash)
|
697
|
+
added = false
|
698
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
699
|
+
predecessor_node = nil
|
700
|
+
while true
|
701
|
+
if node.matches?(key, hash) && NULL != (value = node.value)
|
702
|
+
if NULL == (node.value = value = yield(value))
|
703
|
+
current_table.delete_node_at(i, node, predecessor_node)
|
704
|
+
decrement_size
|
705
|
+
value = nil
|
706
|
+
end
|
707
|
+
return true, value
|
708
|
+
end
|
709
|
+
predecessor_node = node
|
710
|
+
unless node = node.next
|
711
|
+
if NULL == (value = yield(NULL))
|
712
|
+
value = nil
|
713
|
+
else
|
714
|
+
predecessor_node.next = Node.new(hash, key, value)
|
715
|
+
added = true
|
716
|
+
increment_size
|
717
|
+
end
|
718
|
+
return true, value
|
719
|
+
end
|
720
|
+
end
|
721
|
+
end
|
722
|
+
ensure
|
723
|
+
check_for_resize if added
|
724
|
+
end
|
725
|
+
|
726
|
+
def attempt_get_and_set(key, value, hash, current_table, i, node, node_hash)
|
727
|
+
node_nesting = nil
|
728
|
+
current_table.try_lock_via_hash(i, node, node_hash) do
|
729
|
+
node_nesting = 1
|
730
|
+
old_value = nil
|
731
|
+
found_old_value = false
|
732
|
+
while node
|
733
|
+
if node.matches?(key, hash) && NULL != (old_value = node.value)
|
734
|
+
found_old_value = true
|
735
|
+
node.value = value
|
736
|
+
break
|
737
|
+
end
|
738
|
+
last = node
|
739
|
+
unless node = node.next
|
740
|
+
last.next = Node.new(hash, key, value)
|
741
|
+
break
|
742
|
+
end
|
743
|
+
node_nesting += 1
|
744
|
+
end
|
745
|
+
|
746
|
+
return true, old_value if found_old_value
|
747
|
+
increment_size
|
748
|
+
true
|
749
|
+
end
|
750
|
+
ensure
|
751
|
+
check_for_resize if node_nesting && (node_nesting > 1 || current_table.size <= 64)
|
752
|
+
end
|
753
|
+
|
754
|
+
def initialize_copy(other)
|
755
|
+
super
|
756
|
+
@counter = Concurrent::ThreadSafe::Util::Adder.new
|
757
|
+
self.table = nil
|
758
|
+
self.size_control = (other_table = other.table) ? other_table.size : DEFAULT_CAPACITY
|
759
|
+
self
|
760
|
+
end
|
761
|
+
|
762
|
+
def try_await_lock(current_table, i, node)
|
763
|
+
check_for_resize # try resizing if can't get lock
|
764
|
+
node.try_await_lock(current_table, i)
|
765
|
+
end
|
766
|
+
|
767
|
+
def key_hash(key)
|
768
|
+
key.hash & HASH_BITS
|
769
|
+
end
|
770
|
+
|
771
|
+
# Returns a power of two table size for the given desired capacity.
|
772
|
+
def table_size_for(entry_count)
|
773
|
+
size = 2
|
774
|
+
size <<= 1 while size < entry_count
|
775
|
+
size
|
776
|
+
end
|
777
|
+
|
778
|
+
# Initializes table, using the size recorded in +size_control+.
|
779
|
+
def initialize_table
|
780
|
+
until current_table ||= table
|
781
|
+
if (size_ctrl = size_control) == NOW_RESIZING
|
782
|
+
Thread.pass # lost initialization race; just spin
|
783
|
+
else
|
784
|
+
try_in_resize_lock(current_table, size_ctrl) do
|
785
|
+
initial_size = size_ctrl > 0 ? size_ctrl : DEFAULT_CAPACITY
|
786
|
+
current_table = self.table = Table.new(initial_size)
|
787
|
+
initial_size - (initial_size >> 2) # 75% load factor
|
788
|
+
end
|
789
|
+
end
|
790
|
+
end
|
791
|
+
current_table
|
792
|
+
end
|
793
|
+
|
794
|
+
# If table is too small and not already resizing, creates next table and
|
795
|
+
# transfers bins. Rechecks occupancy after a transfer to see if another
|
796
|
+
# resize is already needed because resizings are lagging additions.
|
797
|
+
def check_for_resize
|
798
|
+
while (current_table = table) && MAX_CAPACITY > (table_size = current_table.size) && NOW_RESIZING != (size_ctrl = size_control) && size_ctrl < @counter.sum
|
799
|
+
try_in_resize_lock(current_table, size_ctrl) do
|
800
|
+
self.table = rebuild(current_table)
|
801
|
+
(table_size << 1) - (table_size >> 1) # 75% load factor
|
802
|
+
end
|
803
|
+
end
|
804
|
+
end
|
805
|
+
|
806
|
+
def try_in_resize_lock(current_table, size_ctrl)
|
807
|
+
if cas_size_control(size_ctrl, NOW_RESIZING)
|
808
|
+
begin
|
809
|
+
if current_table == table # recheck under lock
|
810
|
+
size_ctrl = yield # get new size_control
|
811
|
+
end
|
812
|
+
ensure
|
813
|
+
self.size_control = size_ctrl
|
814
|
+
end
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
# Moves and/or copies the nodes in each bin to new table. See above for explanation.
|
819
|
+
def rebuild(table)
|
820
|
+
old_table_size = table.size
|
821
|
+
new_table = table.next_in_size_table
|
822
|
+
# puts "#{old_table_size} -> #{new_table.size}"
|
823
|
+
forwarder = Node.new(MOVED, new_table, NULL)
|
824
|
+
rev_forwarder = nil
|
825
|
+
locked_indexes = nil # holds bins to revisit; nil until needed
|
826
|
+
locked_arr_idx = 0
|
827
|
+
bin = old_table_size - 1
|
828
|
+
i = bin
|
829
|
+
while true
|
830
|
+
if !(node = table.volatile_get(i))
|
831
|
+
# no lock needed (or available) if bin >= 0, because we're not popping values from locked_indexes until we've run through the whole table
|
832
|
+
redo unless (bin >= 0 ? table.cas(i, nil, forwarder) : lock_and_clean_up_reverse_forwarders(table, old_table_size, new_table, i, forwarder))
|
833
|
+
elsif Node.locked_hash?(node_hash = node.hash)
|
834
|
+
locked_indexes ||= Array.new
|
835
|
+
if bin < 0 && locked_arr_idx > 0
|
836
|
+
locked_arr_idx -= 1
|
837
|
+
i, locked_indexes[locked_arr_idx] = locked_indexes[locked_arr_idx], i # swap with another bin
|
838
|
+
redo
|
839
|
+
end
|
840
|
+
if bin < 0 || locked_indexes.size >= TRANSFER_BUFFER_SIZE
|
841
|
+
node.try_await_lock(table, i) # no other options -- block
|
842
|
+
redo
|
843
|
+
end
|
844
|
+
rev_forwarder ||= Node.new(MOVED, table, NULL)
|
845
|
+
redo unless table.volatile_get(i) == node && node.locked? # recheck before adding to list
|
846
|
+
locked_indexes << i
|
847
|
+
new_table.volatile_set(i, rev_forwarder)
|
848
|
+
new_table.volatile_set(i + old_table_size, rev_forwarder)
|
849
|
+
else
|
850
|
+
redo unless split_old_bin(table, new_table, i, node, node_hash, forwarder)
|
851
|
+
end
|
852
|
+
|
853
|
+
if bin > 0
|
854
|
+
i = (bin -= 1)
|
855
|
+
elsif locked_indexes && !locked_indexes.empty?
|
856
|
+
bin = -1
|
857
|
+
i = locked_indexes.pop
|
858
|
+
locked_arr_idx = locked_indexes.size - 1
|
859
|
+
else
|
860
|
+
return new_table
|
861
|
+
end
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
def lock_and_clean_up_reverse_forwarders(old_table, old_table_size, new_table, i, forwarder)
|
866
|
+
# transiently use a locked forwarding node
|
867
|
+
locked_forwarder = Node.new(moved_locked_hash = MOVED | LOCKED, new_table, NULL)
|
868
|
+
if old_table.cas(i, nil, locked_forwarder)
|
869
|
+
new_table.volatile_set(i, nil) # kill the potential reverse forwarders
|
870
|
+
new_table.volatile_set(i + old_table_size, nil) # kill the potential reverse forwarders
|
871
|
+
old_table.volatile_set(i, forwarder)
|
872
|
+
locked_forwarder.unlock_via_hash(moved_locked_hash, MOVED)
|
873
|
+
true
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
# Splits a normal bin with list headed by e into lo and hi parts; installs in given table.
|
878
|
+
def split_old_bin(table, new_table, i, node, node_hash, forwarder)
|
879
|
+
table.try_lock_via_hash(i, node, node_hash) do
|
880
|
+
split_bin(new_table, i, node, node_hash)
|
881
|
+
table.volatile_set(i, forwarder)
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
def split_bin(new_table, i, node, node_hash)
|
886
|
+
bit = new_table.size >> 1 # bit to split on
|
887
|
+
run_bit = node_hash & bit
|
888
|
+
last_run = nil
|
889
|
+
low = nil
|
890
|
+
high = nil
|
891
|
+
current_node = node
|
892
|
+
# this optimises for the lowest amount of volatile writes and objects created
|
893
|
+
while current_node = current_node.next
|
894
|
+
unless (b = current_node.hash & bit) == run_bit
|
895
|
+
run_bit = b
|
896
|
+
last_run = current_node
|
897
|
+
end
|
898
|
+
end
|
899
|
+
if run_bit == 0
|
900
|
+
low = last_run
|
901
|
+
else
|
902
|
+
high = last_run
|
903
|
+
end
|
904
|
+
current_node = node
|
905
|
+
until current_node == last_run
|
906
|
+
pure_hash = current_node.pure_hash
|
907
|
+
if (pure_hash & bit) == 0
|
908
|
+
low = Node.new(pure_hash, current_node.key, current_node.value, low)
|
909
|
+
else
|
910
|
+
high = Node.new(pure_hash, current_node.key, current_node.value, high)
|
911
|
+
end
|
912
|
+
current_node = current_node.next
|
913
|
+
end
|
914
|
+
new_table.volatile_set(i, low)
|
915
|
+
new_table.volatile_set(i + bit, high)
|
916
|
+
end
|
917
|
+
|
918
|
+
def increment_size
|
919
|
+
@counter.increment
|
920
|
+
end
|
921
|
+
|
922
|
+
def decrement_size(by = 1)
|
923
|
+
@counter.add(-by)
|
924
|
+
end
|
925
|
+
end
|
926
|
+
end
|
927
|
+
end
|