├── % ├── .Rbuildignore ├── .gitignore ├── .travis.yml ├── DESCRIPTION ├── FLAME.Rproj ├── LICENSE ├── NAMESPACE ├── NEWS.MD ├── R ├── BF.R ├── GenerateNewActiveSets.R ├── PE_functions.R ├── algos.R ├── arg_checker.R ├── class_funs.R ├── data_read.R ├── gen_data.R ├── get_cov_set.R ├── helpers.R ├── loop.R ├── missing.R ├── post_matching.R ├── postprocess.R ├── preprocess.R ├── remap_covariates.R ├── speedup.R └── stopping.R ├── README.md ├── cran-comments.md ├── docs ├── .bundle │ └── config ├── 404.html ├── Gemfile ├── Gemfile.lock ├── README.md ├── _config.yml ├── _documentation │ ├── getting-started.html │ ├── getting-started.md │ ├── index.md │ ├── intro_to_AME.md │ └── intro_to_AME_files │ │ └── figure-markdown_strict │ │ ├── unnamed-chunk-12-1.png │ │ ├── unnamed-chunk-13-1.png │ │ ├── unnamed-chunk-14-1.png │ │ └── unnamed-chunk-15-1.png ├── _includes │ ├── analytics.html │ └── head.html ├── _layouts │ └── default.html ├── _posts │ └── 2020-10-19-welcome-to-jekyll.markdown ├── _sass │ ├── color_schemes │ │ └── blue.scss │ └── custom │ │ └── custom.scss ├── _site │ ├── 404.html │ ├── README.md │ ├── assets │ │ ├── css │ │ │ ├── just-the-docs-dark.css │ │ │ ├── just-the-docs-default.css │ │ │ └── just-the-docs-light.css │ │ ├── images │ │ │ ├── just-the-docs.png │ │ │ └── search.svg │ │ └── js │ │ │ ├── just-the-docs.js │ │ │ ├── search-data.json │ │ │ └── vendor │ │ │ └── lunr.min.js │ ├── content │ │ └── logos │ │ │ └── logo.svg │ ├── feed.xml │ ├── getting-started.html │ ├── index.html │ ├── jekyll │ │ └── update │ │ │ └── 2020 │ │ │ └── 10 │ │ │ └── 19 │ │ │ └── welcome-to-jekyll.html │ └── redirects.json ├── content │ └── logos │ │ └── logo.svg └── vendor │ └── bundle │ └── ruby │ └── 2.6.0 │ ├── bin │ └── rake │ ├── cache │ ├── activesupport-6.0.3.4.gem │ ├── addressable-2.7.0.gem │ ├── coffee-script-2.4.1.gem │ ├── coffee-script-source-1.11.1.gem │ ├── colorator-1.1.0.gem │ ├── commonmarker-0.17.13.gem │ ├── concurrent-ruby-1.1.7.gem │ ├── execjs-2.7.0.gem │ ├── i18n-0.9.5.gem │ ├── minitest-5.14.2.gem │ ├── public_suffix-3.1.1.gem │ ├── rake-13.0.1.gem │ ├── ruby-enum-0.8.0.gem │ ├── thread_safe-0.3.6.gem │ ├── tzinfo-1.2.7.gem │ └── zeitwerk-2.4.0.gem │ ├── extensions │ └── universal-darwin-19 │ │ └── 2.6.0 │ │ └── commonmarker-0.17.13 │ │ └── gem_make.out │ ├── gems │ ├── activesupport-6.0.3.4 │ │ ├── CHANGELOG.md │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ └── lib │ │ │ ├── active_support.rb │ │ │ └── active_support │ │ │ ├── actionable_error.rb │ │ │ ├── all.rb │ │ │ ├── array_inquirer.rb │ │ │ ├── backtrace_cleaner.rb │ │ │ ├── benchmarkable.rb │ │ │ ├── builder.rb │ │ │ ├── cache.rb │ │ │ ├── cache │ │ │ ├── file_store.rb │ │ │ ├── mem_cache_store.rb │ │ │ ├── memory_store.rb │ │ │ ├── null_store.rb │ │ │ ├── redis_cache_store.rb │ │ │ └── strategy │ │ │ │ ├── local_cache.rb │ │ │ │ └── local_cache_middleware.rb │ │ │ ├── callbacks.rb │ │ │ ├── concern.rb │ │ │ ├── concurrency │ │ │ ├── load_interlock_aware_monitor.rb │ │ │ └── share_lock.rb │ │ │ ├── configurable.rb │ │ │ ├── core_ext.rb │ │ │ ├── core_ext │ │ │ ├── array.rb │ │ │ ├── array │ │ │ │ ├── access.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── extract.rb │ │ │ │ ├── extract_options.rb │ │ │ │ ├── grouping.rb │ │ │ │ ├── inquiry.rb │ │ │ │ ├── prepend_and_append.rb │ │ │ │ └── wrap.rb │ │ │ ├── benchmark.rb │ │ │ ├── big_decimal.rb │ │ │ ├── big_decimal │ │ │ │ └── conversions.rb │ │ │ ├── class.rb │ │ │ ├── class │ │ │ │ ├── attribute.rb │ │ │ │ ├── attribute_accessors.rb │ │ │ │ └── subclasses.rb │ │ │ ├── date.rb │ │ │ ├── date │ │ │ │ ├── acts_like.rb │ │ │ │ ├── blank.rb │ │ │ │ ├── calculations.rb │ │ │ │ ├── conversions.rb │ │ │ │ └── zones.rb │ │ │ ├── date_and_time │ │ │ │ ├── calculations.rb │ │ │ │ ├── compatibility.rb │ │ │ │ └── zones.rb │ │ │ ├── date_time.rb │ │ │ ├── date_time │ │ │ │ ├── acts_like.rb │ │ │ │ ├── blank.rb │ │ │ │ ├── calculations.rb │ │ │ │ ├── compatibility.rb │ │ │ │ └── conversions.rb │ │ │ ├── digest.rb │ │ │ ├── digest │ │ │ │ └── uuid.rb │ │ │ ├── enumerable.rb │ │ │ ├── file.rb │ │ │ ├── file │ │ │ │ └── atomic.rb │ │ │ ├── hash.rb │ │ │ ├── hash │ │ │ │ ├── compact.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── deep_merge.rb │ │ │ │ ├── deep_transform_values.rb │ │ │ │ ├── except.rb │ │ │ │ ├── indifferent_access.rb │ │ │ │ ├── keys.rb │ │ │ │ ├── reverse_merge.rb │ │ │ │ ├── slice.rb │ │ │ │ └── transform_values.rb │ │ │ ├── integer.rb │ │ │ ├── integer │ │ │ │ ├── inflections.rb │ │ │ │ ├── multiple.rb │ │ │ │ └── time.rb │ │ │ ├── kernel.rb │ │ │ ├── kernel │ │ │ │ ├── concern.rb │ │ │ │ ├── reporting.rb │ │ │ │ └── singleton_class.rb │ │ │ ├── load_error.rb │ │ │ ├── marshal.rb │ │ │ ├── module.rb │ │ │ ├── module │ │ │ │ ├── aliasing.rb │ │ │ │ ├── anonymous.rb │ │ │ │ ├── attr_internal.rb │ │ │ │ ├── attribute_accessors.rb │ │ │ │ ├── attribute_accessors_per_thread.rb │ │ │ │ ├── concerning.rb │ │ │ │ ├── delegation.rb │ │ │ │ ├── deprecation.rb │ │ │ │ ├── introspection.rb │ │ │ │ ├── reachable.rb │ │ │ │ ├── redefine_method.rb │ │ │ │ └── remove_method.rb │ │ │ ├── name_error.rb │ │ │ ├── numeric.rb │ │ │ ├── numeric │ │ │ │ ├── bytes.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── inquiry.rb │ │ │ │ └── time.rb │ │ │ ├── object.rb │ │ │ ├── object │ │ │ │ ├── acts_like.rb │ │ │ │ ├── blank.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── deep_dup.rb │ │ │ │ ├── duplicable.rb │ │ │ │ ├── inclusion.rb │ │ │ │ ├── instance_variables.rb │ │ │ │ ├── json.rb │ │ │ │ ├── to_param.rb │ │ │ │ ├── to_query.rb │ │ │ │ ├── try.rb │ │ │ │ └── with_options.rb │ │ │ ├── range.rb │ │ │ ├── range │ │ │ │ ├── compare_range.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── each.rb │ │ │ │ ├── include_range.rb │ │ │ │ ├── include_time_with_zone.rb │ │ │ │ └── overlaps.rb │ │ │ ├── regexp.rb │ │ │ ├── securerandom.rb │ │ │ ├── string.rb │ │ │ ├── string │ │ │ │ ├── access.rb │ │ │ │ ├── behavior.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── exclude.rb │ │ │ │ ├── filters.rb │ │ │ │ ├── indent.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── inquiry.rb │ │ │ │ ├── multibyte.rb │ │ │ │ ├── output_safety.rb │ │ │ │ ├── starts_ends_with.rb │ │ │ │ ├── strip.rb │ │ │ │ └── zones.rb │ │ │ ├── time.rb │ │ │ ├── time │ │ │ │ ├── acts_like.rb │ │ │ │ ├── calculations.rb │ │ │ │ ├── compatibility.rb │ │ │ │ ├── conversions.rb │ │ │ │ └── zones.rb │ │ │ └── uri.rb │ │ │ ├── current_attributes.rb │ │ │ ├── dependencies.rb │ │ │ ├── dependencies │ │ │ ├── autoload.rb │ │ │ ├── interlock.rb │ │ │ └── zeitwerk_integration.rb │ │ │ ├── deprecation.rb │ │ │ ├── deprecation │ │ │ ├── behaviors.rb │ │ │ ├── constant_accessor.rb │ │ │ ├── instance_delegator.rb │ │ │ ├── method_wrappers.rb │ │ │ ├── proxy_wrappers.rb │ │ │ └── reporting.rb │ │ │ ├── descendants_tracker.rb │ │ │ ├── digest.rb │ │ │ ├── duration.rb │ │ │ ├── duration │ │ │ ├── iso8601_parser.rb │ │ │ └── iso8601_serializer.rb │ │ │ ├── encrypted_configuration.rb │ │ │ ├── encrypted_file.rb │ │ │ ├── evented_file_update_checker.rb │ │ │ ├── execution_wrapper.rb │ │ │ ├── executor.rb │ │ │ ├── file_update_checker.rb │ │ │ ├── gem_version.rb │ │ │ ├── gzip.rb │ │ │ ├── hash_with_indifferent_access.rb │ │ │ ├── i18n.rb │ │ │ ├── i18n_railtie.rb │ │ │ ├── inflections.rb │ │ │ ├── inflector.rb │ │ │ ├── inflector │ │ │ ├── inflections.rb │ │ │ ├── methods.rb │ │ │ └── transliterate.rb │ │ │ ├── json.rb │ │ │ ├── json │ │ │ ├── decoding.rb │ │ │ └── encoding.rb │ │ │ ├── key_generator.rb │ │ │ ├── lazy_load_hooks.rb │ │ │ ├── locale │ │ │ ├── en.rb │ │ │ └── en.yml │ │ │ ├── log_subscriber.rb │ │ │ ├── log_subscriber │ │ │ └── test_helper.rb │ │ │ ├── logger.rb │ │ │ ├── logger_silence.rb │ │ │ ├── logger_thread_safe_level.rb │ │ │ ├── message_encryptor.rb │ │ │ ├── message_verifier.rb │ │ │ ├── messages │ │ │ ├── metadata.rb │ │ │ ├── rotation_configuration.rb │ │ │ └── rotator.rb │ │ │ ├── multibyte.rb │ │ │ ├── multibyte │ │ │ ├── chars.rb │ │ │ └── unicode.rb │ │ │ ├── notifications.rb │ │ │ ├── notifications │ │ │ ├── fanout.rb │ │ │ └── instrumenter.rb │ │ │ ├── number_helper.rb │ │ │ ├── number_helper │ │ │ ├── number_converter.rb │ │ │ ├── number_to_currency_converter.rb │ │ │ ├── number_to_delimited_converter.rb │ │ │ ├── number_to_human_converter.rb │ │ │ ├── number_to_human_size_converter.rb │ │ │ ├── number_to_percentage_converter.rb │ │ │ ├── number_to_phone_converter.rb │ │ │ ├── number_to_rounded_converter.rb │ │ │ └── rounding_helper.rb │ │ │ ├── option_merger.rb │ │ │ ├── ordered_hash.rb │ │ │ ├── ordered_options.rb │ │ │ ├── parameter_filter.rb │ │ │ ├── per_thread_registry.rb │ │ │ ├── proxy_object.rb │ │ │ ├── rails.rb │ │ │ ├── railtie.rb │ │ │ ├── reloader.rb │ │ │ ├── rescuable.rb │ │ │ ├── security_utils.rb │ │ │ ├── string_inquirer.rb │ │ │ ├── subscriber.rb │ │ │ ├── tagged_logging.rb │ │ │ ├── test_case.rb │ │ │ ├── testing │ │ │ ├── assertions.rb │ │ │ ├── autorun.rb │ │ │ ├── constant_lookup.rb │ │ │ ├── declarative.rb │ │ │ ├── deprecation.rb │ │ │ ├── file_fixtures.rb │ │ │ ├── isolation.rb │ │ │ ├── method_call_assertions.rb │ │ │ ├── parallelization.rb │ │ │ ├── setup_and_teardown.rb │ │ │ ├── stream.rb │ │ │ ├── tagged_logging.rb │ │ │ └── time_helpers.rb │ │ │ ├── time.rb │ │ │ ├── time_with_zone.rb │ │ │ ├── values │ │ │ └── time_zone.rb │ │ │ ├── version.rb │ │ │ ├── xml_mini.rb │ │ │ └── xml_mini │ │ │ ├── jdom.rb │ │ │ ├── libxml.rb │ │ │ ├── libxmlsax.rb │ │ │ ├── nokogiri.rb │ │ │ ├── nokogirisax.rb │ │ │ └── rexml.rb │ ├── addressable-2.7.0 │ │ ├── CHANGELOG.md │ │ ├── Gemfile │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── Rakefile │ │ ├── data │ │ │ └── unicode.data │ │ ├── lib │ │ │ ├── addressable.rb │ │ │ └── addressable │ │ │ │ ├── idna.rb │ │ │ │ ├── idna │ │ │ │ ├── native.rb │ │ │ │ └── pure.rb │ │ │ │ ├── template.rb │ │ │ │ ├── uri.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── addressable │ │ │ │ ├── idna_spec.rb │ │ │ │ ├── net_http_compat_spec.rb │ │ │ │ ├── rack_mount_compat_spec.rb │ │ │ │ ├── security_spec.rb │ │ │ │ ├── template_spec.rb │ │ │ │ └── uri_spec.rb │ │ │ └── spec_helper.rb │ │ └── tasks │ │ │ ├── clobber.rake │ │ │ ├── gem.rake │ │ │ ├── git.rake │ │ │ ├── metrics.rake │ │ │ ├── rspec.rake │ │ │ └── yard.rake │ ├── coffee-script-2.4.1 │ │ ├── LICENSE │ │ ├── README.md │ │ └── lib │ │ │ ├── coffee-script.rb │ │ │ └── coffee_script.rb │ ├── coffee-script-source-1.11.1 │ │ └── lib │ │ │ └── coffee_script │ │ │ ├── coffee-script.js │ │ │ └── source.rb │ ├── colorator-1.1.0 │ │ ├── Gemfile │ │ ├── History.markdown │ │ ├── LICENSE │ │ ├── README.markdown │ │ ├── Rakefile │ │ ├── colorator.gemspec │ │ └── lib │ │ │ ├── colorator.rb │ │ │ └── colorator │ │ │ └── core_ext.rb │ ├── commonmarker-0.17.13 │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── Rakefile │ │ ├── bin │ │ │ └── commonmarker │ │ ├── commonmarker.gemspec │ │ ├── ext │ │ │ └── commonmarker │ │ │ │ ├── Makefile │ │ │ │ ├── arena.c │ │ │ │ ├── autolink.c │ │ │ │ ├── autolink.h │ │ │ │ ├── blocks.c │ │ │ │ ├── buffer.c │ │ │ │ ├── buffer.h │ │ │ │ ├── case_fold_switch.inc │ │ │ │ ├── chunk.h │ │ │ │ ├── cmark-gfm-core-extensions.h │ │ │ │ ├── cmark-gfm-extension_api.h │ │ │ │ ├── cmark-gfm-extensions_export.h │ │ │ │ ├── cmark-gfm.h │ │ │ │ ├── cmark-gfm_export.h │ │ │ │ ├── cmark-gfm_version.h │ │ │ │ ├── cmark.c │ │ │ │ ├── cmark_ctype.c │ │ │ │ ├── cmark_ctype.h │ │ │ │ ├── commonmark.c │ │ │ │ ├── commonmarker.c │ │ │ │ ├── commonmarker.h │ │ │ │ ├── config.h │ │ │ │ ├── core-extensions.c │ │ │ │ ├── entities.inc │ │ │ │ ├── ext_scanners.c │ │ │ │ ├── ext_scanners.h │ │ │ │ ├── extconf.rb │ │ │ │ ├── footnotes.c │ │ │ │ ├── footnotes.h │ │ │ │ ├── houdini.h │ │ │ │ ├── houdini_href_e.c │ │ │ │ ├── houdini_html_e.c │ │ │ │ ├── houdini_html_u.c │ │ │ │ ├── html.c │ │ │ │ ├── html.h │ │ │ │ ├── inlines.c │ │ │ │ ├── inlines.h │ │ │ │ ├── iterator.c │ │ │ │ ├── iterator.h │ │ │ │ ├── latex.c │ │ │ │ ├── linked_list.c │ │ │ │ ├── man.c │ │ │ │ ├── map.c │ │ │ │ ├── map.h │ │ │ │ ├── node.c │ │ │ │ ├── node.h │ │ │ │ ├── parser.h │ │ │ │ ├── plaintext.c │ │ │ │ ├── plugin.c │ │ │ │ ├── plugin.h │ │ │ │ ├── references.c │ │ │ │ ├── references.h │ │ │ │ ├── registry.c │ │ │ │ ├── registry.h │ │ │ │ ├── render.c │ │ │ │ ├── render.h │ │ │ │ ├── scanners.c │ │ │ │ ├── scanners.h │ │ │ │ ├── scanners.re │ │ │ │ ├── strikethrough.c │ │ │ │ ├── strikethrough.h │ │ │ │ ├── syntax_extension.c │ │ │ │ ├── syntax_extension.h │ │ │ │ ├── table.c │ │ │ │ ├── table.h │ │ │ │ ├── tagfilter.c │ │ │ │ ├── tagfilter.h │ │ │ │ ├── utf8.c │ │ │ │ ├── utf8.h │ │ │ │ └── xml.c │ │ ├── lib │ │ │ ├── commonmarker.rb │ │ │ └── commonmarker │ │ │ │ ├── config.rb │ │ │ │ ├── node.rb │ │ │ │ ├── node │ │ │ │ └── inspect.rb │ │ │ │ ├── renderer.rb │ │ │ │ ├── renderer │ │ │ │ └── html_renderer.rb │ │ │ │ └── version.rb │ │ └── test │ │ │ ├── benchmark.rb │ │ │ ├── fixtures │ │ │ ├── curly.md │ │ │ └── dingus.md │ │ │ ├── test_attributes.rb │ │ │ ├── test_basics.rb │ │ │ ├── test_commonmark.rb │ │ │ ├── test_doc.rb │ │ │ ├── test_encoding.rb │ │ │ ├── test_extensions.rb │ │ │ ├── test_footnotes.rb │ │ │ ├── test_gc.rb │ │ │ ├── test_helper.rb │ │ │ ├── test_linebreaks.rb │ │ │ ├── test_maliciousness.rb │ │ │ ├── test_node.rb │ │ │ ├── test_options.rb │ │ │ ├── test_pathological_inputs.rb │ │ │ ├── test_plaintext.rb │ │ │ ├── test_renderer.rb │ │ │ ├── test_smartpunct.rb │ │ │ └── test_spec.rb │ ├── concurrent-ruby-1.1.7 │ │ ├── CHANGELOG.md │ │ ├── Gemfile │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── Rakefile │ │ ├── ext │ │ │ └── concurrent-ruby │ │ │ │ ├── ConcurrentRubyService.java │ │ │ │ └── com │ │ │ │ └── concurrent_ruby │ │ │ │ └── ext │ │ │ │ ├── AtomicReferenceLibrary.java │ │ │ │ ├── JRubyMapBackendLibrary.java │ │ │ │ ├── JavaAtomicBooleanLibrary.java │ │ │ │ ├── JavaAtomicFixnumLibrary.java │ │ │ │ ├── JavaSemaphoreLibrary.java │ │ │ │ ├── SynchronizationLibrary.java │ │ │ │ ├── jsr166e │ │ │ │ ├── ConcurrentHashMap.java │ │ │ │ ├── ConcurrentHashMapV8.java │ │ │ │ ├── LongAdder.java │ │ │ │ ├── Striped64.java │ │ │ │ └── nounsafe │ │ │ │ │ ├── ConcurrentHashMapV8.java │ │ │ │ │ ├── LongAdder.java │ │ │ │ │ └── Striped64.java │ │ │ │ └── jsr166y │ │ │ │ └── ThreadLocalRandom.java │ │ └── lib │ │ │ └── concurrent-ruby │ │ │ ├── concurrent-ruby.rb │ │ │ ├── concurrent.rb │ │ │ └── concurrent │ │ │ ├── agent.rb │ │ │ ├── array.rb │ │ │ ├── async.rb │ │ │ ├── atom.rb │ │ │ ├── atomic │ │ │ ├── abstract_thread_local_var.rb │ │ │ ├── atomic_boolean.rb │ │ │ ├── atomic_fixnum.rb │ │ │ ├── atomic_markable_reference.rb │ │ │ ├── atomic_reference.rb │ │ │ ├── count_down_latch.rb │ │ │ ├── cyclic_barrier.rb │ │ │ ├── event.rb │ │ │ ├── java_count_down_latch.rb │ │ │ ├── java_thread_local_var.rb │ │ │ ├── mutex_atomic_boolean.rb │ │ │ ├── mutex_atomic_fixnum.rb │ │ │ ├── mutex_count_down_latch.rb │ │ │ ├── mutex_semaphore.rb │ │ │ ├── read_write_lock.rb │ │ │ ├── reentrant_read_write_lock.rb │ │ │ ├── ruby_thread_local_var.rb │ │ │ ├── semaphore.rb │ │ │ └── thread_local_var.rb │ │ │ ├── atomic_reference │ │ │ ├── mutex_atomic.rb │ │ │ └── numeric_cas_wrapper.rb │ │ │ ├── atomics.rb │ │ │ ├── collection │ │ │ ├── copy_on_notify_observer_set.rb │ │ │ ├── copy_on_write_observer_set.rb │ │ │ ├── java_non_concurrent_priority_queue.rb │ │ │ ├── lock_free_stack.rb │ │ │ ├── map │ │ │ │ ├── atomic_reference_map_backend.rb │ │ │ │ ├── mri_map_backend.rb │ │ │ │ ├── non_concurrent_map_backend.rb │ │ │ │ └── synchronized_map_backend.rb │ │ │ ├── non_concurrent_priority_queue.rb │ │ │ └── ruby_non_concurrent_priority_queue.rb │ │ │ ├── concern │ │ │ ├── deprecation.rb │ │ │ ├── dereferenceable.rb │ │ │ ├── logging.rb │ │ │ ├── obligation.rb │ │ │ └── observable.rb │ │ │ ├── concurrent_ruby.jar │ │ │ ├── configuration.rb │ │ │ ├── constants.rb │ │ │ ├── dataflow.rb │ │ │ ├── delay.rb │ │ │ ├── errors.rb │ │ │ ├── exchanger.rb │ │ │ ├── executor │ │ │ ├── abstract_executor_service.rb │ │ │ ├── cached_thread_pool.rb │ │ │ ├── executor_service.rb │ │ │ ├── fixed_thread_pool.rb │ │ │ ├── immediate_executor.rb │ │ │ ├── indirect_immediate_executor.rb │ │ │ ├── java_executor_service.rb │ │ │ ├── java_single_thread_executor.rb │ │ │ ├── java_thread_pool_executor.rb │ │ │ ├── ruby_executor_service.rb │ │ │ ├── ruby_single_thread_executor.rb │ │ │ ├── ruby_thread_pool_executor.rb │ │ │ ├── safe_task_executor.rb │ │ │ ├── serial_executor_service.rb │ │ │ ├── serialized_execution.rb │ │ │ ├── serialized_execution_delegator.rb │ │ │ ├── simple_executor_service.rb │ │ │ ├── single_thread_executor.rb │ │ │ ├── thread_pool_executor.rb │ │ │ └── timer_set.rb │ │ │ ├── executors.rb │ │ │ ├── future.rb │ │ │ ├── hash.rb │ │ │ ├── immutable_struct.rb │ │ │ ├── ivar.rb │ │ │ ├── map.rb │ │ │ ├── maybe.rb │ │ │ ├── mutable_struct.rb │ │ │ ├── mvar.rb │ │ │ ├── options.rb │ │ │ ├── promise.rb │ │ │ ├── promises.rb │ │ │ ├── re_include.rb │ │ │ ├── scheduled_task.rb │ │ │ ├── set.rb │ │ │ ├── settable_struct.rb │ │ │ ├── synchronization.rb │ │ │ ├── synchronization │ │ │ ├── abstract_lockable_object.rb │ │ │ ├── abstract_object.rb │ │ │ ├── abstract_struct.rb │ │ │ ├── condition.rb │ │ │ ├── jruby_lockable_object.rb │ │ │ ├── jruby_object.rb │ │ │ ├── lock.rb │ │ │ ├── lockable_object.rb │ │ │ ├── mri_object.rb │ │ │ ├── mutex_lockable_object.rb │ │ │ ├── object.rb │ │ │ ├── rbx_lockable_object.rb │ │ │ ├── rbx_object.rb │ │ │ ├── truffleruby_object.rb │ │ │ └── volatile.rb │ │ │ ├── thread_safe │ │ │ ├── synchronized_delegator.rb │ │ │ ├── util.rb │ │ │ └── util │ │ │ │ ├── adder.rb │ │ │ │ ├── cheap_lockable.rb │ │ │ │ ├── data_structures.rb │ │ │ │ ├── power_of_two_tuple.rb │ │ │ │ ├── striped64.rb │ │ │ │ ├── volatile.rb │ │ │ │ └── xor_shift_random.rb │ │ │ ├── timer_task.rb │ │ │ ├── tuple.rb │ │ │ ├── tvar.rb │ │ │ ├── utility │ │ │ ├── engine.rb │ │ │ ├── monotonic_time.rb │ │ │ ├── native_extension_loader.rb │ │ │ ├── native_integer.rb │ │ │ └── processor_counter.rb │ │ │ └── version.rb │ ├── execjs-2.7.0 │ │ ├── MIT-LICENSE │ │ ├── README.md │ │ └── lib │ │ │ ├── execjs.rb │ │ │ └── execjs │ │ │ ├── disabled_runtime.rb │ │ │ ├── duktape_runtime.rb │ │ │ ├── encoding.rb │ │ │ ├── external_runtime.rb │ │ │ ├── mini_racer_runtime.rb │ │ │ ├── module.rb │ │ │ ├── ruby_racer_runtime.rb │ │ │ ├── ruby_rhino_runtime.rb │ │ │ ├── runtime.rb │ │ │ ├── runtimes.rb │ │ │ ├── support │ │ │ ├── jsc_runner.js │ │ │ ├── jscript_runner.js │ │ │ ├── json2.js │ │ │ ├── node_runner.js │ │ │ ├── spidermonkey_runner.js │ │ │ └── v8_runner.js │ │ │ └── version.rb │ ├── i18n-0.9.5 │ │ ├── MIT-LICENSE │ │ ├── README.md │ │ ├── gemfiles │ │ │ ├── Gemfile.rails-3.2.x │ │ │ ├── Gemfile.rails-4.0.x │ │ │ ├── Gemfile.rails-4.1.x │ │ │ ├── Gemfile.rails-4.2.x │ │ │ ├── Gemfile.rails-5.0.x │ │ │ ├── Gemfile.rails-5.1.x │ │ │ └── Gemfile.rails-master │ │ ├── lib │ │ │ ├── i18n.rb │ │ │ └── i18n │ │ │ │ ├── backend.rb │ │ │ │ ├── backend │ │ │ │ ├── base.rb │ │ │ │ ├── cache.rb │ │ │ │ ├── cascade.rb │ │ │ │ ├── chain.rb │ │ │ │ ├── fallbacks.rb │ │ │ │ ├── flatten.rb │ │ │ │ ├── gettext.rb │ │ │ │ ├── interpolation_compiler.rb │ │ │ │ ├── key_value.rb │ │ │ │ ├── memoize.rb │ │ │ │ ├── metadata.rb │ │ │ │ ├── pluralization.rb │ │ │ │ ├── simple.rb │ │ │ │ └── transliterator.rb │ │ │ │ ├── config.rb │ │ │ │ ├── core_ext │ │ │ │ ├── hash.rb │ │ │ │ ├── kernel │ │ │ │ │ └── suppress_warnings.rb │ │ │ │ └── string │ │ │ │ │ └── interpolate.rb │ │ │ │ ├── exceptions.rb │ │ │ │ ├── gettext.rb │ │ │ │ ├── gettext │ │ │ │ ├── helpers.rb │ │ │ │ └── po_parser.rb │ │ │ │ ├── interpolate │ │ │ │ └── ruby.rb │ │ │ │ ├── locale.rb │ │ │ │ ├── locale │ │ │ │ ├── fallbacks.rb │ │ │ │ ├── tag.rb │ │ │ │ └── tag │ │ │ │ │ ├── parents.rb │ │ │ │ │ ├── rfc4646.rb │ │ │ │ │ └── simple.rb │ │ │ │ ├── middleware.rb │ │ │ │ ├── tests.rb │ │ │ │ ├── tests │ │ │ │ ├── basics.rb │ │ │ │ ├── defaults.rb │ │ │ │ ├── interpolation.rb │ │ │ │ ├── link.rb │ │ │ │ ├── localization.rb │ │ │ │ ├── localization │ │ │ │ │ ├── date.rb │ │ │ │ │ ├── date_time.rb │ │ │ │ │ ├── procs.rb │ │ │ │ │ └── time.rb │ │ │ │ ├── lookup.rb │ │ │ │ ├── pluralization.rb │ │ │ │ └── procs.rb │ │ │ │ └── version.rb │ │ └── test │ │ │ ├── api │ │ │ ├── all_features_test.rb │ │ │ ├── cascade_test.rb │ │ │ ├── chain_test.rb │ │ │ ├── fallbacks_test.rb │ │ │ ├── key_value_test.rb │ │ │ ├── memoize_test.rb │ │ │ ├── override_test.rb │ │ │ ├── pluralization_test.rb │ │ │ └── simple_test.rb │ │ │ ├── backend │ │ │ ├── cache_test.rb │ │ │ ├── cascade_test.rb │ │ │ ├── chain_test.rb │ │ │ ├── exceptions_test.rb │ │ │ ├── fallbacks_test.rb │ │ │ ├── interpolation_compiler_test.rb │ │ │ ├── key_value_test.rb │ │ │ ├── memoize_test.rb │ │ │ ├── metadata_test.rb │ │ │ ├── pluralization_test.rb │ │ │ ├── simple_test.rb │ │ │ └── transliterator_test.rb │ │ │ ├── core_ext │ │ │ └── hash_test.rb │ │ │ ├── gettext │ │ │ ├── api_test.rb │ │ │ └── backend_test.rb │ │ │ ├── i18n │ │ │ ├── exceptions_test.rb │ │ │ ├── gettext_plural_keys_test.rb │ │ │ ├── interpolate_test.rb │ │ │ ├── load_path_test.rb │ │ │ └── middleware_test.rb │ │ │ ├── i18n_test.rb │ │ │ ├── locale │ │ │ ├── fallbacks_test.rb │ │ │ └── tag │ │ │ │ ├── rfc4646_test.rb │ │ │ │ └── simple_test.rb │ │ │ ├── run_all.rb │ │ │ ├── test_data │ │ │ └── locales │ │ │ │ ├── de.po │ │ │ │ ├── en.rb │ │ │ │ ├── en.yml │ │ │ │ ├── invalid │ │ │ │ ├── empty.yml │ │ │ │ └── syntax.yml │ │ │ │ └── plurals.rb │ │ │ └── test_helper.rb │ ├── minitest-5.14.2 │ │ ├── .autotest │ │ ├── History.rdoc │ │ ├── Manifest.txt │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── design_rationale.rb │ │ ├── lib │ │ │ ├── hoe │ │ │ │ └── minitest.rb │ │ │ ├── minitest.rb │ │ │ └── minitest │ │ │ │ ├── assertions.rb │ │ │ │ ├── autorun.rb │ │ │ │ ├── benchmark.rb │ │ │ │ ├── expectations.rb │ │ │ │ ├── hell.rb │ │ │ │ ├── mock.rb │ │ │ │ ├── parallel.rb │ │ │ │ ├── pride.rb │ │ │ │ ├── pride_plugin.rb │ │ │ │ ├── spec.rb │ │ │ │ ├── test.rb │ │ │ │ └── unit.rb │ │ └── test │ │ │ └── minitest │ │ │ ├── metametameta.rb │ │ │ ├── test_minitest_assertions.rb │ │ │ ├── test_minitest_benchmark.rb │ │ │ ├── test_minitest_mock.rb │ │ │ ├── test_minitest_reporter.rb │ │ │ ├── test_minitest_spec.rb │ │ │ └── test_minitest_test.rb │ ├── public_suffix-3.1.1 │ │ ├── .gitignore │ │ ├── .rubocop.yml │ │ ├── .rubocop_defaults.yml │ │ ├── .ruby-gemset │ │ ├── .travis.yml │ │ ├── .yardopts │ │ ├── 2.0-Upgrade.md │ │ ├── CHANGELOG.md │ │ ├── Gemfile │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── Rakefile │ │ ├── bin │ │ │ └── console │ │ ├── data │ │ │ └── list.txt │ │ ├── lib │ │ │ ├── public_suffix.rb │ │ │ └── public_suffix │ │ │ │ ├── domain.rb │ │ │ │ ├── errors.rb │ │ │ │ ├── list.rb │ │ │ │ ├── rule.rb │ │ │ │ └── version.rb │ │ ├── public_suffix.gemspec │ │ └── test │ │ │ ├── .empty │ │ │ ├── acceptance_test.rb │ │ │ ├── benchmarks │ │ │ ├── bm_find.rb │ │ │ ├── bm_find_all.rb │ │ │ ├── bm_names.rb │ │ │ ├── bm_select.rb │ │ │ ├── bm_select_incremental.rb │ │ │ └── bm_valid.rb │ │ │ ├── profilers │ │ │ ├── domain_profiler.rb │ │ │ ├── find_profiler.rb │ │ │ ├── find_profiler_jp.rb │ │ │ ├── initialization_profiler.rb │ │ │ ├── list_profsize.rb │ │ │ └── object_binsize.rb │ │ │ ├── psl_test.rb │ │ │ ├── test_helper.rb │ │ │ ├── tests.txt │ │ │ └── unit │ │ │ ├── domain_test.rb │ │ │ ├── errors_test.rb │ │ │ ├── list_test.rb │ │ │ ├── public_suffix_test.rb │ │ │ └── rule_test.rb │ ├── rake-13.0.1 │ │ ├── .github │ │ │ └── workflows │ │ │ │ ├── macos.yml │ │ │ │ ├── ubuntu-rvm.yml │ │ │ │ ├── ubuntu.yml │ │ │ │ └── windows.yml │ │ ├── CONTRIBUTING.rdoc │ │ ├── Gemfile │ │ ├── History.rdoc │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── console │ │ │ ├── rake │ │ │ ├── rdoc │ │ │ ├── rubocop │ │ │ └── setup │ │ ├── doc │ │ │ ├── command_line_usage.rdoc │ │ │ ├── example │ │ │ │ ├── Rakefile1 │ │ │ │ ├── Rakefile2 │ │ │ │ ├── a.c │ │ │ │ ├── b.c │ │ │ │ └── main.c │ │ │ ├── glossary.rdoc │ │ │ ├── jamis.rb │ │ │ ├── proto_rake.rdoc │ │ │ ├── rake.1 │ │ │ ├── rakefile.rdoc │ │ │ └── rational.rdoc │ │ ├── exe │ │ │ └── rake │ │ ├── lib │ │ │ ├── rake.rb │ │ │ └── rake │ │ │ │ ├── application.rb │ │ │ │ ├── backtrace.rb │ │ │ │ ├── clean.rb │ │ │ │ ├── cloneable.rb │ │ │ │ ├── cpu_counter.rb │ │ │ │ ├── default_loader.rb │ │ │ │ ├── dsl_definition.rb │ │ │ │ ├── early_time.rb │ │ │ │ ├── ext │ │ │ │ ├── core.rb │ │ │ │ └── string.rb │ │ │ │ ├── file_creation_task.rb │ │ │ │ ├── file_list.rb │ │ │ │ ├── file_task.rb │ │ │ │ ├── file_utils.rb │ │ │ │ ├── file_utils_ext.rb │ │ │ │ ├── invocation_chain.rb │ │ │ │ ├── invocation_exception_mixin.rb │ │ │ │ ├── late_time.rb │ │ │ │ ├── linked_list.rb │ │ │ │ ├── loaders │ │ │ │ └── makefile.rb │ │ │ │ ├── multi_task.rb │ │ │ │ ├── name_space.rb │ │ │ │ ├── packagetask.rb │ │ │ │ ├── phony.rb │ │ │ │ ├── private_reader.rb │ │ │ │ ├── promise.rb │ │ │ │ ├── pseudo_status.rb │ │ │ │ ├── rake_module.rb │ │ │ │ ├── rake_test_loader.rb │ │ │ │ ├── rule_recursion_overflow_error.rb │ │ │ │ ├── scope.rb │ │ │ │ ├── task.rb │ │ │ │ ├── task_argument_error.rb │ │ │ │ ├── task_arguments.rb │ │ │ │ ├── task_manager.rb │ │ │ │ ├── tasklib.rb │ │ │ │ ├── testtask.rb │ │ │ │ ├── thread_history_display.rb │ │ │ │ ├── thread_pool.rb │ │ │ │ ├── trace_output.rb │ │ │ │ ├── version.rb │ │ │ │ └── win32.rb │ │ └── rake.gemspec │ ├── ruby-enum-0.8.0 │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── RELEASING.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── config │ │ │ │ └── locales │ │ │ │ │ └── en.yml │ │ │ ├── ruby-enum.rb │ │ │ ├── ruby-enum │ │ │ │ ├── enum.rb │ │ │ │ ├── errors │ │ │ │ │ ├── base.rb │ │ │ │ │ ├── duplicate_key_error.rb │ │ │ │ │ ├── duplicate_value_error.rb │ │ │ │ │ └── uninitialized_constant_error.rb │ │ │ │ └── version.rb │ │ │ └── ruby_enum.rb │ │ ├── ruby-enum.gemspec │ │ └── spec │ │ │ ├── ruby-enum │ │ │ ├── enum_spec.rb │ │ │ └── version_spec.rb │ │ │ └── spec_helper.rb │ ├── thread_safe-0.3.6 │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── .yardopts │ │ ├── Gemfile │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Rakefile │ │ ├── examples │ │ │ └── bench_cache.rb │ │ ├── ext │ │ │ ├── org │ │ │ │ └── jruby │ │ │ │ │ └── ext │ │ │ │ │ └── thread_safe │ │ │ │ │ ├── JRubyCacheBackendLibrary.java │ │ │ │ │ ├── jsr166e │ │ │ │ │ ├── ConcurrentHashMap.java │ │ │ │ │ ├── ConcurrentHashMapV8.java │ │ │ │ │ ├── LongAdder.java │ │ │ │ │ ├── Striped64.java │ │ │ │ │ └── nounsafe │ │ │ │ │ │ ├── ConcurrentHashMapV8.java │ │ │ │ │ │ ├── LongAdder.java │ │ │ │ │ │ └── Striped64.java │ │ │ │ │ └── jsr166y │ │ │ │ │ └── ThreadLocalRandom.java │ │ │ └── thread_safe │ │ │ │ └── JrubyCacheBackendService.java │ │ ├── lib │ │ │ ├── thread_safe.rb │ │ │ └── thread_safe │ │ │ │ ├── atomic_reference_cache_backend.rb │ │ │ │ ├── cache.rb │ │ │ │ ├── mri_cache_backend.rb │ │ │ │ ├── non_concurrent_cache_backend.rb │ │ │ │ ├── synchronized_cache_backend.rb │ │ │ │ ├── synchronized_delegator.rb │ │ │ │ ├── util.rb │ │ │ │ ├── util │ │ │ │ ├── adder.rb │ │ │ │ ├── atomic_reference.rb │ │ │ │ ├── cheap_lockable.rb │ │ │ │ ├── power_of_two_tuple.rb │ │ │ │ ├── striped64.rb │ │ │ │ ├── volatile.rb │ │ │ │ ├── volatile_tuple.rb │ │ │ │ └── xor_shift_random.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── .gitignore │ │ │ ├── spec_helper.rb │ │ │ ├── src │ │ │ │ └── thread_safe │ │ │ │ │ └── SecurityManager.java │ │ │ ├── support │ │ │ │ ├── .gitignore │ │ │ │ ├── threads.rb │ │ │ │ └── threadsafe_test.rb │ │ │ └── thread_safe │ │ │ │ ├── .gitignore │ │ │ │ ├── array_spec.rb │ │ │ │ ├── cache_loops_spec.rb │ │ │ │ ├── cache_spec.rb │ │ │ │ ├── hash_spec.rb │ │ │ │ ├── no_unsafe_spec.rb │ │ │ │ └── synchronized_delegator_spec.rb │ │ ├── tasks │ │ │ └── update_doc.rake │ │ ├── thread_safe.gemspec │ │ └── yard-template │ │ │ └── default │ │ │ ├── fulldoc │ │ │ └── html │ │ │ │ └── css │ │ │ │ └── common.css │ │ │ └── layout │ │ │ └── html │ │ │ └── footer.erb │ ├── tzinfo-1.2.7 │ │ ├── .yardopts │ │ ├── CHANGES.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── tzinfo.rb │ │ │ └── tzinfo │ │ │ │ ├── country.rb │ │ │ │ ├── country_index_definition.rb │ │ │ │ ├── country_info.rb │ │ │ │ ├── country_timezone.rb │ │ │ │ ├── data_source.rb │ │ │ │ ├── data_timezone.rb │ │ │ │ ├── data_timezone_info.rb │ │ │ │ ├── info_timezone.rb │ │ │ │ ├── linked_timezone.rb │ │ │ │ ├── linked_timezone_info.rb │ │ │ │ ├── offset_rationals.rb │ │ │ │ ├── ruby_core_support.rb │ │ │ │ ├── ruby_country_info.rb │ │ │ │ ├── ruby_data_source.rb │ │ │ │ ├── time_or_datetime.rb │ │ │ │ ├── timezone.rb │ │ │ │ ├── timezone_definition.rb │ │ │ │ ├── timezone_index_definition.rb │ │ │ │ ├── timezone_info.rb │ │ │ │ ├── timezone_offset.rb │ │ │ │ ├── timezone_period.rb │ │ │ │ ├── timezone_proxy.rb │ │ │ │ ├── timezone_transition.rb │ │ │ │ ├── timezone_transition_definition.rb │ │ │ │ ├── transition_data_timezone_info.rb │ │ │ │ ├── zoneinfo_country_info.rb │ │ │ │ ├── zoneinfo_data_source.rb │ │ │ │ └── zoneinfo_timezone_info.rb │ │ ├── test │ │ │ ├── tc_country.rb │ │ │ ├── tc_country_index_definition.rb │ │ │ ├── tc_country_info.rb │ │ │ ├── tc_country_timezone.rb │ │ │ ├── tc_data_source.rb │ │ │ ├── tc_data_timezone.rb │ │ │ ├── tc_data_timezone_info.rb │ │ │ ├── tc_info_timezone.rb │ │ │ ├── tc_linked_timezone.rb │ │ │ ├── tc_linked_timezone_info.rb │ │ │ ├── tc_offset_rationals.rb │ │ │ ├── tc_ruby_core_support.rb │ │ │ ├── tc_ruby_country_info.rb │ │ │ ├── tc_ruby_data_source.rb │ │ │ ├── tc_time_or_datetime.rb │ │ │ ├── tc_timezone.rb │ │ │ ├── tc_timezone_definition.rb │ │ │ ├── tc_timezone_index_definition.rb │ │ │ ├── tc_timezone_info.rb │ │ │ ├── tc_timezone_london.rb │ │ │ ├── tc_timezone_melbourne.rb │ │ │ ├── tc_timezone_new_york.rb │ │ │ ├── tc_timezone_offset.rb │ │ │ ├── tc_timezone_period.rb │ │ │ ├── tc_timezone_proxy.rb │ │ │ ├── tc_timezone_transition.rb │ │ │ ├── tc_timezone_transition_definition.rb │ │ │ ├── tc_timezone_utc.rb │ │ │ ├── tc_transition_data_timezone_info.rb │ │ │ ├── tc_zoneinfo_country_info.rb │ │ │ ├── tc_zoneinfo_data_source.rb │ │ │ ├── tc_zoneinfo_timezone_info.rb │ │ │ ├── test_utils.rb │ │ │ ├── ts_all.rb │ │ │ ├── ts_all_ruby.rb │ │ │ ├── ts_all_zoneinfo.rb │ │ │ ├── tzinfo-data │ │ │ │ └── tzinfo │ │ │ │ │ ├── data.rb │ │ │ │ │ └── data │ │ │ │ │ ├── definitions │ │ │ │ │ ├── America │ │ │ │ │ │ ├── Argentina │ │ │ │ │ │ │ └── Buenos_Aires.rb │ │ │ │ │ │ └── New_York.rb │ │ │ │ │ ├── Australia │ │ │ │ │ │ └── Melbourne.rb │ │ │ │ │ ├── EST.rb │ │ │ │ │ ├── Etc │ │ │ │ │ │ ├── GMT__m__1.rb │ │ │ │ │ │ ├── GMT__p__1.rb │ │ │ │ │ │ └── UTC.rb │ │ │ │ │ ├── Europe │ │ │ │ │ │ ├── Amsterdam.rb │ │ │ │ │ │ ├── Andorra.rb │ │ │ │ │ │ ├── London.rb │ │ │ │ │ │ ├── Paris.rb │ │ │ │ │ │ └── Prague.rb │ │ │ │ │ └── UTC.rb │ │ │ │ │ ├── indexes │ │ │ │ │ ├── countries.rb │ │ │ │ │ └── timezones.rb │ │ │ │ │ └── version.rb │ │ │ └── zoneinfo │ │ │ │ ├── America │ │ │ │ ├── Argentina │ │ │ │ │ └── Buenos_Aires │ │ │ │ └── New_York │ │ │ │ ├── Australia │ │ │ │ └── Melbourne │ │ │ │ ├── EST │ │ │ │ ├── Etc │ │ │ │ └── UTC │ │ │ │ ├── Europe │ │ │ │ ├── Amsterdam │ │ │ │ ├── Andorra │ │ │ │ ├── London │ │ │ │ ├── Paris │ │ │ │ └── Prague │ │ │ │ ├── Factory │ │ │ │ ├── iso3166.tab │ │ │ │ ├── leapseconds │ │ │ │ ├── posix │ │ │ │ └── Europe │ │ │ │ │ └── London │ │ │ │ ├── posixrules │ │ │ │ ├── right │ │ │ │ └── Europe │ │ │ │ │ └── London │ │ │ │ ├── zone.tab │ │ │ │ └── zone1970.tab │ │ └── tzinfo.gemspec │ └── zeitwerk-2.4.0 │ │ ├── MIT-LICENSE │ │ ├── README.md │ │ └── lib │ │ ├── zeitwerk.rb │ │ └── zeitwerk │ │ ├── error.rb │ │ ├── explicit_namespace.rb │ │ ├── gem_inflector.rb │ │ ├── inflector.rb │ │ ├── kernel.rb │ │ ├── loader.rb │ │ ├── loader │ │ └── callbacks.rb │ │ ├── real_mod_name.rb │ │ ├── registry.rb │ │ └── version.rb │ └── specifications │ ├── activesupport-6.0.3.4.gemspec │ ├── addressable-2.7.0.gemspec │ ├── coffee-script-2.4.1.gemspec │ ├── coffee-script-source-1.11.1.gemspec │ ├── colorator-1.1.0.gemspec │ ├── concurrent-ruby-1.1.7.gemspec │ ├── execjs-2.7.0.gemspec │ ├── i18n-0.9.5.gemspec │ ├── minitest-5.14.2.gemspec │ ├── public_suffix-3.1.1.gemspec │ ├── rake-13.0.1.gemspec │ ├── ruby-enum-0.8.0.gemspec │ ├── thread_safe-0.3.6.gemspec │ ├── tzinfo-1.2.7.gemspec │ └── zeitwerk-2.4.0.gemspec ├── man ├── AME.Rd ├── ATE.Rd ├── CATE.Rd ├── MG.Rd ├── gen_data.Rd ├── plot.ame.Rd └── summary.ame.Rd ├── natality └── natality.R ├── slides ├── AME-Logo.png ├── AME-QR.png ├── biblio.bibtex ├── insert_logo.html ├── libs │ └── remark-css-0.0.1 │ │ ├── default-fonts.css │ │ └── default.css ├── tester.Rmd ├── tester.html ├── tester_files │ └── remark-css-0.0.1 │ │ ├── default.css │ │ ├── metropolis-fonts.css │ │ └── metropolis.css ├── useR_FLAME.Rmd ├── useR_FLAME.html ├── useR_FLAME_cache │ └── html │ │ ├── __packages │ │ ├── natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.RData │ │ ├── natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.rdb │ │ ├── natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.rdx │ │ ├── plot-1_663a0a6b29b3a72314411e71e426af52.RData │ │ ├── plot-1_663a0a6b29b3a72314411e71e426af52.rdb │ │ ├── plot-1_663a0a6b29b3a72314411e71e426af52.rdx │ │ ├── plot-2_0574075d7f78042374be1b7ecd6f22fb.RData │ │ ├── plot-2_0574075d7f78042374be1b7ecd6f22fb.rdb │ │ ├── plot-2_0574075d7f78042374be1b7ecd6f22fb.rdx │ │ ├── plot-3_f146807e3f22205306621df503709b2f.RData │ │ ├── plot-3_f146807e3f22205306621df503709b2f.rdb │ │ ├── plot-3_f146807e3f22205306621df503709b2f.rdx │ │ ├── plot-4_57cd0174cea9aff6b413f548cb3331f5.RData │ │ ├── plot-4_57cd0174cea9aff6b413f548cb3331f5.rdb │ │ └── plot-4_57cd0174cea9aff6b413f548cb3331f5.rdx └── useR_FLAME_files │ ├── figure-html │ ├── plot-1-1.png │ ├── plot-2-1.png │ ├── plot-3-1.png │ └── plot-4-1.png │ └── remark-css-0.0.1 │ └── default.css ├── tests ├── testthat.R └── testthat │ ├── test_PE.R │ ├── test_columns.R │ ├── test_data_splitting.R │ ├── test_factors.R │ ├── test_inputs.R │ ├── test_missingness.R │ ├── test_one_covariate.R │ ├── test_output.R │ ├── test_user_PE.R │ └── test_warnings.R └── vignettes ├── .gitignore ├── biblio.bibtex ├── intro_to_AME.Rmd ├── intro_to_AME.md └── intro_to_AME_files └── figure-markdown_strict ├── unnamed-chunk-12-1.png ├── unnamed-chunk-13-1.png ├── unnamed-chunk-14-1.png └── unnamed-chunk-15-1.png /%: -------------------------------------------------------------------------------- 1 | MG_list.RData 2 | NAMESPACE 3 | R/gen_data.R 4 | R/time_trial.R 5 | R/stopping.R 6 | R/remap_covariates.R 7 | R/post_matching.R 8 | R/arg_checker.R 9 | R/data_read.R 10 | R/missing.R 11 | R/FLAME_bit.R 12 | R/helpers.R 13 | all_MGs.RData 14 | covid_FLAME_out.RData 15 | man/MG.Rd 16 | man/FLAME.Rd 17 | man/gen_data.Rd 18 | man/ATT.Rd 19 | man/CATE.Rd 20 | man/ATE.Rd 21 | tests/testthat/test_missingness.R 22 | tests/testthat/test_FLAME_output.R 23 | vignettes/FLAME_overview.Rmd 24 | -------------------------------------------------------------------------------- /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | ^cran-comments\.md$ 4 | ^README\.md$ 5 | ^CRAN-RELEASE$ 6 | ^\\R\\time_trial\.R$ 7 | ^\.travis\.yml$ 8 | ^natality.*$ 9 | ^%$ 10 | ^docs$ 11 | ^slides$ 12 | ^NEWS\.md$ 13 | ^R/speedup\.R$ 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | .Ruserdata 5 | inst/doc 6 | natality/natality_* 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: R 2 | r: 3 | - release 4 | 5 | warnings_are_errors: false 6 | 7 | r_packages: 8 | - covr 9 | 10 | after_success: 11 | - Rscript -e 'library(covr); codecov()' 12 | 13 | addons: 14 | apt: 15 | packages: 16 | - libgit2-dev 17 | -------------------------------------------------------------------------------- /FLAME.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: knitr 13 | LaTeX: pdfLaTeX 14 | 15 | AutoAppendNewline: Yes 16 | StripTrailingWhitespace: Yes 17 | 18 | BuildType: Package 19 | PackageUseDevtools: Yes 20 | PackageInstallArgs: --no-multiarch --with-keep.source 21 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | YEAR: 2020 2 | COPYRIGHT HOLDER: Duke University 3 | -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- 1 | # Generated by roxygen2: do not edit by hand 2 | 3 | S3method(plot,ame) 4 | S3method(print,ame) 5 | S3method(print,summary.ame) 6 | S3method(summary,ame) 7 | export(ATC) 8 | export(ATE) 9 | export(ATT) 10 | export(CATE) 11 | export(DAME) 12 | export(FLAME) 13 | export(MG) 14 | export(gen_data) 15 | importFrom(graphics,abline) 16 | importFrom(graphics,axis) 17 | importFrom(graphics,barplot) 18 | importFrom(graphics,image) 19 | importFrom(graphics,legend) 20 | importFrom(graphics,par) 21 | importFrom(graphics,title) 22 | importFrom(stats,complete.cases) 23 | importFrom(stats,density) 24 | importFrom(stats,median) 25 | importFrom(stats,model.matrix) 26 | importFrom(stats,predict) 27 | importFrom(stats,rbinom) 28 | importFrom(stats,rnorm) 29 | importFrom(stats,var) 30 | importFrom(utils,combn) 31 | importFrom(utils,flush.console) 32 | importFrom(utils,read.csv) 33 | importFrom(utils,write.csv) 34 | -------------------------------------------------------------------------------- /R/GenerateNewActiveSets.R: -------------------------------------------------------------------------------- 1 | gen_new_active_sets <- function(s, delta) { 2 | k <- length(s) 3 | Z <- list() 4 | 5 | # 3 6 | if (length(delta) == 0) { 7 | return (Z) 8 | } 9 | 10 | delta_k <- list() 11 | counter <- 1 12 | for (i in seq_along(delta)) { 13 | if (length(delta[[i]]) == k) { 14 | delta_k[[counter]] <- delta[[i]] 15 | counter <- counter + 1 16 | } 17 | } 18 | delta_k[[counter]] <- s 19 | 20 | # 4, 5 21 | supp <- table(unlist(delta_k)) 22 | 23 | # 6 24 | omega <- setdiff(strtoi(names(supp[supp >= k])), s) 25 | 26 | # 7 27 | counter <- 1 28 | if (all(supp[match(s, names(supp))] >= k)) { 29 | # 8 30 | for (a in omega) { 31 | # 9 32 | # Necessary to sort? 33 | r <- sort(c(s, a)) 34 | # 10 35 | if (all(combn(r, k, simplify = FALSE) %in% delta_k)) { 36 | # 11 37 | Z[[counter]] <- r 38 | counter <- counter + 1 39 | } 40 | } 41 | } 42 | return(Z) 43 | } 44 | -------------------------------------------------------------------------------- /cran-comments.md: -------------------------------------------------------------------------------- 1 | ## Test environments 2 | - local OS X install (R 4.1.0) 3 | - win-builder (r-devel and r-release) 4 | - R-hub debian-clang-devel (r-devel) 5 | - R-hub debian-gcc-devel (r-devel) 6 | - R-hub debian-gcc-release (r-release) 7 | - R-hub ubuntu-gcc-release (r-release) 8 | - R-hub ubuntu-gcc-devel (r-devel) 9 | - R-hub fedora-clang-devel (r-devel) 10 | - R-hub macos-highsierra-release-cran (r-release) 11 | 12 | ## R CMD check results 13 | 0 errors ✓ | 0 warnings ✓ | 0 notes ✓ 14 | 15 | ## Downstream dependencies 16 | There are currently no downstream dependencies for this package 17 | -------------------------------------------------------------------------------- /docs/.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_PATH: "vendor/bundle" 3 | -------------------------------------------------------------------------------- /docs/404.html: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /404.html 3 | layout: default 4 | --- 5 | 6 | 19 | 20 |
21 |

