bibtex_to_scrapbox 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/bibtex_to_scrapbox.gemspec +2 -2
- data/lib/bibtex_to_scrapbox/version.rb +1 -1
- metadata +11 -622
- data/gems/bin/htmldiff +0 -29
- data/gems/bin/ldiff +0 -29
- data/gems/bin/rake +0 -27
- data/gems/bin/rspec +0 -27
- data/gems/bin/thor +0 -27
- data/gems/extensions/x86_64-darwin-16/2.4.0-static/unicode-0.4.4.4/gem.build_complete +0 -0
- data/gems/extensions/x86_64-darwin-16/2.4.0-static/unicode-0.4.4.4/gem_make.out +0 -288
- data/gems/extensions/x86_64-darwin-16/2.4.0-static/unicode-0.4.4.4/unicode/unicode_native.bundle +0 -0
- data/gems/gems/bibtex-ruby-4.4.4/Gemfile +0 -66
- data/gems/gems/bibtex-ruby-4.4.4/Guardfile +0 -22
- data/gems/gems/bibtex-ruby-4.4.4/History.txt +0 -306
- data/gems/gems/bibtex-ruby-4.4.4/LICENSE +0 -621
- data/gems/gems/bibtex-ruby-4.4.4/Manifest +0 -100
- data/gems/gems/bibtex-ruby-4.4.4/README.md +0 -615
- data/gems/gems/bibtex-ruby-4.4.4/Rakefile +0 -123
- data/gems/gems/bibtex-ruby-4.4.4/bibtex-ruby.gemspec +0 -38
- data/gems/gems/bibtex-ruby-4.4.4/examples/bib2html.rb +0 -42
- data/gems/gems/bibtex-ruby-4.4.4/examples/bib2yaml.rb +0 -12
- data/gems/gems/bibtex-ruby-4.4.4/examples/markdown.bib +0 -39
- data/gems/gems/bibtex-ruby-4.4.4/features/bibtex.feature +0 -96
- data/gems/gems/bibtex-ruby-4.4.4/features/entries.feature +0 -67
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/braced_strings.feature +0 -48
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/crossref.feature +0 -62
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/latex_filter.feature +0 -171
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/multiline_strings.feature +0 -14
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/name_parsing.feature +0 -19
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/non_ascii_default_keys.feature +0 -20
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/non_ascii_keys.feature +0 -17
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/number_keys.feature +0 -45
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/parse_months.feature +0 -43
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/slash_keys.feature +0 -21
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/trailing_comma.feature +0 -21
- data/gems/gems/bibtex-ruby-4.4.4/features/issues/whitespace_keys.feature +0 -23
- data/gems/gems/bibtex-ruby-4.4.4/features/names.feature +0 -86
- data/gems/gems/bibtex-ruby-4.4.4/features/preambles.feature +0 -27
- data/gems/gems/bibtex-ruby-4.4.4/features/query.feature +0 -102
- data/gems/gems/bibtex-ruby-4.4.4/features/replacement.feature +0 -68
- data/gems/gems/bibtex-ruby-4.4.4/features/step_definitions/bibtex_steps.rb +0 -119
- data/gems/gems/bibtex-ruby-4.4.4/features/step_definitions/name_steps.rb +0 -18
- data/gems/gems/bibtex-ruby-4.4.4/features/strings.feature +0 -53
- data/gems/gems/bibtex-ruby-4.4.4/features/support/env.rb +0 -21
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex.rb +0 -83
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/bibliography.rb +0 -594
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/bibliography/rdf_converter.rb +0 -27
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/bibtex.y +0 -141
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/compatibility.rb +0 -25
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/elements.rb +0 -376
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/entry.rb +0 -690
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/entry/bibtexml_converter.rb +0 -44
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/entry/citeproc_converter.rb +0 -164
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/entry/rdf_converter.rb +0 -588
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/error.rb +0 -49
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/extensions.rb +0 -25
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/filters.rb +0 -55
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/filters/latex.rb +0 -13
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/filters/linebreaks.rb +0 -11
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/lexer.rb +0 -358
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/name_parser.rb +0 -563
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/names.rb +0 -315
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/names.y +0 -267
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/parser.rb +0 -474
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/replaceable.rb +0 -52
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/ruby.rb +0 -1
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/utilities.rb +0 -59
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/value.rb +0 -305
- data/gems/gems/bibtex-ruby-4.4.4/lib/bibtex/version.rb +0 -28
- data/gems/gems/bibtex-ruby-4.4.4/test/benchmark.rb +0 -84
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/entry/test_rdf_converter.rb +0 -341
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_bibliography.rb +0 -446
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_elements.rb +0 -64
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_entry.rb +0 -698
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_filters.rb +0 -36
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_lexer.rb +0 -42
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_name_parser.rb +0 -29
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_names.rb +0 -168
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_parser.rb +0 -210
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_string.rb +0 -83
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_utilities.rb +0 -34
- data/gems/gems/bibtex-ruby-4.4.4/test/bibtex/test_value.rb +0 -189
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/bibdesk.bib +0 -50
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/comment.bib +0 -15
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/decoret.bib +0 -83
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/empty.bib +0 -0
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/entry.bib +0 -24
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/errors.bib +0 -67
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/no_bibtex.bib +0 -9
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/preamble.bib +0 -12
- data/gems/gems/bibtex-ruby-4.4.4/test/fixtures/roundtrip.bib +0 -11
- data/gems/gems/bibtex-ruby-4.4.4/test/helper.rb +0 -43
- data/gems/gems/bibtex-ruby-4.4.4/test/macruby.d +0 -21
- data/gems/gems/bibtex-ruby-4.4.4/test/macruby.rb +0 -22
- data/gems/gems/bibtex-ruby-4.4.4/test/profile.rb +0 -28
- data/gems/gems/bibtex-ruby-4.4.4/test/test_bibtex.rb +0 -127
- data/gems/gems/bibtex-ruby-4.4.4/test/test_export.rb +0 -33
- data/gems/gems/diff-lcs-1.3/.rspec +0 -1
- data/gems/gems/diff-lcs-1.3/Code-of-Conduct.md +0 -74
- data/gems/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/gems/gems/diff-lcs-1.3/History.md +0 -220
- data/gems/gems/diff-lcs-1.3/License.md +0 -39
- data/gems/gems/diff-lcs-1.3/Manifest.txt +0 -37
- data/gems/gems/diff-lcs-1.3/README.rdoc +0 -84
- data/gems/gems/diff-lcs-1.3/Rakefile +0 -57
- data/gems/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/gems/gems/diff-lcs-1.3/bin/htmldiff +0 -32
- data/gems/gems/diff-lcs-1.3/bin/ldiff +0 -6
- data/gems/gems/diff-lcs-1.3/docs/COPYING.txt +0 -339
- data/gems/gems/diff-lcs-1.3/docs/artistic.txt +0 -127
- data/gems/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs.rb +0 -725
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +0 -7
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +0 -37
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +0 -322
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +0 -181
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +0 -149
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +0 -276
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +0 -307
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +0 -167
- data/gems/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +0 -5
- data/gems/gems/diff-lcs-1.3/spec/change_spec.rb +0 -65
- data/gems/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/gems/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +0 -50
- data/gems/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +0 -51
- data/gems/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/gems/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/gems/gems/diff-lcs-1.3/spec/lcs_spec.rb +0 -56
- data/gems/gems/diff-lcs-1.3/spec/ldiff_spec.rb +0 -47
- data/gems/gems/diff-lcs-1.3/spec/patch_spec.rb +0 -422
- data/gems/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/gems/gems/diff-lcs-1.3/spec/spec_helper.rb +0 -321
- data/gems/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/gems/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +0 -139
- data/gems/gems/latex-decode-0.2.2/.gitignore +0 -6
- data/gems/gems/latex-decode-0.2.2/.travis.yml +0 -18
- data/gems/gems/latex-decode-0.2.2/Gemfile +0 -21
- data/gems/gems/latex-decode-0.2.2/LICENSE +0 -621
- data/gems/gems/latex-decode-0.2.2/README.md +0 -65
- data/gems/gems/latex-decode-0.2.2/Rakefile +0 -41
- data/gems/gems/latex-decode-0.2.2/cucumber.yml +0 -1
- data/gems/gems/latex-decode-0.2.2/features/brackets.feature +0 -11
- data/gems/gems/latex-decode-0.2.2/features/diacritics.feature +0 -40
- data/gems/gems/latex-decode-0.2.2/features/greek.feature +0 -13
- data/gems/gems/latex-decode-0.2.2/features/maths.feature +0 -9
- data/gems/gems/latex-decode-0.2.2/features/non-latex.feature +0 -15
- data/gems/gems/latex-decode-0.2.2/features/punctuation.feature +0 -50
- data/gems/gems/latex-decode-0.2.2/features/special_characters.feature +0 -21
- data/gems/gems/latex-decode-0.2.2/features/step_definitions/latex.rb +0 -7
- data/gems/gems/latex-decode-0.2.2/features/support/env.rb +0 -14
- data/gems/gems/latex-decode-0.2.2/features/symbols.feature +0 -21
- data/gems/gems/latex-decode-0.2.2/features/umlauts.feature +0 -11
- data/gems/gems/latex-decode-0.2.2/latex-decode.gemspec +0 -33
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode.rb +0 -54
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/accents.rb +0 -36
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/base.rb +0 -62
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/compatibility.rb +0 -89
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/diacritics.rb +0 -46
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/greek.rb +0 -61
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/maths.rb +0 -21
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/punctuation.rb +0 -59
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/symbols.rb +0 -225
- data/gems/gems/latex-decode-0.2.2/lib/latex/decode/version.rb +0 -5
- data/gems/gems/rake-10.5.0/.autotest +0 -7
- data/gems/gems/rake-10.5.0/.rubocop.yml +0 -27
- data/gems/gems/rake-10.5.0/.togglerc +0 -7
- data/gems/gems/rake-10.5.0/CONTRIBUTING.rdoc +0 -38
- data/gems/gems/rake-10.5.0/History.rdoc +0 -659
- data/gems/gems/rake-10.5.0/MIT-LICENSE +0 -21
- data/gems/gems/rake-10.5.0/Manifest.txt +0 -166
- data/gems/gems/rake-10.5.0/README.rdoc +0 -139
- data/gems/gems/rake-10.5.0/Rakefile +0 -81
- data/gems/gems/rake-10.5.0/bin/rake +0 -33
- data/gems/gems/rake-10.5.0/doc/command_line_usage.rdoc +0 -158
- data/gems/gems/rake-10.5.0/doc/example/Rakefile1 +0 -38
- data/gems/gems/rake-10.5.0/doc/example/Rakefile2 +0 -35
- data/gems/gems/rake-10.5.0/doc/example/a.c +0 -6
- data/gems/gems/rake-10.5.0/doc/example/b.c +0 -6
- data/gems/gems/rake-10.5.0/doc/example/main.c +0 -11
- data/gems/gems/rake-10.5.0/doc/glossary.rdoc +0 -42
- data/gems/gems/rake-10.5.0/doc/jamis.rb +0 -591
- data/gems/gems/rake-10.5.0/doc/proto_rake.rdoc +0 -127
- data/gems/gems/rake-10.5.0/doc/rake.1 +0 -141
- data/gems/gems/rake-10.5.0/doc/rakefile.rdoc +0 -624
- data/gems/gems/rake-10.5.0/doc/rational.rdoc +0 -151
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +0 -37
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +0 -60
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +0 -55
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +0 -64
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +0 -58
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +0 -53
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/gems/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +0 -61
- data/gems/gems/rake-10.5.0/lib/rake.rb +0 -79
- data/gems/gems/rake-10.5.0/lib/rake/alt_system.rb +0 -110
- data/gems/gems/rake-10.5.0/lib/rake/application.rb +0 -790
- data/gems/gems/rake-10.5.0/lib/rake/backtrace.rb +0 -23
- data/gems/gems/rake-10.5.0/lib/rake/clean.rb +0 -76
- data/gems/gems/rake-10.5.0/lib/rake/cloneable.rb +0 -16
- data/gems/gems/rake-10.5.0/lib/rake/contrib/.document +0 -1
- data/gems/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +0 -21
- data/gems/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +0 -137
- data/gems/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +0 -81
- data/gems/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +0 -18
- data/gems/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +0 -61
- data/gems/gems/rake-10.5.0/lib/rake/contrib/sys.rb +0 -4
- data/gems/gems/rake-10.5.0/lib/rake/cpu_counter.rb +0 -125
- data/gems/gems/rake-10.5.0/lib/rake/default_loader.rb +0 -14
- data/gems/gems/rake-10.5.0/lib/rake/dsl_definition.rb +0 -201
- data/gems/gems/rake-10.5.0/lib/rake/early_time.rb +0 -21
- data/gems/gems/rake-10.5.0/lib/rake/ext/core.rb +0 -25
- data/gems/gems/rake-10.5.0/lib/rake/ext/module.rb +0 -2
- data/gems/gems/rake-10.5.0/lib/rake/ext/pathname.rb +0 -25
- data/gems/gems/rake-10.5.0/lib/rake/ext/string.rb +0 -175
- data/gems/gems/rake-10.5.0/lib/rake/ext/time.rb +0 -18
- data/gems/gems/rake-10.5.0/lib/rake/file_creation_task.rb +0 -24
- data/gems/gems/rake-10.5.0/lib/rake/file_list.rb +0 -428
- data/gems/gems/rake-10.5.0/lib/rake/file_task.rb +0 -46
- data/gems/gems/rake-10.5.0/lib/rake/file_utils.rb +0 -128
- data/gems/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +0 -144
- data/gems/gems/rake-10.5.0/lib/rake/gempackagetask.rb +0 -4
- data/gems/gems/rake-10.5.0/lib/rake/invocation_chain.rb +0 -56
- data/gems/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +0 -16
- data/gems/gems/rake-10.5.0/lib/rake/late_time.rb +0 -17
- data/gems/gems/rake-10.5.0/lib/rake/linked_list.rb +0 -103
- data/gems/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +0 -53
- data/gems/gems/rake-10.5.0/lib/rake/multi_task.rb +0 -13
- data/gems/gems/rake-10.5.0/lib/rake/name_space.rb +0 -38
- data/gems/gems/rake-10.5.0/lib/rake/packagetask.rb +0 -199
- data/gems/gems/rake-10.5.0/lib/rake/pathmap.rb +0 -3
- data/gems/gems/rake-10.5.0/lib/rake/phony.rb +0 -15
- data/gems/gems/rake-10.5.0/lib/rake/private_reader.rb +0 -20
- data/gems/gems/rake-10.5.0/lib/rake/promise.rb +0 -99
- data/gems/gems/rake-10.5.0/lib/rake/pseudo_status.rb +0 -29
- data/gems/gems/rake-10.5.0/lib/rake/rake_module.rb +0 -38
- data/gems/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +0 -22
- data/gems/gems/rake-10.5.0/lib/rake/rdoctask.rb +0 -4
- data/gems/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +0 -29
- data/gems/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/gems/gems/rake-10.5.0/lib/rake/runtest.rb +0 -27
- data/gems/gems/rake-10.5.0/lib/rake/scope.rb +0 -42
- data/gems/gems/rake-10.5.0/lib/rake/task.rb +0 -383
- data/gems/gems/rake-10.5.0/lib/rake/task_argument_error.rb +0 -7
- data/gems/gems/rake-10.5.0/lib/rake/task_arguments.rb +0 -98
- data/gems/gems/rake-10.5.0/lib/rake/task_manager.rb +0 -307
- data/gems/gems/rake-10.5.0/lib/rake/tasklib.rb +0 -24
- data/gems/gems/rake-10.5.0/lib/rake/testtask.rb +0 -213
- data/gems/gems/rake-10.5.0/lib/rake/thread_history_display.rb +0 -48
- data/gems/gems/rake-10.5.0/lib/rake/thread_pool.rb +0 -164
- data/gems/gems/rake-10.5.0/lib/rake/trace_output.rb +0 -22
- data/gems/gems/rake-10.5.0/lib/rake/version.rb +0 -7
- data/gems/gems/rake-10.5.0/lib/rake/win32.rb +0 -56
- data/gems/gems/rake-10.5.0/rakelib/publish.rake +0 -20
- data/gems/gems/rake-10.5.0/rakelib/test_times.rake +0 -25
- data/gems/gems/rake-10.5.0/test/file_creation.rb +0 -34
- data/gems/gems/rake-10.5.0/test/helper.rb +0 -129
- data/gems/gems/rake-10.5.0/test/support/rakefile_definitions.rb +0 -478
- data/gems/gems/rake-10.5.0/test/support/ruby_runner.rb +0 -34
- data/gems/gems/rake-10.5.0/test/test_private_reader.rb +0 -42
- data/gems/gems/rake-10.5.0/test/test_rake.rb +0 -40
- data/gems/gems/rake-10.5.0/test/test_rake_application.rb +0 -643
- data/gems/gems/rake-10.5.0/test/test_rake_application_options.rb +0 -468
- data/gems/gems/rake-10.5.0/test/test_rake_backtrace.rb +0 -119
- data/gems/gems/rake-10.5.0/test/test_rake_clean.rb +0 -61
- data/gems/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +0 -68
- data/gems/gems/rake-10.5.0/test/test_rake_definitions.rb +0 -84
- data/gems/gems/rake-10.5.0/test/test_rake_directory_task.rb +0 -76
- data/gems/gems/rake-10.5.0/test/test_rake_dsl.rb +0 -40
- data/gems/gems/rake-10.5.0/test/test_rake_early_time.rb +0 -31
- data/gems/gems/rake-10.5.0/test/test_rake_extension.rb +0 -59
- data/gems/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +0 -56
- data/gems/gems/rake-10.5.0/test/test_rake_file_list.rb +0 -670
- data/gems/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +0 -8
- data/gems/gems/rake-10.5.0/test/test_rake_file_task.rb +0 -197
- data/gems/gems/rake-10.5.0/test/test_rake_file_utils.rb +0 -314
- data/gems/gems/rake-10.5.0/test/test_rake_ftp_file.rb +0 -74
- data/gems/gems/rake-10.5.0/test/test_rake_functional.rb +0 -482
- data/gems/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +0 -64
- data/gems/gems/rake-10.5.0/test/test_rake_late_time.rb +0 -18
- data/gems/gems/rake-10.5.0/test/test_rake_linked_list.rb +0 -84
- data/gems/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +0 -46
- data/gems/gems/rake-10.5.0/test/test_rake_multi_task.rb +0 -64
- data/gems/gems/rake-10.5.0/test/test_rake_name_space.rb +0 -57
- data/gems/gems/rake-10.5.0/test/test_rake_package_task.rb +0 -79
- data/gems/gems/rake-10.5.0/test/test_rake_path_map.rb +0 -168
- data/gems/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +0 -34
- data/gems/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +0 -18
- data/gems/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +0 -15
- data/gems/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +0 -21
- data/gems/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +0 -20
- data/gems/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +0 -26
- data/gems/gems/rake-10.5.0/test/test_rake_require.rb +0 -40
- data/gems/gems/rake-10.5.0/test/test_rake_rules.rb +0 -388
- data/gems/gems/rake-10.5.0/test/test_rake_scope.rb +0 -44
- data/gems/gems/rake-10.5.0/test/test_rake_task.rb +0 -393
- data/gems/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +0 -119
- data/gems/gems/rake-10.5.0/test/test_rake_task_arguments.rb +0 -127
- data/gems/gems/rake-10.5.0/test/test_rake_task_lib.rb +0 -9
- data/gems/gems/rake-10.5.0/test/test_rake_task_manager.rb +0 -178
- data/gems/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/gems/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +0 -172
- data/gems/gems/rake-10.5.0/test/test_rake_test_task.rb +0 -146
- data/gems/gems/rake-10.5.0/test/test_rake_thread_pool.rb +0 -145
- data/gems/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +0 -71
- data/gems/gems/rake-10.5.0/test/test_rake_win32.rb +0 -72
- data/gems/gems/rake-10.5.0/test/test_thread_history_display.rb +0 -101
- data/gems/gems/rake-10.5.0/test/test_trace_output.rb +0 -52
- data/gems/gems/rspec-3.6.0/LICENSE.md +0 -27
- data/gems/gems/rspec-3.6.0/README.md +0 -39
- data/gems/gems/rspec-3.6.0/lib/rspec.rb +0 -3
- data/gems/gems/rspec-3.6.0/lib/rspec/version.rb +0 -5
- data/gems/gems/rspec-core-3.6.0/.document +0 -5
- data/gems/gems/rspec-core-3.6.0/.yardopts +0 -8
- data/gems/gems/rspec-core-3.6.0/Changelog.md +0 -2167
- data/gems/gems/rspec-core-3.6.0/LICENSE.md +0 -26
- data/gems/gems/rspec-core-3.6.0/README.md +0 -384
- data/gems/gems/rspec-core-3.6.0/exe/rspec +0 -4
- data/gems/gems/rspec-core-3.6.0/lib/rspec/autorun.rb +0 -3
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core.rb +0 -185
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/bisect/coordinator.rb +0 -66
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/bisect/example_minimizer.rb +0 -169
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/bisect/runner.rb +0 -169
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/bisect/server.rb +0 -70
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb +0 -2177
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/configuration_options.rb +0 -196
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/drb.rb +0 -113
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/dsl.rb +0 -98
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/example.rb +0 -653
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb +0 -883
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/example_status_persister.rb +0 -235
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/filter_manager.rb +0 -231
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/flat_map.rb +0 -20
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters.rb +0 -265
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/bisect_formatter.rb +0 -69
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -144
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/documentation_formatter.rb +0 -70
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/exception_presenter.rb +0 -496
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/helpers.rb +0 -110
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_formatter.rb +0 -153
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -118
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/json_formatter.rb +0 -101
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/progress_formatter.rb +0 -29
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/protocol.rb +0 -182
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb +0 -624
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/invocations.rb +0 -85
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/memoized_helpers.rb +0 -535
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/metadata.rb +0 -499
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/metadata_filter.rb +0 -255
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/notifications.rb +0 -514
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/option_parser.rb +0 -309
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/ordering.rb +0 -158
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/output_wrapper.rb +0 -29
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/pending.rb +0 -165
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/profiler.rb +0 -32
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer.rb +0 -48
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer/.rspec +0 -1
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/rake_task.rb +0 -168
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb +0 -260
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/ruby_project.rb +0 -53
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb +0 -193
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/sandbox.rb +0 -37
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/set.rb +0 -54
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/shared_context.rb +0 -55
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/shared_example_group.rb +0 -271
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/shell_escape.rb +0 -49
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/version.rb +0 -9
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/warnings.rb +0 -40
- data/gems/gems/rspec-core-3.6.0/lib/rspec/core/world.rb +0 -264
- data/gems/gems/rspec-expectations-3.6.0/.document +0 -5
- data/gems/gems/rspec-expectations-3.6.0/.yardopts +0 -6
- data/gems/gems/rspec-expectations-3.6.0/Changelog.md +0 -1072
- data/gems/gems/rspec-expectations-3.6.0/LICENSE.md +0 -25
- data/gems/gems/rspec-expectations-3.6.0/README.md +0 -305
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations.rb +0 -82
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/configuration.rb +0 -201
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb +0 -127
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/fail_with.rb +0 -39
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb +0 -170
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/syntax.rb +0 -132
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/expectations/version.rb +0 -8
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers.rb +0 -1025
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in.rb +0 -52
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/all.rb +0 -85
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be.rb +0 -288
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_instance_of.rb +0 -22
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_kind_of.rb +0 -16
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb +0 -387
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/compound.rb +0 -272
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/contain_exactly.rb +0 -301
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/exist.rb +0 -90
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/has.rb +0 -103
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/include.rb +0 -143
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/match.rb +0 -106
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/output.rb +0 -200
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/respond_to.rb +0 -165
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/satisfy.rb +0 -60
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/yield.rb +0 -432
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/composable.rb +0 -169
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/dsl.rb +0 -527
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -73
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/generated_descriptions.rb +0 -42
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/gems/gems/rspec-expectations-3.6.0/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/gems/gems/rspec-mocks-3.6.0/.document +0 -5
- data/gems/gems/rspec-mocks-3.6.0/.yardopts +0 -6
- data/gems/gems/rspec-mocks-3.6.0/Changelog.md +0 -1073
- data/gems/gems/rspec-mocks-3.6.0/LICENSE.md +0 -25
- data/gems/gems/rspec-mocks-3.6.0/README.md +0 -460
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks.rb +0 -130
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance.rb +0 -11
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/chain.rb +0 -110
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/recorder.rb +0 -289
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/argument_matchers.rb +0 -320
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/configuration.rb +0 -212
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/error_generator.rb +0 -369
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/example_methods.rb +0 -434
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/instance_method_stasher.rb +0 -146
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/have_received.rb +0 -130
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/message_chain.rb +0 -87
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/message_expectation.rb +0 -740
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/method_double.rb +0 -287
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/method_reference.rb +0 -202
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/mutate_const.rb +0 -339
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/object_reference.rb +0 -149
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/order_group.rb +0 -81
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/proxy.rb +0 -484
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/space.rb +0 -238
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/standalone.rb +0 -3
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/syntax.rb +0 -325
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/targets.rb +0 -124
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/test_double.rb +0 -171
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_double.rb +0 -129
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_proxy.rb +0 -220
- data/gems/gems/rspec-mocks-3.6.0/lib/rspec/mocks/version.rb +0 -9
- data/gems/gems/rspec-support-3.6.0/Changelog.md +0 -211
- data/gems/gems/rspec-support-3.6.0/LICENSE.md +0 -23
- data/gems/gems/rspec-support-3.6.0/README.md +0 -40
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support.rb +0 -139
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/caller_filter.rb +0 -83
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/comparable_version.rb +0 -46
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/differ.rb +0 -215
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/directory_maker.rb +0 -63
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/encoded_string.rb +0 -165
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/hunk_generator.rb +0 -47
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/matcher_definition.rb +0 -42
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/method_signature_verifier.rb +0 -392
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/mutex.rb +0 -73
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/object_formatter.rb +0 -268
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/reentrant_mutex.rb +0 -53
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/ruby_features.rb +0 -162
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/source.rb +0 -75
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/source/location.rb +0 -21
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/source/node.rb +0 -107
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/source/token.rb +0 -87
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec.rb +0 -81
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/in_sub_process.rb +0 -69
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/shell_out.rb +0 -84
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/stderr_splitter.rb +0 -63
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/version.rb +0 -7
- data/gems/gems/rspec-support-3.6.0/lib/rspec/support/warnings.rb +0 -39
- data/gems/gems/thor-0.19.4/.document +0 -5
- data/gems/gems/thor-0.19.4/CHANGELOG.md +0 -163
- data/gems/gems/thor-0.19.4/CONTRIBUTING.md +0 -15
- data/gems/gems/thor-0.19.4/LICENSE.md +0 -20
- data/gems/gems/thor-0.19.4/README.md +0 -47
- data/gems/gems/thor-0.19.4/bin/thor +0 -6
- data/gems/gems/thor-0.19.4/lib/thor.rb +0 -492
- data/gems/gems/thor-0.19.4/lib/thor/actions.rb +0 -318
- data/gems/gems/thor-0.19.4/lib/thor/actions/create_file.rb +0 -103
- data/gems/gems/thor-0.19.4/lib/thor/actions/create_link.rb +0 -59
- data/gems/gems/thor-0.19.4/lib/thor/actions/directory.rb +0 -118
- data/gems/gems/thor-0.19.4/lib/thor/actions/empty_directory.rb +0 -135
- data/gems/gems/thor-0.19.4/lib/thor/actions/file_manipulation.rb +0 -327
- data/gems/gems/thor-0.19.4/lib/thor/actions/inject_into_file.rb +0 -103
- data/gems/gems/thor-0.19.4/lib/thor/base.rb +0 -656
- data/gems/gems/thor-0.19.4/lib/thor/command.rb +0 -133
- data/gems/gems/thor-0.19.4/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -85
- data/gems/gems/thor-0.19.4/lib/thor/core_ext/io_binary_read.rb +0 -12
- data/gems/gems/thor-0.19.4/lib/thor/core_ext/ordered_hash.rb +0 -129
- data/gems/gems/thor-0.19.4/lib/thor/error.rb +0 -32
- data/gems/gems/thor-0.19.4/lib/thor/group.rb +0 -281
- data/gems/gems/thor-0.19.4/lib/thor/invocation.rb +0 -177
- data/gems/gems/thor-0.19.4/lib/thor/line_editor.rb +0 -17
- data/gems/gems/thor-0.19.4/lib/thor/line_editor/basic.rb +0 -35
- data/gems/gems/thor-0.19.4/lib/thor/line_editor/readline.rb +0 -88
- data/gems/gems/thor-0.19.4/lib/thor/parser.rb +0 -4
- data/gems/gems/thor-0.19.4/lib/thor/parser/argument.rb +0 -70
- data/gems/gems/thor-0.19.4/lib/thor/parser/arguments.rb +0 -175
- data/gems/gems/thor-0.19.4/lib/thor/parser/option.rb +0 -146
- data/gems/gems/thor-0.19.4/lib/thor/parser/options.rb +0 -220
- data/gems/gems/thor-0.19.4/lib/thor/rake_compat.rb +0 -71
- data/gems/gems/thor-0.19.4/lib/thor/runner.rb +0 -322
- data/gems/gems/thor-0.19.4/lib/thor/shell.rb +0 -81
- data/gems/gems/thor-0.19.4/lib/thor/shell/basic.rb +0 -436
- data/gems/gems/thor-0.19.4/lib/thor/shell/color.rb +0 -149
- data/gems/gems/thor-0.19.4/lib/thor/shell/html.rb +0 -126
- data/gems/gems/thor-0.19.4/lib/thor/util.rb +0 -268
- data/gems/gems/thor-0.19.4/lib/thor/version.rb +0 -3
- data/gems/gems/thor-0.19.4/thor.gemspec +0 -21
- data/gems/gems/unicode-0.4.4.4/README +0 -156
- data/gems/gems/unicode-0.4.4.4/Rakefile +0 -103
- data/gems/gems/unicode-0.4.4.4/ext/unicode/.sitearchdir.-.unicode.time +0 -0
- data/gems/gems/unicode-0.4.4.4/ext/unicode/Makefile +0 -264
- data/gems/gems/unicode-0.4.4.4/ext/unicode/extconf.rb +0 -3
- data/gems/gems/unicode-0.4.4.4/ext/unicode/unicode.c +0 -1325
- data/gems/gems/unicode-0.4.4.4/ext/unicode/unicode.o +0 -0
- data/gems/gems/unicode-0.4.4.4/ext/unicode/unicode_native.bundle +0 -0
- data/gems/gems/unicode-0.4.4.4/ext/unicode/unidata.map +0 -24555
- data/gems/gems/unicode-0.4.4.4/ext/unicode/ustring.c +0 -208
- data/gems/gems/unicode-0.4.4.4/ext/unicode/ustring.h +0 -48
- data/gems/gems/unicode-0.4.4.4/ext/unicode/ustring.o +0 -0
- data/gems/gems/unicode-0.4.4.4/ext/unicode/wstring.c +0 -257
- data/gems/gems/unicode-0.4.4.4/ext/unicode/wstring.h +0 -43
- data/gems/gems/unicode-0.4.4.4/ext/unicode/wstring.o +0 -0
- data/gems/gems/unicode-0.4.4.4/lib/unicode.rb +0 -6
- data/gems/gems/unicode-0.4.4.4/lib/unicode/unicode_native.bundle +0 -0
- data/gems/gems/unicode-0.4.4.4/test/test.rb +0 -69
- data/gems/gems/unicode-0.4.4.4/tools/README +0 -7
- data/gems/gems/unicode-0.4.4.4/tools/mkunidata.rb +0 -293
- data/gems/gems/unicode-0.4.4.4/tools/normtest.rb +0 -111
- data/gems/gems/unicode-0.4.4.4/unicode.gemspec +0 -30
- data/gems/specifications/bibtex-ruby-4.4.4.gemspec +0 -32
- data/gems/specifications/diff-lcs-1.3.gemspec +0 -61
- data/gems/specifications/latex-decode-0.2.2.gemspec +0 -35
- data/gems/specifications/rake-10.5.0.gemspec +0 -43
- data/gems/specifications/rspec-3.6.0.gemspec +0 -42
- data/gems/specifications/rspec-core-3.6.0.gemspec +0 -62
- data/gems/specifications/rspec-expectations-3.6.0.gemspec +0 -50
- data/gems/specifications/rspec-mocks-3.6.0.gemspec +0 -50
- data/gems/specifications/rspec-support-3.6.0.gemspec +0 -41
- data/gems/specifications/thor-0.19.4.gemspec +0 -35
- data/gems/specifications/unicode-0.4.4.4.gemspec +0 -25
@@ -1,144 +0,0 @@
|
|
1
|
-
RSpec::Support.require_rspec_core "formatters/base_text_formatter"
|
2
|
-
|
3
|
-
module RSpec
|
4
|
-
module Core
|
5
|
-
module Formatters
|
6
|
-
# @private
|
7
|
-
# Produces progress output while bisecting.
|
8
|
-
class BisectProgressFormatter < BaseTextFormatter
|
9
|
-
# We've named all events with a `bisect_` prefix to prevent naming collisions.
|
10
|
-
Formatters.register self, :bisect_starting, :bisect_original_run_complete,
|
11
|
-
:bisect_round_started, :bisect_individual_run_complete,
|
12
|
-
:bisect_complete, :bisect_repro_command,
|
13
|
-
:bisect_failed, :bisect_aborted,
|
14
|
-
:bisect_round_ignoring_ids, :bisect_round_detected_multiple_culprits,
|
15
|
-
:bisect_dependency_check_started, :bisect_dependency_check_passed,
|
16
|
-
:bisect_dependency_check_failed
|
17
|
-
|
18
|
-
def bisect_starting(notification)
|
19
|
-
@round_count = 0
|
20
|
-
options = notification.original_cli_args.join(' ')
|
21
|
-
output.puts "Bisect started using options: #{options.inspect}"
|
22
|
-
output.print "Running suite to find failures..."
|
23
|
-
end
|
24
|
-
|
25
|
-
def bisect_original_run_complete(notification)
|
26
|
-
failures = Helpers.pluralize(notification.failed_example_ids.size, "failing example")
|
27
|
-
non_failures = Helpers.pluralize(notification.non_failing_example_ids.size, "non-failing example")
|
28
|
-
|
29
|
-
output.puts " (#{Helpers.format_duration(notification.duration)})"
|
30
|
-
output.puts "Starting bisect with #{failures} and #{non_failures}."
|
31
|
-
end
|
32
|
-
|
33
|
-
def bisect_dependency_check_started(_notification)
|
34
|
-
output.print "Checking that failure(s) are order-dependent.."
|
35
|
-
end
|
36
|
-
|
37
|
-
def bisect_dependency_check_passed(_notification)
|
38
|
-
output.puts " failure appears to be order-dependent"
|
39
|
-
end
|
40
|
-
|
41
|
-
def bisect_dependency_check_failed(_notification)
|
42
|
-
output.puts " failure(s) do not require any non-failures to run first"
|
43
|
-
end
|
44
|
-
|
45
|
-
def bisect_round_started(notification, include_trailing_space=true)
|
46
|
-
@round_count += 1
|
47
|
-
range_desc = notification.candidate_range.description
|
48
|
-
|
49
|
-
output.print "\nRound #{@round_count}: bisecting over non-failing #{range_desc}"
|
50
|
-
output.print " " if include_trailing_space
|
51
|
-
end
|
52
|
-
|
53
|
-
def bisect_round_ignoring_ids(notification)
|
54
|
-
range_desc = notification.ignore_range.description
|
55
|
-
|
56
|
-
output.print " ignoring #{range_desc}"
|
57
|
-
output.print " (#{Helpers.format_duration(notification.duration)})"
|
58
|
-
end
|
59
|
-
|
60
|
-
def bisect_round_detected_multiple_culprits(notification)
|
61
|
-
output.print " multiple culprits detected - splitting candidates"
|
62
|
-
output.print " (#{Helpers.format_duration(notification.duration)})"
|
63
|
-
end
|
64
|
-
|
65
|
-
def bisect_individual_run_complete(_)
|
66
|
-
output.print '.'
|
67
|
-
end
|
68
|
-
|
69
|
-
def bisect_complete(notification)
|
70
|
-
output.puts "\nBisect complete! Reduced necessary non-failing examples " \
|
71
|
-
"from #{notification.original_non_failing_count} to " \
|
72
|
-
"#{notification.remaining_count} in " \
|
73
|
-
"#{Helpers.format_duration(notification.duration)}."
|
74
|
-
end
|
75
|
-
|
76
|
-
def bisect_repro_command(notification)
|
77
|
-
output.puts "\nThe minimal reproduction command is:\n #{notification.repro}"
|
78
|
-
end
|
79
|
-
|
80
|
-
def bisect_failed(notification)
|
81
|
-
output.puts "\nBisect failed! #{notification.failure_explanation}"
|
82
|
-
end
|
83
|
-
|
84
|
-
def bisect_aborted(notification)
|
85
|
-
output.puts "\n\nBisect aborted!"
|
86
|
-
output.puts "\nThe most minimal reproduction command discovered so far is:\n #{notification.repro}"
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
# @private
|
91
|
-
# Produces detailed debug output while bisecting. Used when
|
92
|
-
# bisect is performed while the `DEBUG_RSPEC_BISECT` ENV var is used.
|
93
|
-
# Designed to provide details for us when we need to troubleshoot bisect bugs.
|
94
|
-
class BisectDebugFormatter < BisectProgressFormatter
|
95
|
-
Formatters.register self, :bisect_original_run_complete, :bisect_individual_run_start,
|
96
|
-
:bisect_individual_run_complete, :bisect_round_ignoring_ids
|
97
|
-
|
98
|
-
def bisect_original_run_complete(notification)
|
99
|
-
output.puts " (#{Helpers.format_duration(notification.duration)})"
|
100
|
-
|
101
|
-
output.puts " - #{describe_ids 'Failing examples', notification.failed_example_ids}"
|
102
|
-
output.puts " - #{describe_ids 'Non-failing examples', notification.non_failing_example_ids}"
|
103
|
-
end
|
104
|
-
|
105
|
-
def bisect_individual_run_start(notification)
|
106
|
-
output.print "\n - Running: #{notification.command}"
|
107
|
-
end
|
108
|
-
|
109
|
-
def bisect_individual_run_complete(notification)
|
110
|
-
output.print " (#{Helpers.format_duration(notification.duration)})"
|
111
|
-
end
|
112
|
-
|
113
|
-
def bisect_dependency_check_passed(_notification)
|
114
|
-
output.print "\n - Failure appears to be order-dependent"
|
115
|
-
end
|
116
|
-
|
117
|
-
def bisect_dependency_check_failed(_notification)
|
118
|
-
output.print "\n - Failure is not order-dependent"
|
119
|
-
end
|
120
|
-
|
121
|
-
def bisect_round_started(notification)
|
122
|
-
super(notification, false)
|
123
|
-
end
|
124
|
-
|
125
|
-
def bisect_round_ignoring_ids(notification)
|
126
|
-
output.print "\n - #{describe_ids 'Examples we can safely ignore', notification.ids_to_ignore}"
|
127
|
-
output.print "\n - #{describe_ids 'Remaining non-failing examples', notification.remaining_ids}"
|
128
|
-
end
|
129
|
-
|
130
|
-
def bisect_round_detected_multiple_culprits(_notification)
|
131
|
-
output.print "\n - Multiple culprits detected - splitting candidates"
|
132
|
-
end
|
133
|
-
|
134
|
-
private
|
135
|
-
|
136
|
-
def describe_ids(description, ids)
|
137
|
-
organized_ids = Formatters::Helpers.organize_ids(ids)
|
138
|
-
formatted_ids = organized_ids.map { |id| " - #{id}" }.join("\n")
|
139
|
-
"#{description} (#{ids.size}):\n#{formatted_ids}"
|
140
|
-
end
|
141
|
-
end
|
142
|
-
end
|
143
|
-
end
|
144
|
-
end
|
@@ -1,68 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Core
|
3
|
-
module Formatters
|
4
|
-
# ConsoleCodes provides helpers for formatting console output
|
5
|
-
# with ANSI codes, e.g. color's and bold.
|
6
|
-
module ConsoleCodes
|
7
|
-
# @private
|
8
|
-
VT100_CODES =
|
9
|
-
{
|
10
|
-
:black => 30,
|
11
|
-
:red => 31,
|
12
|
-
:green => 32,
|
13
|
-
:yellow => 33,
|
14
|
-
:blue => 34,
|
15
|
-
:magenta => 35,
|
16
|
-
:cyan => 36,
|
17
|
-
:white => 37,
|
18
|
-
:bold => 1,
|
19
|
-
}
|
20
|
-
# @private
|
21
|
-
VT100_CODE_VALUES = VT100_CODES.invert
|
22
|
-
|
23
|
-
module_function
|
24
|
-
|
25
|
-
# @private
|
26
|
-
def config_colors_to_methods
|
27
|
-
@config_colors_to_methods ||=
|
28
|
-
Configuration.instance_methods.grep(/_color\z/).inject({}) do |hash, method|
|
29
|
-
hash[method.to_s.sub(/_color\z/, '').to_sym] = method
|
30
|
-
hash
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
# Fetches the correct code for the supplied symbol, or checks
|
35
|
-
# that a code is valid. Defaults to white (37).
|
36
|
-
#
|
37
|
-
# @param code_or_symbol [Symbol, Fixnum] Symbol or code to check
|
38
|
-
# @return [Fixnum] a console code
|
39
|
-
def console_code_for(code_or_symbol)
|
40
|
-
if (config_method = config_colors_to_methods[code_or_symbol])
|
41
|
-
console_code_for RSpec.configuration.__send__(config_method)
|
42
|
-
elsif VT100_CODE_VALUES.key?(code_or_symbol)
|
43
|
-
code_or_symbol
|
44
|
-
else
|
45
|
-
VT100_CODES.fetch(code_or_symbol) do
|
46
|
-
console_code_for(:white)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
# Wraps a piece of text in ANSI codes with the supplied code. Will
|
52
|
-
# only apply the control code if `RSpec.configuration.color_enabled?`
|
53
|
-
# returns true.
|
54
|
-
#
|
55
|
-
# @param text [String] the text to wrap
|
56
|
-
# @param code_or_symbol [Symbol, Fixnum] the desired control code
|
57
|
-
# @return [String] the wrapped text
|
58
|
-
def wrap(text, code_or_symbol)
|
59
|
-
if RSpec.configuration.color_enabled?
|
60
|
-
"\e[#{console_code_for(code_or_symbol)}m#{text}\e[0m"
|
61
|
-
else
|
62
|
-
text
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
@@ -1,223 +0,0 @@
|
|
1
|
-
RSpec::Support.require_rspec_core "formatters/helpers"
|
2
|
-
|
3
|
-
module RSpec
|
4
|
-
module Core
|
5
|
-
module Formatters
|
6
|
-
# @private
|
7
|
-
class DeprecationFormatter
|
8
|
-
Formatters.register self, :deprecation, :deprecation_summary
|
9
|
-
|
10
|
-
attr_reader :count, :deprecation_stream, :summary_stream
|
11
|
-
|
12
|
-
def initialize(deprecation_stream, summary_stream)
|
13
|
-
@deprecation_stream = deprecation_stream
|
14
|
-
@summary_stream = summary_stream
|
15
|
-
@seen_deprecations = Set.new
|
16
|
-
@count = 0
|
17
|
-
end
|
18
|
-
alias :output :deprecation_stream
|
19
|
-
|
20
|
-
def printer
|
21
|
-
@printer ||= case deprecation_stream
|
22
|
-
when File
|
23
|
-
ImmediatePrinter.new(FileStream.new(deprecation_stream),
|
24
|
-
summary_stream, self)
|
25
|
-
when RaiseErrorStream
|
26
|
-
ImmediatePrinter.new(deprecation_stream, summary_stream, self)
|
27
|
-
else
|
28
|
-
DelayedPrinter.new(deprecation_stream, summary_stream, self)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
def deprecation(notification)
|
33
|
-
return if @seen_deprecations.include? notification
|
34
|
-
|
35
|
-
@count += 1
|
36
|
-
printer.print_deprecation_message notification
|
37
|
-
@seen_deprecations << notification
|
38
|
-
end
|
39
|
-
|
40
|
-
def deprecation_summary(_notification)
|
41
|
-
printer.deprecation_summary
|
42
|
-
end
|
43
|
-
|
44
|
-
def deprecation_message_for(data)
|
45
|
-
if data.message
|
46
|
-
SpecifiedDeprecationMessage.new(data)
|
47
|
-
else
|
48
|
-
GeneratedDeprecationMessage.new(data)
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
RAISE_ERROR_CONFIG_NOTICE = <<-EOS.gsub(/^\s+\|/, '')
|
53
|
-
|
|
54
|
-
|If you need more of the backtrace for any of these deprecations to
|
55
|
-
|identify where to make the necessary changes, you can configure
|
56
|
-
|`config.raise_errors_for_deprecations!`, and it will turn the
|
57
|
-
|deprecation warnings into errors, giving you the full backtrace.
|
58
|
-
EOS
|
59
|
-
|
60
|
-
DEPRECATION_STREAM_NOTICE = "Pass `--deprecation-out` or set " \
|
61
|
-
"`config.deprecation_stream` to a file for full output."
|
62
|
-
|
63
|
-
SpecifiedDeprecationMessage = Struct.new(:type) do
|
64
|
-
def initialize(data)
|
65
|
-
@message = data.message
|
66
|
-
super deprecation_type_for(data)
|
67
|
-
end
|
68
|
-
|
69
|
-
def to_s
|
70
|
-
output_formatted @message
|
71
|
-
end
|
72
|
-
|
73
|
-
def too_many_warnings_message
|
74
|
-
msg = "Too many similar deprecation messages reported, disregarding further reports. "
|
75
|
-
msg << DEPRECATION_STREAM_NOTICE
|
76
|
-
msg
|
77
|
-
end
|
78
|
-
|
79
|
-
private
|
80
|
-
|
81
|
-
def output_formatted(str)
|
82
|
-
return str unless str.lines.count > 1
|
83
|
-
separator = "#{'-' * 80}"
|
84
|
-
"#{separator}\n#{str.chomp}\n#{separator}"
|
85
|
-
end
|
86
|
-
|
87
|
-
def deprecation_type_for(data)
|
88
|
-
data.message.gsub(/(\w+\/)+\w+\.rb:\d+/, '')
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
GeneratedDeprecationMessage = Struct.new(:type) do
|
93
|
-
def initialize(data)
|
94
|
-
@data = data
|
95
|
-
super data.deprecated
|
96
|
-
end
|
97
|
-
|
98
|
-
def to_s
|
99
|
-
msg = "#{@data.deprecated} is deprecated."
|
100
|
-
msg << " Use #{@data.replacement} instead." if @data.replacement
|
101
|
-
msg << " Called from #{@data.call_site}." if @data.call_site
|
102
|
-
msg
|
103
|
-
end
|
104
|
-
|
105
|
-
def too_many_warnings_message
|
106
|
-
msg = "Too many uses of deprecated '#{type}'. "
|
107
|
-
msg << DEPRECATION_STREAM_NOTICE
|
108
|
-
msg
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
|
-
# @private
|
113
|
-
class ImmediatePrinter
|
114
|
-
attr_reader :deprecation_stream, :summary_stream, :deprecation_formatter
|
115
|
-
|
116
|
-
def initialize(deprecation_stream, summary_stream, deprecation_formatter)
|
117
|
-
@deprecation_stream = deprecation_stream
|
118
|
-
|
119
|
-
@summary_stream = summary_stream
|
120
|
-
@deprecation_formatter = deprecation_formatter
|
121
|
-
end
|
122
|
-
|
123
|
-
def print_deprecation_message(data)
|
124
|
-
deprecation_message = deprecation_formatter.deprecation_message_for(data)
|
125
|
-
deprecation_stream.puts deprecation_message.to_s
|
126
|
-
end
|
127
|
-
|
128
|
-
def deprecation_summary
|
129
|
-
return if deprecation_formatter.count.zero?
|
130
|
-
deprecation_stream.summarize(summary_stream, deprecation_formatter.count)
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
# @private
|
135
|
-
class DelayedPrinter
|
136
|
-
TOO_MANY_USES_LIMIT = 4
|
137
|
-
|
138
|
-
attr_reader :deprecation_stream, :summary_stream, :deprecation_formatter
|
139
|
-
|
140
|
-
def initialize(deprecation_stream, summary_stream, deprecation_formatter)
|
141
|
-
@deprecation_stream = deprecation_stream
|
142
|
-
@summary_stream = summary_stream
|
143
|
-
@deprecation_formatter = deprecation_formatter
|
144
|
-
@seen_deprecations = Hash.new { 0 }
|
145
|
-
@deprecation_messages = Hash.new { |h, k| h[k] = [] }
|
146
|
-
end
|
147
|
-
|
148
|
-
def print_deprecation_message(data)
|
149
|
-
deprecation_message = deprecation_formatter.deprecation_message_for(data)
|
150
|
-
@seen_deprecations[deprecation_message] += 1
|
151
|
-
|
152
|
-
stash_deprecation_message(deprecation_message)
|
153
|
-
end
|
154
|
-
|
155
|
-
def stash_deprecation_message(deprecation_message)
|
156
|
-
if @seen_deprecations[deprecation_message] < TOO_MANY_USES_LIMIT
|
157
|
-
@deprecation_messages[deprecation_message] << deprecation_message.to_s
|
158
|
-
elsif @seen_deprecations[deprecation_message] == TOO_MANY_USES_LIMIT
|
159
|
-
@deprecation_messages[deprecation_message] << deprecation_message.too_many_warnings_message
|
160
|
-
end
|
161
|
-
end
|
162
|
-
|
163
|
-
def deprecation_summary
|
164
|
-
return unless @deprecation_messages.any?
|
165
|
-
|
166
|
-
print_deferred_deprecation_warnings
|
167
|
-
deprecation_stream.puts RAISE_ERROR_CONFIG_NOTICE
|
168
|
-
|
169
|
-
summary_stream.puts "\n#{Helpers.pluralize(deprecation_formatter.count, 'deprecation warning')} total"
|
170
|
-
end
|
171
|
-
|
172
|
-
def print_deferred_deprecation_warnings
|
173
|
-
deprecation_stream.puts "\nDeprecation Warnings:\n\n"
|
174
|
-
@deprecation_messages.keys.sort_by(&:type).each do |deprecation|
|
175
|
-
messages = @deprecation_messages[deprecation]
|
176
|
-
messages.each { |msg| deprecation_stream.puts msg }
|
177
|
-
deprecation_stream.puts
|
178
|
-
end
|
179
|
-
end
|
180
|
-
end
|
181
|
-
|
182
|
-
# @private
|
183
|
-
# Not really a stream, but is usable in place of one.
|
184
|
-
class RaiseErrorStream
|
185
|
-
def puts(message)
|
186
|
-
raise DeprecationError, message
|
187
|
-
end
|
188
|
-
|
189
|
-
def summarize(summary_stream, deprecation_count)
|
190
|
-
summary_stream.puts "\n#{Helpers.pluralize(deprecation_count, 'deprecation')} found."
|
191
|
-
end
|
192
|
-
end
|
193
|
-
|
194
|
-
# @private
|
195
|
-
# Wraps a File object and provides file-specific operations.
|
196
|
-
class FileStream
|
197
|
-
def initialize(file)
|
198
|
-
@file = file
|
199
|
-
|
200
|
-
# In one of my test suites, I got lots of duplicate output in the
|
201
|
-
# deprecation file (e.g. 200 of the same deprecation, even though
|
202
|
-
# the `puts` below was only called 6 times). Setting `sync = true`
|
203
|
-
# fixes this (but we really have no idea why!).
|
204
|
-
@file.sync = true
|
205
|
-
end
|
206
|
-
|
207
|
-
def puts(*args)
|
208
|
-
@file.puts(*args)
|
209
|
-
end
|
210
|
-
|
211
|
-
def summarize(summary_stream, deprecation_count)
|
212
|
-
path = @file.respond_to?(:path) ? @file.path : @file.inspect
|
213
|
-
summary_stream.puts "\n#{Helpers.pluralize(deprecation_count, 'deprecation')} logged to #{path}"
|
214
|
-
puts RAISE_ERROR_CONFIG_NOTICE
|
215
|
-
end
|
216
|
-
end
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
# Deprecation Error.
|
221
|
-
DeprecationError = Class.new(StandardError)
|
222
|
-
end
|
223
|
-
end
|
@@ -1,70 +0,0 @@
|
|
1
|
-
RSpec::Support.require_rspec_core "formatters/base_text_formatter"
|
2
|
-
RSpec::Support.require_rspec_core "formatters/console_codes"
|
3
|
-
|
4
|
-
module RSpec
|
5
|
-
module Core
|
6
|
-
module Formatters
|
7
|
-
# @private
|
8
|
-
class DocumentationFormatter < BaseTextFormatter
|
9
|
-
Formatters.register self, :example_group_started, :example_group_finished,
|
10
|
-
:example_passed, :example_pending, :example_failed
|
11
|
-
|
12
|
-
def initialize(output)
|
13
|
-
super
|
14
|
-
@group_level = 0
|
15
|
-
end
|
16
|
-
|
17
|
-
def example_group_started(notification)
|
18
|
-
output.puts if @group_level == 0
|
19
|
-
output.puts "#{current_indentation}#{notification.group.description.strip}"
|
20
|
-
|
21
|
-
@group_level += 1
|
22
|
-
end
|
23
|
-
|
24
|
-
def example_group_finished(_notification)
|
25
|
-
@group_level -= 1 if @group_level > 0
|
26
|
-
end
|
27
|
-
|
28
|
-
def example_passed(passed)
|
29
|
-
output.puts passed_output(passed.example)
|
30
|
-
end
|
31
|
-
|
32
|
-
def example_pending(pending)
|
33
|
-
output.puts pending_output(pending.example,
|
34
|
-
pending.example.execution_result.pending_message)
|
35
|
-
end
|
36
|
-
|
37
|
-
def example_failed(failure)
|
38
|
-
output.puts failure_output(failure.example)
|
39
|
-
end
|
40
|
-
|
41
|
-
private
|
42
|
-
|
43
|
-
def passed_output(example)
|
44
|
-
ConsoleCodes.wrap("#{current_indentation}#{example.description.strip}", :success)
|
45
|
-
end
|
46
|
-
|
47
|
-
def pending_output(example, message)
|
48
|
-
ConsoleCodes.wrap("#{current_indentation}#{example.description.strip} " \
|
49
|
-
"(PENDING: #{message})",
|
50
|
-
:pending)
|
51
|
-
end
|
52
|
-
|
53
|
-
def failure_output(example)
|
54
|
-
ConsoleCodes.wrap("#{current_indentation}#{example.description.strip} " \
|
55
|
-
"(FAILED - #{next_failure_index})",
|
56
|
-
:failure)
|
57
|
-
end
|
58
|
-
|
59
|
-
def next_failure_index
|
60
|
-
@next_failure_index ||= 0
|
61
|
-
@next_failure_index += 1
|
62
|
-
end
|
63
|
-
|
64
|
-
def current_indentation
|
65
|
-
' ' * @group_level
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|