404

22 | 23 |

Page not found :(

24 |

The requested page could not be found.

25 |
26 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # Code to generate documentation for `FLAME` 2 | 3 | This directory contains the code for the web site as displayed at 4 | https://almost-matching-exactly.github.io/R-FLAME/ 5 | 6 | Please go to that site to view the documentation. 7 | -------------------------------------------------------------------------------- /docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-12-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-12-1.png -------------------------------------------------------------------------------- /docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-13-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-13-1.png -------------------------------------------------------------------------------- /docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-14-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-14-1.png -------------------------------------------------------------------------------- /docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-15-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/_documentation/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-15-1.png -------------------------------------------------------------------------------- /docs/_includes/analytics.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/_sass/color_schemes/blue.scss: -------------------------------------------------------------------------------- 1 | $sidebar-color: #f3f5fc; 2 | $link-color: $blue-000; 3 | $btn-primary-color: $blue-100; -------------------------------------------------------------------------------- /docs/_sass/custom/custom.scss: -------------------------------------------------------------------------------- 1 | .code-example { 2 | padding: 0rem; 3 | div.highlighter-rouge { 4 | margin-bottom: 0rem; 5 | } 6 | } 7 | 8 | #references { 9 | a { 10 | white-space: normal; 11 | } 12 | h4 { 13 | padding-bottom: 0.5rem; 14 | } 15 | .number { 16 | color: #27262b; 17 | font-weight: 400; 18 | &:hover { 19 | text-decoration: underline; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /docs/_site/README.md: -------------------------------------------------------------------------------- 1 | # Code to generate documentation for `dame-flame` 2 | 3 | This directory contains the code for the web site as displayed at 4 | https://almost-matching-exactly.github.io/DAME-FLAME-Python-Package/ 5 | 6 | Please go to that site to view the documentation. -------------------------------------------------------------------------------- /docs/_site/assets/images/just-the-docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/_site/assets/images/just-the-docs.png -------------------------------------------------------------------------------- /docs/_site/assets/images/search.svg: -------------------------------------------------------------------------------- 1 | Search 2 | -------------------------------------------------------------------------------- /docs/_site/redirects.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # 3 | # This file was generated by RubyGems. 4 | # 5 | # The application 'rake' is installed as part of a gem, and 6 | # this file is here to facilitate running it. 7 | # 8 | 9 | require 'rubygems' 10 | 11 | version = ">= 0.a" 12 | 13 | str = ARGV.first 14 | if str 15 | str = str.b[/\A_(.*)_\z/, 1] 16 | if str and Gem::Version.correct?(str) 17 | version = str 18 | ARGV.shift 19 | end 20 | end 21 | 22 | if Gem.respond_to?(:activate_bin_path) 23 | load Gem.activate_bin_path('rake', 'rake', version) 24 | else 25 | gem "rake", version 26 | load Gem.bin_path("rake", "rake", version) 27 | end 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/activesupport-6.0.3.4.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/activesupport-6.0.3.4.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/addressable-2.7.0.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/addressable-2.7.0.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/coffee-script-2.4.1.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/coffee-script-2.4.1.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/coffee-script-source-1.11.1.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/coffee-script-source-1.11.1.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/colorator-1.1.0.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/colorator-1.1.0.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/commonmarker-0.17.13.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/commonmarker-0.17.13.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/concurrent-ruby-1.1.7.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/concurrent-ruby-1.1.7.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/execjs-2.7.0.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/execjs-2.7.0.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/i18n-0.9.5.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/i18n-0.9.5.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/minitest-5.14.2.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/minitest-5.14.2.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/public_suffix-3.1.1.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/public_suffix-3.1.1.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/rake-13.0.1.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/rake-13.0.1.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/ruby-enum-0.8.0.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/ruby-enum-0.8.0.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/thread_safe-0.3.6.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/thread_safe-0.3.6.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/tzinfo-1.2.7.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/tzinfo-1.2.7.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/cache/zeitwerk-2.4.0.gem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/cache/zeitwerk-2.4.0.gem -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-19/2.6.0/commonmarker-0.17.13/gem_make.out: -------------------------------------------------------------------------------- 1 | current directory: /Users/vdo/Desktop/Research/FLAME/docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker 2 | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20210710-4938-1ich3c2.rb extconf.rb 3 | creating Makefile 4 | 5 | current directory: /Users/vdo/Desktop/Research/FLAME/docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker 6 | make "DESTDIR=" clean 7 | 8 | current directory: /Users/vdo/Desktop/Research/FLAME/docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker 9 | make "DESTDIR=" 10 | make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19/ruby/config.h', needed by `arena.o'. Stop. 11 | 12 | make failed, exit code 2 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/all.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support" 4 | require "active_support/time" 5 | require "active_support/core_ext" 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/builder.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | begin 4 | require "builder" 5 | rescue LoadError => e 6 | $stderr.puts "You don't have builder installed in your application. Please add it to your Gemfile and run bundle install" 7 | raise e 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Dir.glob(File.expand_path("core_ext/*.rb", __dir__)).each do |path| 4 | require path 5 | end 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/array.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/array/wrap" 4 | require "active_support/core_ext/array/access" 5 | require "active_support/core_ext/array/conversions" 6 | require "active_support/core_ext/array/extract" 7 | require "active_support/core_ext/array/extract_options" 8 | require "active_support/core_ext/array/grouping" 9 | require "active_support/core_ext/array/inquiry" 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/array/extract.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Array 4 | # Removes and returns the elements for which the block returns a true value. 5 | # If no block is given, an Enumerator is returned instead. 6 | # 7 | # numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] 8 | # odd_numbers = numbers.extract! { |number| number.odd? } # => [1, 3, 5, 7, 9] 9 | # numbers # => [0, 2, 4, 6, 8] 10 | def extract! 11 | return to_enum(:extract!) { size } unless block_given? 12 | 13 | extracted_elements = [] 14 | 15 | reject! do |element| 16 | extracted_elements << element if yield(element) 17 | end 18 | 19 | extracted_elements 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/array/inquiry.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/array_inquirer" 4 | 5 | class Array 6 | # Wraps the array in an +ArrayInquirer+ object, which gives a friendlier way 7 | # to check its string-like contents. 8 | # 9 | # pets = [:cat, :dog].inquiry 10 | # 11 | # pets.cat? # => true 12 | # pets.ferret? # => false 13 | # 14 | # pets.any?(:cat, :ferret) # => true 15 | # pets.any?(:ferret, :alligator) # => false 16 | def inquiry 17 | ActiveSupport::ArrayInquirer.new(self) 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/array/prepend_and_append.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/deprecation" 4 | 5 | ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Array#append and Array#prepend natively, so requiring active_support/core_ext/array/prepend_and_append is no longer necessary. Requiring it will raise LoadError in Rails 6.1." 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/benchmark.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "benchmark" 4 | 5 | class << Benchmark 6 | # Benchmark realtime in milliseconds. 7 | # 8 | # Benchmark.realtime { User.all } 9 | # # => 8.0e-05 10 | # 11 | # Benchmark.ms { User.all } 12 | # # => 0.074 13 | def ms 14 | 1000 * realtime { yield } 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/big_decimal.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/big_decimal/conversions" 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/big_decimal/conversions.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "bigdecimal" 4 | require "bigdecimal/util" 5 | 6 | module ActiveSupport 7 | module BigDecimalWithDefaultFormat #:nodoc: 8 | def to_s(format = "F") 9 | super(format) 10 | end 11 | end 12 | end 13 | 14 | BigDecimal.prepend(ActiveSupport::BigDecimalWithDefaultFormat) 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/class.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/class/attribute" 4 | require "active_support/core_ext/class/subclasses" 5 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/class/attribute_accessors.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | # cattr_* became mattr_* aliases in 7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d, 4 | # but we keep this around for libraries that directly require it knowing they 5 | # want cattr_*. No need to deprecate. 6 | require "active_support/core_ext/module/attribute_accessors" 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/date/acts_like" 4 | require "active_support/core_ext/date/blank" 5 | require "active_support/core_ext/date/calculations" 6 | require "active_support/core_ext/date/conversions" 7 | require "active_support/core_ext/date/zones" 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date/acts_like.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/object/acts_like" 4 | 5 | class Date 6 | # Duck-types as a Date-like class. See Object#acts_like?. 7 | def acts_like_date? 8 | true 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date/blank.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "date" 4 | 5 | class Date #:nodoc: 6 | # No Date is blank: 7 | # 8 | # Date.today.blank? # => false 9 | # 10 | # @return [false] 11 | def blank? 12 | false 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date/zones.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "date" 4 | require "active_support/core_ext/date_and_time/zones" 5 | 6 | class Date 7 | include DateAndTime::Zones 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date_and_time/compatibility.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/module/attribute_accessors" 4 | 5 | module DateAndTime 6 | module Compatibility 7 | # If true, +to_time+ preserves the timezone offset of receiver. 8 | # 9 | # NOTE: With Ruby 2.4+ the default for +to_time+ changed from 10 | # converting to the local system time, to preserving the offset 11 | # of the receiver. For backwards compatibility we're overriding 12 | # this behavior, but new apps will have an initializer that sets 13 | # this to true, because the new behavior is preferred. 14 | mattr_accessor :preserve_timezone, instance_writer: false, default: false 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date_time.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/date_time/acts_like" 4 | require "active_support/core_ext/date_time/blank" 5 | require "active_support/core_ext/date_time/calculations" 6 | require "active_support/core_ext/date_time/compatibility" 7 | require "active_support/core_ext/date_time/conversions" 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date_time/acts_like.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "date" 4 | require "active_support/core_ext/object/acts_like" 5 | 6 | class DateTime 7 | # Duck-types as a Date-like class. See Object#acts_like?. 8 | def acts_like_date? 9 | true 10 | end 11 | 12 | # Duck-types as a Time-like class. See Object#acts_like?. 13 | def acts_like_time? 14 | true 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date_time/blank.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "date" 4 | 5 | class DateTime #:nodoc: 6 | # No DateTime is ever blank: 7 | # 8 | # DateTime.now.blank? # => false 9 | # 10 | # @return [false] 11 | def blank? 12 | false 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/date_time/compatibility.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/date_and_time/compatibility" 4 | require "active_support/core_ext/module/redefine_method" 5 | 6 | class DateTime 7 | include DateAndTime::Compatibility 8 | 9 | silence_redefinition_of_method :to_time 10 | 11 | # Either return an instance of +Time+ with the same UTC offset 12 | # as +self+ or an instance of +Time+ representing the same time 13 | # in the local system timezone depending on the setting of 14 | # on the setting of +ActiveSupport.to_time_preserves_timezone+. 15 | def to_time 16 | preserve_timezone ? getlocal(utc_offset) : getlocal 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/digest.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/digest/uuid" 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/file.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/file/atomic" 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/hash.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/hash/conversions" 4 | require "active_support/core_ext/hash/deep_merge" 5 | require "active_support/core_ext/hash/deep_transform_values" 6 | require "active_support/core_ext/hash/except" 7 | require "active_support/core_ext/hash/indifferent_access" 8 | require "active_support/core_ext/hash/keys" 9 | require "active_support/core_ext/hash/reverse_merge" 10 | require "active_support/core_ext/hash/slice" 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/hash/compact.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/deprecation" 4 | 5 | ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Hash#compact and Hash#compact! natively, so requiring active_support/core_ext/hash/compact is no longer necessary. Requiring it will raise LoadError in Rails 6.1." 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/hash/except.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Hash 4 | # Returns a hash that includes everything except given keys. 5 | # hash = { a: true, b: false, c: nil } 6 | # hash.except(:c) # => { a: true, b: false } 7 | # hash.except(:a, :b) # => { c: nil } 8 | # hash # => { a: true, b: false, c: nil } 9 | # 10 | # This is useful for limiting a set of parameters to everything but a few known toggles: 11 | # @person.update(params[:person].except(:admin)) 12 | def except(*keys) 13 | slice(*self.keys - keys) 14 | end 15 | 16 | # Removes the given keys from hash and returns it. 17 | # hash = { a: true, b: false, c: nil } 18 | # hash.except!(:c) # => { a: true, b: false } 19 | # hash # => { a: true, b: false } 20 | def except!(*keys) 21 | keys.each { |key| delete(key) } 22 | self 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/hash/reverse_merge.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Hash 4 | # Merges the caller into +other_hash+. For example, 5 | # 6 | # options = options.reverse_merge(size: 25, velocity: 10) 7 | # 8 | # is equivalent to 9 | # 10 | # options = { size: 25, velocity: 10 }.merge(options) 11 | # 12 | # This is particularly useful for initializing an options hash 13 | # with default values. 14 | def reverse_merge(other_hash) 15 | other_hash.merge(self) 16 | end 17 | alias_method :with_defaults, :reverse_merge 18 | 19 | # Destructive +reverse_merge+. 20 | def reverse_merge!(other_hash) 21 | replace(reverse_merge(other_hash)) 22 | end 23 | alias_method :reverse_update, :reverse_merge! 24 | alias_method :with_defaults!, :reverse_merge! 25 | end 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/hash/transform_values.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/deprecation" 4 | 5 | ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Hash#transform_values natively, so requiring active_support/core_ext/hash/transform_values is no longer necessary. Requiring it will raise LoadError in Rails 6.1." 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/integer.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/integer/multiple" 4 | require "active_support/core_ext/integer/inflections" 5 | require "active_support/core_ext/integer/time" 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/integer/multiple.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Integer 4 | # Check whether the integer is evenly divisible by the argument. 5 | # 6 | # 0.multiple_of?(0) # => true 7 | # 6.multiple_of?(5) # => false 8 | # 10.multiple_of?(2) # => true 9 | def multiple_of?(number) 10 | number == 0 ? self == 0 : self % number == 0 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/integer/time.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/duration" 4 | require "active_support/core_ext/numeric/time" 5 | 6 | class Integer 7 | # Returns a Duration instance matching the number of months provided. 8 | # 9 | # 2.months # => 2 months 10 | def months 11 | ActiveSupport::Duration.months(self) 12 | end 13 | alias :month :months 14 | 15 | # Returns a Duration instance matching the number of years provided. 16 | # 17 | # 2.years # => 2 years 18 | def years 19 | ActiveSupport::Duration.years(self) 20 | end 21 | alias :year :years 22 | end 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/kernel.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/kernel/concern" 4 | require "active_support/core_ext/kernel/reporting" 5 | require "active_support/core_ext/kernel/singleton_class" 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/kernel/concern.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/module/concerning" 4 | 5 | module Kernel 6 | module_function 7 | 8 | # A shortcut to define a toplevel concern, not within a module. 9 | # 10 | # See Module::Concerning for more. 11 | def concern(topic, &module_definition) 12 | Object.concern topic, &module_definition 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/kernel/singleton_class.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Kernel 4 | # class_eval on an object acts like singleton_class.class_eval. 5 | def class_eval(*args, &block) 6 | singleton_class.class_eval(*args, &block) 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/load_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class LoadError 4 | # Returns true if the given path name (except perhaps for the ".rb" 5 | # extension) is the missing file which caused the exception to be raised. 6 | def is_missing?(location) 7 | location.sub(/\.rb$/, "") == path.to_s.sub(/\.rb$/, "") 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/marshal.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport 4 | module MarshalWithAutoloading # :nodoc: 5 | def load(source, proc = nil) 6 | super(source, proc) 7 | rescue ArgumentError, NameError => exc 8 | if exc.message.match(%r|undefined class/module (.+?)(?:::)?\z|) 9 | # try loading the class/module 10 | loaded = $1.constantize 11 | 12 | raise unless $1 == loaded.name 13 | 14 | # if it is an IO we need to go back to read the object 15 | source.rewind if source.respond_to?(:rewind) 16 | retry 17 | else 18 | raise exc 19 | end 20 | end 21 | end 22 | end 23 | 24 | Marshal.singleton_class.prepend(ActiveSupport::MarshalWithAutoloading) 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/module.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/module/aliasing" 4 | require "active_support/core_ext/module/introspection" 5 | require "active_support/core_ext/module/anonymous" 6 | require "active_support/core_ext/module/attribute_accessors" 7 | require "active_support/core_ext/module/attribute_accessors_per_thread" 8 | require "active_support/core_ext/module/attr_internal" 9 | require "active_support/core_ext/module/concerning" 10 | require "active_support/core_ext/module/delegation" 11 | require "active_support/core_ext/module/deprecation" 12 | require "active_support/core_ext/module/redefine_method" 13 | require "active_support/core_ext/module/remove_method" 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/module/anonymous.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Module 4 | # A module may or may not have a name. 5 | # 6 | # module M; end 7 | # M.name # => "M" 8 | # 9 | # m = Module.new 10 | # m.name # => nil 11 | # 12 | # +anonymous?+ method returns true if module does not have a name, false otherwise: 13 | # 14 | # Module.new.anonymous? # => true 15 | # 16 | # module M; end 17 | # M.anonymous? # => false 18 | # 19 | # A module gets a name when it is first assigned to a constant. Either 20 | # via the +module+ or +class+ keyword or by an explicit assignment: 21 | # 22 | # m = Module.new # creates an anonymous module 23 | # m.anonymous? # => true 24 | # M = m # m gets a name here as a side-effect 25 | # m.name # => "M" 26 | # m.anonymous? # => false 27 | def anonymous? 28 | name.nil? 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/module/reachable.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/module/anonymous" 4 | require "active_support/core_ext/string/inflections" 5 | 6 | ActiveSupport::Deprecation.warn("reachable is deprecated and will be removed from the framework.") 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/module/remove_method.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/module/redefine_method" 4 | 5 | class Module 6 | # Removes the named method, if it exists. 7 | def remove_possible_method(method) 8 | if method_defined?(method) || private_method_defined?(method) 9 | undef_method(method) 10 | end 11 | end 12 | 13 | # Removes the named singleton method, if it exists. 14 | def remove_possible_singleton_method(method) 15 | singleton_class.remove_possible_method(method) 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/numeric.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/numeric/bytes" 4 | require "active_support/core_ext/numeric/time" 5 | require "active_support/core_ext/numeric/conversions" 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/numeric/inquiry.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/deprecation" 4 | 5 | ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Numeric#positive? and Numeric#negative? natively, so requiring active_support/core_ext/numeric/inquiry is no longer necessary. Requiring it will raise LoadError in Rails 6.1." 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/object.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/object/acts_like" 4 | require "active_support/core_ext/object/blank" 5 | require "active_support/core_ext/object/duplicable" 6 | require "active_support/core_ext/object/deep_dup" 7 | require "active_support/core_ext/object/try" 8 | require "active_support/core_ext/object/inclusion" 9 | 10 | require "active_support/core_ext/object/conversions" 11 | require "active_support/core_ext/object/instance_variables" 12 | 13 | require "active_support/core_ext/object/json" 14 | require "active_support/core_ext/object/to_param" 15 | require "active_support/core_ext/object/to_query" 16 | require "active_support/core_ext/object/with_options" 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/object/acts_like.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Object 4 | # A duck-type assistant method. For example, Active Support extends Date 5 | # to define an acts_like_date? method, and extends Time to define 6 | # acts_like_time?. As a result, we can do x.acts_like?(:time) and 7 | # x.acts_like?(:date) to do duck-type-safe comparisons, since classes that 8 | # we want to act like Time simply need to define an acts_like_time? method. 9 | def acts_like?(duck) 10 | case duck 11 | when :time 12 | respond_to? :acts_like_time? 13 | when :date 14 | respond_to? :acts_like_date? 15 | when :string 16 | respond_to? :acts_like_string? 17 | else 18 | respond_to? :"acts_like_#{duck}?" 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/object/conversions.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/object/to_param" 4 | require "active_support/core_ext/object/to_query" 5 | require "active_support/core_ext/array/conversions" 6 | require "active_support/core_ext/hash/conversions" 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/object/instance_variables.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Object 4 | # Returns a hash with string keys that maps instance variable names without "@" to their 5 | # corresponding values. 6 | # 7 | # class C 8 | # def initialize(x, y) 9 | # @x, @y = x, y 10 | # end 11 | # end 12 | # 13 | # C.new(0, 1).instance_values # => {"x" => 0, "y" => 1} 14 | def instance_values 15 | Hash[instance_variables.map { |name| [name[1..-1], instance_variable_get(name)] }] 16 | end 17 | 18 | # Returns an array of instance variable names as strings including "@". 19 | # 20 | # class C 21 | # def initialize(x, y) 22 | # @x, @y = x, y 23 | # end 24 | # end 25 | # 26 | # C.new(0, 1).instance_variable_names # => ["@y", "@x"] 27 | def instance_variable_names 28 | instance_variables.map(&:to_s) 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/object/to_param.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/object/to_query" 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/range.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/range/conversions" 4 | require "active_support/core_ext/range/compare_range" 5 | require "active_support/core_ext/range/include_time_with_zone" 6 | require "active_support/core_ext/range/overlaps" 7 | require "active_support/core_ext/range/each" 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/range/each.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/time_with_zone" 4 | 5 | module ActiveSupport 6 | module EachTimeWithZone #:nodoc: 7 | def each(&block) 8 | ensure_iteration_allowed 9 | super 10 | end 11 | 12 | def step(n = 1, &block) 13 | ensure_iteration_allowed 14 | super 15 | end 16 | 17 | private 18 | def ensure_iteration_allowed 19 | raise TypeError, "can't iterate from #{first.class}" if first.is_a?(TimeWithZone) 20 | end 21 | end 22 | end 23 | 24 | Range.prepend(ActiveSupport::EachTimeWithZone) 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/range/include_range.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/deprecation" 4 | 5 | ActiveSupport::Deprecation.warn "You have required `active_support/core_ext/range/include_range`. " \ 6 | "This file will be removed in Rails 6.1. You should require `active_support/core_ext/range/compare_range` " \ 7 | "instead." 8 | 9 | require "active_support/core_ext/range/compare_range" 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/range/include_time_with_zone.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/time_with_zone" 4 | 5 | module ActiveSupport 6 | module IncludeTimeWithZone #:nodoc: 7 | # Extends the default Range#include? to support ActiveSupport::TimeWithZone. 8 | # 9 | # (1.hour.ago..1.hour.from_now).include?(Time.current) # => true 10 | # 11 | def include?(value) 12 | if self.begin.is_a?(TimeWithZone) 13 | cover?(value) 14 | elsif self.end.is_a?(TimeWithZone) 15 | cover?(value) 16 | else 17 | super 18 | end 19 | end 20 | end 21 | end 22 | 23 | Range.prepend(ActiveSupport::IncludeTimeWithZone) 24 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/range/overlaps.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Range 4 | # Compare two ranges and see if they overlap each other 5 | # (1..5).overlaps?(4..6) # => true 6 | # (1..5).overlaps?(7..9) # => false 7 | def overlaps?(other) 8 | cover?(other.first) || other.cover?(first) 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/regexp.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Regexp #:nodoc: 4 | def multiline? 5 | options & MULTILINE == MULTILINE 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/string/conversions" 4 | require "active_support/core_ext/string/filters" 5 | require "active_support/core_ext/string/multibyte" 6 | require "active_support/core_ext/string/starts_ends_with" 7 | require "active_support/core_ext/string/inflections" 8 | require "active_support/core_ext/string/access" 9 | require "active_support/core_ext/string/behavior" 10 | require "active_support/core_ext/string/output_safety" 11 | require "active_support/core_ext/string/exclude" 12 | require "active_support/core_ext/string/strip" 13 | require "active_support/core_ext/string/inquiry" 14 | require "active_support/core_ext/string/indent" 15 | require "active_support/core_ext/string/zones" 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string/behavior.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class String 4 | # Enables more predictable duck-typing on String-like classes. See Object#acts_like?. 5 | def acts_like_string? 6 | true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string/exclude.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class String 4 | # The inverse of String#include?. Returns true if the string 5 | # does not include the other string. 6 | # 7 | # "hello".exclude? "lo" # => false 8 | # "hello".exclude? "ol" # => true 9 | # "hello".exclude? ?h # => false 10 | def exclude?(string) 11 | !include?(string) 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string/inquiry.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/string_inquirer" 4 | 5 | class String 6 | # Wraps the current string in the ActiveSupport::StringInquirer class, 7 | # which gives you a prettier way to test for equality. 8 | # 9 | # env = 'production'.inquiry 10 | # env.production? # => true 11 | # env.development? # => false 12 | def inquiry 13 | ActiveSupport::StringInquirer.new(self) 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string/starts_ends_with.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class String 4 | alias_method :starts_with?, :start_with? 5 | alias_method :ends_with?, :end_with? 6 | end 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string/strip.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class String 4 | # Strips indentation in heredocs. 5 | # 6 | # For example in 7 | # 8 | # if options[:usage] 9 | # puts <<-USAGE.strip_heredoc 10 | # This command does such and such. 11 | # 12 | # Supported options are: 13 | # -h This message 14 | # ... 15 | # USAGE 16 | # end 17 | # 18 | # the user would see the usage message aligned against the left margin. 19 | # 20 | # Technically, it looks for the least indented non-empty line 21 | # in the whole string, and removes that amount of leading whitespace. 22 | def strip_heredoc 23 | gsub(/^#{scan(/^[ \t]*(?=\S)/).min}/, "").tap do |stripped| 24 | stripped.freeze if frozen? 25 | end 26 | end 27 | end 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/string/zones.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/string/conversions" 4 | require "active_support/core_ext/time/zones" 5 | 6 | class String 7 | # Converts String to a TimeWithZone in the current zone if Time.zone or Time.zone_default 8 | # is set, otherwise converts String to a Time via String#to_time 9 | def in_time_zone(zone = ::Time.zone) 10 | if zone 11 | ::Time.find_zone!(zone).parse(self) 12 | else 13 | to_time 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/time.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/time/acts_like" 4 | require "active_support/core_ext/time/calculations" 5 | require "active_support/core_ext/time/compatibility" 6 | require "active_support/core_ext/time/conversions" 7 | require "active_support/core_ext/time/zones" 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/time/acts_like.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/object/acts_like" 4 | 5 | class Time 6 | # Duck-types as a Time-like class. See Object#acts_like?. 7 | def acts_like_time? 8 | true 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/time/compatibility.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/date_and_time/compatibility" 4 | require "active_support/core_ext/module/redefine_method" 5 | 6 | class Time 7 | include DateAndTime::Compatibility 8 | 9 | silence_redefinition_of_method :to_time 10 | 11 | # Either return +self+ or the time in the local system timezone depending 12 | # on the setting of +ActiveSupport.to_time_preserves_timezone+. 13 | def to_time 14 | preserve_timezone ? self : getlocal 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/core_ext/uri.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "uri" 4 | 5 | if RUBY_VERSION < "2.6.0" 6 | require "active_support/core_ext/module/redefine_method" 7 | URI::Parser.class_eval do 8 | silence_redefinition_of_method :unescape 9 | def unescape(str, escaped = /%[a-fA-F\d]{2}/) 10 | # TODO: Are we actually sure that ASCII == UTF-8? 11 | # YK: My initial experiments say yes, but let's be sure please 12 | enc = str.encoding 13 | enc = Encoding::UTF_8 if enc == Encoding::US_ASCII 14 | str.dup.force_encoding(Encoding::ASCII_8BIT).gsub(escaped) { |match| [match[1, 2].hex].pack("C") }.force_encoding(enc) 15 | end 16 | end 17 | end 18 | 19 | module URI 20 | class << self 21 | def parser 22 | @parser ||= URI::Parser.new 23 | end 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/digest.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport 4 | class Digest #:nodoc: 5 | class <Gem::Version. 5 | def self.gem_version 6 | Gem::Version.new VERSION::STRING 7 | end 8 | 9 | module VERSION 10 | MAJOR = 6 11 | MINOR = 0 12 | TINY = 3 13 | PRE = "4" 14 | 15 | STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/i18n.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/core_ext/hash/deep_merge" 4 | require "active_support/core_ext/hash/except" 5 | require "active_support/core_ext/hash/slice" 6 | begin 7 | require "i18n" 8 | rescue LoadError => e 9 | $stderr.puts "The i18n gem is not available. Please add it to your Gemfile and run bundle install" 10 | raise e 11 | end 12 | require "active_support/lazy_load_hooks" 13 | 14 | ActiveSupport.run_load_hooks(:i18n) 15 | I18n.load_path << File.expand_path("locale/en.yml", __dir__) 16 | I18n.load_path << File.expand_path("locale/en.rb", __dir__) 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/inflector.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | # in case active_support/inflector is required without the rest of active_support 4 | require "active_support/inflector/inflections" 5 | require "active_support/inflector/transliterate" 6 | require "active_support/inflector/methods" 7 | 8 | require "active_support/inflections" 9 | require "active_support/core_ext/string/inflections" 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/json.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/json/decoding" 4 | require "active_support/json/encoding" 5 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/locale/en.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | { 4 | en: { 5 | number: { 6 | nth: { 7 | ordinals: lambda do |_key, options| 8 | number = options[:number] 9 | case number 10 | when 1; "st" 11 | when 2; "nd" 12 | when 3; "rd" 13 | when 4, 5, 6, 7, 8, 9, 10, 11, 12, 13; "th" 14 | else 15 | num_modulo = number.to_i.abs % 100 16 | num_modulo %= 10 if num_modulo > 13 17 | case num_modulo 18 | when 1; "st" 19 | when 2; "nd" 20 | when 3; "rd" 21 | else "th" 22 | end 23 | end 24 | end, 25 | 26 | ordinalized: lambda do |_key, options| 27 | number = options[:number] 28 | "#{number}#{ActiveSupport::Inflector.ordinal(number)}" 29 | end 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/messages/rotation_configuration.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport 4 | module Messages 5 | class RotationConfiguration # :nodoc: 6 | attr_reader :signed, :encrypted 7 | 8 | def initialize 9 | @signed, @encrypted = [], [] 10 | end 11 | 12 | def rotate(kind, *args) 13 | case kind 14 | when :signed 15 | @signed << args 16 | when :encrypted 17 | @encrypted << args 18 | end 19 | end 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/multibyte.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport #:nodoc: 4 | module Multibyte 5 | autoload :Chars, "active_support/multibyte/chars" 6 | autoload :Unicode, "active_support/multibyte/unicode" 7 | 8 | # The proxy class returned when calling mb_chars. You can use this accessor 9 | # to configure your own proxy class so you can support other encodings. See 10 | # the ActiveSupport::Multibyte::Chars implementation for an example how to 11 | # do this. 12 | # 13 | # ActiveSupport::Multibyte.proxy_class = CharsForUTF32 14 | def self.proxy_class=(klass) 15 | @proxy_class = klass 16 | end 17 | 18 | # Returns the current proxy class. 19 | def self.proxy_class 20 | @proxy_class ||= ActiveSupport::Multibyte::Chars 21 | end 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/number_helper/number_to_delimited_converter.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/number_helper/number_converter" 4 | 5 | module ActiveSupport 6 | module NumberHelper 7 | class NumberToDelimitedConverter < NumberConverter #:nodoc: 8 | self.validate_float = true 9 | 10 | DEFAULT_DELIMITER_REGEX = /(\d)(?=(\d\d\d)+(?!\d))/ 11 | 12 | def convert 13 | parts.join(options[:separator]) 14 | end 15 | 16 | private 17 | def parts 18 | left, right = number.to_s.split(".") 19 | left.gsub!(delimiter_pattern) do |digit_to_delimit| 20 | "#{digit_to_delimit}#{options[:delimiter]}" 21 | end 22 | [left, right].compact 23 | end 24 | 25 | def delimiter_pattern 26 | options.fetch(:delimiter_pattern, DEFAULT_DELIMITER_REGEX) 27 | end 28 | end 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/number_helper/number_to_percentage_converter.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "active_support/number_helper/number_converter" 4 | 5 | module ActiveSupport 6 | module NumberHelper 7 | class NumberToPercentageConverter < NumberConverter # :nodoc: 8 | self.namespace = :percentage 9 | 10 | def convert 11 | rounded_number = NumberToRoundedConverter.convert(number, options) 12 | options[:format].gsub("%n", rounded_number) 13 | end 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/proxy_object.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport 4 | # A class with no predefined methods that behaves similarly to Builder's 5 | # BlankSlate. Used for proxy classes. 6 | class ProxyObject < ::BasicObject 7 | undef_method :== 8 | undef_method :equal? 9 | 10 | # Let ActiveSupport::ProxyObject at least raise exceptions. 11 | def raise(*args) 12 | ::Object.send(:raise, *args) 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/testing/autorun.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | gem "minitest" 4 | 5 | require "minitest" 6 | 7 | Minitest.autorun 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/testing/tagged_logging.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport 4 | module Testing 5 | # Logs a "PostsControllerTest: test name" heading before each test to 6 | # make test.log easier to search and follow along with. 7 | module TaggedLogging #:nodoc: 8 | attr_writer :tagged_logger 9 | 10 | def before_setup 11 | if tagged_logger && tagged_logger.info? 12 | heading = "#{self.class}: #{name}" 13 | divider = "-" * heading.size 14 | tagged_logger.info divider 15 | tagged_logger.info heading 16 | tagged_logger.info divider 17 | end 18 | super 19 | end 20 | 21 | private 22 | def tagged_logger 23 | @tagged_logger ||= (defined?(Rails.logger) && Rails.logger) 24 | end 25 | end 26 | end 27 | end 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/time.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ActiveSupport 4 | autoload :Duration, "active_support/duration" 5 | autoload :TimeWithZone, "active_support/time_with_zone" 6 | autoload :TimeZone, "active_support/values/time_zone" 7 | end 8 | 9 | require "date" 10 | require "time" 11 | 12 | require "active_support/core_ext/time" 13 | require "active_support/core_ext/date" 14 | require "active_support/core_ext/date_time" 15 | 16 | require "active_support/core_ext/integer/time" 17 | require "active_support/core_ext/numeric/time" 18 | 19 | require "active_support/core_ext/string/conversions" 20 | require "active_support/core_ext/string/zones" 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.4/lib/active_support/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require_relative "gem_version" 4 | 5 | module ActiveSupport 6 | # Returns the version of the currently loaded ActiveSupport as a Gem::Version 7 | def self.version 8 | gem_version 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec 4 | 5 | group :test do 6 | gem 'rspec', '~> 3.8' 7 | gem 'rspec-its', '~> 1.3' 8 | end 9 | 10 | group :development do 11 | gem 'launchy', '~> 2.4', '>= 2.4.3' 12 | gem 'redcarpet', :platform => :mri_19 13 | gem 'yard' 14 | end 15 | 16 | group :test, :development do 17 | gem 'rake', '> 10.0', '< 12' 18 | gem 'simplecov', :require => false 19 | gem 'coveralls', :require => false, :platforms => [ 20 | :ruby_20, :ruby_21, :ruby_22, :ruby_23 21 | ] 22 | # Used to test compatibility. 23 | gem 'rack-mount', git: 'https://github.com/sporkmonger/rack-mount.git', require: 'rack/mount' 24 | 25 | if RUBY_VERSION.start_with?('2.0', '2.1') 26 | gem 'rack', '< 2', :require => false 27 | else 28 | gem 'rack', :require => false 29 | end 30 | end 31 | 32 | gem 'idn-ruby', :platform => [:mri_20, :mri_21, :mri_22, :mri_23, :mri_24] 33 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/data/unicode.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/data/unicode.data -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/lib/addressable.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'addressable/uri' 4 | require 'addressable/template' 5 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'bundler/setup' 4 | require 'rspec/its' 5 | 6 | begin 7 | require 'coveralls' 8 | Coveralls.wear! do 9 | add_filter "spec/" 10 | add_filter "vendor/" 11 | end 12 | rescue LoadError 13 | warn "warning: coveralls gem not found; skipping Coveralls" 14 | require 'simplecov' 15 | SimpleCov.start do 16 | add_filter "spec/" 17 | add_filter "vendor/" 18 | end 19 | end 20 | 21 | RSpec.configure do |config| 22 | config.warnings = true 23 | config.filter_run_when_matching :focus 24 | end 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/tasks/clobber.rake: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | desc "Remove all build products" 4 | task "clobber" 5 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/tasks/metrics.rake: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | namespace :metrics do 4 | task :lines do 5 | lines, codelines, total_lines, total_codelines = 0, 0, 0, 0 6 | for file_name in FileList["lib/**/*.rb"] 7 | f = File.open(file_name) 8 | while line = f.gets 9 | lines += 1 10 | next if line =~ /^\s*$/ 11 | next if line =~ /^\s*#/ 12 | codelines += 1 13 | end 14 | puts "L: #{sprintf("%4d", lines)}, " + 15 | "LOC #{sprintf("%4d", codelines)} | #{file_name}" 16 | total_lines += lines 17 | total_codelines += codelines 18 | 19 | lines, codelines = 0, 0 20 | end 21 | 22 | puts "Total: Lines #{total_lines}, LOC #{total_codelines}" 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/tasks/rspec.rake: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "rspec/core/rake_task" 4 | 5 | namespace :spec do 6 | RSpec::Core::RakeTask.new(:simplecov) do |t| 7 | t.pattern = FileList['spec/**/*_spec.rb'] 8 | t.rspec_opts = ['--color', '--format', 'documentation'] 9 | end 10 | 11 | namespace :simplecov do 12 | desc "Browse the code coverage report." 13 | task :browse => "spec:simplecov" do 14 | require "launchy" 15 | Launchy.open("coverage/index.html") 16 | end 17 | end 18 | end 19 | 20 | desc "Alias to spec:simplecov" 21 | task "spec" => "spec:simplecov" 22 | 23 | task "clobber" => ["spec:clobber_simplecov"] 24 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/addressable-2.7.0/tasks/yard.rake: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "rake" 4 | 5 | begin 6 | require "yard" 7 | require "yard/rake/yardoc_task" 8 | 9 | namespace :doc do 10 | desc "Generate Yardoc documentation" 11 | YARD::Rake::YardocTask.new do |yardoc| 12 | yardoc.name = "yard" 13 | yardoc.options = ["--verbose", "--markup", "markdown"] 14 | yardoc.files = FileList[ 15 | "lib/**/*.rb", "ext/**/*.c", 16 | "README.md", "CHANGELOG.md", "LICENSE.txt" 17 | ].exclude(/idna/) 18 | end 19 | end 20 | 21 | task "clobber" => ["doc:clobber_yard"] 22 | 23 | desc "Alias to doc:yard" 24 | task "doc" => "doc:yard" 25 | rescue LoadError 26 | # If yard isn't available, it's not the end of the world 27 | desc "Alias to doc:rdoc" 28 | task "doc" => "doc:rdoc" 29 | end 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/coffee-script-2.4.1/lib/coffee-script.rb: -------------------------------------------------------------------------------- 1 | require 'coffee_script' 2 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/coffee-script-source-1.11.1/lib/coffee_script/source.rb: -------------------------------------------------------------------------------- 1 | module CoffeeScript 2 | module Source 3 | def self.bundled_path 4 | File.expand_path("../coffee-script.js", __FILE__) 5 | end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/colorator-1.1.0/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | gemspec 3 | 4 | gem "rake" 5 | group :development do 6 | gem "rspec-helpers", :require => false 7 | gem "luna-rspec-formatters", :require => false 8 | gem "pry", :require => false unless ENV[ 9 | "CI" 10 | ] 11 | end 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/colorator-1.1.0/History.markdown: -------------------------------------------------------------------------------- 1 | ## 1.1.0 / 2016-06-28 2 | 3 | ### Minor Enhancements 4 | 5 | * Support jruby (#8) 6 | 7 | ## 1.0.0 / 2016-04-28 8 | 9 | ### Major enhancements 10 | 11 | - Merge Simple::ANSI and Colorator. (#7) 12 | 13 | ### Minor Enhancements 14 | 15 | - Delete unnecessary `Symbol#to_sym` (#2) 16 | - Change argument name of `Enumerator#each` for better code legibility (#3) 17 | 18 | ### Development Fixes 19 | 20 | - Convert to new RSpec expectation syntax (#1) 21 | - Fix `String#blue` result in README (#4) 22 | 23 | ## 0.1 / 2013-04-13 24 | 25 | Birthday! 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/colorator-1.1.0/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rspec/core/rake_task" 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task :default => :spec 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/colorator-1.1.0/lib/colorator/core_ext.rb: -------------------------------------------------------------------------------- 1 | class String 2 | Colorator::CORE_METHODS.each do |method| 3 | define_method method do |*args| 4 | Colorator.public_send(method, 5 | self, *args 6 | ) 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/autolink.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_GFM_AUTOLINK_H 2 | #define CMARK_GFM_AUTOLINK_H 3 | 4 | #include "cmark-gfm-core-extensions.h" 5 | 6 | cmark_syntax_extension *create_autolink_extension(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/cmark-gfm-core-extensions.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_GFM_CORE_EXTENSIONS_H 2 | #define CMARK_GFM_CORE_EXTENSIONS_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "cmark-gfm-extension_api.h" 9 | #include "cmark-gfm-extensions_export.h" 10 | #include 11 | 12 | CMARK_GFM_EXTENSIONS_EXPORT 13 | void cmark_gfm_core_extensions_ensure_registered(void); 14 | 15 | CMARK_GFM_EXTENSIONS_EXPORT 16 | uint16_t cmark_gfm_extensions_get_table_columns(cmark_node *node); 17 | 18 | CMARK_GFM_EXTENSIONS_EXPORT 19 | uint8_t *cmark_gfm_extensions_get_table_alignments(cmark_node *node); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/cmark-gfm_version.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_GFM_VERSION_H 2 | #define CMARK_GFM_VERSION_H 3 | 4 | #define CMARK_GFM_VERSION ((0 << 24) | (28 << 16) | (3 << 8) | 16) 5 | #define CMARK_GFM_VERSION_STRING "0.28.3.gfm.16" 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/cmark_ctype.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_CMARK_CTYPE_H 2 | #define CMARK_CMARK_CTYPE_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "cmark-gfm_export.h" 9 | 10 | /** Locale-independent versions of functions from ctype.h. 11 | * We want cmark to behave the same no matter what the system locale. 12 | */ 13 | 14 | CMARK_GFM_EXPORT 15 | int cmark_isspace(char c); 16 | 17 | CMARK_GFM_EXPORT 18 | int cmark_ispunct(char c); 19 | 20 | CMARK_GFM_EXPORT 21 | int cmark_isalnum(char c); 22 | 23 | CMARK_GFM_EXPORT 24 | int cmark_isdigit(char c); 25 | 26 | CMARK_GFM_EXPORT 27 | int cmark_isalpha(char c); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/commonmarker.h: -------------------------------------------------------------------------------- 1 | #ifndef COMMONMARKER_H 2 | #define COMMONMARKER_H 3 | 4 | #ifndef __MSXML_LIBRARY_DEFINED__ 5 | #define __MSXML_LIBRARY_DEFINED__ 6 | #endif 7 | 8 | #include "cmark-gfm.h" 9 | #include "ruby.h" 10 | #include "ruby/encoding.h" 11 | 12 | #define CSTR2SYM(s) (ID2SYM(rb_intern((s)))) 13 | 14 | void Init_commonmarker(); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/core-extensions.c: -------------------------------------------------------------------------------- 1 | #include "cmark-gfm-core-extensions.h" 2 | #include "autolink.h" 3 | #include "strikethrough.h" 4 | #include "table.h" 5 | #include "tagfilter.h" 6 | #include "registry.h" 7 | #include "plugin.h" 8 | 9 | static int core_extensions_registration(cmark_plugin *plugin) { 10 | cmark_plugin_register_syntax_extension(plugin, create_table_extension()); 11 | cmark_plugin_register_syntax_extension(plugin, 12 | create_strikethrough_extension()); 13 | cmark_plugin_register_syntax_extension(plugin, create_autolink_extension()); 14 | cmark_plugin_register_syntax_extension(plugin, create_tagfilter_extension()); 15 | return 1; 16 | } 17 | 18 | void cmark_gfm_core_extensions_ensure_registered(void) { 19 | static int registered = 0; 20 | 21 | if (!registered) { 22 | cmark_register_plugin(core_extensions_registration); 23 | registered = 1; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/ext_scanners.h: -------------------------------------------------------------------------------- 1 | #include "chunk.h" 2 | #include "cmark-gfm.h" 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | bufsize_t _ext_scan_at(bufsize_t (*scanner)(const unsigned char *), 9 | unsigned char *ptr, int len, bufsize_t offset); 10 | bufsize_t _scan_table_start(const unsigned char *p); 11 | bufsize_t _scan_table_cell(const unsigned char *p); 12 | bufsize_t _scan_table_cell_end(const unsigned char *p); 13 | bufsize_t _scan_table_row_end(const unsigned char *p); 14 | 15 | #define scan_table_start(c, l, n) _ext_scan_at(&_scan_table_start, c, l, n) 16 | #define scan_table_cell(c, l, n) _ext_scan_at(&_scan_table_cell, c, l, n) 17 | #define scan_table_cell_end(c, l, n) _ext_scan_at(&_scan_table_cell_end, c, l, n) 18 | #define scan_table_row_end(c, l, n) _ext_scan_at(&_scan_table_row_end, c, l, n) 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | 3 | $CFLAGS << " -std=c99" 4 | 5 | create_makefile('commonmarker/commonmarker') 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/footnotes.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_FOOTNOTES_H 2 | #define CMARK_FOOTNOTES_H 3 | 4 | #include "map.h" 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | struct cmark_footnote { 11 | cmark_map_entry entry; 12 | cmark_node *node; 13 | unsigned int ix; 14 | }; 15 | 16 | typedef struct cmark_footnote cmark_footnote; 17 | 18 | void cmark_footnote_create(cmark_map *map, cmark_node *node); 19 | cmark_map *cmark_footnote_map_new(cmark_mem *mem); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/html.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_HTML_H 2 | #define CMARK_HTML_H 3 | 4 | #include "buffer.h" 5 | #include "node.h" 6 | 7 | CMARK_INLINE 8 | static void cmark_html_render_cr(cmark_strbuf *html) { 9 | if (html->size && html->ptr[html->size - 1] != '\n') 10 | cmark_strbuf_putc(html, '\n'); 11 | } 12 | 13 | #define BUFFER_SIZE 100 14 | 15 | CMARK_INLINE 16 | static void cmark_html_render_sourcepos(cmark_node *node, cmark_strbuf *html, int options) { 17 | char buffer[BUFFER_SIZE]; 18 | if (CMARK_OPT_SOURCEPOS & options) { 19 | snprintf(buffer, BUFFER_SIZE, " data-sourcepos=\"%d:%d-%d:%d\"", 20 | cmark_node_get_start_line(node), cmark_node_get_start_column(node), 21 | cmark_node_get_end_line(node), cmark_node_get_end_column(node)); 22 | cmark_strbuf_puts(html, buffer); 23 | } 24 | } 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/inlines.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_INLINES_H 2 | #define CMARK_INLINES_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "references.h" 9 | 10 | cmark_chunk cmark_clean_url(cmark_mem *mem, cmark_chunk *url); 11 | cmark_chunk cmark_clean_title(cmark_mem *mem, cmark_chunk *title); 12 | 13 | CMARK_GFM_EXPORT 14 | void cmark_parse_inlines(cmark_parser *parser, 15 | cmark_node *parent, 16 | cmark_map *refmap, 17 | int options); 18 | 19 | bufsize_t cmark_parse_reference_inline(cmark_mem *mem, cmark_chunk *input, 20 | cmark_map *refmap); 21 | 22 | void cmark_inlines_add_special_character(unsigned char c, bool emphasis); 23 | void cmark_inlines_remove_special_character(unsigned char c, bool emphasis); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/iterator.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_ITERATOR_H 2 | #define CMARK_ITERATOR_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "cmark-gfm.h" 9 | #include "memory.h" 10 | 11 | typedef struct { 12 | cmark_event_type ev_type; 13 | cmark_node *node; 14 | } cmark_iter_state; 15 | 16 | struct cmark_iter { 17 | cmark_mem *mem; 18 | cmark_node *root; 19 | cmark_iter_state cur; 20 | cmark_iter_state next; 21 | }; 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/linked_list.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "cmark-gfm.h" 4 | 5 | cmark_llist *cmark_llist_append(cmark_mem *mem, cmark_llist *head, void *data) { 6 | cmark_llist *tmp; 7 | cmark_llist *new_node = (cmark_llist *) mem->calloc(1, sizeof(cmark_llist)); 8 | 9 | new_node->data = data; 10 | new_node->next = NULL; 11 | 12 | if (!head) 13 | return new_node; 14 | 15 | for (tmp = head; tmp->next; tmp=tmp->next); 16 | 17 | tmp->next = new_node; 18 | 19 | return head; 20 | } 21 | 22 | void cmark_llist_free_full(cmark_mem *mem, cmark_llist *head, cmark_free_func free_func) { 23 | cmark_llist *tmp, *prev; 24 | 25 | for (tmp = head; tmp;) { 26 | if (free_func) 27 | free_func(mem, tmp->data); 28 | 29 | prev = tmp; 30 | tmp = tmp->next; 31 | mem->free(prev); 32 | } 33 | } 34 | 35 | void cmark_llist_free(cmark_mem *mem, cmark_llist *head) { 36 | cmark_llist_free_full(mem, head, NULL); 37 | } 38 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/plugin.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_PLUGIN_H 2 | #define CMARK_PLUGIN_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "cmark-gfm.h" 9 | #include "cmark-gfm-extension_api.h" 10 | 11 | /** 12 | * cmark_plugin: 13 | * 14 | * A plugin structure, which should be filled by plugin's 15 | * init functions. 16 | */ 17 | struct cmark_plugin { 18 | cmark_llist *syntax_extensions; 19 | }; 20 | 21 | cmark_llist * 22 | cmark_plugin_steal_syntax_extensions(cmark_plugin *plugin); 23 | 24 | cmark_plugin * 25 | cmark_plugin_new(void); 26 | 27 | void 28 | cmark_plugin_free(cmark_plugin *plugin); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/references.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_REFERENCES_H 2 | #define CMARK_REFERENCES_H 3 | 4 | #include "map.h" 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | struct cmark_reference { 11 | cmark_map_entry entry; 12 | cmark_chunk url; 13 | cmark_chunk title; 14 | }; 15 | 16 | typedef struct cmark_reference cmark_reference; 17 | 18 | void cmark_reference_create(cmark_map *map, cmark_chunk *label, 19 | cmark_chunk *url, cmark_chunk *title); 20 | cmark_map *cmark_reference_map_new(cmark_mem *mem); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/registry.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_REGISTRY_H 2 | #define CMARK_REGISTRY_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "cmark-gfm.h" 9 | #include "plugin.h" 10 | 11 | CMARK_GFM_EXPORT 12 | void cmark_register_plugin(cmark_plugin_init_func reg_fn); 13 | 14 | CMARK_GFM_EXPORT 15 | void cmark_release_plugins(void); 16 | 17 | CMARK_GFM_EXPORT 18 | cmark_llist *cmark_list_syntax_extensions(cmark_mem *mem); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/strikethrough.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_GFM_STRIKETHROUGH_H 2 | #define CMARK_GFM_STRIKETHROUGH_H 3 | 4 | #include "cmark-gfm-core-extensions.h" 5 | 6 | extern cmark_node_type CMARK_NODE_STRIKETHROUGH; 7 | cmark_syntax_extension *create_strikethrough_extension(void); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/table.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_GFM_TABLE_H 2 | #define CMARK_GFM_TABLE_H 3 | 4 | #include "cmark-gfm-core-extensions.h" 5 | 6 | 7 | extern cmark_node_type CMARK_NODE_TABLE, CMARK_NODE_TABLE_ROW, 8 | CMARK_NODE_TABLE_CELL; 9 | 10 | cmark_syntax_extension *create_table_extension(void); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/tagfilter.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_GFM_TAGFILTER_H 2 | #define CMARK_GFM_TAGFILTER_H 3 | 4 | #include "cmark-gfm-core-extensions.h" 5 | 6 | cmark_syntax_extension *create_tagfilter_extension(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/ext/commonmarker/utf8.h: -------------------------------------------------------------------------------- 1 | #ifndef CMARK_UTF8_H 2 | #define CMARK_UTF8_H 3 | 4 | #include 5 | #include "buffer.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | CMARK_GFM_EXPORT 12 | void cmark_utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, 13 | bufsize_t len); 14 | 15 | CMARK_GFM_EXPORT 16 | void cmark_utf8proc_encode_char(int32_t uc, cmark_strbuf *buf); 17 | 18 | CMARK_GFM_EXPORT 19 | int cmark_utf8proc_iterate(const uint8_t *str, bufsize_t str_len, int32_t *dst); 20 | 21 | CMARK_GFM_EXPORT 22 | void cmark_utf8proc_check(cmark_strbuf *dest, const uint8_t *line, 23 | bufsize_t size); 24 | 25 | CMARK_GFM_EXPORT 26 | int cmark_utf8proc_is_space(int32_t uc); 27 | 28 | CMARK_GFM_EXPORT 29 | int cmark_utf8proc_is_punctuation(int32_t uc); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/lib/commonmarker/version.rb: -------------------------------------------------------------------------------- 1 | module CommonMarker 2 | VERSION = '0.17.13'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/fixtures/curly.md: -------------------------------------------------------------------------------- 1 | This curly quote “makes commonmarker throw an exception”. 2 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/fixtures/dingus.md: -------------------------------------------------------------------------------- 1 | ## Try CommonMark 2 | 3 | You can try CommonMark here. This dingus is powered by 4 | [commonmark.js](https://github.com/jgm/commonmark.js), the 5 | JavaScript reference implementation. 6 | 7 | 1. item one 8 | 2. item two 9 | - sublist 10 | - sublist 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_basics.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class TestBasics < Minitest::Test 4 | def setup 5 | @doc = CommonMarker.render_doc('Hi *there*') 6 | end 7 | 8 | def test_to_html 9 | assert_equal "

Hi there

\n", @doc.to_html 10 | end 11 | 12 | def test_markdown_to_html 13 | html = CommonMarker.render_html('Hi *there*') 14 | assert_equal "

Hi there

\n", html 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_commonmark.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class TestCommonmark < Minitest::Test 4 | HTML_COMMENT = %r[\s?] 5 | 6 | def setup 7 | @markdown = <<-MD 8 | Hi *there*! 9 | 10 | 1. I am a numeric list. 11 | 2. I continue the list. 12 | * Suddenly, an unordered list! 13 | * What fun! 14 | 15 | Okay, _enough_. 16 | 17 | | a | b | 18 | | --- | --- | 19 | | c | d | 20 | MD 21 | end 22 | 23 | def render_doc(doc) 24 | CommonMarker.render_doc(doc, :DEFAULT, %i[table]) 25 | end 26 | 27 | def test_to_commonmark 28 | compare = render_doc(@markdown).to_commonmark 29 | 30 | assert_equal \ 31 | render_doc(@markdown).to_html.gsub(/ +/, ' ').gsub(HTML_COMMENT, ''), 32 | render_doc(compare).to_html.gsub(/ +/, ' ').gsub(HTML_COMMENT, '') 33 | end 34 | end 35 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_encoding.rb: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | require 'test_helper' 3 | 4 | class TestEncoding < Minitest::Test 5 | # see http://git.io/vq4FR 6 | def test_encoding 7 | contents = File.read(File.join(FIXTURES_DIR, 'curly.md'), encoding: 'utf-8') 8 | doc = CommonMarker.render_doc(contents, :SMART) 9 | render = doc.to_html 10 | assert_equal render.rstrip, '

This curly quote “makes commonmarker throw an exception”.

' 11 | end 12 | 13 | def test_string_content_is_utf8 14 | doc = CommonMarker.render_doc('Hi *there*') 15 | text = doc.first_child.last_child.first_child 16 | assert_equal text.string_content, 'there' 17 | assert_equal text.string_content.encoding.name, 'UTF-8' 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_footnotes.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class TestFootnotes < Minitest::Test 4 | def setup 5 | @doc = CommonMarker.render_doc("Hello[^hi].\n\n[^hi]: Hey!\n", :FOOTNOTES) 6 | @expected = <<-HTML 7 |

Hello1.

8 |
9 |
    10 |
  1. 11 |

    Hey!

    12 |
  2. 13 |
14 |
15 | HTML 16 | end 17 | 18 | def test_to_html 19 | assert_equal @expected, @doc.to_html 20 | end 21 | 22 | def test_html_renderer 23 | assert_equal @expected, CommonMarker::HtmlRenderer.new.render(@doc) 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_linebreaks.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class TestLinebreaks < Minitest::Test 4 | def test_hardbreak_no_spaces 5 | doc = CommonMarker.render_doc("foo\nbaz") 6 | assert_equal "

foo
\nbaz

\n", doc.to_html(:HARDBREAKS) 7 | end 8 | 9 | def test_hardbreak_with_spaces 10 | doc = CommonMarker.render_doc("foo \nbaz") 11 | assert_equal "

foo
\nbaz

\n", doc.to_html(:HARDBREAKS) 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_options.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class TestExtensions < Minitest::Test 4 | def test_full_info_string 5 | md = <<-MD 6 | ```ruby 7 | module Foo 8 | ``` 9 | MD 10 | 11 | CommonMarker.render_html(md, :FULL_INFO_STRING).tap do |out| 12 | assert_includes out, %q(
)
13 |     end
14 | 
15 |     md = <<-MD
16 | ```ruby my info string
17 | module Foo
18 | ```
19 |     MD
20 | 
21 |     CommonMarker.render_html(md, :FULL_INFO_STRING).tap do |out|
22 |       assert_includes out, %q(
)
23 |     end
24 | 
25 |     md = <<-MD
26 | ```ruby my \x00 string
27 | module Foo
28 | ```
29 |     MD
30 | 
31 |     CommonMarker.render_html(md, :FULL_INFO_STRING).tap do |out|
32 |       assert_includes out, %Q(
)
33 |     end
34 |   end
35 | end
36 | 


--------------------------------------------------------------------------------
/docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_plaintext.rb:
--------------------------------------------------------------------------------
 1 | require 'test_helper'
 2 | 
 3 | class TestPlaintext < Minitest::Test
 4 |   def setup
 5 |     @markdown = <<-MD
 6 | Hi *there*!
 7 | 
 8 | 1. I am a numeric list.
 9 | 2. I continue the list.
10 | * Suddenly, an unordered list!
11 | * What fun!
12 | 
13 | Okay, _enough_.
14 | 
15 | | a   | b   |
16 | | --- | --- |
17 | | c   | d   |
18 |     MD
19 |   end
20 | 
21 |   def render_doc(doc)
22 |     CommonMarker.render_doc(doc, :DEFAULT, %i[table])
23 |   end
24 | 
25 |   def test_to_commonmark
26 |     compare = render_doc(@markdown).to_plaintext
27 | 
28 |     assert_equal <<-PLAINTEXT, compare
29 | Hi there!
30 | 
31 | 1.  I am a numeric list.
32 | 2.  I continue the list.
33 | 
34 |   - Suddenly, an unordered list!
35 |   - What fun!
36 | 
37 | Okay, enough.
38 | 
39 | | a | b |
40 | | --- | --- |
41 | | c | d |
42 |       PLAINTEXT
43 |   end
44 | end
45 | 


--------------------------------------------------------------------------------
/docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_renderer.rb:
--------------------------------------------------------------------------------
 1 | require 'test_helper'
 2 | 
 3 | class TestRenderer < Minitest::Test
 4 |   def setup
 5 |     @doc = CommonMarker.render_doc('Hi *there*')
 6 |   end
 7 | 
 8 |   def test_html_renderer
 9 |     renderer = HtmlRenderer.new
10 |     result = renderer.render(@doc)
11 |     assert_equal "

Hi there

\n", result 12 | end 13 | 14 | def test_multiple_tables 15 | content = ''' 16 | | Input | Expected | Actual | 17 | | ----------- | ---------------- | --------- | 18 | | One | Two | Three | 19 | 20 | | Header | Row | Example | 21 | | :------: | ---: | :------ | 22 | | Foo | Bar | Baz | 23 | ''' 24 | doc = CommonMarker.render_doc(content, :DEFAULT, [:autolink, :table, :tagfilter]) 25 | results = CommonMarker::HtmlRenderer.new.render(doc) 26 | assert_equal 2, results.scan(//).size 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/commonmarker-0.17.13/test/test_smartpunct.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class SmartPunctTest < Minitest::Test 4 | smart_punct = open_spec_file('smart_punct.txt') 5 | 6 | smart_punct.each do |testcase| 7 | doc = CommonMarker.render_doc(testcase[:markdown], :SMART) 8 | 9 | define_method("test_smart_punct_example_#{testcase[:example]}") do 10 | actual = doc.to_html.strip 11 | 12 | assert_equal testcase[:html], actual, testcase[:markdown] 13 | end 14 | end 15 | 16 | def test_smart_hardbreak_no_spaces_render_doc 17 | markdown = "\"foo\"\nbaz" 18 | result = "

“foo”
\nbaz

\n" 19 | doc = CommonMarker.render_doc(markdown, :SMART) 20 | assert_equal result, doc.to_html([:HARDBREAKS]) 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/ext/concurrent-ruby/ConcurrentRubyService.java: -------------------------------------------------------------------------------- 1 | import org.jruby.Ruby; 2 | import org.jruby.runtime.load.BasicLibraryService; 3 | 4 | import java.io.IOException; 5 | 6 | public class ConcurrentRubyService implements BasicLibraryService { 7 | 8 | public boolean basicLoad(final Ruby runtime) throws IOException { 9 | new com.concurrent_ruby.ext.AtomicReferenceLibrary().load(runtime, false); 10 | new com.concurrent_ruby.ext.JavaAtomicBooleanLibrary().load(runtime, false); 11 | new com.concurrent_ruby.ext.JavaAtomicFixnumLibrary().load(runtime, false); 12 | new com.concurrent_ruby.ext.JavaSemaphoreLibrary().load(runtime, false); 13 | new com.concurrent_ruby.ext.SynchronizationLibrary().load(runtime, false); 14 | new com.concurrent_ruby.ext.JRubyMapBackendLibrary().load(runtime, false); 15 | return true; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent-ruby.rb: -------------------------------------------------------------------------------- 1 | require_relative "./concurrent" 2 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb: -------------------------------------------------------------------------------- 1 | require 'concurrent/atomic/abstract_thread_local_var' 2 | 3 | if Concurrent.on_jruby? 4 | 5 | module Concurrent 6 | 7 | # @!visibility private 8 | # @!macro internal_implementation_note 9 | class JavaThreadLocalVar < AbstractThreadLocalVar 10 | 11 | # @!macro thread_local_var_method_get 12 | def value 13 | value = @var.get 14 | 15 | if value.nil? 16 | default 17 | elsif value == NULL 18 | nil 19 | else 20 | value 21 | end 22 | end 23 | 24 | # @!macro thread_local_var_method_set 25 | def value=(value) 26 | @var.set(value) 27 | end 28 | 29 | protected 30 | 31 | # @!visibility private 32 | def allocate_storage 33 | @var = java.lang.ThreadLocal.new 34 | end 35 | end 36 | end 37 | end 38 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | 3 | # Special "compare and set" handling of numeric values. 4 | # 5 | # @!visibility private 6 | # @!macro internal_implementation_note 7 | module AtomicNumericCompareAndSetWrapper 8 | 9 | # @!macro atomic_reference_method_compare_and_set 10 | def compare_and_set(old_value, new_value) 11 | if old_value.kind_of? Numeric 12 | while true 13 | old = get 14 | 15 | return false unless old.kind_of? Numeric 16 | 17 | return false unless old == old_value 18 | 19 | result = _compare_and_set(old, new_value) 20 | return result if result 21 | end 22 | else 23 | _compare_and_set(old_value, new_value) 24 | end 25 | end 26 | 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/atomics.rb: -------------------------------------------------------------------------------- 1 | require 'concurrent/atomic/atomic_reference' 2 | require 'concurrent/atomic/atomic_boolean' 3 | require 'concurrent/atomic/atomic_fixnum' 4 | require 'concurrent/atomic/cyclic_barrier' 5 | require 'concurrent/atomic/count_down_latch' 6 | require 'concurrent/atomic/event' 7 | require 'concurrent/atomic/read_write_lock' 8 | require 'concurrent/atomic/reentrant_read_write_lock' 9 | require 'concurrent/atomic/semaphore' 10 | require 'concurrent/atomic/thread_local_var' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/concurrent_ruby.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/concurrent_ruby.jar -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/constants.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | 3 | # Various classes within allows for +nil+ values to be stored, 4 | # so a special +NULL+ token is required to indicate the "nil-ness". 5 | # @!visibility private 6 | NULL = ::Object.new 7 | 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb: -------------------------------------------------------------------------------- 1 | require 'concurrent/executor/ruby_thread_pool_executor' 2 | 3 | module Concurrent 4 | 5 | # @!macro single_thread_executor 6 | # @!macro abstract_executor_service_public_api 7 | # @!visibility private 8 | class RubySingleThreadExecutor < RubyThreadPoolExecutor 9 | 10 | # @!macro single_thread_executor_method_initialize 11 | def initialize(opts = {}) 12 | super( 13 | min_threads: 1, 14 | max_threads: 1, 15 | max_queue: 0, 16 | idletime: DEFAULT_THREAD_IDLETIMEOUT, 17 | fallback_policy: opts.fetch(:fallback_policy, :discard), 18 | ) 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | module Synchronization 3 | 4 | # @!visibility private 5 | # @!macro internal_implementation_note 6 | class AbstractObject 7 | 8 | # @abstract has to be implemented based on Ruby runtime 9 | def initialize 10 | raise NotImplementedError 11 | end 12 | 13 | # @!visibility private 14 | # @abstract 15 | def full_memory_barrier 16 | raise NotImplementedError 17 | end 18 | 19 | def self.attr_volatile(*names) 20 | raise NotImplementedError 21 | end 22 | end 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | module Synchronization 3 | 4 | if Concurrent.on_jruby? && Concurrent.java_extensions_loaded? 5 | 6 | # @!visibility private 7 | # @!macro internal_implementation_note 8 | class JRubyLockableObject < AbstractLockableObject 9 | 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/synchronization/lock.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | module Synchronization 3 | 4 | # @!visibility private 5 | # TODO (pitr-ch 04-Dec-2016): should be in edge 6 | class Lock < LockableObject 7 | # TODO use JavaReentrantLock on JRuby 8 | 9 | public :synchronize 10 | 11 | def wait(timeout = nil) 12 | synchronize { ns_wait(timeout) } 13 | end 14 | 15 | public :ns_wait 16 | 17 | def wait_until(timeout = nil, &condition) 18 | synchronize { ns_wait_until(timeout, &condition) } 19 | end 20 | 21 | public :ns_wait_until 22 | 23 | def signal 24 | synchronize { ns_signal } 25 | end 26 | 27 | public :ns_signal 28 | 29 | def broadcast 30 | synchronize { ns_broadcast } 31 | end 32 | 33 | public :ns_broadcast 34 | end 35 | end 36 | end 37 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/thread_safe/util.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | 3 | # @!visibility private 4 | module ThreadSafe 5 | 6 | # @!visibility private 7 | module Util 8 | 9 | # TODO (pitr-ch 15-Oct-2016): migrate to Utility::NativeInteger 10 | FIXNUM_BIT_SIZE = (0.size * 8) - 2 11 | MAX_INT = (2 ** FIXNUM_BIT_SIZE) - 1 12 | # TODO (pitr-ch 15-Oct-2016): migrate to Utility::ProcessorCounter 13 | CPU_COUNT = 16 # is there a way to determine this? 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby/concurrent/version.rb: -------------------------------------------------------------------------------- 1 | module Concurrent 2 | VERSION = '1.1.7' 3 | end 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs.rb: -------------------------------------------------------------------------------- 1 | require "execjs/module" 2 | require "execjs/runtimes" 3 | 4 | module ExecJS 5 | self.runtime ||= Runtimes.autodetect 6 | end 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/disabled_runtime.rb: -------------------------------------------------------------------------------- 1 | require "execjs/runtime" 2 | 3 | module ExecJS 4 | class DisabledRuntime < Runtime 5 | def name 6 | "Disabled" 7 | end 8 | 9 | def exec(source, options = {}) 10 | raise Error, "ExecJS disabled" 11 | end 12 | 13 | def eval(source, options = {}) 14 | raise Error, "ExecJS disabled" 15 | end 16 | 17 | def compile(source, options = {}) 18 | raise Error, "ExecJS disabled" 19 | end 20 | 21 | def deprecated? 22 | true 23 | end 24 | 25 | def available? 26 | true 27 | end 28 | end 29 | end 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/encoding.rb: -------------------------------------------------------------------------------- 1 | module ExecJS 2 | # Encodes strings as UTF-8 3 | module Encoding 4 | if RUBY_ENGINE == 'jruby' || RUBY_ENGINE == 'rbx' 5 | # workaround for jruby bug http://jira.codehaus.org/browse/JRUBY-6588 6 | # workaround for rbx bug https://github.com/rubinius/rubinius/issues/1729 7 | def encode(string) 8 | if string.encoding.name == 'ASCII-8BIT' 9 | data = string.dup 10 | data.force_encoding('UTF-8') 11 | 12 | unless data.valid_encoding? 13 | raise ::Encoding::UndefinedConversionError, "Could not encode ASCII-8BIT data #{string.dump} as UTF-8" 14 | end 15 | else 16 | data = string.encode('UTF-8') 17 | end 18 | data 19 | end 20 | else 21 | def encode(string) 22 | string.encode('UTF-8') 23 | end 24 | end 25 | end 26 | end 27 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jsc_runner.js: -------------------------------------------------------------------------------- 1 | (function(program, execJS) { execJS(program) })(function() { #{source} 2 | }, function(program) { 3 | var output; 4 | try { 5 | result = program(); 6 | if (typeof result == 'undefined' && result !== null) { 7 | print('["ok"]'); 8 | } else { 9 | try { 10 | print(JSON.stringify(['ok', result])); 11 | } catch (err) { 12 | print(JSON.stringify(['err', '' + err, err.stack])); 13 | } 14 | } 15 | } catch (err) { 16 | print(JSON.stringify(['err', '' + err, err.stack])); 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js: -------------------------------------------------------------------------------- 1 | (function(program, execJS) { execJS(program) })(function() { 2 | return eval(#{encode_source(source)}); 3 | }, function(program) { 4 | #{json2_source} 5 | var output, print = function(string) { 6 | WScript.Echo(string); 7 | }; 8 | try { 9 | result = program(); 10 | if (typeof result == 'undefined' && result !== null) { 11 | print('["ok"]'); 12 | } else { 13 | try { 14 | print(JSON.stringify(['ok', result])); 15 | } catch (err) { 16 | print(JSON.stringify(['err', err.name + ': ' + err.message, err.stack])); 17 | } 18 | } 19 | } catch (err) { 20 | print(JSON.stringify(['err', err.name + ': ' + err.message, err.stack])); 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/node_runner.js: -------------------------------------------------------------------------------- 1 | (function(program, execJS) { execJS(program) })(function(global, module, exports, require, console, setTimeout, setInterval, clearTimeout, clearInterval, setImmediate, clearImmediate) { #{source} 2 | }, function(program) { 3 | var output, print = function(string) { 4 | process.stdout.write('' + string); 5 | }; 6 | try { 7 | result = program(); 8 | if (typeof result == 'undefined' && result !== null) { 9 | print('["ok"]'); 10 | } else { 11 | try { 12 | print(JSON.stringify(['ok', result])); 13 | } catch (err) { 14 | print(JSON.stringify(['err', '' + err, err.stack])); 15 | } 16 | } 17 | } catch (err) { 18 | print(JSON.stringify(['err', '' + err, err.stack])); 19 | } 20 | }); 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/spidermonkey_runner.js: -------------------------------------------------------------------------------- 1 | (function(program, execJS) { execJS(program) })(function() { #{source} 2 | }, function(program) { 3 | var output; 4 | try { 5 | result = program(); 6 | if (typeof result == 'undefined' && result !== null) { 7 | print('["ok"]'); 8 | } else { 9 | try { 10 | print(JSON.stringify(['ok', result])); 11 | } catch (err) { 12 | print(JSON.stringify(['err', '' + err, err.stack])); 13 | } 14 | } 15 | } catch (err) { 16 | print(JSON.stringify(['err', '' + err, err.stack])); 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/v8_runner.js: -------------------------------------------------------------------------------- 1 | (function(program, execJS) { execJS(program) })(function() { #{source} 2 | }, function(program) { 3 | var output; 4 | try { 5 | result = program(); 6 | if (typeof result == 'undefined' && result !== null) { 7 | print('["ok"]'); 8 | } else { 9 | try { 10 | print(JSON.stringify(['ok', result])); 11 | } catch (err) { 12 | print(JSON.stringify(['err', '' + err, err.stack])); 13 | } 14 | } 15 | } catch (err) { 16 | print(JSON.stringify(['err', '' + err, err.stack])); 17 | } 18 | }); 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/version.rb: -------------------------------------------------------------------------------- 1 | module ExecJS 2 | VERSION = "2.7.0" 3 | end 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-3.2.x: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', '~> 3.2.0' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.0.x: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', '~> 4.0.0' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.1.x: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', '~> 4.1.0' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.2.x: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', '~> 4.2.0' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.0.x: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', '~> 5.0.0' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.1.x: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', '~> 5.1.0' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/gemfiles/Gemfile.rails-master: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec :path => '..' 4 | 5 | gem 'activesupport', github: 'rails/rails', branch: 'master' 6 | gem 'mocha' 7 | gem 'test_declarative' 8 | gem 'rake' 9 | gem 'minitest' 10 | gem 'oj' 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/core_ext/hash.rb: -------------------------------------------------------------------------------- 1 | class Hash 2 | def slice(*keep_keys) 3 | h = {} 4 | keep_keys.each { |key| h[key] = fetch(key) if has_key?(key) } 5 | h 6 | end unless Hash.method_defined?(:slice) 7 | 8 | def except(*less_keys) 9 | slice(*keys - less_keys) 10 | end unless Hash.method_defined?(:except) 11 | 12 | def deep_symbolize_keys 13 | inject({}) { |result, (key, value)| 14 | value = value.deep_symbolize_keys if value.is_a?(Hash) 15 | result[(key.to_sym rescue key) || key] = value 16 | result 17 | } 18 | end unless Hash.method_defined?(:deep_symbolize_keys) 19 | 20 | # deep_merge_hash! by Stefan Rusterholz, see http://www.ruby-forum.com/topic/142809 21 | MERGER = proc do |key, v1, v2| 22 | Hash === v1 && Hash === v2 ? v1.merge(v2, &MERGER) : v2 23 | end 24 | 25 | def deep_merge!(data) 26 | merge!(data, &MERGER) 27 | end unless Hash.method_defined?(:deep_merge!) 28 | end 29 | 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/core_ext/kernel/suppress_warnings.rb: -------------------------------------------------------------------------------- 1 | module Kernel 2 | def suppress_warnings 3 | original_verbosity, $VERBOSE = $VERBOSE, nil 4 | yield 5 | ensure 6 | $VERBOSE = original_verbosity 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/core_ext/string/interpolate.rb: -------------------------------------------------------------------------------- 1 | # This file used to backport the Ruby 1.9 String interpolation syntax to Ruby 1.8. 2 | # 3 | # Since I18n has dropped support to Ruby 1.8, this file is not required anymore, 4 | # however, Rails 3.2 still requires it directly: 5 | # 6 | # https://github.com/rails/rails/blob/3-2-stable/activesupport/lib/active_support/core_ext/string/interpolation.rb#L2 7 | # 8 | # So we can't just drop the file entirely, which would then break Rails users 9 | # under Ruby 1.9. This file can be removed once Rails 3.2 support is dropped. 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/gettext.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | module Gettext 3 | PLURAL_SEPARATOR = "\001" 4 | CONTEXT_SEPARATOR = "\004" 5 | 6 | autoload :Helpers, 'i18n/gettext/helpers' 7 | 8 | @@plural_keys = { :en => [:one, :other] } 9 | 10 | class << self 11 | # returns an array of plural keys for the given locale or the whole hash 12 | # of locale mappings to plural keys so that we can convert from gettext's 13 | # integer-index based style 14 | # TODO move this information to the pluralization module 15 | def plural_keys(*args) 16 | args.empty? ? @@plural_keys : @@plural_keys[args.first] || @@plural_keys[:en] 17 | end 18 | 19 | def extract_scope(msgid, separator) 20 | scope = msgid.to_s.split(separator) 21 | msgid = scope.pop 22 | [scope, msgid] 23 | end 24 | end 25 | end 26 | end 27 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | module Locale 3 | autoload :Fallbacks, 'i18n/locale/fallbacks' 4 | autoload :Tag, 'i18n/locale/tag' 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | 3 | module I18n 4 | module Locale 5 | module Tag 6 | autoload :Parents, 'i18n/locale/tag/parents' 7 | autoload :Rfc4646, 'i18n/locale/tag/rfc4646' 8 | autoload :Simple, 'i18n/locale/tag/simple' 9 | 10 | class << self 11 | # Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+. 12 | def implementation 13 | @@implementation ||= Simple 14 | end 15 | 16 | # Sets the current locale tag implementation. Use this to set a different locale tag implementation. 17 | def implementation=(implementation) 18 | @@implementation = implementation 19 | end 20 | 21 | # Factory method for locale tags. Delegates to the current locale tag implementation. 22 | def tag(tag) 23 | implementation.tag(tag) 24 | end 25 | end 26 | end 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag/parents.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | module Locale 3 | module Tag 4 | module Parents 5 | def parent 6 | @parent ||= begin 7 | segs = to_a.compact 8 | segs.length > 1 ? self.class.tag(*segs[0..(segs.length-2)].join('-')) : nil 9 | end 10 | end 11 | 12 | def self_and_parents 13 | @self_and_parents ||= [self] + parents 14 | end 15 | 16 | def parents 17 | @parents ||= ([parent] + (parent ? parent.parents : [])).compact 18 | end 19 | end 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/locale/tag/simple.rb: -------------------------------------------------------------------------------- 1 | # Simple Locale tag implementation that computes subtags by simply splitting 2 | # the locale tag at '-' occurences. 3 | module I18n 4 | module Locale 5 | module Tag 6 | class Simple 7 | class << self 8 | def tag(tag) 9 | new(tag) 10 | end 11 | end 12 | 13 | include Parents 14 | 15 | attr_reader :tag 16 | 17 | def initialize(*tag) 18 | @tag = tag.join('-').to_sym 19 | end 20 | 21 | def subtags 22 | @subtags = tag.to_s.split('-').map { |subtag| subtag.to_s } 23 | end 24 | 25 | def to_sym 26 | tag 27 | end 28 | 29 | def to_s 30 | tag.to_s 31 | end 32 | 33 | def to_a 34 | subtags 35 | end 36 | end 37 | end 38 | end 39 | end 40 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/middleware.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | class Middleware 3 | 4 | def initialize(app) 5 | @app = app 6 | end 7 | 8 | def call(env) 9 | @app.call(env) 10 | ensure 11 | Thread.current[:i18n_config] = I18n::Config.new 12 | end 13 | 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | module Tests 3 | autoload :Basics, 'i18n/tests/basics' 4 | autoload :Defaults, 'i18n/tests/defaults' 5 | autoload :Interpolation, 'i18n/tests/interpolation' 6 | autoload :Link, 'i18n/tests/link' 7 | autoload :Localization, 'i18n/tests/localization' 8 | autoload :Lookup, 'i18n/tests/lookup' 9 | autoload :Pluralization, 'i18n/tests/pluralization' 10 | autoload :Procs, 'i18n/tests/procs' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/tests/localization.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | module Tests 3 | module Localization 4 | autoload :Date, 'i18n/tests/localization/date' 5 | autoload :DateTime, 'i18n/tests/localization/date_time' 6 | autoload :Time, 'i18n/tests/localization/time' 7 | autoload :Procs, 'i18n/tests/localization/procs' 8 | 9 | def self.included(base) 10 | base.class_eval do 11 | include I18n::Tests::Localization::Date 12 | include I18n::Tests::Localization::DateTime 13 | include I18n::Tests::Localization::Procs 14 | include I18n::Tests::Localization::Time 15 | end 16 | end 17 | end 18 | end 19 | end -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/lib/i18n/version.rb: -------------------------------------------------------------------------------- 1 | module I18n 2 | VERSION = "0.9.5" 3 | end 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/cascade_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nCascadeApiTest < I18n::TestCase 4 | class Backend < I18n::Backend::Simple 5 | include I18n::Backend::Cascade 6 | end 7 | 8 | def setup 9 | I18n.backend = Backend.new 10 | super 11 | end 12 | 13 | include I18n::Tests::Basics 14 | include I18n::Tests::Defaults 15 | include I18n::Tests::Interpolation 16 | include I18n::Tests::Link 17 | include I18n::Tests::Lookup 18 | include I18n::Tests::Pluralization 19 | include I18n::Tests::Procs 20 | include I18n::Tests::Localization::Date 21 | include I18n::Tests::Localization::DateTime 22 | include I18n::Tests::Localization::Time 23 | include I18n::Tests::Localization::Procs 24 | 25 | test "make sure we use a backend with Cascade included" do 26 | assert_equal Backend, I18n.backend.class 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/chain_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nApiChainTest < I18n::TestCase 4 | def setup 5 | super 6 | I18n.backend = I18n::Backend::Chain.new(I18n::Backend::Simple.new, I18n.backend) 7 | end 8 | 9 | include I18n::Tests::Basics 10 | include I18n::Tests::Defaults 11 | include I18n::Tests::Interpolation 12 | include I18n::Tests::Link 13 | include I18n::Tests::Lookup 14 | include I18n::Tests::Pluralization 15 | include I18n::Tests::Procs 16 | include I18n::Tests::Localization::Date 17 | include I18n::Tests::Localization::DateTime 18 | include I18n::Tests::Localization::Time 19 | include I18n::Tests::Localization::Procs 20 | 21 | test "make sure we use the Chain backend" do 22 | assert_equal I18n::Backend::Chain, I18n.backend.class 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/fallbacks_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nFallbacksApiTest < I18n::TestCase 4 | class Backend < I18n::Backend::Simple 5 | include I18n::Backend::Fallbacks 6 | end 7 | 8 | def setup 9 | I18n.backend = Backend.new 10 | super 11 | end 12 | 13 | include I18n::Tests::Basics 14 | include I18n::Tests::Defaults 15 | include I18n::Tests::Interpolation 16 | include I18n::Tests::Link 17 | include I18n::Tests::Lookup 18 | include I18n::Tests::Pluralization 19 | include I18n::Tests::Procs 20 | include I18n::Tests::Localization::Date 21 | include I18n::Tests::Localization::DateTime 22 | include I18n::Tests::Localization::Time 23 | include I18n::Tests::Localization::Procs 24 | 25 | test "make sure we use a backend with Fallbacks included" do 26 | assert_equal Backend, I18n.backend.class 27 | end 28 | 29 | # links: test that keys stored on one backend can link to keys stored on another backend 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/key_value_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nKeyValueApiTest < I18n::TestCase 4 | include I18n::Tests::Basics 5 | include I18n::Tests::Defaults 6 | include I18n::Tests::Interpolation 7 | include I18n::Tests::Link 8 | include I18n::Tests::Lookup 9 | include I18n::Tests::Pluralization 10 | # include Tests::Api::Procs 11 | include I18n::Tests::Localization::Date 12 | include I18n::Tests::Localization::DateTime 13 | include I18n::Tests::Localization::Time 14 | # include Tests::Api::Localization::Procs 15 | 16 | def setup 17 | I18n.backend = I18n::Backend::KeyValue.new({}) 18 | super 19 | end 20 | 21 | test "make sure we use the KeyValue backend" do 22 | assert_equal I18n::Backend::KeyValue, I18n.backend.class 23 | end 24 | end if I18n::TestCase.key_value? 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/api/simple_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nSimpleBackendApiTest < I18n::TestCase 4 | class Backend < I18n::Backend::Simple 5 | include I18n::Backend::Pluralization 6 | end 7 | 8 | def setup 9 | I18n.backend = I18n::Backend::Simple.new 10 | super 11 | end 12 | 13 | include I18n::Tests::Basics 14 | include I18n::Tests::Defaults 15 | include I18n::Tests::Interpolation 16 | include I18n::Tests::Link 17 | include I18n::Tests::Lookup 18 | include I18n::Tests::Pluralization 19 | include I18n::Tests::Procs 20 | include I18n::Tests::Localization::Date 21 | include I18n::Tests::Localization::DateTime 22 | include I18n::Tests::Localization::Time 23 | include I18n::Tests::Localization::Procs 24 | 25 | test "make sure we use the Simple backend" do 26 | assert_equal I18n::Backend::Simple, I18n.backend.class 27 | end 28 | end 29 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/gettext_plural_keys_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nGettextPluralKeysTest < I18n::TestCase 4 | def setup 5 | super 6 | I18n::Gettext.plural_keys[:zz] = [:value1, :value2] 7 | end 8 | 9 | test "Returns the plural keys of the given locale if present" do 10 | assert_equal I18n::Gettext.plural_keys(:zz), [:value1, :value2] 11 | end 12 | 13 | test "Returns the plural keys of :en if given locale not present" do 14 | assert_equal I18n::Gettext.plural_keys(:yy), [:one, :other] 15 | end 16 | 17 | test "Returns the whole hash with no arguments" do 18 | assert_equal I18n::Gettext.plural_keys, { :en => [:one, :other], :zz => [:value1, :value2] } 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/i18n/middleware_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class I18nMiddlewareTest < I18n::TestCase 4 | def setup 5 | super 6 | I18n.default_locale = :fr 7 | @app = DummyRackApp.new 8 | @middleware = I18n::Middleware.new(@app) 9 | end 10 | 11 | test "middleware initializes new config object after request" do 12 | old_i18n_config_object_id = Thread.current[:i18n_config].object_id 13 | @middleware.call({}) 14 | 15 | updated_i18n_config_object_id = Thread.current[:i18n_config].object_id 16 | assert_not_equal updated_i18n_config_object_id, old_i18n_config_object_id 17 | end 18 | 19 | test "succesfully resets i18n locale to default locale by defining new config" do 20 | @middleware.call({}) 21 | 22 | assert_equal :fr, I18n.locale 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/run_all.rb: -------------------------------------------------------------------------------- 1 | def bundle_check 2 | `bundle check` == "Resolving dependencies...\nThe Gemfile's dependencies are satisfied\n" 3 | end 4 | 5 | def execute(command) 6 | puts command 7 | system command 8 | end 9 | 10 | gemfiles = %w(Gemfile) + Dir['gemfiles/Gemfile*'].reject { |f| f.end_with?('.lock') } 11 | 12 | results = gemfiles.map do |gemfile| 13 | puts "\nBUNDLE_GEMFILE=#{gemfile}" 14 | ENV['BUNDLE_GEMFILE'] = File.expand_path("../../#{gemfile}", __FILE__) 15 | 16 | execute 'bundle install' unless bundle_check 17 | execute 'bundle exec rake test' 18 | end 19 | 20 | exit results.all? 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/en.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | 3 | { :en => { :fuh => { :bah => "bas" } } } -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/en.yml: -------------------------------------------------------------------------------- 1 | en: 2 | foo: 3 | bar: baz -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/invalid/empty.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/invalid/empty.yml -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/test/test_data/locales/invalid/syntax.yml: -------------------------------------------------------------------------------- 1 | en: 2 | foo: foo 3 | bar: 4 | baz: -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/Manifest.txt: -------------------------------------------------------------------------------- 1 | .autotest 2 | History.rdoc 3 | Manifest.txt 4 | README.rdoc 5 | Rakefile 6 | design_rationale.rb 7 | lib/hoe/minitest.rb 8 | lib/minitest.rb 9 | lib/minitest/assertions.rb 10 | lib/minitest/autorun.rb 11 | lib/minitest/benchmark.rb 12 | lib/minitest/expectations.rb 13 | lib/minitest/hell.rb 14 | lib/minitest/mock.rb 15 | lib/minitest/parallel.rb 16 | lib/minitest/pride.rb 17 | lib/minitest/pride_plugin.rb 18 | lib/minitest/spec.rb 19 | lib/minitest/test.rb 20 | lib/minitest/unit.rb 21 | test/minitest/metametameta.rb 22 | test/minitest/test_minitest_assertions.rb 23 | test/minitest/test_minitest_benchmark.rb 24 | test/minitest/test_minitest_mock.rb 25 | test/minitest/test_minitest_reporter.rb 26 | test/minitest/test_minitest_spec.rb 27 | test/minitest/test_minitest_test.rb 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/hoe/minitest.rb: -------------------------------------------------------------------------------- 1 | # :stopdoc: 2 | 3 | class Hoe 4 | end 5 | 6 | module Hoe::Minitest 7 | def minitest? 8 | self.name == "minitest" 9 | end 10 | 11 | def initialize_minitest 12 | unless minitest? then 13 | dir = "../../minitest/dev/lib" 14 | Hoe.add_include_dirs dir if File.directory? dir 15 | end 16 | 17 | gem "minitest" 18 | require "minitest" 19 | version = Minitest::VERSION.split(/\./).first(2).join(".") 20 | 21 | dependency "minitest", "~> #{version}", :development unless 22 | minitest? or ENV["MT_NO_ISOLATE"] 23 | end 24 | 25 | def define_minitest_tasks 26 | self.testlib = :minitest 27 | 28 | # make sure we use the gemmed minitest on 1.9 29 | self.test_prelude = 'gem "minitest"' unless 30 | minitest? or ENV["MT_NO_ISOLATE"] 31 | end 32 | end 33 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/autorun.rb: -------------------------------------------------------------------------------- 1 | begin 2 | require "rubygems" 3 | gem "minitest" 4 | rescue Gem::LoadError 5 | # do nothing 6 | end 7 | 8 | require "minitest" 9 | require "minitest/spec" 10 | require "minitest/mock" 11 | require "minitest/hell" if ENV["MT_HELL"] 12 | 13 | Minitest.autorun 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/hell.rb: -------------------------------------------------------------------------------- 1 | require "minitest/parallel" 2 | 3 | class Minitest::Test 4 | parallelize_me! 5 | end 6 | 7 | begin 8 | require "minitest/proveit" 9 | rescue LoadError 10 | warn "NOTE: `gem install minitest-proveit` for even more hellish tests" 11 | end 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/pride.rb: -------------------------------------------------------------------------------- 1 | require "minitest" 2 | 3 | Minitest.load_plugins 4 | Minitest::PrideIO.pride! 5 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/.gitignore: -------------------------------------------------------------------------------- 1 | # Bundler 2 | .bundle 3 | Gemfile.lock 4 | pkg/* 5 | 6 | # Rubinius 7 | *.rbc 8 | 9 | # YARD 10 | .yardoc 11 | yardoc/ 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/.rubocop.yml: -------------------------------------------------------------------------------- 1 | inherit_from: 2 | - .rubocop_defaults.yml 3 | 4 | AllCops: 5 | Exclude: 6 | # Exclude .gemspec files because they are generally auto-generated 7 | - '*.gemspec' 8 | # Exclude vendored folders 9 | - 'tmp/**/*' 10 | - 'vendor/**/*' 11 | # Exclude artifacts 12 | - 'pkg/**/*' 13 | # Other 14 | - 'test/benchmarks/**/*' 15 | - 'test/profilers/**/*' 16 | 17 | # I often use @_variable to avoid clashing. 18 | Naming/MemoizedInstanceVariableName: 19 | Enabled: false 20 | 21 | Style/ClassAndModuleChildren: 22 | Exclude: 23 | - 'spec/**/*_spec.rb' 24 | - 'test/**/*_test.rb' 25 | 26 | # Dear Rubocop, I don't want to use String#strip_heredoc 27 | Layout/IndentHeredoc: 28 | Enabled: false 29 | 30 | Style/WordArray: 31 | Enabled: false 32 | MinSize: 3 33 | 34 | Style/SymbolArray: 35 | Enabled: false 36 | MinSize: 3 37 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/.ruby-gemset: -------------------------------------------------------------------------------- 1 | -global -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | 3 | rvm: 4 | - 2.3 5 | - 2.4 6 | - 2.5 7 | - 2.6 8 | - jruby-9.1.5.0 9 | - ruby-head 10 | 11 | env: 12 | - COVERAGE=1 13 | 14 | cache: 15 | - bundler 16 | 17 | matrix: 18 | include: 19 | - rvm: 2.1 20 | before_install: 21 | - gem install bundler -v '< 2.0' 22 | - rvm: 2.2 23 | before_install: 24 | - gem install bundler -v '< 2.0' 25 | allow_failures: 26 | - rvm: ruby-head 27 | - rvm: jruby-9.1.5.0 28 | 29 | before_install: 30 | - gem update --system 31 | - gem install bundler 32 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/.yardopts: -------------------------------------------------------------------------------- 1 | --title 'Ruby Public Suffix API Documentation' 2 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | gemspec 6 | 7 | gem "codecov", require: false 8 | gem "minitest" 9 | gem "minitest-reporters" 10 | gem "rubocop", require: false 11 | 12 | gem "memory_profiler", require: false 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/bin/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | require "bundler/setup" 5 | require "public_suffix" 6 | 7 | # You can add fixtures and/or initialization code here to make experimenting 8 | # with your gem easier. You can also use a different console, if you like. 9 | 10 | # (If you use this, don't forget to add pry to your Gemfile!) 11 | # require "pry" 12 | # Pry.start 13 | 14 | require "irb" 15 | IRB.start 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/lib/public_suffix/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | # 4 | # = Public Suffix 5 | # 6 | # Domain name parser based on the Public Suffix List. 7 | # 8 | # Copyright (c) 2009-2019 Simone Carletti 9 | 10 | module PublicSuffix 11 | # The current library version. 12 | VERSION = "3.1.1" 13 | end 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/.empty: -------------------------------------------------------------------------------- 1 | # This is an empty file I use to force a non-empty commit when I only need to store notes 2 | .. -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/benchmarks/bm_select.rb: -------------------------------------------------------------------------------- 1 | require 'benchmark' 2 | require_relative "../../lib/public_suffix" 3 | 4 | JP = "www.yokoshibahikari.chiba.jp" 5 | 6 | TIMES = (ARGV.first || 50_000).to_i 7 | 8 | # Initialize 9 | class PublicSuffix::List 10 | public :select 11 | end 12 | PublicSuffixList = PublicSuffix::List.default 13 | PublicSuffixList.select("example.jp") 14 | PublicSuffixList.find("example.jp") 15 | 16 | Benchmark.bmbm(25) do |x| 17 | x.report("JP select") do 18 | TIMES.times { PublicSuffixList.select(JP) } 19 | end 20 | x.report("JP find") do 21 | TIMES.times { PublicSuffixList.find(JP) } 22 | end 23 | # x.report("JP (noprivate)") do 24 | # TIMES.times { PublicSuffixList.find(JP, ignore_private: true) != nil } 25 | # end 26 | end 27 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/benchmarks/bm_select_incremental.rb: -------------------------------------------------------------------------------- 1 | require 'benchmark' 2 | require_relative "../../lib/public_suffix" 3 | 4 | JP = "www.yokoshibahikari.chiba.jp" 5 | 6 | TIMES = (ARGV.first || 50_000).to_i 7 | 8 | # Initialize 9 | class PublicSuffix::List 10 | public :select 11 | end 12 | PublicSuffixList = PublicSuffix::List.default 13 | PublicSuffixList.select("example.jp") 14 | 15 | Benchmark.bmbm(25) do |x| 16 | x.report("select jp") do 17 | TIMES.times { PublicSuffixList.select("jp") } 18 | end 19 | x.report("select example.jp") do 20 | TIMES.times { PublicSuffixList.select("example.jp") } 21 | end 22 | x.report("select www.example.jp") do 23 | TIMES.times { PublicSuffixList.select("www.example.jp") } 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/profilers/domain_profiler.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path("../../lib", __dir__) 2 | 3 | require "memory_profiler" 4 | require "public_suffix" 5 | 6 | PublicSuffix::List.default 7 | 8 | report = MemoryProfiler.report do 9 | PublicSuffix.domain("www.example.com") 10 | end 11 | 12 | report.pretty_print 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/profilers/find_profiler.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path("../../lib", __dir__) 2 | 3 | require "memory_profiler" 4 | require "public_suffix" 5 | 6 | PublicSuffix::List.default 7 | 8 | report = MemoryProfiler.report do 9 | PublicSuffix::List.default.find("www.example.com") 10 | end 11 | 12 | report.pretty_print 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/profilers/find_profiler_jp.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path("../../lib", __dir__) 2 | 3 | require "memory_profiler" 4 | require "public_suffix" 5 | 6 | PublicSuffix::List.default 7 | 8 | report = MemoryProfiler.report do 9 | PublicSuffix::List.default.find("a.b.ide.kyoto.jp") 10 | end 11 | 12 | report.pretty_print 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/profilers/initialization_profiler.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path("../../lib", __dir__) 2 | 3 | require "memory_profiler" 4 | require "public_suffix" 5 | 6 | report = MemoryProfiler.report do 7 | PublicSuffix::List.default 8 | end 9 | 10 | report.pretty_print 11 | # report.pretty_print(to_file: 'profiler-%s-%d.txt' % [ARGV[0], Time.now.to_i]) 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/profilers/list_profsize.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path("../../lib", __dir__) 2 | 3 | require_relative "object_binsize" 4 | require "public_suffix" 5 | 6 | list = PublicSuffix::List.default 7 | puts "#{list.size} rules:" 8 | 9 | prof = ObjectBinsize.new 10 | prof.report(PublicSuffix::List.default, label: "PublicSuffix::List size") 11 | prof.report(PublicSuffix::List.default.instance_variable_get(:@rules), label: "Size of rules") 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | if ENV["COVERAGE"] 4 | require "simplecov" 5 | SimpleCov.start 6 | 7 | require "codecov" 8 | SimpleCov.formatter = SimpleCov::Formatter::Codecov 9 | end 10 | 11 | require "minitest/autorun" 12 | require "minitest/reporters" 13 | require "mocha/setup" 14 | 15 | Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true) 16 | 17 | $LOAD_PATH.unshift File.expand_path("../lib", __dir__) 18 | require "public_suffix" 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/public_suffix-3.1.1/test/unit/errors_test.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "test_helper" 4 | 5 | class ErrorsTest < Minitest::Test 6 | 7 | # Inherits from StandardError 8 | def test_error_inheritance 9 | assert_kind_of StandardError, 10 | PublicSuffix::Error.new 11 | end 12 | 13 | # Inherits from PublicSuffix::Error 14 | def test_domain_invalid_inheritance 15 | assert_kind_of PublicSuffix::Error, 16 | PublicSuffix::DomainInvalid.new 17 | end 18 | 19 | # Inherits from PublicSuffix::DomainInvalid 20 | def test_domain_not_allowed_inheritance 21 | assert_kind_of PublicSuffix::DomainInvalid, 22 | PublicSuffix::DomainNotAllowed.new 23 | end 24 | 25 | end 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/macos.yml: -------------------------------------------------------------------------------- 1 | name: macos 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | runs-on: macos-latest 8 | strategy: 9 | matrix: 10 | ruby: [ '2.6.x', '2.5.x', '2.4.x' ] 11 | steps: 12 | - uses: actions/checkout@master 13 | - name: Set up Ruby 14 | uses: actions/setup-ruby@v1 15 | with: 16 | ruby-version: ${{ matrix.ruby }} 17 | - name: Install dependencies 18 | run: gem install minitest 19 | - name: Run test 20 | env: 21 | COVERALLS: "yes" 22 | run: ruby -Ilib exe/rake 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/ubuntu-rvm.yml: -------------------------------------------------------------------------------- 1 | name: ubuntu-rvm 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | strategy: 9 | matrix: 10 | ruby: [ 'jruby-head', 'jruby-9.2.9.0', 'ruby-head', '2.3.8', '2.2.10' ] 11 | steps: 12 | - uses: actions/checkout@master 13 | - name: Set up RVM 14 | run: | 15 | curl -sSL https://get.rvm.io | bash 16 | - name: Set up Ruby 17 | run: | 18 | source $HOME/.rvm/scripts/rvm 19 | rvm install ${{ matrix.ruby }} --binary 20 | rvm --default use ${{ matrix.ruby }} 21 | - name: Install dependencies 22 | run: | 23 | source $HOME/.rvm/scripts/rvm 24 | gem install minitest 25 | - name: Run test 26 | run: | 27 | source $HOME/.rvm/scripts/rvm 28 | ruby -Ilib exe/rake 29 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/ubuntu.yml: -------------------------------------------------------------------------------- 1 | name: ubuntu 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | strategy: 9 | matrix: 10 | ruby: [ '2.6.x', '2.5.x', '2.4.x' ] 11 | steps: 12 | - uses: actions/checkout@master 13 | - name: Set up Ruby 14 | uses: actions/setup-ruby@v1 15 | with: 16 | ruby-version: ${{ matrix.ruby }} 17 | - name: Install dependencies 18 | run: gem install minitest 19 | - name: Run test 20 | run: ruby -Ilib exe/rake 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/windows.yml: -------------------------------------------------------------------------------- 1 | name: windows 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | runs-on: windows-latest 8 | strategy: 9 | matrix: 10 | ruby: [ '2.6.x', '2.5.x', '2.4.x' ] 11 | steps: 12 | - uses: actions/checkout@master 13 | - name: Set up Ruby 14 | uses: actions/setup-ruby@v1 15 | with: 16 | ruby-version: ${{ matrix.ruby }} 17 | - name: Install dependencies 18 | run: gem install minitest 19 | - name: Run test 20 | run: ruby -Ilib exe/rake 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gemspec 4 | 5 | group :development do 6 | gem "bundler" 7 | gem "minitest" 8 | gem "coveralls" 9 | gem "rubocop" 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require "bundler/setup" 4 | require "rake" 5 | 6 | require "irb" 7 | IRB.start 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | # 5 | # This file was generated by Bundler. 6 | # 7 | # The application 'rake' is installed as part of a gem, and 8 | # this file is here to facilitate running it. 9 | # 10 | 11 | require "pathname" 12 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", 13 | Pathname.new(__FILE__).realpath) 14 | 15 | bundle_binstub = File.expand_path("../bundle", __FILE__) 16 | 17 | if File.file?(bundle_binstub) 18 | if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ 19 | load(bundle_binstub) 20 | else 21 | abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. 22 | Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") 23 | end 24 | end 25 | 26 | require "rubygems" 27 | require "bundler/setup" 28 | 29 | load Gem.bin_path("rake", "rake") 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/rdoc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | # 5 | # This file was generated by Bundler. 6 | # 7 | # The application 'rdoc' is installed as part of a gem, and 8 | # this file is here to facilitate running it. 9 | # 10 | 11 | require "pathname" 12 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", 13 | Pathname.new(__FILE__).realpath) 14 | 15 | bundle_binstub = File.expand_path("../bundle", __FILE__) 16 | 17 | if File.file?(bundle_binstub) 18 | if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ 19 | load(bundle_binstub) 20 | else 21 | abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. 22 | Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") 23 | end 24 | end 25 | 26 | require "rubygems" 27 | require "bundler/setup" 28 | 29 | load Gem.bin_path("rdoc", "rdoc") 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/rubocop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | # 5 | # This file was generated by Bundler. 6 | # 7 | # The application 'rubocop' is installed as part of a gem, and 8 | # this file is here to facilitate running it. 9 | # 10 | 11 | require "pathname" 12 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", 13 | Pathname.new(__FILE__).realpath) 14 | 15 | bundle_binstub = File.expand_path("../bundle", __FILE__) 16 | 17 | if File.file?(bundle_binstub) 18 | if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ 19 | load(bundle_binstub) 20 | else 21 | abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. 22 | Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") 23 | end 24 | end 25 | 26 | require "rubygems" 27 | require "bundler/setup" 28 | 29 | load Gem.bin_path("rubocop", "rubocop") 30 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euo pipefail 3 | IFS=$'\n\t' 4 | set -vx 5 | 6 | bundle install 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/Rakefile1: -------------------------------------------------------------------------------- 1 | # Example Rakefile -*- ruby -*- 2 | 3 | task :default => [:main] 4 | 5 | file "a.o" => ["a.c"] do |t| 6 | src = t.name.sub(/\.o$/, '.c') 7 | sh "gcc #{src} -c -o #{t.name}" 8 | end 9 | 10 | file "b.o" => ["b.c"] do |t| 11 | src = t.name.sub(/\.o$/, '.c') 12 | sh "gcc #{src} -c -o #{t.name}" 13 | end 14 | 15 | file "main.o" => ["main.c"] do |t| 16 | src = t.name.sub(/\.o$/, '.c') 17 | sh "gcc #{src} -c -o #{t.name}" 18 | end 19 | 20 | OBJFILES = ["a.o", "b.o", "main.o"] 21 | task :obj => OBJFILES 22 | 23 | file "main" => OBJFILES do |t| 24 | sh "gcc -o #{t.name} main.o a.o b.o" 25 | end 26 | 27 | task :clean do 28 | rm_f FileList['*.o'] 29 | Dir['*~'].each { |fn| rm_f fn } 30 | end 31 | 32 | task :clobber => [:clean] do 33 | rm_f "main" 34 | end 35 | 36 | task :run => ["main"] do 37 | sh "./main" 38 | end 39 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/Rakefile2: -------------------------------------------------------------------------------- 1 | # Example Rakefile -*- ruby -*- 2 | # Using the power of Ruby 3 | 4 | task :default => [:main] 5 | 6 | def ext(fn, newext) 7 | fn.sub(/\.[^.]+$/, newext) 8 | end 9 | 10 | SRCFILES = Dir['*.c'] 11 | OBJFILES = SRCFILES.collect { |fn| ext(fn,".o") } 12 | 13 | OBJFILES.each do |objfile| 14 | srcfile = ext(objfile, ".c") 15 | file objfile => [srcfile] do |t| 16 | sh "gcc #{srcfile} -c -o #{t.name}" 17 | end 18 | end 19 | 20 | file "main" => OBJFILES do |t| 21 | sh "gcc -o #{t.name} main.o a.o b.o" 22 | end 23 | 24 | task :clean do 25 | rm_f FileList['*.o'] 26 | Dir['*~'].each { |fn| rm_f fn } 27 | end 28 | 29 | task :clobber => [:clean] do 30 | rm_f "main" 31 | end 32 | 33 | task :run => ["main"] do 34 | sh "./main" 35 | end 36 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/a.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void a() 4 | { 5 | printf ("In function a\n"); 6 | } 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/b.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void b() 4 | { 5 | printf ("In function b\n"); 6 | } 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | extern void a(); 4 | extern void b(); 5 | 6 | int main () 7 | { 8 | a(); 9 | b(); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/cloneable.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | ## 4 | # Mixin for creating easily cloned objects. 5 | 6 | module Cloneable # :nodoc: 7 | # The hook that is invoked by 'clone' and 'dup' methods. 8 | def initialize_copy(source) 9 | super 10 | source.instance_variables.each do |var| 11 | src_value = source.instance_variable_get(var) 12 | value = src_value.clone rescue src_value 13 | instance_variable_set(var, value) 14 | end 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/default_loader.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | # Default Rakefile loader used by +import+. 5 | class DefaultLoader 6 | 7 | ## 8 | # Loads a rakefile into the current application from +fn+ 9 | 10 | def load(fn) 11 | Rake.load_rakefile(File.expand_path(fn)) 12 | end 13 | end 14 | 15 | end 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/early_time.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | # EarlyTime is a fake timestamp that occurs _before_ any other time value. 5 | class EarlyTime 6 | include Comparable 7 | include Singleton 8 | 9 | ## 10 | # The EarlyTime always comes before +other+! 11 | 12 | def <=>(other) 13 | -1 14 | end 15 | 16 | def to_s # :nodoc: 17 | "" 18 | end 19 | end 20 | 21 | EARLY = EarlyTime.instance 22 | end 23 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/ext/core.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | class Module 3 | # Check for an existing method in the current class before extending. If 4 | # the method already exists, then a warning is printed and the extension is 5 | # not added. Otherwise the block is yielded and any definitions in the 6 | # block will take effect. 7 | # 8 | # Usage: 9 | # 10 | # class String 11 | # rake_extension("xyz") do 12 | # def xyz 13 | # ... 14 | # end 15 | # end 16 | # end 17 | # 18 | def rake_extension(method) # :nodoc: 19 | if method_defined?(method) 20 | $stderr.puts "WARNING: Possible conflict with Rake extension: " + 21 | "#{self}##{method} already exists" 22 | else 23 | yield 24 | end 25 | end 26 | end 27 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/file_creation_task.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require "rake/file_task" 3 | require "rake/early_time" 4 | 5 | module Rake 6 | 7 | # A FileCreationTask is a file task that when used as a dependency will be 8 | # needed if and only if the file has not been created. Once created, it is 9 | # not re-triggered if any of its dependencies are newer, nor does trigger 10 | # any rebuilds of tasks that depend on it whenever it is updated. 11 | # 12 | class FileCreationTask < FileTask 13 | # Is this file task needed? Yes if it doesn't exist. 14 | def needed? 15 | !File.exist?(name) 16 | end 17 | 18 | # Time stamp for file creation task. This time stamp is earlier 19 | # than any other time stamp. 20 | def timestamp 21 | Rake::EARLY 22 | end 23 | end 24 | 25 | end 26 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | module InvocationExceptionMixin 4 | # Return the invocation chain (list of Rake tasks) that were in 5 | # effect when this exception was detected by rake. May be null if 6 | # no tasks were active. 7 | def chain 8 | @rake_invocation_chain ||= nil 9 | end 10 | 11 | # Set the invocation chain in effect when this exception was 12 | # detected. 13 | def chain=(value) 14 | @rake_invocation_chain = value 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/late_time.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | # LateTime is a fake timestamp that occurs _after_ any other time value. 4 | class LateTime 5 | include Comparable 6 | include Singleton 7 | 8 | def <=>(other) 9 | 1 10 | end 11 | 12 | def to_s 13 | "" 14 | end 15 | end 16 | 17 | LATE = LateTime.instance 18 | end 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/multi_task.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | # Same as a regular task, but the immediate prerequisites are done in 5 | # parallel using Ruby threads. 6 | # 7 | class MultiTask < Task 8 | private 9 | 10 | def invoke_prerequisites(task_args, invocation_chain) # :nodoc: 11 | invoke_prerequisites_concurrently(task_args, invocation_chain) 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/name_space.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | ## 3 | # The NameSpace class will lookup task names in the scope defined by a 4 | # +namespace+ command. 5 | 6 | class Rake::NameSpace 7 | 8 | ## 9 | # Create a namespace lookup object using the given task manager 10 | # and the list of scopes. 11 | 12 | def initialize(task_manager, scope_list) 13 | @task_manager = task_manager 14 | @scope = scope_list.dup 15 | end 16 | 17 | ## 18 | # Lookup a task named +name+ in the namespace. 19 | 20 | def [](name) 21 | @task_manager.lookup(name, @scope) 22 | end 23 | 24 | ## 25 | # The scope of the namespace (a LinkedList) 26 | 27 | def scope 28 | @scope.dup 29 | end 30 | 31 | ## 32 | # Return the list of tasks defined in this and nested namespaces. 33 | 34 | def tasks 35 | @task_manager.tasks_in_scope(@scope) 36 | end 37 | 38 | end 39 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/phony.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | # Defines a :phony task that you can use as a dependency. This allows 3 | # file-based tasks to use non-file-based tasks as prerequisites 4 | # without forcing them to rebuild. 5 | # 6 | # See FileTask#out_of_date? and Task#timestamp for more info. 7 | 8 | require "rake" 9 | 10 | task :phony 11 | 12 | Rake::Task[:phony].tap do |task| 13 | def task.timestamp # :nodoc: 14 | Time.at 0 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/private_reader.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | # Include PrivateReader to use +private_reader+. 5 | module PrivateReader # :nodoc: all 6 | 7 | def self.included(base) 8 | base.extend(ClassMethods) 9 | end 10 | 11 | module ClassMethods 12 | 13 | # Declare a list of private accessors 14 | def private_reader(*names) 15 | attr_reader(*names) 16 | private(*names) 17 | end 18 | end 19 | 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | ## 5 | # Exit status class for times the system just gives us a nil. 6 | class PseudoStatus # :nodoc: all 7 | attr_reader :exitstatus 8 | 9 | def initialize(code=0) 10 | @exitstatus = code 11 | end 12 | 13 | def to_i 14 | @exitstatus << 8 15 | end 16 | 17 | def >>(n) 18 | to_i >> n 19 | end 20 | 21 | def stopped? 22 | false 23 | end 24 | 25 | def exited? 26 | true 27 | end 28 | end 29 | 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require "rake" 3 | 4 | # Load the test files from the command line. 5 | argv = ARGV.select do |argument| 6 | begin 7 | case argument 8 | when /^-/ then 9 | argument 10 | when /\*/ then 11 | FileList[argument].to_a.each do |file| 12 | require File.expand_path file 13 | end 14 | 15 | false 16 | else 17 | require File.expand_path argument 18 | 19 | false 20 | end 21 | rescue LoadError => e 22 | raise unless e.path 23 | abort "\nFile does not exist: #{e.path}\n\n" 24 | end 25 | end 26 | 27 | ARGV.replace argv 28 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | # Error indicating a recursion overflow error in task selection. 5 | class RuleRecursionOverflowError < StandardError 6 | def initialize(*args) 7 | super 8 | @targets = [] 9 | end 10 | 11 | def add_target(target) 12 | @targets << target 13 | end 14 | 15 | def message 16 | super + ": [" + @targets.reverse.join(" => ") + "]" 17 | end 18 | end 19 | 20 | end 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task_argument_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | 4 | # Error indicating an ill-formed task declaration. 5 | class TaskArgumentError < ArgumentError 6 | end 7 | 8 | end 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/tasklib.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | require "rake" 3 | 4 | module Rake 5 | 6 | # Base class for Task Libraries. 7 | class TaskLib 8 | include Cloneable 9 | include Rake::DSL 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/trace_output.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | module TraceOutput # :nodoc: all 4 | 5 | # Write trace output to output stream +out+. 6 | # 7 | # The write is done as a single IO call (to print) to lessen the 8 | # chance that the trace output is interrupted by other tasks also 9 | # producing output. 10 | def trace_on(out, *strings) 11 | sep = $\ || "\n" 12 | if strings.empty? 13 | output = sep 14 | else 15 | output = strings.map { |s| 16 | next if s.nil? 17 | s.end_with?(sep) ? s : s + sep 18 | }.join 19 | end 20 | out.print(output) 21 | end 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | module Rake 3 | VERSION = "13.0.1" 4 | 5 | module Version # :nodoc: all 6 | MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split "." 7 | 8 | NUMBERS = [MAJOR, MINOR, BUILD, *OTHER] 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source 'http://rubygems.org' 4 | 5 | gemspec 6 | 7 | gem 'rake' 8 | 9 | group :development, :test do 10 | gem 'rspec', '~> 3.0' 11 | gem 'rubocop', '0.80.1' 12 | end 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/Rakefile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'rubygems' 4 | require 'bundler/gem_tasks' 5 | 6 | Bundler.setup :default, :development 7 | 8 | require 'rspec/core' 9 | require 'rspec/core/rake_task' 10 | 11 | RSpec::Core::RakeTask.new(:spec) do |spec| 12 | spec.pattern = FileList['spec/**/*_spec.rb'] 13 | end 14 | 15 | require 'rubocop/rake_task' 16 | RuboCop::RakeTask.new(:rubocop) 17 | 18 | task default: %i[rubocop spec] 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/lib/ruby-enum.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'i18n' 4 | 5 | require 'ruby-enum/version' 6 | require 'ruby-enum/enum' 7 | 8 | I18n.load_path << File.join(File.dirname(__FILE__), 'config', 'locales', 'en.yml') 9 | 10 | require 'ruby-enum/errors/base' 11 | require 'ruby-enum/errors/uninitialized_constant_error' 12 | require 'ruby-enum/errors/duplicate_key_error' 13 | require 'ruby-enum/errors/duplicate_value_error' 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/lib/ruby-enum/errors/duplicate_key_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Ruby 4 | module Enum 5 | module Errors 6 | # Error raised when a duplicate enum key is found 7 | class DuplicateKeyError < Base 8 | def initialize(attrs) 9 | super(compose_message('duplicate_key', attrs)) 10 | end 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/lib/ruby-enum/errors/duplicate_value_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Ruby 4 | module Enum 5 | module Errors 6 | # Error raised when a duplicate enum value is found 7 | class DuplicateValueError < Base 8 | def initialize(attrs) 9 | super(compose_message('duplicate_value', attrs)) 10 | end 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/lib/ruby-enum/errors/uninitialized_constant_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Ruby 4 | module Enum 5 | module Errors 6 | class UninitializedConstantError < Base 7 | def initialize(attrs) 8 | super(compose_message('uninitialized_constant', attrs)) 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/lib/ruby-enum/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Ruby 4 | module Enum 5 | VERSION = '0.8.0' 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/lib/ruby_enum.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'ruby-enum' 4 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/ruby-enum.gemspec: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | $LOAD_PATH.push File.expand_path('lib', __dir__) 4 | require 'ruby-enum/version' 5 | 6 | Gem::Specification.new do |s| 7 | s.name = 'ruby-enum' 8 | s.version = Ruby::Enum::VERSION 9 | s.authors = ['Daniel Doubrovkine'] 10 | s.email = 'dblock@dblock.org' 11 | s.platform = Gem::Platform::RUBY 12 | s.required_rubygems_version = '>= 1.3.6' 13 | s.files = Dir['**/*'] 14 | s.require_paths = ['lib'] 15 | s.homepage = 'http://github.com/dblock/ruby-enum' 16 | s.licenses = ['MIT'] 17 | s.summary = 'Enum-like behavior for Ruby.' 18 | s.add_dependency 'i18n' 19 | end 20 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/spec/ruby-enum/version_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | 5 | describe Ruby::Enum do 6 | it 'has a version' do 7 | expect(Ruby::Enum::VERSION).not_to be_nil 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/ruby-enum-0.8.0/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) 4 | 5 | require 'rubygems' 6 | require 'rspec' 7 | require 'ruby-enum' 8 | 9 | RSpec.configure(&:raise_errors_for_deprecations!) 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | --format progress 3 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/.yardopts: -------------------------------------------------------------------------------- 1 | --protected 2 | --no-private 3 | --embed-mixins 4 | --output-dir ./yardoc 5 | --markup markdown 6 | --title=Concurrent Ruby 7 | --template default 8 | --template-path ./yard-template 9 | 10 | ./lib/**/*.rb 11 | - 12 | README.md 13 | LICENSE 14 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec 4 | 5 | group :development, :test do 6 | gem 'rspec', '~> 3.2.0' 7 | gem 'simplecov', '~> 0.9.2', :require => false 8 | if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0.0') 9 | gem 'term-ansicolor', '~> 1.3.2', :require => false 10 | gem 'tins', '~> 1.6.0', :require => false 11 | end 12 | gem 'coveralls', '~> 0.7.11', :require => false 13 | end 14 | 15 | group :documentation do 16 | gem 'countloc', '~> 0.4.0', :platforms => :mri, :require => false 17 | gem 'yard', '~> 0.8.7.6', :require => false 18 | gem 'inch', '~> 0.5.10', :platforms => :mri, :require => false 19 | gem 'redcarpet', '~> 3.2.2', platforms: :mri # understands github markdown 20 | end 21 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/examples/bench_cache.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby -wKU 2 | 3 | require "benchmark" 4 | require "thread_safe" 5 | 6 | hash = {} 7 | cache = ThreadSafe::Cache.new 8 | 9 | ENTRIES = 10_000 10 | 11 | ENTRIES.times do |i| 12 | hash[i] = i 13 | cache[i] = i 14 | end 15 | 16 | TESTS = 40_000_000 17 | Benchmark.bmbm do |results| 18 | key = rand(10_000) 19 | 20 | results.report('Hash#[]') do 21 | TESTS.times { hash[key] } 22 | end 23 | 24 | results.report('Cache#[]') do 25 | TESTS.times { cache[key] } 26 | end 27 | 28 | results.report('Hash#each_pair') do 29 | (TESTS / ENTRIES).times { hash.each_pair {|k,v| v} } 30 | end 31 | 32 | results.report('Cache#each_pair') do 33 | (TESTS / ENTRIES).times { cache.each_pair {|k,v| v} } 34 | end 35 | end 36 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java: -------------------------------------------------------------------------------- 1 | package thread_safe; 2 | 3 | import java.io.IOException; 4 | 5 | import org.jruby.Ruby; 6 | import org.jruby.ext.thread_safe.JRubyCacheBackendLibrary; 7 | import org.jruby.runtime.load.BasicLibraryService; 8 | 9 | // can't name this JRubyCacheBackendService or else JRuby doesn't pick this up 10 | public class JrubyCacheBackendService implements BasicLibraryService { 11 | public boolean basicLoad(final Ruby runtime) throws IOException { 12 | new JRubyCacheBackendLibrary().load(runtime, false); 13 | return true; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb: -------------------------------------------------------------------------------- 1 | module ThreadSafe 2 | module Util 3 | FIXNUM_BIT_SIZE = (0.size * 8) - 2 4 | MAX_INT = (2 ** FIXNUM_BIT_SIZE) - 1 5 | CPU_COUNT = 16 # is there a way to determine this? 6 | 7 | autoload :AtomicReference, 'thread_safe/util/atomic_reference' 8 | autoload :Adder, 'thread_safe/util/adder' 9 | autoload :CheapLockable, 'thread_safe/util/cheap_lockable' 10 | autoload :PowerOfTwoTuple, 'thread_safe/util/power_of_two_tuple' 11 | autoload :Striped64, 'thread_safe/util/striped64' 12 | autoload :Volatile, 'thread_safe/util/volatile' 13 | autoload :VolatileTuple, 'thread_safe/util/volatile_tuple' 14 | autoload :XorShiftRandom, 'thread_safe/util/xor_shift_random' 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb: -------------------------------------------------------------------------------- 1 | module ThreadSafe 2 | module Util 3 | class PowerOfTwoTuple < VolatileTuple 4 | def initialize(size) 5 | raise ArgumentError, "size must be a power of 2 (#{size.inspect} provided)" unless size > 0 && size & (size - 1) == 0 6 | super(size) 7 | end 8 | 9 | def hash_to_index(hash) 10 | (size - 1) & hash 11 | end 12 | 13 | def volatile_get_by_hash(hash) 14 | volatile_get(hash_to_index(hash)) 15 | end 16 | 17 | def volatile_set_by_hash(hash, value) 18 | volatile_set(hash_to_index(hash), value) 19 | end 20 | 21 | def next_in_size_table 22 | self.class.new(size << 1) 23 | end 24 | end 25 | end 26 | end 27 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb: -------------------------------------------------------------------------------- 1 | module ThreadSafe 2 | VERSION = "0.3.6" 3 | end 4 | 5 | # NOTE: <= 0.2.0 used Threadsafe::VERSION 6 | # @private 7 | module Threadsafe 8 | 9 | # @private 10 | def self.const_missing(name) 11 | name = name.to_sym 12 | if ThreadSafe.const_defined?(name) 13 | warn "[DEPRECATION] `Threadsafe::#{name}' is deprecated, use `ThreadSafe::#{name}' instead." 14 | ThreadSafe.const_get(name) 15 | else 16 | warn "[DEPRECATION] the `Threadsafe' module is deprecated, please use `ThreadSafe` instead." 17 | super 18 | end 19 | end 20 | 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/.gitignore -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'simplecov' 2 | require 'coveralls' 3 | require 'logger' 4 | 5 | SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ 6 | SimpleCov::Formatter::HTMLFormatter, 7 | Coveralls::SimpleCov::Formatter 8 | ] 9 | 10 | SimpleCov.start do 11 | project_name 'thread_safe' 12 | add_filter '/coverage/' 13 | add_filter '/pkg/' 14 | add_filter '/spec/' 15 | add_filter '/tasks/' 16 | add_filter '/yard-template/' 17 | end 18 | 19 | $VERBOSE = nil # suppress our deprecation warnings 20 | require 'thread_safe' 21 | 22 | logger = Logger.new($stderr) 23 | logger.level = Logger::WARN 24 | 25 | # import all the support files 26 | Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require File.expand_path(f) } 27 | 28 | RSpec.configure do |config| 29 | #config.raise_errors_for_deprecations! 30 | config.order = 'random' 31 | end -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java: -------------------------------------------------------------------------------- 1 | package thread_safe; 2 | 3 | import java.security.Permission; 4 | import java.util.ArrayList; 5 | import java.util.List; 6 | 7 | public class SecurityManager extends java.lang.SecurityManager { 8 | private final List deniedPermissions = 9 | new ArrayList(); 10 | 11 | @Override 12 | public void checkPermission(Permission p) { 13 | if (deniedPermissions.contains(p)) { 14 | throw new SecurityException("Denied!"); 15 | } 16 | } 17 | 18 | public void deny(Permission p) { 19 | deniedPermissions.add(p); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/support/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/support/.gitignore -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/support/threads.rb: -------------------------------------------------------------------------------- 1 | THREADS = (RUBY_ENGINE == 'ruby' ? 100 : 10) 2 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb: -------------------------------------------------------------------------------- 1 | module ThreadSafe 2 | describe Array do 3 | let!(:ary) { described_class.new } 4 | 5 | it 'concurrency' do 6 | (1..THREADS).map do |i| 7 | Thread.new do 8 | 1000.times do 9 | ary << i 10 | ary.each { |x| x * 2 } 11 | ary.shift 12 | ary.last 13 | end 14 | end 15 | end.map(&:join) 16 | end 17 | end 18 | end -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb: -------------------------------------------------------------------------------- 1 | module ThreadSafe 2 | describe Hash do 3 | let!(:hsh) { described_class.new } 4 | 5 | it 'concurrency' do 6 | (1..THREADS).map do |i| 7 | Thread.new do 8 | 1000.times do |j| 9 | hsh[i * 1000 + j] = i 10 | hsh[i * 1000 + j] 11 | hsh.delete(i * 1000 + j) 12 | end 13 | end 14 | end.map(&:join) 15 | end 16 | end 17 | end -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/.yardopts: -------------------------------------------------------------------------------- 1 | --no-private 2 | lib/**/*.rb 3 | - 4 | CHANGES.md 5 | LICENSE 6 | README.md 7 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/lib/tzinfo/info_timezone.rb: -------------------------------------------------------------------------------- 1 | module TZInfo 2 | 3 | # A Timezone based on a TimezoneInfo. 4 | # 5 | # @private 6 | class InfoTimezone < Timezone #:nodoc: 7 | 8 | # Constructs a new InfoTimezone with a TimezoneInfo instance. 9 | def self.new(info) 10 | tz = super() 11 | tz.send(:setup, info) 12 | tz 13 | end 14 | 15 | # The identifier of the timezone, e.g. "Europe/Paris". 16 | def identifier 17 | @info.identifier 18 | end 19 | 20 | protected 21 | # The TimezoneInfo for this Timezone. 22 | def info 23 | @info 24 | end 25 | 26 | def setup(info) 27 | @info = info 28 | end 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/lib/tzinfo/timezone_info.rb: -------------------------------------------------------------------------------- 1 | module TZInfo 2 | # Represents a timezone defined by a data source. 3 | class TimezoneInfo 4 | 5 | # The timezone identifier. 6 | attr_reader :identifier 7 | 8 | # Constructs a new TimezoneInfo with an identifier. 9 | def initialize(identifier) 10 | @identifier = identifier 11 | end 12 | 13 | # Returns internal object state as a programmer-readable string. 14 | def inspect 15 | "#<#{self.class}: #@identifier>" 16 | end 17 | 18 | # Constructs a Timezone instance for the timezone represented by this 19 | # TimezoneInfo. 20 | def create_timezone 21 | raise_not_implemented('create_timezone') 22 | end 23 | 24 | private 25 | 26 | def raise_not_implemented(method_name) 27 | raise NotImplementedError, "Subclasses must override #{method_name}" 28 | end 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tc_country_info.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils') 2 | 3 | include TZInfo 4 | 5 | class TCCountryInfo < Minitest::Test 6 | 7 | def test_code 8 | ci = CountryInfo.new('ZZ', 'Zzz') {|c| } 9 | assert_equal('ZZ', ci.code) 10 | end 11 | 12 | def test_name 13 | ci = CountryInfo.new('ZZ', 'Zzz') {|c| } 14 | assert_equal('Zzz', ci.name) 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tc_data_timezone_info.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils') 2 | 3 | include TZInfo 4 | 5 | class TCDataTimezoneInfo < Minitest::Test 6 | 7 | def test_identifier 8 | ti = DataTimezoneInfo.new('Test/Zone') 9 | assert_equal('Test/Zone', ti.identifier) 10 | end 11 | 12 | def test_construct_timezone 13 | ti = DataTimezoneInfo.new('Test/Zone') 14 | tz = ti.create_timezone 15 | assert_kind_of(DataTimezone, tz) 16 | assert_equal('Test/Zone', tz.identifier) 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tc_info_timezone.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils') 2 | 3 | include TZInfo 4 | 5 | class TCInfoTimezone < Minitest::Test 6 | 7 | class TestInfoTimezone < InfoTimezone 8 | attr_reader :setup_info 9 | 10 | protected 11 | def setup(info) 12 | super(info) 13 | @setup_info = info 14 | end 15 | end 16 | 17 | def test_identifier 18 | tz = InfoTimezone.new(TimezoneInfo.new('Test/Identifier')) 19 | assert_equal('Test/Identifier', tz.identifier) 20 | end 21 | 22 | def test_info 23 | i = TimezoneInfo.new('Test/Identifier') 24 | tz = InfoTimezone.new(i) 25 | assert_same(i, tz.send(:info)) 26 | end 27 | 28 | def test_setup 29 | i = TimezoneInfo.new('Test/Identifier') 30 | tz = TestInfoTimezone.new(i) 31 | assert_same(i, tz.setup_info) 32 | end 33 | end 34 | 35 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tc_linked_timezone_info.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils') 2 | 3 | include TZInfo 4 | 5 | class TCLinkedTimezoneInfo < Minitest::Test 6 | 7 | def test_identifier 8 | lti = LinkedTimezoneInfo.new('Test/Zone', 'Test/Linked') 9 | assert_equal('Test/Zone', lti.identifier) 10 | end 11 | 12 | def test_link_to_identifier 13 | lti = LinkedTimezoneInfo.new('Test/Zone', 'Test/Linked') 14 | assert_equal('Test/Linked', lti.link_to_identifier) 15 | end 16 | 17 | def test_construct_timezone 18 | lti = LinkedTimezoneInfo.new('Test/Zone', 'Europe/London') 19 | tz = lti.create_timezone 20 | assert_kind_of(LinkedTimezone, tz) 21 | assert_equal('Test/Zone', tz.identifier) 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tc_offset_rationals.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils') 2 | 3 | include TZInfo 4 | 5 | class TCOffsetRationals < Minitest::Test 6 | def test_rational_for_offset 7 | [0,1,2,3,4,-1,-2,-3,-4,30*60,-30*60,61*60,-61*60,14*60*60,-14*60*60,20*60*60,-20*60*60].each {|seconds| 8 | assert_equal(Rational(seconds, 86400), OffsetRationals.rational_for_offset(seconds)) 9 | } 10 | end 11 | 12 | def test_rational_for_offset_constant 13 | -28.upto(28) {|i| 14 | seconds = i * 30 * 60 15 | 16 | r1 = OffsetRationals.rational_for_offset(seconds) 17 | r2 = OffsetRationals.rational_for_offset(seconds) 18 | 19 | assert_equal(Rational(seconds, 86400), r1) 20 | assert_same(r1, r2) 21 | } 22 | end 23 | end 24 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tc_timezone_info.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils') 2 | 3 | include TZInfo 4 | 5 | class TCTimezoneInfo < Minitest::Test 6 | 7 | def test_identifier 8 | ti = TimezoneInfo.new('Test/Zone') 9 | assert_equal('Test/Zone', ti.identifier) 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/ts_all.rb: -------------------------------------------------------------------------------- 1 | # Force a particular timezone to be local (helps find issues when local 2 | # timezone isn't GMT). This won't work on Windows. 3 | ENV['TZ'] = 'America/Los_Angeles' 4 | 5 | Dir[File.join(File.expand_path(File.dirname(__FILE__)), 'tc_*.rb')].each {|t| require t} 6 | 7 | puts "Using #{DataSource.get}" 8 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/ts_all_ruby.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils.rb') 2 | 3 | TZInfo::DataSource.set(:ruby) 4 | 5 | require File.join(File.expand_path(File.dirname(__FILE__)), 'ts_all.rb') 6 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/ts_all_zoneinfo.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils.rb') 2 | 3 | # Use a zoneinfo directory containing files needed by the tests. 4 | # The symlinks in this directory are set up in test_utils.rb. 5 | zoneinfo_path = File.join(File.expand_path(File.dirname(__FILE__)), 'zoneinfo') 6 | zoneinfo_path.untaint if RUBY_VERSION < '2.7' 7 | TZInfo::DataSource.set(:zoneinfo, zoneinfo_path) 8 | 9 | require File.join(File.expand_path(File.dirname(__FILE__)), 'ts_all.rb') 10 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data.rb: -------------------------------------------------------------------------------- 1 | # Top level module for TZInfo. 2 | module TZInfo 3 | # Top level module for TZInfo::Data. 4 | module Data 5 | end 6 | end 7 | 8 | require 'tzinfo/data/version' 9 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data/definitions/EST.rb: -------------------------------------------------------------------------------- 1 | # encoding: UTF-8 2 | 3 | # This file contains data derived from the IANA Time Zone Database 4 | # (http://www.iana.org/time-zones). 5 | 6 | module TZInfo 7 | module Data 8 | module Definitions 9 | module EST 10 | include TimezoneDefinition 11 | 12 | timezone 'EST' do |tz| 13 | tz.offset :o0, -18000, 0, :EST 14 | 15 | end 16 | end 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb: -------------------------------------------------------------------------------- 1 | # encoding: UTF-8 2 | 3 | # This file contains data derived from the IANA Time Zone Database 4 | # (http://www.iana.org/time-zones). 5 | 6 | module TZInfo 7 | module Data 8 | module Definitions 9 | module Etc 10 | module GMT__m__1 11 | include TimezoneDefinition 12 | 13 | timezone 'Etc/GMT-1' do |tz| 14 | tz.offset :o0, 3600, 0, :'GMT-1' 15 | 16 | end 17 | end 18 | end 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb: -------------------------------------------------------------------------------- 1 | # encoding: UTF-8 2 | 3 | # This file contains data derived from the IANA Time Zone Database 4 | # (http://www.iana.org/time-zones). 5 | 6 | module TZInfo 7 | module Data 8 | module Definitions 9 | module Etc 10 | module GMT__p__1 11 | include TimezoneDefinition 12 | 13 | timezone 'Etc/GMT+1' do |tz| 14 | tz.offset :o0, -3600, 0, :'GMT+1' 15 | 16 | end 17 | end 18 | end 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb: -------------------------------------------------------------------------------- 1 | # encoding: UTF-8 2 | 3 | # This file contains data derived from the IANA Time Zone Database 4 | # (http://www.iana.org/time-zones). 5 | 6 | module TZInfo 7 | module Data 8 | module Definitions 9 | module Etc 10 | module UTC 11 | include TimezoneDefinition 12 | 13 | timezone 'Etc/UTC' do |tz| 14 | tz.offset :o0, 0, 0, :UTC 15 | 16 | end 17 | end 18 | end 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data/definitions/UTC.rb: -------------------------------------------------------------------------------- 1 | # encoding: UTF-8 2 | 3 | # This file contains data derived from the IANA Time Zone Database 4 | # (http://www.iana.org/time-zones). 5 | 6 | module TZInfo 7 | module Data 8 | module Definitions 9 | module UTC 10 | include TimezoneDefinition 11 | 12 | linked_timezone 'UTC', 'Etc/UTC' 13 | end 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/tzinfo-data/tzinfo/data/version.rb: -------------------------------------------------------------------------------- 1 | module TZInfo 2 | module Data 3 | # TZInfo::Data version information. 4 | module Version 5 | # The format of the Ruby modules. The only format currently supported by 6 | # TZInfo is version 1. 7 | FORMAT = 1 8 | 9 | # The version of the {IANA Time Zone Database}[http://www.iana.org/time-zones] 10 | # used to generate this version of TZInfo::Data. 11 | TZDATA = '2014f' 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/America/Argentina/Buenos_Aires: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/America/Argentina/Buenos_Aires -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/America/New_York: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/America/New_York -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Australia/Melbourne: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Australia/Melbourne -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/EST: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/EST -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Etc/UTC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Etc/UTC -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Amsterdam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Amsterdam -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Andorra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Andorra -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/London: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/London -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Paris: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Paris -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Prague: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Europe/Prague -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Factory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/Factory -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/posix/Europe/London: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/posix/Europe/London -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/posixrules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/posixrules -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/right/Europe/London: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/docs/vendor/bundle/ruby/2.6.0/gems/tzinfo-1.2.7/test/zoneinfo/right/Europe/London -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.0/lib/zeitwerk.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Zeitwerk 4 | require_relative "zeitwerk/real_mod_name" 5 | require_relative "zeitwerk/loader" 6 | require_relative "zeitwerk/registry" 7 | require_relative "zeitwerk/explicit_namespace" 8 | require_relative "zeitwerk/inflector" 9 | require_relative "zeitwerk/gem_inflector" 10 | require_relative "zeitwerk/kernel" 11 | require_relative "zeitwerk/error" 12 | end 13 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.0/lib/zeitwerk/error.rb: -------------------------------------------------------------------------------- 1 | module Zeitwerk 2 | class Error < StandardError 3 | end 4 | 5 | class ReloadingDisabledError < Error 6 | end 7 | 8 | class NameError < ::NameError 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.0/lib/zeitwerk/gem_inflector.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Zeitwerk 4 | class GemInflector < Inflector 5 | # @param root_file [String] 6 | def initialize(root_file) 7 | namespace = File.basename(root_file, ".rb") 8 | lib_dir = File.dirname(root_file) 9 | @version_file = File.join(lib_dir, namespace, "version.rb") 10 | end 11 | 12 | # @param basename [String] 13 | # @param abspath [String] 14 | # @return [String] 15 | def camelize(basename, abspath) 16 | abspath == @version_file ? "VERSION" : super 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.0/lib/zeitwerk/real_mod_name.rb: -------------------------------------------------------------------------------- 1 | module Zeitwerk::RealModName 2 | UNBOUND_METHOD_MODULE_NAME = Module.instance_method(:name) 3 | private_constant :UNBOUND_METHOD_MODULE_NAME 4 | 5 | # Returns the real name of the class or module, as set after the first 6 | # constant to which it was assigned (or nil). 7 | # 8 | # The name method can be overridden, hence the indirection in this method. 9 | # 10 | # @param mod [Class, Module] 11 | # @return [String, nil] 12 | if UnboundMethod.method_defined?(:bind_call) 13 | def real_mod_name(mod) 14 | UNBOUND_METHOD_MODULE_NAME.bind_call(mod) 15 | end 16 | else 17 | def real_mod_name(mod) 18 | UNBOUND_METHOD_MODULE_NAME.bind(mod).call 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /docs/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.4.0/lib/zeitwerk/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Zeitwerk 4 | VERSION = "2.4.0" 5 | end 6 | -------------------------------------------------------------------------------- /slides/AME-Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/AME-Logo.png -------------------------------------------------------------------------------- /slides/AME-QR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/AME-QR.png -------------------------------------------------------------------------------- /slides/insert_logo.html: -------------------------------------------------------------------------------- 1 | 14 | 15 | 28 | -------------------------------------------------------------------------------- /slides/libs/remark-css-0.0.1/default-fonts.css: -------------------------------------------------------------------------------- 1 | @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); 2 | @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); 3 | @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700); 4 | 5 | body { font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif; } 6 | h1, h2, h3 { 7 | font-family: 'Yanone Kaffeesatz'; 8 | font-weight: normal; 9 | } 10 | .remark-code, .remark-inline-code { font-family: 'Source Code Pro', 'Lucida Console', Monaco, monospace; } 11 | -------------------------------------------------------------------------------- /slides/tester.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "A Cool Presentation" 3 | output: 4 | xaringan::moon_reader: 5 | css: [default, metropolis, metropolis-fonts] 6 | seal: true 7 | self_contained: true 8 | yolo: false 9 | nature: 10 | autoplay: 30000 11 | beforeInit: "macros.js" 12 | --- 13 | 14 | - Hello world 15 | 16 | --- 17 | 18 | --- 19 | 20 | # new slide?? 21 | 22 | This works: 23 | 24 | 25 | .center[![trachoma](./AME-QR.png)] 26 | 27 | --- 28 | 29 | But this does not work: 30 | 31 | 32 | 33 | Nor this 34 | 35 | 36 | 37 | one more slide 38 | 39 | --- 40 | -------------------------------------------------------------------------------- /slides/tester_files/remark-css-0.0.1/metropolis-fonts.css: -------------------------------------------------------------------------------- 1 | @import url(https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i,500,500i,700,700i); 2 | @import url(https://cdn.rawgit.com/tonsky/FiraCode/1.204/distr/fira_code.css); 3 | 4 | body { 5 | font-family: 'Fira Sans','Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif; 6 | } 7 | 8 | .remark-code, .remark-inline-code { 9 | font-family: 'Fira Code', 'Lucida Console', Monaco, monospace; 10 | font-size: 80%; 11 | } 12 | -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/__packages: -------------------------------------------------------------------------------- 1 | base 2 | FLAME 3 | -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.RData -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.rdb -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.rdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/natality-load_f50d5f0fef643d766ed04ece7bc1f1ce.rdx -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-1_663a0a6b29b3a72314411e71e426af52.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-1_663a0a6b29b3a72314411e71e426af52.RData -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-1_663a0a6b29b3a72314411e71e426af52.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-1_663a0a6b29b3a72314411e71e426af52.rdb -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-1_663a0a6b29b3a72314411e71e426af52.rdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-1_663a0a6b29b3a72314411e71e426af52.rdx -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-2_0574075d7f78042374be1b7ecd6f22fb.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-2_0574075d7f78042374be1b7ecd6f22fb.RData -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-2_0574075d7f78042374be1b7ecd6f22fb.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-2_0574075d7f78042374be1b7ecd6f22fb.rdb -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-2_0574075d7f78042374be1b7ecd6f22fb.rdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-2_0574075d7f78042374be1b7ecd6f22fb.rdx -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-3_f146807e3f22205306621df503709b2f.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-3_f146807e3f22205306621df503709b2f.RData -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-3_f146807e3f22205306621df503709b2f.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-3_f146807e3f22205306621df503709b2f.rdb -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-3_f146807e3f22205306621df503709b2f.rdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-3_f146807e3f22205306621df503709b2f.rdx -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-4_57cd0174cea9aff6b413f548cb3331f5.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-4_57cd0174cea9aff6b413f548cb3331f5.RData -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-4_57cd0174cea9aff6b413f548cb3331f5.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-4_57cd0174cea9aff6b413f548cb3331f5.rdb -------------------------------------------------------------------------------- /slides/useR_FLAME_cache/html/plot-4_57cd0174cea9aff6b413f548cb3331f5.rdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_cache/html/plot-4_57cd0174cea9aff6b413f548cb3331f5.rdx -------------------------------------------------------------------------------- /slides/useR_FLAME_files/figure-html/plot-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_files/figure-html/plot-1-1.png -------------------------------------------------------------------------------- /slides/useR_FLAME_files/figure-html/plot-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_files/figure-html/plot-2-1.png -------------------------------------------------------------------------------- /slides/useR_FLAME_files/figure-html/plot-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_files/figure-html/plot-3-1.png -------------------------------------------------------------------------------- /slides/useR_FLAME_files/figure-html/plot-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/slides/useR_FLAME_files/figure-html/plot-4-1.png -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- 1 | library(testthat) 2 | library(FLAME) 3 | 4 | test_check("FLAME") 5 | -------------------------------------------------------------------------------- /tests/testthat/test_warnings.R: -------------------------------------------------------------------------------- 1 | # test warnings 2 | 3 | test_that("complains about continuous variables", { 4 | p <- 5 5 | weights <- runif(p + 1) 6 | data <- gen_data(p = p) 7 | holdout <- gen_data(p = p) 8 | data$age <- sample(15:100, nrow(data), TRUE) 9 | holdout$age <- sample(15:100, nrow(holdout), TRUE) 10 | expect_warning(flout <- FLAME(data, holdout, weights = weights)) 11 | }) 12 | -------------------------------------------------------------------------------- /vignettes/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.R 3 | -------------------------------------------------------------------------------- /vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-12-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-12-1.png -------------------------------------------------------------------------------- /vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-13-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-13-1.png -------------------------------------------------------------------------------- /vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-14-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-14-1.png -------------------------------------------------------------------------------- /vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-15-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/almost-matching-exactly/R-FLAME/c7c26df8d315c35a5176d32de558ca98eaa63079/vignettes/intro_to_AME_files/figure-markdown_strict/unnamed-chunk-15-1.png --------------------------------------------------------------------------------