rubyjobbuilderdsl 0.0.0 → 0.0.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 +4 -4
- data/Gemfile.lock +8 -0
- data/lib/rubyjobbuilderdsl/buildstep/xvfb.rb +46 -0
- data/lib/rubyjobbuilderdsl/freestyle.rb +8 -0
- data/lib/rubyjobbuilderdsl/xml_generator.rb +14 -0
- data/rubyjobbuilderdsl-0.0.0.gem +0 -0
- data/rubyjobbuilderdsl.gemspec +2 -2
- data/sample/local.ini +3 -3
- data/test/test_xvfb.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/bin/nokogiri +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/nokogiri.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/rake +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/rake.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/rubocop +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/rubocop.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/ruby-parse +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/ruby-parse.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/ruby-rewrite +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/ruby-rewrite.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/cache/ast-2.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/astrolabe-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/builder-3.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/mini_portile-0.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/nokogiri-1.6.3.1-x64-mingw32.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/parser-2.2.0.pre.4.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/powerpack-0.0.9.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/rainbow-2.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/rake-0.9.6.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/rubocop-0.26.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/ruby-progressbar-1.5.1.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/slop-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/README.md +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/Rakefile +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/ast.gemspec +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast/node.rb +232 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast/processor.rb +266 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/test/test_ast.rb +243 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/CHANGELOG.md +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Gemfile +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Guardfile +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/README.md +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Rakefile +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/astrolabe.gemspec +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/benchmark/benchmark_helper.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/benchmark/performance_spec.rb +346 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/builder.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/node.rb +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/sexp.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/version.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/astrolabe/node_spec.rb +479 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/astrolabe/sexp_spec.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/spec_helper.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/support/shared_contexts.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/CHANGES +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/README.md +258 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/Rakefile +195 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/blankslate.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/blankslate.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/version.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xchar.rb +197 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +199 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +339 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/publish.rake +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/tags.rake +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/performance.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/preload.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_blankslate.rb +217 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_eventbuilder.rb +150 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_markupbuilder.rb +611 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_method_caching.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_namecollision.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_xchar.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/History.txt +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/README.rdoc +169 -0
- data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/Rakefile +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/examples/Rakefile +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/lib/mini_portile.rb +437 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/CHANGELOG.ja.rdoc +913 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/CHANGELOG.rdoc +922 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/C_CODING_STYLE.rdoc +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Gemfile +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Manifest.txt +377 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/README.ja.rdoc +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/README.rdoc +180 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ROADMAP.md +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Rakefile +356 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/STANDARD_RESPONSES.md +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Y_U_NO_GEMSPEC.md +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/bin/nokogiri +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/build_all +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/dependencies.yml +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/depend +358 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/extconf.rb +548 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_document.c +170 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_document.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/nokogiri.c +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/nokogiri.h +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attr.c +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_cdata.c +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_comment.c +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document.c +600 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document.h +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_io.c +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_io.h +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_namespace.c +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_namespace.h +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node.c +1603 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node.h +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node_set.c +467 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node_set.h +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_reader.c +681 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser.c +312 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_push_parser.c +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_syntax_error.c +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_text.c +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_text.h +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_xpath_context.c +307 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/2.0/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/2.1/nokogiri.so +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/node.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/parser.rb +715 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/parser.y +249 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/tokenizer.rb +152 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/xpath_visitor.rb +219 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/decorators/slop.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/document.rb +333 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/document_fragment.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/sax/parser.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/sax/push_parser.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/version.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/builder.rb +443 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/document.rb +279 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/document_fragment.rb +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/node.rb +992 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/node_set.rb +355 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/parse_options.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xslt.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/README.txt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/tasks/nokogiri.org.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/tasks/test.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_nthiness.rb +222 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_parser.rb +358 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_tokenizer.rb +198 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_xpath_visitor.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/decorators/test_slop.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/2ch.html +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/address_book.rlx +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/address_book.xml +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/atom.xml +344 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/bar/bar.xsd +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/bogus.xml +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/dont_hurt_em_why.xml +422 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/encoding.html +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/encoding.xhtml +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/exslt.xml +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/exslt.xslt +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/foo/foo.xsd +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/metacharset.html +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/noencoding.html +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/po.xml +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/po.xsd +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/saml20assertion_schema.xsd +283 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/xenc_schema.xsd +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/xmldsig_schema.xsd +318 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/shift_jis.html +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/shift_jis.xml +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/shift_jis_no_charset.html +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/slow-xpath.xml +25509 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/snuggles.xml +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/staff.dtd +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/staff.xml +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/staff.xslt +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/test_document_url/bar.xml +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/test_document_url/document.dtd +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/test_document_url/document.xml +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/tlm.html +850 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/to_be_xincluded.xml +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/valid_bar.xml +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/xinclude.xml +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/helper.rb +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/sax/test_parser.rb +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/sax/test_parser_context.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_builder.rb +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_document.rb +619 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_document_encoding.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_document_fragment.rb +267 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_element_description.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_named_characters.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_node.rb +196 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_node_encoding.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_aliased_default.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_preservation.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_convert_xpath.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_css_cache.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_encoding_handler.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_memory_leak.rb +156 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_nokogiri.rb +138 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_reader.rb +558 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_soap4r_sax.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_xslt_transforms.rb +279 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/node/test_save_options.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/node/test_subclass.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/sax/test_parser.rb +382 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/sax/test_parser_context.rb +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/sax/test_push_parser.rb +157 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_attr.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_attribute_decl.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_builder.rb +315 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_c14n.rb +161 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_cdata.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_comment.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_document.rb +940 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_document_encoding.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_document_fragment.rb +228 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_dtd.rb +187 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_dtd_encoding.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_element_content.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_element_decl.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_entity_decl.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_entity_reference.rb +245 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_namespace.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node.rb +1197 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_attributes.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_encoding.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_inheritance.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_reparenting.rb +374 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_set.rb +755 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_parse_options.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_processing_instruction.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_reader_encoding.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_relax_ng.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_schema.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_syntax_error.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_text.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_unparented_node.rb +427 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_xinclude.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_xpath.rb +382 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xslt/test_custom_functions.rb +133 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xslt/test_exception_handling.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test_all +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/CHANGELOG.md +496 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/CONTRIBUTING.md +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/Gemfile +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/README.md +272 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/Rakefile +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/bin/ruby-parse +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/bin/ruby-rewrite +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/AST_FORMAT.md +1546 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/gauntlet_parser.rb +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/all.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ast/node.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ast/processor.rb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/base.rb +269 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/builders/default.rb +1383 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/clobbering_error.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/compatibility/ruby1_8.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/compatibility/ruby1_9.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/current.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/diagnostic/engine.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/diagnostic.rb +104 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer/explanation.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer/literal.rb +235 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer/stack_state.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer.rb +20895 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer.rl +2163 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/messages.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/meta.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/rewriter.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby18.rb +6344 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby18.y +1917 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby19.rb +6827 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby19.y +2148 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby20.rb +7332 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby20.y +2324 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby21.rb +7385 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby21.y +2319 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby22.rb +7393 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby22.y +2327 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/runner/ruby_parse.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/runner/ruby_rewrite.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/runner.rb +215 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/buffer.rb +245 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/comment/associator.rb +157 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/comment.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/collection.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/condition.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/constant.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/definition.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/for.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/heredoc.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/keyword.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/operator.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/rescue_body.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/send.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/ternary.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/variable.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/range.rb +187 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/rewriter/action.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/rewriter.rb +221 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/static_environment.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/syntax_error.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/parser.gemspec +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/helper.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/parse_helper.rb +241 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/racc_coverage_helper.rb +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_base.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_current.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_diagnostic.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_diagnostic_engine.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_encoding.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_lexer.rb +3064 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_lexer_stack_state.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_parser.rb +4872 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_buffer.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_comment.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_comment_associator.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_range.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_rewriter.rb +183 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_rewriter_action.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_static_environment.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/CHANGELOG.md +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/Gemfile +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/README.md +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/Rakefile +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/array/butfirst.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/array/butlast.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/array.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/average.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/drop_last.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/drop_last_while.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/exactly.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/frequencies.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/several.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/sum.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/take_last.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/take_last_while.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/hash/symbolize_keys.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/hash.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric/neg.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric/pos.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric/scale.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/ascii_only.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/blank.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/format.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/remove.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/squish.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/strip_indent.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/strip_margin.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/powerpack.gemspec +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/array/butfirst_spec.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/array/butlast_spec.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/average_spec.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/drop_last_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/drop_last_while_spec.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/exactly_spec.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/frequencies_spec.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/several_spec.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/sum_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/take_last_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/take_last_while_spec.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/hash/symbolize_keys_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/numeric/neg_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/numeric/pos_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/numeric/scale_spec.rb +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/ascii_only_spec.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/blank_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/format_spec.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/remove_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/squish_spec.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/strip_indent_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/strip_margin_spec.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/spec_helper.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Changelog.md +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Gemfile +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/README.markdown +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Rakefile +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/color.rb +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/ext/string.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/global.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/legacy.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/null_presenter.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/presenter.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/string_utils.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/rainbow.gemspec +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/integration/instance_spec.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/integration/rainbow_spec.rb +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/integration/string_spec.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/spec_helper.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/color_spec.rb +244 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/namespace_spec.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/null_presenter_spec.rb +93 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/presenter_spec.rb +168 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/string_utils_spec.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/wrapper_spec.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/CHANGES +526 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/README.rdoc +187 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/Rakefile +374 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/TODO +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/bin/rake +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/command_line_usage.rdoc +169 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/glossary.rdoc +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/rake.1.gz +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/rakefile.rdoc +557 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.4.rdoc +110 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.5.rdoc +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.6.rdoc +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/install.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/alt_system.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/application.rb +702 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/backtrace.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/classic_namespace.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/clean.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/ftptools.rb +151 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/sys.rb +192 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/dsl_definition.rb +182 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/core.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/module.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/string.rb +168 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/time.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_list.rb +410 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_task.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_utils.rb +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_utils_ext.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/gempackagetask.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/invocation_chain.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/packagetask.rb +185 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/pseudo_status.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rake_module.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rdoctask.rb +234 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/runtest.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task.rb +350 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task_arguments.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/testtask.rb +198 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/thread_pool.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/trace_output.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/version.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/win32.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/helper.rb +562 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_private_reader.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_application.rb +531 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_application_options.rb +460 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_backtrace.rb +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_clean.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_definitions.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_directory_task.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_dsl.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_list.rb +628 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_task.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_utils.rb +305 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_ftp_file.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_functional.rb +496 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_multi_task.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_path_map.rb +157 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_rdoc_task.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_reduce_compat.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_rules.rb +327 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task.rb +316 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_arguments.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_manager.rb +157 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_manager_argument_resolution.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_with_arguments.rb +181 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_test_task.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_thread_pool.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_top_level_functions.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_sys.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_thread_history_display.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_trace_output.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/CHANGELOG.md +1095 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/CONTRIBUTING.md +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/Gemfile +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/README.md +807 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/Rakefile +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/assets/output.html.erb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/bin/rubocop +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/config/default.yml +581 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/config/disabled.yml +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/config/enabled.yml +952 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cli.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/comment_config.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/config.rb +160 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/config_loader.rb +152 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/config_store.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/commissioner.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/cop.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/corrector.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/force.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/ambiguous_operator.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/assignment_in_condition.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/block_alignment.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/condition_position.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/debugger.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/def_end_alignment.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/else_layout.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/empty_ensure.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/empty_interpolation.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/end_alignment.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/end_in_method.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/ensure_return.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/eval.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/handle_exceptions.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/invalid_character_literal.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/literal_in_condition.rb +138 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/loop.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/require_parentheses.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/rescue_exception.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/space_before_first_arg.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/syntax.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/unreachable_code.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/unused_block_argument.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/unused_method_argument.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_access_modifier.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_assignment.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_comparison.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_setter_call.rb +157 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/void.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/block_nesting.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/class_length.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/line_length.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/method_length.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/parameter_lists.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/access_modifier_node.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/array_syntax.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/autocorrect_unless_changing_ast.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/check_assignment.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/code_length.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/configurable_max.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/configurable_naming.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/if_node.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/method_complexity.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/negative_conditional.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/on_method.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/percent_literal.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/safe_assignment.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/space_inside.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/statement_modifier.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/string_help.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/surrounding_space.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/unused_argument.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/offense.rb +132 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/action_filter.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/default_scope.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/delegate.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/output.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/read_write_attribute.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/scope_args.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/validation.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/severity.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/access_modifier_indentation.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/accessor_method_name.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/alias.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/align_array.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/align_hash.rb +265 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/align_parameters.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/and_or.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/array_join.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/ascii_comments.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/ascii_identifiers.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/attr.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/bare_percent_literals.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/begin_block.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/block_comments.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/block_end_newline.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/blocks.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/case_equality.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/case_indentation.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/character_literal.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_and_module_children.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_check.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_methods.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_vars.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/collection_methods.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/colon_method_call.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/comment_annotation.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/comment_indentation.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/constant_name.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/def_with_parentheses.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/deprecated_hash_methods.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/documentation.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/dot_position.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/double_negation.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/each_with_object.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_line_between_defs.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_lines.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_lines_around_body.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_literal.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/encoding.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/end_block.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/end_of_line.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/even_odd.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/file_name.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/flip_flop.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/for.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/format_string.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/global_vars.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/guard_clause.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/hash_syntax.rb +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/if_unless_modifier.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/if_with_semicolon.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indent_array.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indent_hash.rb +160 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indentation_consistency.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indentation_width.rb +217 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/infinite_loop.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/inline_comment.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/lambda.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/lambda_call.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/leading_comment_space.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/line_end_concatenation.rb +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_call_parentheses.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_def_parentheses.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_name.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/module_function.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_block_chain.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_block_layout.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_if_then.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/negated_if.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/negated_while.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/nested_ternary_operator.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/next.rb +97 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/nil_comparison.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/non_nil_check.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/not.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/numeric_literals.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/one_line_conditional.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/op_method.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/parentheses_around_condition.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +151 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/percent_q_literals.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/perl_backrefs.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/predicate_name.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/proc.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/raise_args.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_begin.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_exception.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_return.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_self.rb +144 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/regexp_literal.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/rescue_modifier.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/self_assignment.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/semicolon.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/signal_exception.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/single_line_block_params.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/single_line_methods.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/single_space_before_first_arg.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_colon.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_comma.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_control_keyword.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_method_name.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_semicolon.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_around_operators.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_block_braces.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_comma.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_comment.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_modifier_keyword.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_semicolon.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_block_braces.rb +156 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_brackets.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_parens.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_range_literal.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/special_global_vars.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/string_literals.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/symbol_array.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/symbol_proc.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/tab.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trailing_blank_lines.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trailing_comma.rb +153 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trailing_whitespace.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trivial_accessors.rb +144 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unless_else.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unneeded_capital_w.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unneeded_percent_q.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unneeded_percent_x.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/variable_interpolation.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/variable_name.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/when_then.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/while_until_do.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/while_until_modifier.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/word_array.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/team.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/util.rb +188 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/assignment.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/locatable.rb +183 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/reference.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/scope.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/variable.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/variable_table.rb +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force.rb +419 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/base_formatter.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/clang_style_formatter.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/colorizable.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/disabled_config_formatter.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/disabled_lines_formatter.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/emacs_style_formatter.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/file_list_formatter.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/formatter_set.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/fuubar_style_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/html_formatter.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/json_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/offense_count_formatter.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/progress_formatter.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/simple_text_formatter.rb +117 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/options.rb +203 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/path_util.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/processed_source.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/rake_task.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/runner.rb +156 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/string_util.rb +153 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/target_finder.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/token.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop.rb +284 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.19.0.md +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.19.1.md +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.20.0.md +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.20.1.md +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.21.0.md +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.22.0.md +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.23.0.md +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.24.0.md +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.24.1.md +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.25.0.md +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.26.0.md +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/rubocop.gemspec +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/isolated_environment_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/project_spec.rb +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cli_spec.rb +2246 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/comment_config_spec.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/config_loader_spec.rb +356 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/config_spec.rb +235 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/config_store_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/commissioner_spec.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/cop_spec.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/corrector_spec.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/force_spec.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/ambiguous_operator_spec.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/ambiguous_regexp_literal_spec.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/assignment_in_condition_spec.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/block_alignment_spec.rb +534 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/condition_position_spec.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/debugger_spec.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/def_end_alignment_spec.rb +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/deprecated_class_methods_spec.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/else_layout_spec.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/empty_ensure_spec.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/empty_interpolation_spec.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/end_alignment_spec.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/end_in_method_spec.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/ensure_return_spec.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/eval_spec.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/handle_exceptions_spec.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/invalid_character_literal_spec.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/literal_in_condition_spec.rb +154 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/literal_in_interpolation_spec.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/loop_spec.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/parentheses_as_grouped_expression_spec.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/require_parentheses_spec.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/rescue_exception_spec.rb +159 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/shadowing_outer_local_variable_spec.rb +237 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/space_before_first_arg_spec.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/string_conversion_in_interpolation_spec.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/syntax_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/underscore_prefixed_variable_name_spec.rb +179 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/unreachable_code_spec.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/unused_block_argument_spec.rb +231 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/unused_method_argument_spec.rb +278 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_access_modifier_spec.rb +192 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_assignment_spec.rb +1785 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_comparison_spec.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_else_without_rescue_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_setter_call_spec.rb +199 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/void_spec.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/block_nesting_spec.rb +156 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/class_length_spec.rb +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/cyclomatic_complexity_spec.rb +204 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/if_unless_modifier_spec.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/line_length_spec.rb +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/method_length_spec.rb +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/parameter_lists_spec.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/perceived_complexity_spec.rb +222 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/while_until_modifier_spec.rb +93 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/offense_spec.rb +133 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/action_filter_spec.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/default_scope_spec.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/delegate_spec.rb +169 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/has_and_belongs_to_many_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/output_spec.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/read_write_attribute_spec.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/scope_args_spec.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/validation_spec.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/severity_spec.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/access_modifier_indentation_spec.rb +399 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/accessor_method_name_spec.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/alias_spec.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/align_array_spec.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/align_hash_spec.rb +398 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/align_parameters_spec.rb +420 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/and_or_spec.rb +250 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/array_join_spec.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/ascii_comments_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/ascii_identifiers_spec.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/attr_spec.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/bare_percent_literals_spec.rb +132 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/begin_block_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/block_comments_spec.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/block_end_newline_spec.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/blocks_spec.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/braces_around_hash_parameters_spec.rb +302 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/case_equality_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/case_indentation_spec.rb +292 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/character_literal_spec.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_and_module_camel_case_spec.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_and_module_children_spec.rb +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_check_spec.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_methods_spec.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_vars_spec.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/collection_methods_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/colon_method_call_spec.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/comment_annotation_spec.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/comment_indentation_spec.rb +174 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/constant_name_spec.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/def_with_parentheses_spec.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/deprecated_hash_methods_spec.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/documentation_spec.rb +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/dot_position_spec.rb +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/double_negation_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/each_with_object_spec.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_line_between_defs_spec.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_lines_around_access_modifier_spec.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_lines_around_body_spec.rb +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_lines_spec.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_literal_spec.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/encoding_spec.rb +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/end_block_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/end_of_line_spec.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/even_odd_spec.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/file_name_spec.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/flip_flop_spec.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/for_spec.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/format_string_spec.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/global_vars_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/guard_clause_spec.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/hash_syntax_spec.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/if_with_semicolon_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indent_array_spec.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indent_hash_spec.rb +366 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indentation_consistency_spec.rb +510 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indentation_width_spec.rb +843 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/infinite_loop_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/inline_comment_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/lambda_call_spec.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/lambda_spec.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/leading_comment_space_spec.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/line_end_concatenation_spec.rb +136 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_call_parentheses_spec.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_called_on_do_end_block_spec.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_def_parentheses_spec.rb +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_name_spec.rb +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/module_function_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_block_chain_spec.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_block_layout_spec.rb +138 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_if_then_spec.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_ternary_operator_spec.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/negated_if_spec.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/negated_while_spec.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/nested_ternary_operator_spec.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/next_spec.rb +285 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/nil_comparison_spec.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/non_nil_check_spec.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/not_spec.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/numeric_literals_spec.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/one_line_conditional_spec.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/op_method_spec.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/parentheses_around_condition_spec.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/percent_literal_delimiters_spec.rb +316 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/percent_q_literals_spec.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/perl_backrefs_spec.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/predicate_name_spec.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/proc_spec.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/raise_args_spec.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_begin_spec.rb +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_exception_spec.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_return_spec.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_self_spec.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/regexp_literal_spec.rb +188 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/rescue_modifier_spec.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/self_assignment_spec.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/semicolon_spec.rb +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/signal_exception_spec.rb +290 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/single_line_block_params_spec.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/single_line_methods_spec.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/single_space_before_first_arg_spec.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_colon_spec.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_comma_spec.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_control_keyword_spec.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_method_name_spec.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_not_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_semicolon_spec.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_around_equals_in_parameter_default_spec.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_around_operators_spec.rb +327 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_block_braces_spec.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_comma_spec.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_comment_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_modifier_keyword_spec.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_semicolon_spec.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_block_braces_spec.rb +307 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_brackets_spec.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_hash_literal_braces_spec.rb +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_parens_spec.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_range_literal_spec.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/special_global_vars_spec.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/string_literals_spec.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/symbol_array_spec.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/symbol_proc_spec.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/tab_spec.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trailing_blank_lines_spec.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trailing_comma_spec.rb +390 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trailing_whitespace_spec.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trivial_accessors_spec.rb +542 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unless_else_spec.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unneeded_capital_w_spec.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unneeded_percent_q_spec.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unneeded_percent_x_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/variable_interpolation_spec.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/variable_name_spec.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/when_then_spec.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/while_until_do_spec.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/word_array_spec.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/team_spec.rb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/util_spec.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/assignment_spec.rb +200 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/locatable_spec.rb +699 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/scope_spec.rb +319 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/variable_spec.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/variable_table_spec.rb +269 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force_spec.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/base_formatter_spec.rb +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/clang_style_formatter_spec.rb +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/colorizable_spec.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/disabled_config_formatter_spec.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/disabled_lines_formatter_spec.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/emacs_style_formatter_spec.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/file_list_formatter_spec.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/formatter_set_spec.rb +132 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/fuubar_style_formatter_spec.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/html_formatter_spec.rb +145 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/json_formatter_spec.rb +152 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/offense_count_formatter_spec.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/progress_formatter_spec.rb +182 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/simple_text_formatter_spec.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/options_spec.rb +173 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/path_util_spec.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/processed_source_spec.rb +184 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/runner_spec.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/string_util_spec.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/target_finder_spec.rb +211 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/token_spec.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/spec_helper.rb +154 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/file_helper.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/isolated_environment.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/mri_syntax_checker.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/offenses_matcher.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/shared_context.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/shared_examples.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/statement_modifier_helper.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/LICENSE +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/README.md +440 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/base.rb +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/bar.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/elapsed_timer.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/estimated_timer.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/progressable.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/rate.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/throttle.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/timer.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/format/base.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/format/molecule.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/format.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/formatter.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/length_calculator.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/running_average_calculator.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/time.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/fixtures/benchmark.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/base_spec.rb +852 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/bar_spec.rb +210 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/elapsed_timer_spec.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/estimated_timer_spec.rb +241 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/progressable_spec.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/throttle_spec.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/format/molecule_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/running_average_calculator_spec.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/time_spec.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/support/time.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/CHANGES.md +309 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/README.md +202 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/Rakefile +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/lib/slop/commands.rb +196 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/lib/slop/option.rb +214 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/lib/slop.rb +687 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/slop.gemspec +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/commands_test.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/helper.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/option_test.rb +145 -0
- data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/slop_test.rb +518 -0
- data/vendor/bundle/ruby/2.1.0/specifications/ast-2.0.0.gemspec +56 -0
- data/vendor/bundle/ruby/2.1.0/specifications/astrolabe-1.3.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.1.0/specifications/builder-3.2.2.gemspec +23 -0
- data/vendor/bundle/ruby/2.1.0/specifications/mini_portile-0.6.0.gemspec +24 -0
- data/vendor/bundle/ruby/2.1.0/specifications/nokogiri-1.6.3.1-x64-mingw32.gemspec +73 -0
- data/vendor/bundle/ruby/2.1.0/specifications/parser-2.2.0.pre.4.gemspec +79 -0
- data/vendor/bundle/ruby/2.1.0/specifications/powerpack-0.0.9.gemspec +41 -0
- data/vendor/bundle/ruby/2.1.0/specifications/rainbow-2.0.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.1.0/specifications/rake-0.9.6.gemspec +37 -0
- data/vendor/bundle/ruby/2.1.0/specifications/rubocop-0.26.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.1.0/specifications/ruby-progressbar-1.5.1.gemspec +47 -0
- data/vendor/bundle/ruby/2.1.0/specifications/slop-3.6.0.gemspec +36 -0
- metadata +1253 -2
|
@@ -0,0 +1,2324 @@
|
|
|
1
|
+
class Parser::Ruby20
|
|
2
|
+
|
|
3
|
+
token kCLASS kMODULE kDEF kUNDEF kBEGIN kRESCUE kENSURE kEND kIF kUNLESS
|
|
4
|
+
kTHEN kELSIF kELSE kCASE kWHEN kWHILE kUNTIL kFOR kBREAK kNEXT
|
|
5
|
+
kREDO kRETRY kIN kDO kDO_COND kDO_BLOCK kDO_LAMBDA kRETURN kYIELD kSUPER
|
|
6
|
+
kSELF kNIL kTRUE kFALSE kAND kOR kNOT kIF_MOD kUNLESS_MOD kWHILE_MOD
|
|
7
|
+
kUNTIL_MOD kRESCUE_MOD kALIAS kDEFINED klBEGIN klEND k__LINE__
|
|
8
|
+
k__FILE__ k__ENCODING__ tIDENTIFIER tFID tGVAR tIVAR tCONSTANT
|
|
9
|
+
tLABEL tCVAR tNTH_REF tBACK_REF tSTRING_CONTENT tINTEGER tFLOAT
|
|
10
|
+
tREGEXP_END tUPLUS tUMINUS tUMINUS_NUM tPOW tCMP tEQ tEQQ tNEQ
|
|
11
|
+
tGEQ tLEQ tANDOP tOROP tMATCH tNMATCH tDOT tDOT2 tDOT3 tAREF
|
|
12
|
+
tASET tLSHFT tRSHFT tCOLON2 tCOLON3 tOP_ASGN tASSOC tLPAREN
|
|
13
|
+
tLPAREN2 tRPAREN tLPAREN_ARG tLBRACK tLBRACK2 tRBRACK tLBRACE
|
|
14
|
+
tLBRACE_ARG tSTAR tSTAR2 tAMPER tAMPER2 tTILDE tPERCENT tDIVIDE
|
|
15
|
+
tDSTAR tPLUS tMINUS tLT tGT tPIPE tBANG tCARET tLCURLY tRCURLY
|
|
16
|
+
tBACK_REF2 tSYMBEG tSTRING_BEG tXSTRING_BEG tREGEXP_BEG tREGEXP_OPT
|
|
17
|
+
tWORDS_BEG tQWORDS_BEG tSYMBOLS_BEG tQSYMBOLS_BEG tSTRING_DBEG
|
|
18
|
+
tSTRING_DVAR tSTRING_END tSTRING_DEND tSTRING tSYMBOL
|
|
19
|
+
tNL tEH tCOLON tCOMMA tSPACE tSEMI tLAMBDA tLAMBEG tCHARACTER
|
|
20
|
+
|
|
21
|
+
prechigh
|
|
22
|
+
right tBANG tTILDE tUPLUS
|
|
23
|
+
right tPOW
|
|
24
|
+
right tUMINUS_NUM tUMINUS
|
|
25
|
+
left tSTAR2 tDIVIDE tPERCENT
|
|
26
|
+
left tPLUS tMINUS
|
|
27
|
+
left tLSHFT tRSHFT
|
|
28
|
+
left tAMPER2
|
|
29
|
+
left tPIPE tCARET
|
|
30
|
+
left tGT tGEQ tLT tLEQ
|
|
31
|
+
nonassoc tCMP tEQ tEQQ tNEQ tMATCH tNMATCH
|
|
32
|
+
left tANDOP
|
|
33
|
+
left tOROP
|
|
34
|
+
nonassoc tDOT2 tDOT3
|
|
35
|
+
right tEH tCOLON
|
|
36
|
+
left kRESCUE_MOD
|
|
37
|
+
right tEQL tOP_ASGN
|
|
38
|
+
nonassoc kDEFINED
|
|
39
|
+
right kNOT
|
|
40
|
+
left kOR kAND
|
|
41
|
+
nonassoc kIF_MOD kUNLESS_MOD kWHILE_MOD kUNTIL_MOD
|
|
42
|
+
nonassoc tLBRACE_ARG
|
|
43
|
+
nonassoc tLOWEST
|
|
44
|
+
preclow
|
|
45
|
+
|
|
46
|
+
rule
|
|
47
|
+
|
|
48
|
+
program: top_compstmt
|
|
49
|
+
|
|
50
|
+
top_compstmt: top_stmts opt_terms
|
|
51
|
+
{
|
|
52
|
+
result = @builder.compstmt(val[0])
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
top_stmts: # nothing
|
|
56
|
+
{
|
|
57
|
+
result = []
|
|
58
|
+
}
|
|
59
|
+
| top_stmt
|
|
60
|
+
{
|
|
61
|
+
result = [ val[0] ]
|
|
62
|
+
}
|
|
63
|
+
| top_stmts terms top_stmt
|
|
64
|
+
{
|
|
65
|
+
result = val[0] << val[2]
|
|
66
|
+
}
|
|
67
|
+
| error top_stmt
|
|
68
|
+
{
|
|
69
|
+
result = [ val[1] ]
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
top_stmt: stmt
|
|
73
|
+
| klBEGIN tLCURLY top_compstmt tRCURLY
|
|
74
|
+
{
|
|
75
|
+
result = @builder.preexe(val[0], val[1], val[2], val[3])
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
bodystmt: compstmt opt_rescue opt_else opt_ensure
|
|
79
|
+
{
|
|
80
|
+
rescue_bodies = val[1]
|
|
81
|
+
else_t, else_ = val[2]
|
|
82
|
+
ensure_t, ensure_ = val[3]
|
|
83
|
+
|
|
84
|
+
if rescue_bodies.empty? && !else_.nil?
|
|
85
|
+
diagnostic :warning, :useless_else, nil, else_t
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
result = @builder.begin_body(val[0],
|
|
89
|
+
rescue_bodies,
|
|
90
|
+
else_t, else_,
|
|
91
|
+
ensure_t, ensure_)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
compstmt: stmts opt_terms
|
|
95
|
+
{
|
|
96
|
+
result = @builder.compstmt(val[0])
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
stmts: # nothing
|
|
100
|
+
{
|
|
101
|
+
result = []
|
|
102
|
+
}
|
|
103
|
+
| stmt_or_begin
|
|
104
|
+
{
|
|
105
|
+
result = [ val[0] ]
|
|
106
|
+
}
|
|
107
|
+
| stmts terms stmt_or_begin
|
|
108
|
+
{
|
|
109
|
+
result = val[0] << val[2]
|
|
110
|
+
}
|
|
111
|
+
| error stmt
|
|
112
|
+
{
|
|
113
|
+
result = [ val[1] ]
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
stmt_or_begin: stmt
|
|
117
|
+
| klBEGIN tLCURLY top_compstmt tRCURLY
|
|
118
|
+
{
|
|
119
|
+
if in_def?
|
|
120
|
+
diagnostic :error, :begin_in_method, nil, val[0]
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
result = @builder.preexe(val[0], val[1], val[2], val[3])
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
stmt: kALIAS fitem
|
|
127
|
+
{
|
|
128
|
+
@lexer.state = :expr_fname
|
|
129
|
+
}
|
|
130
|
+
fitem
|
|
131
|
+
{
|
|
132
|
+
result = @builder.alias(val[0], val[1], val[3])
|
|
133
|
+
}
|
|
134
|
+
| kALIAS tGVAR tGVAR
|
|
135
|
+
{
|
|
136
|
+
result = @builder.alias(val[0],
|
|
137
|
+
@builder.gvar(val[1]),
|
|
138
|
+
@builder.gvar(val[2]))
|
|
139
|
+
}
|
|
140
|
+
| kALIAS tGVAR tBACK_REF
|
|
141
|
+
{
|
|
142
|
+
result = @builder.alias(val[0],
|
|
143
|
+
@builder.gvar(val[1]),
|
|
144
|
+
@builder.back_ref(val[2]))
|
|
145
|
+
}
|
|
146
|
+
| kALIAS tGVAR tNTH_REF
|
|
147
|
+
{
|
|
148
|
+
diagnostic :error, :nth_ref_alias, nil, val[2]
|
|
149
|
+
}
|
|
150
|
+
| kUNDEF undef_list
|
|
151
|
+
{
|
|
152
|
+
result = @builder.undef_method(val[0], val[1])
|
|
153
|
+
}
|
|
154
|
+
| stmt kIF_MOD expr_value
|
|
155
|
+
{
|
|
156
|
+
result = @builder.condition_mod(val[0], nil,
|
|
157
|
+
val[1], val[2])
|
|
158
|
+
}
|
|
159
|
+
| stmt kUNLESS_MOD expr_value
|
|
160
|
+
{
|
|
161
|
+
result = @builder.condition_mod(nil, val[0],
|
|
162
|
+
val[1], val[2])
|
|
163
|
+
}
|
|
164
|
+
| stmt kWHILE_MOD expr_value
|
|
165
|
+
{
|
|
166
|
+
result = @builder.loop_mod(:while, val[0], val[1], val[2])
|
|
167
|
+
}
|
|
168
|
+
| stmt kUNTIL_MOD expr_value
|
|
169
|
+
{
|
|
170
|
+
result = @builder.loop_mod(:until, val[0], val[1], val[2])
|
|
171
|
+
}
|
|
172
|
+
| stmt kRESCUE_MOD stmt
|
|
173
|
+
{
|
|
174
|
+
rescue_body = @builder.rescue_body(val[1],
|
|
175
|
+
nil, nil, nil,
|
|
176
|
+
nil, val[2])
|
|
177
|
+
|
|
178
|
+
result = @builder.begin_body(val[0], [ rescue_body ])
|
|
179
|
+
}
|
|
180
|
+
| klEND tLCURLY compstmt tRCURLY
|
|
181
|
+
{
|
|
182
|
+
result = @builder.postexe(val[0], val[1], val[2], val[3])
|
|
183
|
+
}
|
|
184
|
+
| command_asgn
|
|
185
|
+
| mlhs tEQL command_call
|
|
186
|
+
{
|
|
187
|
+
result = @builder.multi_assign(val[0], val[1], val[2])
|
|
188
|
+
}
|
|
189
|
+
| var_lhs tOP_ASGN command_call
|
|
190
|
+
{
|
|
191
|
+
result = @builder.op_assign(val[0], val[1], val[2])
|
|
192
|
+
}
|
|
193
|
+
| primary_value tLBRACK2 opt_call_args rbracket tOP_ASGN command_call
|
|
194
|
+
{
|
|
195
|
+
result = @builder.op_assign(
|
|
196
|
+
@builder.index(
|
|
197
|
+
val[0], val[1], val[2], val[3]),
|
|
198
|
+
val[4], val[5])
|
|
199
|
+
}
|
|
200
|
+
| primary_value tDOT tIDENTIFIER tOP_ASGN command_call
|
|
201
|
+
{
|
|
202
|
+
result = @builder.op_assign(
|
|
203
|
+
@builder.call_method(
|
|
204
|
+
val[0], val[1], val[2]),
|
|
205
|
+
val[3], val[4])
|
|
206
|
+
}
|
|
207
|
+
| primary_value tDOT tCONSTANT tOP_ASGN command_call
|
|
208
|
+
{
|
|
209
|
+
result = @builder.op_assign(
|
|
210
|
+
@builder.call_method(
|
|
211
|
+
val[0], val[1], val[2]),
|
|
212
|
+
val[3], val[4])
|
|
213
|
+
}
|
|
214
|
+
| primary_value tCOLON2 tCONSTANT tOP_ASGN command_call
|
|
215
|
+
{
|
|
216
|
+
result = @builder.op_assign(
|
|
217
|
+
@builder.call_method(
|
|
218
|
+
val[0], val[1], val[2]),
|
|
219
|
+
val[3], val[4])
|
|
220
|
+
}
|
|
221
|
+
| primary_value tCOLON2 tIDENTIFIER tOP_ASGN command_call
|
|
222
|
+
{
|
|
223
|
+
result = @builder.op_assign(
|
|
224
|
+
@builder.call_method(
|
|
225
|
+
val[0], val[1], val[2]),
|
|
226
|
+
val[3], val[4])
|
|
227
|
+
}
|
|
228
|
+
| backref tOP_ASGN command_call
|
|
229
|
+
{
|
|
230
|
+
@builder.op_assign(val[0], val[1], val[2])
|
|
231
|
+
}
|
|
232
|
+
| lhs tEQL mrhs
|
|
233
|
+
{
|
|
234
|
+
result = @builder.assign(val[0], val[1],
|
|
235
|
+
@builder.array(nil, val[2], nil))
|
|
236
|
+
}
|
|
237
|
+
| mlhs tEQL arg_value
|
|
238
|
+
{
|
|
239
|
+
result = @builder.multi_assign(val[0], val[1], val[2])
|
|
240
|
+
}
|
|
241
|
+
| mlhs tEQL mrhs
|
|
242
|
+
{
|
|
243
|
+
result = @builder.multi_assign(val[0], val[1],
|
|
244
|
+
@builder.array(nil, val[2], nil))
|
|
245
|
+
}
|
|
246
|
+
| expr
|
|
247
|
+
|
|
248
|
+
command_asgn: lhs tEQL command_call
|
|
249
|
+
{
|
|
250
|
+
result = @builder.assign(val[0], val[1], val[2])
|
|
251
|
+
}
|
|
252
|
+
| lhs tEQL command_asgn
|
|
253
|
+
{
|
|
254
|
+
result = @builder.assign(val[0], val[1], val[2])
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
expr: command_call
|
|
258
|
+
| expr kAND expr
|
|
259
|
+
{
|
|
260
|
+
result = @builder.logical_op(:and, val[0], val[1], val[2])
|
|
261
|
+
}
|
|
262
|
+
| expr kOR expr
|
|
263
|
+
{
|
|
264
|
+
result = @builder.logical_op(:or, val[0], val[1], val[2])
|
|
265
|
+
}
|
|
266
|
+
| kNOT opt_nl expr
|
|
267
|
+
{
|
|
268
|
+
result = @builder.not_op(val[0], nil, val[2], nil)
|
|
269
|
+
}
|
|
270
|
+
| tBANG command_call
|
|
271
|
+
{
|
|
272
|
+
result = @builder.not_op(val[0], nil, val[1], nil)
|
|
273
|
+
}
|
|
274
|
+
| arg
|
|
275
|
+
|
|
276
|
+
expr_value: expr
|
|
277
|
+
|
|
278
|
+
command_call: command
|
|
279
|
+
| block_command
|
|
280
|
+
|
|
281
|
+
block_command: block_call
|
|
282
|
+
| block_call dot_or_colon operation2 command_args
|
|
283
|
+
{
|
|
284
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
|
285
|
+
nil, val[3], nil)
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
cmd_brace_block: tLBRACE_ARG
|
|
289
|
+
{
|
|
290
|
+
@static_env.extend_dynamic
|
|
291
|
+
}
|
|
292
|
+
opt_block_param compstmt tRCURLY
|
|
293
|
+
{
|
|
294
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
|
295
|
+
|
|
296
|
+
@static_env.unextend
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
fcall: operation
|
|
300
|
+
|
|
301
|
+
command: fcall command_args =tLOWEST
|
|
302
|
+
{
|
|
303
|
+
result = @builder.call_method(nil, nil, val[0],
|
|
304
|
+
nil, val[1], nil)
|
|
305
|
+
}
|
|
306
|
+
| fcall command_args cmd_brace_block
|
|
307
|
+
{
|
|
308
|
+
method_call = @builder.call_method(nil, nil, val[0],
|
|
309
|
+
nil, val[1], nil)
|
|
310
|
+
|
|
311
|
+
begin_t, args, body, end_t = val[2]
|
|
312
|
+
result = @builder.block(method_call,
|
|
313
|
+
begin_t, args, body, end_t)
|
|
314
|
+
}
|
|
315
|
+
| primary_value tDOT operation2 command_args =tLOWEST
|
|
316
|
+
{
|
|
317
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
|
318
|
+
nil, val[3], nil)
|
|
319
|
+
}
|
|
320
|
+
| primary_value tDOT operation2 command_args cmd_brace_block
|
|
321
|
+
{
|
|
322
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
|
323
|
+
nil, val[3], nil)
|
|
324
|
+
|
|
325
|
+
begin_t, args, body, end_t = val[4]
|
|
326
|
+
result = @builder.block(method_call,
|
|
327
|
+
begin_t, args, body, end_t)
|
|
328
|
+
}
|
|
329
|
+
| primary_value tCOLON2 operation2 command_args =tLOWEST
|
|
330
|
+
{
|
|
331
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
|
332
|
+
nil, val[3], nil)
|
|
333
|
+
}
|
|
334
|
+
| primary_value tCOLON2 operation2 command_args cmd_brace_block
|
|
335
|
+
{
|
|
336
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
|
337
|
+
nil, val[3], nil)
|
|
338
|
+
|
|
339
|
+
begin_t, args, body, end_t = val[4]
|
|
340
|
+
result = @builder.block(method_call,
|
|
341
|
+
begin_t, args, body, end_t)
|
|
342
|
+
}
|
|
343
|
+
| kSUPER command_args
|
|
344
|
+
{
|
|
345
|
+
result = @builder.keyword_cmd(:super, val[0],
|
|
346
|
+
nil, val[1], nil)
|
|
347
|
+
}
|
|
348
|
+
| kYIELD command_args
|
|
349
|
+
{
|
|
350
|
+
result = @builder.keyword_cmd(:yield, val[0],
|
|
351
|
+
nil, val[1], nil)
|
|
352
|
+
}
|
|
353
|
+
| kRETURN call_args
|
|
354
|
+
{
|
|
355
|
+
result = @builder.keyword_cmd(:return, val[0],
|
|
356
|
+
nil, val[1], nil)
|
|
357
|
+
}
|
|
358
|
+
| kBREAK call_args
|
|
359
|
+
{
|
|
360
|
+
result = @builder.keyword_cmd(:break, val[0],
|
|
361
|
+
nil, val[1], nil)
|
|
362
|
+
}
|
|
363
|
+
| kNEXT call_args
|
|
364
|
+
{
|
|
365
|
+
result = @builder.keyword_cmd(:next, val[0],
|
|
366
|
+
nil, val[1], nil)
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
mlhs: mlhs_basic
|
|
370
|
+
{
|
|
371
|
+
result = @builder.multi_lhs(nil, val[0], nil)
|
|
372
|
+
}
|
|
373
|
+
| tLPAREN mlhs_inner rparen
|
|
374
|
+
{
|
|
375
|
+
result = @builder.begin(val[0], val[1], val[2])
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
mlhs_inner: mlhs_basic
|
|
379
|
+
{
|
|
380
|
+
result = @builder.multi_lhs(nil, val[0], nil)
|
|
381
|
+
}
|
|
382
|
+
| tLPAREN mlhs_inner rparen
|
|
383
|
+
{
|
|
384
|
+
result = @builder.multi_lhs(val[0], val[1], val[2])
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
mlhs_basic: mlhs_head
|
|
388
|
+
| mlhs_head mlhs_item
|
|
389
|
+
{
|
|
390
|
+
result = val[0].
|
|
391
|
+
push(val[1])
|
|
392
|
+
}
|
|
393
|
+
| mlhs_head tSTAR mlhs_node
|
|
394
|
+
{
|
|
395
|
+
result = val[0].
|
|
396
|
+
push(@builder.splat(val[1], val[2]))
|
|
397
|
+
}
|
|
398
|
+
| mlhs_head tSTAR mlhs_node tCOMMA mlhs_post
|
|
399
|
+
{
|
|
400
|
+
result = val[0].
|
|
401
|
+
push(@builder.splat(val[1], val[2])).
|
|
402
|
+
concat(val[4])
|
|
403
|
+
}
|
|
404
|
+
| mlhs_head tSTAR
|
|
405
|
+
{
|
|
406
|
+
result = val[0].
|
|
407
|
+
push(@builder.splat(val[1]))
|
|
408
|
+
}
|
|
409
|
+
| mlhs_head tSTAR tCOMMA mlhs_post
|
|
410
|
+
{
|
|
411
|
+
result = val[0].
|
|
412
|
+
push(@builder.splat(val[1])).
|
|
413
|
+
concat(val[3])
|
|
414
|
+
}
|
|
415
|
+
| tSTAR mlhs_node
|
|
416
|
+
{
|
|
417
|
+
result = [ @builder.splat(val[0], val[1]) ]
|
|
418
|
+
}
|
|
419
|
+
| tSTAR mlhs_node tCOMMA mlhs_post
|
|
420
|
+
{
|
|
421
|
+
result = [ @builder.splat(val[0], val[1]),
|
|
422
|
+
*val[3] ]
|
|
423
|
+
}
|
|
424
|
+
| tSTAR
|
|
425
|
+
{
|
|
426
|
+
result = [ @builder.splat(val[0]) ]
|
|
427
|
+
}
|
|
428
|
+
| tSTAR tCOMMA mlhs_post
|
|
429
|
+
{
|
|
430
|
+
result = [ @builder.splat(val[0]),
|
|
431
|
+
*val[2] ]
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
mlhs_item: mlhs_node
|
|
435
|
+
| tLPAREN mlhs_inner rparen
|
|
436
|
+
{
|
|
437
|
+
result = @builder.begin(val[0], val[1], val[2])
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
mlhs_head: mlhs_item tCOMMA
|
|
441
|
+
{
|
|
442
|
+
result = [ val[0] ]
|
|
443
|
+
}
|
|
444
|
+
| mlhs_head mlhs_item tCOMMA
|
|
445
|
+
{
|
|
446
|
+
result = val[0] << val[1]
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
mlhs_post: mlhs_item
|
|
450
|
+
{
|
|
451
|
+
result = [ val[0] ]
|
|
452
|
+
}
|
|
453
|
+
| mlhs_post tCOMMA mlhs_item
|
|
454
|
+
{
|
|
455
|
+
result = val[0] << val[2]
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
mlhs_node: user_variable
|
|
459
|
+
{
|
|
460
|
+
result = @builder.assignable(val[0])
|
|
461
|
+
}
|
|
462
|
+
| keyword_variable
|
|
463
|
+
{
|
|
464
|
+
result = @builder.assignable(val[0])
|
|
465
|
+
}
|
|
466
|
+
| primary_value tLBRACK2 opt_call_args rbracket
|
|
467
|
+
{
|
|
468
|
+
result = @builder.index_asgn(val[0], val[1], val[2], val[3])
|
|
469
|
+
}
|
|
470
|
+
| primary_value tDOT tIDENTIFIER
|
|
471
|
+
{
|
|
472
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
|
473
|
+
}
|
|
474
|
+
| primary_value tCOLON2 tIDENTIFIER
|
|
475
|
+
{
|
|
476
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
|
477
|
+
}
|
|
478
|
+
| primary_value tDOT tCONSTANT
|
|
479
|
+
{
|
|
480
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
|
481
|
+
}
|
|
482
|
+
| primary_value tCOLON2 tCONSTANT
|
|
483
|
+
{
|
|
484
|
+
result = @builder.assignable(
|
|
485
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
|
486
|
+
}
|
|
487
|
+
| tCOLON3 tCONSTANT
|
|
488
|
+
{
|
|
489
|
+
result = @builder.assignable(
|
|
490
|
+
@builder.const_global(val[0], val[1]))
|
|
491
|
+
}
|
|
492
|
+
| backref
|
|
493
|
+
{
|
|
494
|
+
result = @builder.assignable(val[0])
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
lhs: user_variable
|
|
498
|
+
{
|
|
499
|
+
result = @builder.assignable(val[0])
|
|
500
|
+
}
|
|
501
|
+
| keyword_variable
|
|
502
|
+
{
|
|
503
|
+
result = @builder.assignable(val[0])
|
|
504
|
+
}
|
|
505
|
+
| primary_value tLBRACK2 opt_call_args rbracket
|
|
506
|
+
{
|
|
507
|
+
result = @builder.index_asgn(val[0], val[1], val[2], val[3])
|
|
508
|
+
}
|
|
509
|
+
| primary_value tDOT tIDENTIFIER
|
|
510
|
+
{
|
|
511
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
|
512
|
+
}
|
|
513
|
+
| primary_value tCOLON2 tIDENTIFIER
|
|
514
|
+
{
|
|
515
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
|
516
|
+
}
|
|
517
|
+
| primary_value tDOT tCONSTANT
|
|
518
|
+
{
|
|
519
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
|
520
|
+
}
|
|
521
|
+
| primary_value tCOLON2 tCONSTANT
|
|
522
|
+
{
|
|
523
|
+
result = @builder.assignable(
|
|
524
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
|
525
|
+
}
|
|
526
|
+
| tCOLON3 tCONSTANT
|
|
527
|
+
{
|
|
528
|
+
result = @builder.assignable(
|
|
529
|
+
@builder.const_global(val[0], val[1]))
|
|
530
|
+
}
|
|
531
|
+
| backref
|
|
532
|
+
{
|
|
533
|
+
result = @builder.assignable(val[0])
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
cname: tIDENTIFIER
|
|
537
|
+
{
|
|
538
|
+
diagnostic :error, :module_name_const, nil, val[0]
|
|
539
|
+
}
|
|
540
|
+
| tCONSTANT
|
|
541
|
+
|
|
542
|
+
cpath: tCOLON3 cname
|
|
543
|
+
{
|
|
544
|
+
result = @builder.const_global(val[0], val[1])
|
|
545
|
+
}
|
|
546
|
+
| cname
|
|
547
|
+
{
|
|
548
|
+
result = @builder.const(val[0])
|
|
549
|
+
}
|
|
550
|
+
| primary_value tCOLON2 cname
|
|
551
|
+
{
|
|
552
|
+
result = @builder.const_fetch(val[0], val[1], val[2])
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
fname: tIDENTIFIER | tCONSTANT | tFID
|
|
556
|
+
| op
|
|
557
|
+
| reswords
|
|
558
|
+
|
|
559
|
+
fsym: fname
|
|
560
|
+
{
|
|
561
|
+
result = @builder.symbol(val[0])
|
|
562
|
+
}
|
|
563
|
+
| symbol
|
|
564
|
+
|
|
565
|
+
fitem: fsym
|
|
566
|
+
| dsym
|
|
567
|
+
|
|
568
|
+
undef_list: fitem
|
|
569
|
+
{
|
|
570
|
+
result = [ val[0] ]
|
|
571
|
+
}
|
|
572
|
+
| undef_list tCOMMA
|
|
573
|
+
{
|
|
574
|
+
@lexer.state = :expr_fname
|
|
575
|
+
}
|
|
576
|
+
fitem
|
|
577
|
+
{
|
|
578
|
+
result = val[0] << val[3]
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
op: tPIPE | tCARET | tAMPER2 | tCMP | tEQ | tEQQ
|
|
582
|
+
| tMATCH | tNMATCH | tGT | tGEQ | tLT | tLEQ
|
|
583
|
+
| tNEQ | tLSHFT | tRSHFT | tPLUS | tMINUS | tSTAR2
|
|
584
|
+
| tSTAR | tDIVIDE | tPERCENT | tPOW | tBANG | tTILDE
|
|
585
|
+
| tUPLUS | tUMINUS | tAREF | tASET | tDSTAR | tBACK_REF2
|
|
586
|
+
|
|
587
|
+
reswords: k__LINE__ | k__FILE__ | k__ENCODING__ | klBEGIN | klEND
|
|
588
|
+
| kALIAS | kAND | kBEGIN | kBREAK | kCASE
|
|
589
|
+
| kCLASS | kDEF | kDEFINED | kDO | kELSE
|
|
590
|
+
| kELSIF | kEND | kENSURE | kFALSE | kFOR
|
|
591
|
+
| kIN | kMODULE | kNEXT | kNIL | kNOT
|
|
592
|
+
| kOR | kREDO | kRESCUE | kRETRY | kRETURN
|
|
593
|
+
| kSELF | kSUPER | kTHEN | kTRUE | kUNDEF
|
|
594
|
+
| kWHEN | kYIELD | kIF | kUNLESS | kWHILE
|
|
595
|
+
| kUNTIL
|
|
596
|
+
|
|
597
|
+
arg: lhs tEQL arg
|
|
598
|
+
{
|
|
599
|
+
result = @builder.assign(val[0], val[1], val[2])
|
|
600
|
+
}
|
|
601
|
+
| lhs tEQL arg kRESCUE_MOD arg
|
|
602
|
+
{
|
|
603
|
+
rescue_body = @builder.rescue_body(val[3],
|
|
604
|
+
nil, nil, nil,
|
|
605
|
+
nil, val[4])
|
|
606
|
+
|
|
607
|
+
rescue_ = @builder.begin_body(val[2], [ rescue_body ])
|
|
608
|
+
|
|
609
|
+
result = @builder.assign(val[0], val[1], rescue_)
|
|
610
|
+
}
|
|
611
|
+
| var_lhs tOP_ASGN arg
|
|
612
|
+
{
|
|
613
|
+
result = @builder.op_assign(val[0], val[1], val[2])
|
|
614
|
+
}
|
|
615
|
+
| var_lhs tOP_ASGN arg kRESCUE_MOD arg
|
|
616
|
+
{
|
|
617
|
+
rescue_body = @builder.rescue_body(val[3],
|
|
618
|
+
nil, nil, nil,
|
|
619
|
+
nil, val[4])
|
|
620
|
+
|
|
621
|
+
rescue_ = @builder.begin_body(val[2], [ rescue_body ])
|
|
622
|
+
|
|
623
|
+
result = @builder.op_assign(val[0], val[1], rescue_)
|
|
624
|
+
}
|
|
625
|
+
| primary_value tLBRACK2 opt_call_args rbracket tOP_ASGN arg
|
|
626
|
+
{
|
|
627
|
+
result = @builder.op_assign(
|
|
628
|
+
@builder.index(
|
|
629
|
+
val[0], val[1], val[2], val[3]),
|
|
630
|
+
val[4], val[5])
|
|
631
|
+
}
|
|
632
|
+
| primary_value tDOT tIDENTIFIER tOP_ASGN arg
|
|
633
|
+
{
|
|
634
|
+
result = @builder.op_assign(
|
|
635
|
+
@builder.call_method(
|
|
636
|
+
val[0], val[1], val[2]),
|
|
637
|
+
val[3], val[4])
|
|
638
|
+
}
|
|
639
|
+
| primary_value tDOT tCONSTANT tOP_ASGN arg
|
|
640
|
+
{
|
|
641
|
+
result = @builder.op_assign(
|
|
642
|
+
@builder.call_method(
|
|
643
|
+
val[0], val[1], val[2]),
|
|
644
|
+
val[3], val[4])
|
|
645
|
+
}
|
|
646
|
+
| primary_value tCOLON2 tIDENTIFIER tOP_ASGN arg
|
|
647
|
+
{
|
|
648
|
+
result = @builder.op_assign(
|
|
649
|
+
@builder.call_method(
|
|
650
|
+
val[0], val[1], val[2]),
|
|
651
|
+
val[3], val[4])
|
|
652
|
+
}
|
|
653
|
+
| primary_value tCOLON2 tCONSTANT tOP_ASGN arg
|
|
654
|
+
{
|
|
655
|
+
const = @builder.const_op_assignable(
|
|
656
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
|
657
|
+
result = @builder.op_assign(const, val[3], val[4])
|
|
658
|
+
}
|
|
659
|
+
| tCOLON3 tCONSTANT tOP_ASGN arg
|
|
660
|
+
{
|
|
661
|
+
const = @builder.const_op_assignable(
|
|
662
|
+
@builder.const_global(val[0], val[1]))
|
|
663
|
+
result = @builder.op_assign(const, val[2], val[3])
|
|
664
|
+
}
|
|
665
|
+
| backref tOP_ASGN arg
|
|
666
|
+
{
|
|
667
|
+
result = @builder.op_assign(val[0], val[1], val[2])
|
|
668
|
+
}
|
|
669
|
+
| arg tDOT2 arg
|
|
670
|
+
{
|
|
671
|
+
result = @builder.range_inclusive(val[0], val[1], val[2])
|
|
672
|
+
}
|
|
673
|
+
| arg tDOT3 arg
|
|
674
|
+
{
|
|
675
|
+
result = @builder.range_exclusive(val[0], val[1], val[2])
|
|
676
|
+
}
|
|
677
|
+
| arg tPLUS arg
|
|
678
|
+
{
|
|
679
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
680
|
+
}
|
|
681
|
+
| arg tMINUS arg
|
|
682
|
+
{
|
|
683
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
684
|
+
}
|
|
685
|
+
| arg tSTAR2 arg
|
|
686
|
+
{
|
|
687
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
688
|
+
}
|
|
689
|
+
| arg tDIVIDE arg
|
|
690
|
+
{
|
|
691
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
692
|
+
}
|
|
693
|
+
| arg tPERCENT arg
|
|
694
|
+
{
|
|
695
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
696
|
+
}
|
|
697
|
+
| arg tPOW arg
|
|
698
|
+
{
|
|
699
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
700
|
+
}
|
|
701
|
+
| tUMINUS_NUM tINTEGER tPOW arg
|
|
702
|
+
{
|
|
703
|
+
result = @builder.unary_op(val[0],
|
|
704
|
+
@builder.binary_op(
|
|
705
|
+
@builder.integer(val[1]),
|
|
706
|
+
val[2], val[3]))
|
|
707
|
+
}
|
|
708
|
+
| tUMINUS_NUM tFLOAT tPOW arg
|
|
709
|
+
{
|
|
710
|
+
result = @builder.unary_op(val[0],
|
|
711
|
+
@builder.binary_op(
|
|
712
|
+
@builder.float(val[1]),
|
|
713
|
+
val[2], val[3]))
|
|
714
|
+
}
|
|
715
|
+
| tUPLUS arg
|
|
716
|
+
{
|
|
717
|
+
result = @builder.unary_op(val[0], val[1])
|
|
718
|
+
}
|
|
719
|
+
| tUMINUS arg
|
|
720
|
+
{
|
|
721
|
+
result = @builder.unary_op(val[0], val[1])
|
|
722
|
+
}
|
|
723
|
+
| arg tPIPE arg
|
|
724
|
+
{
|
|
725
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
726
|
+
}
|
|
727
|
+
| arg tCARET arg
|
|
728
|
+
{
|
|
729
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
730
|
+
}
|
|
731
|
+
| arg tAMPER2 arg
|
|
732
|
+
{
|
|
733
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
734
|
+
}
|
|
735
|
+
| arg tCMP arg
|
|
736
|
+
{
|
|
737
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
738
|
+
}
|
|
739
|
+
| arg tGT arg
|
|
740
|
+
{
|
|
741
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
742
|
+
}
|
|
743
|
+
| arg tGEQ arg
|
|
744
|
+
{
|
|
745
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
746
|
+
}
|
|
747
|
+
| arg tLT arg
|
|
748
|
+
{
|
|
749
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
750
|
+
}
|
|
751
|
+
| arg tLEQ arg
|
|
752
|
+
{
|
|
753
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
754
|
+
}
|
|
755
|
+
| arg tEQ arg
|
|
756
|
+
{
|
|
757
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
758
|
+
}
|
|
759
|
+
| arg tEQQ arg
|
|
760
|
+
{
|
|
761
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
762
|
+
}
|
|
763
|
+
| arg tNEQ arg
|
|
764
|
+
{
|
|
765
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
766
|
+
}
|
|
767
|
+
| arg tMATCH arg
|
|
768
|
+
{
|
|
769
|
+
result = @builder.match_op(val[0], val[1], val[2])
|
|
770
|
+
}
|
|
771
|
+
| arg tNMATCH arg
|
|
772
|
+
{
|
|
773
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
774
|
+
}
|
|
775
|
+
| tBANG arg
|
|
776
|
+
{
|
|
777
|
+
result = @builder.not_op(val[0], nil, val[1], nil)
|
|
778
|
+
}
|
|
779
|
+
| tTILDE arg
|
|
780
|
+
{
|
|
781
|
+
result = @builder.unary_op(val[0], val[1])
|
|
782
|
+
}
|
|
783
|
+
| arg tLSHFT arg
|
|
784
|
+
{
|
|
785
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
786
|
+
}
|
|
787
|
+
| arg tRSHFT arg
|
|
788
|
+
{
|
|
789
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
|
790
|
+
}
|
|
791
|
+
| arg tANDOP arg
|
|
792
|
+
{
|
|
793
|
+
result = @builder.logical_op(:and, val[0], val[1], val[2])
|
|
794
|
+
}
|
|
795
|
+
| arg tOROP arg
|
|
796
|
+
{
|
|
797
|
+
result = @builder.logical_op(:or, val[0], val[1], val[2])
|
|
798
|
+
}
|
|
799
|
+
| kDEFINED opt_nl arg
|
|
800
|
+
{
|
|
801
|
+
result = @builder.keyword_cmd(:defined?, val[0], nil, [ val[2] ], nil)
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
| arg tEH arg opt_nl tCOLON arg
|
|
805
|
+
{
|
|
806
|
+
result = @builder.ternary(val[0], val[1],
|
|
807
|
+
val[2], val[4], val[5])
|
|
808
|
+
}
|
|
809
|
+
| primary
|
|
810
|
+
|
|
811
|
+
arg_value: arg
|
|
812
|
+
|
|
813
|
+
aref_args: none
|
|
814
|
+
| args trailer
|
|
815
|
+
| args tCOMMA assocs trailer
|
|
816
|
+
{
|
|
817
|
+
result = val[0] << @builder.associate(nil, val[2], nil)
|
|
818
|
+
}
|
|
819
|
+
| assocs trailer
|
|
820
|
+
{
|
|
821
|
+
result = [ @builder.associate(nil, val[0], nil) ]
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
paren_args: tLPAREN2 opt_call_args rparen
|
|
825
|
+
{
|
|
826
|
+
result = val
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
opt_paren_args: # nothing
|
|
830
|
+
{
|
|
831
|
+
result = [ nil, [], nil ]
|
|
832
|
+
}
|
|
833
|
+
| paren_args
|
|
834
|
+
|
|
835
|
+
opt_call_args: # nothing
|
|
836
|
+
{
|
|
837
|
+
result = []
|
|
838
|
+
}
|
|
839
|
+
| call_args
|
|
840
|
+
| args tCOMMA
|
|
841
|
+
| args tCOMMA assocs tCOMMA
|
|
842
|
+
{
|
|
843
|
+
result = val[0] << @builder.associate(nil, val[2], nil)
|
|
844
|
+
}
|
|
845
|
+
| assocs tCOMMA
|
|
846
|
+
{
|
|
847
|
+
result = [ @builder.associate(nil, val[0], nil) ]
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
call_args: command
|
|
851
|
+
{
|
|
852
|
+
result = [ val[0] ]
|
|
853
|
+
}
|
|
854
|
+
| args opt_block_arg
|
|
855
|
+
{
|
|
856
|
+
result = val[0].concat(val[1])
|
|
857
|
+
}
|
|
858
|
+
| assocs opt_block_arg
|
|
859
|
+
{
|
|
860
|
+
result = [ @builder.associate(nil, val[0], nil) ]
|
|
861
|
+
result.concat(val[1])
|
|
862
|
+
}
|
|
863
|
+
| args tCOMMA assocs opt_block_arg
|
|
864
|
+
{
|
|
865
|
+
assocs = @builder.associate(nil, val[2], nil)
|
|
866
|
+
result = val[0] << assocs
|
|
867
|
+
result.concat(val[3])
|
|
868
|
+
}
|
|
869
|
+
| block_arg
|
|
870
|
+
{
|
|
871
|
+
result = [ val[0] ]
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
command_args: {
|
|
875
|
+
result = @lexer.cmdarg.dup
|
|
876
|
+
@lexer.cmdarg.push(true)
|
|
877
|
+
}
|
|
878
|
+
call_args
|
|
879
|
+
{
|
|
880
|
+
@lexer.cmdarg = val[0]
|
|
881
|
+
|
|
882
|
+
result = val[1]
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
block_arg: tAMPER arg_value
|
|
886
|
+
{
|
|
887
|
+
result = @builder.block_pass(val[0], val[1])
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
opt_block_arg: tCOMMA block_arg
|
|
891
|
+
{
|
|
892
|
+
result = [ val[1] ]
|
|
893
|
+
}
|
|
894
|
+
| # nothing
|
|
895
|
+
{
|
|
896
|
+
result = []
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
args: arg_value
|
|
900
|
+
{
|
|
901
|
+
result = [ val[0] ]
|
|
902
|
+
}
|
|
903
|
+
| tSTAR arg_value
|
|
904
|
+
{
|
|
905
|
+
result = [ @builder.splat(val[0], val[1]) ]
|
|
906
|
+
}
|
|
907
|
+
| args tCOMMA arg_value
|
|
908
|
+
{
|
|
909
|
+
result = val[0] << val[2]
|
|
910
|
+
}
|
|
911
|
+
| args tCOMMA tSTAR arg_value
|
|
912
|
+
{
|
|
913
|
+
result = val[0] << @builder.splat(val[2], val[3])
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
mrhs: args tCOMMA arg_value
|
|
917
|
+
{
|
|
918
|
+
result = val[0] << val[2]
|
|
919
|
+
}
|
|
920
|
+
| args tCOMMA tSTAR arg_value
|
|
921
|
+
{
|
|
922
|
+
result = val[0] << @builder.splat(val[2], val[3])
|
|
923
|
+
}
|
|
924
|
+
| tSTAR arg_value
|
|
925
|
+
{
|
|
926
|
+
result = [ @builder.splat(val[0], val[1]) ]
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
primary: literal
|
|
930
|
+
| strings
|
|
931
|
+
| xstring
|
|
932
|
+
| regexp
|
|
933
|
+
| words
|
|
934
|
+
| qwords
|
|
935
|
+
| symbols
|
|
936
|
+
| qsymbols
|
|
937
|
+
| var_ref
|
|
938
|
+
| backref
|
|
939
|
+
| tFID
|
|
940
|
+
{
|
|
941
|
+
result = @builder.call_method(nil, nil, val[0])
|
|
942
|
+
}
|
|
943
|
+
| kBEGIN
|
|
944
|
+
{
|
|
945
|
+
result = @lexer.cmdarg.dup
|
|
946
|
+
@lexer.cmdarg.clear
|
|
947
|
+
}
|
|
948
|
+
bodystmt kEND
|
|
949
|
+
{
|
|
950
|
+
@lexer.cmdarg = val[1]
|
|
951
|
+
|
|
952
|
+
result = @builder.begin_keyword(val[0], val[2], val[3])
|
|
953
|
+
}
|
|
954
|
+
| tLPAREN_ARG
|
|
955
|
+
{
|
|
956
|
+
result = @lexer.cmdarg.dup
|
|
957
|
+
@lexer.cmdarg.clear
|
|
958
|
+
}
|
|
959
|
+
expr
|
|
960
|
+
{
|
|
961
|
+
@lexer.state = :expr_endarg
|
|
962
|
+
}
|
|
963
|
+
opt_nl tRPAREN
|
|
964
|
+
{
|
|
965
|
+
@lexer.cmdarg = val[1]
|
|
966
|
+
|
|
967
|
+
result = @builder.begin(val[0], val[2], val[5])
|
|
968
|
+
}
|
|
969
|
+
| tLPAREN_ARG
|
|
970
|
+
{
|
|
971
|
+
@lexer.state = :expr_endarg
|
|
972
|
+
}
|
|
973
|
+
opt_nl tRPAREN
|
|
974
|
+
{
|
|
975
|
+
result = @builder.begin(val[0], nil, val[3])
|
|
976
|
+
}
|
|
977
|
+
| tLPAREN compstmt tRPAREN
|
|
978
|
+
{
|
|
979
|
+
result = @builder.begin(val[0], val[1], val[2])
|
|
980
|
+
}
|
|
981
|
+
| primary_value tCOLON2 tCONSTANT
|
|
982
|
+
{
|
|
983
|
+
result = @builder.const_fetch(val[0], val[1], val[2])
|
|
984
|
+
}
|
|
985
|
+
| tCOLON3 tCONSTANT
|
|
986
|
+
{
|
|
987
|
+
result = @builder.const_global(val[0], val[1])
|
|
988
|
+
}
|
|
989
|
+
| tLBRACK aref_args tRBRACK
|
|
990
|
+
{
|
|
991
|
+
result = @builder.array(val[0], val[1], val[2])
|
|
992
|
+
}
|
|
993
|
+
| tLBRACE assoc_list tRCURLY
|
|
994
|
+
{
|
|
995
|
+
result = @builder.associate(val[0], val[1], val[2])
|
|
996
|
+
}
|
|
997
|
+
| kRETURN
|
|
998
|
+
{
|
|
999
|
+
result = @builder.keyword_cmd(:return, val[0])
|
|
1000
|
+
}
|
|
1001
|
+
| kYIELD tLPAREN2 call_args rparen
|
|
1002
|
+
{
|
|
1003
|
+
result = @builder.keyword_cmd(:yield, val[0], val[1], val[2], val[3])
|
|
1004
|
+
}
|
|
1005
|
+
| kYIELD tLPAREN2 rparen
|
|
1006
|
+
{
|
|
1007
|
+
result = @builder.keyword_cmd(:yield, val[0], val[1], [], val[2])
|
|
1008
|
+
}
|
|
1009
|
+
| kYIELD
|
|
1010
|
+
{
|
|
1011
|
+
result = @builder.keyword_cmd(:yield, val[0])
|
|
1012
|
+
}
|
|
1013
|
+
| kDEFINED opt_nl tLPAREN2 expr rparen
|
|
1014
|
+
{
|
|
1015
|
+
result = @builder.keyword_cmd(:defined?, val[0],
|
|
1016
|
+
val[2], [ val[3] ], val[4])
|
|
1017
|
+
}
|
|
1018
|
+
| kNOT tLPAREN2 expr rparen
|
|
1019
|
+
{
|
|
1020
|
+
result = @builder.not_op(val[0], val[1], val[2], val[3])
|
|
1021
|
+
}
|
|
1022
|
+
| kNOT tLPAREN2 rparen
|
|
1023
|
+
{
|
|
1024
|
+
result = @builder.not_op(val[0], val[1], nil, val[2])
|
|
1025
|
+
}
|
|
1026
|
+
| fcall brace_block
|
|
1027
|
+
{
|
|
1028
|
+
method_call = @builder.call_method(nil, nil, val[0])
|
|
1029
|
+
|
|
1030
|
+
begin_t, args, body, end_t = val[1]
|
|
1031
|
+
result = @builder.block(method_call,
|
|
1032
|
+
begin_t, args, body, end_t)
|
|
1033
|
+
}
|
|
1034
|
+
| method_call
|
|
1035
|
+
| method_call brace_block
|
|
1036
|
+
{
|
|
1037
|
+
begin_t, args, body, end_t = val[1]
|
|
1038
|
+
result = @builder.block(val[0],
|
|
1039
|
+
begin_t, args, body, end_t)
|
|
1040
|
+
}
|
|
1041
|
+
| tLAMBDA lambda
|
|
1042
|
+
{
|
|
1043
|
+
lambda_call = @builder.call_lambda(val[0])
|
|
1044
|
+
|
|
1045
|
+
args, (begin_t, body, end_t) = val[1]
|
|
1046
|
+
result = @builder.block(lambda_call,
|
|
1047
|
+
begin_t, args, body, end_t)
|
|
1048
|
+
}
|
|
1049
|
+
| kIF expr_value then compstmt if_tail kEND
|
|
1050
|
+
{
|
|
1051
|
+
else_t, else_ = val[4]
|
|
1052
|
+
result = @builder.condition(val[0], val[1], val[2],
|
|
1053
|
+
val[3], else_t,
|
|
1054
|
+
else_, val[5])
|
|
1055
|
+
}
|
|
1056
|
+
| kUNLESS expr_value then compstmt opt_else kEND
|
|
1057
|
+
{
|
|
1058
|
+
else_t, else_ = val[4]
|
|
1059
|
+
result = @builder.condition(val[0], val[1], val[2],
|
|
1060
|
+
else_, else_t,
|
|
1061
|
+
val[3], val[5])
|
|
1062
|
+
}
|
|
1063
|
+
| kWHILE
|
|
1064
|
+
{
|
|
1065
|
+
@lexer.cond.push(true)
|
|
1066
|
+
}
|
|
1067
|
+
expr_value do
|
|
1068
|
+
{
|
|
1069
|
+
@lexer.cond.pop
|
|
1070
|
+
}
|
|
1071
|
+
compstmt kEND
|
|
1072
|
+
{
|
|
1073
|
+
result = @builder.loop(:while, val[0], val[2], val[3],
|
|
1074
|
+
val[5], val[6])
|
|
1075
|
+
}
|
|
1076
|
+
| kUNTIL
|
|
1077
|
+
{
|
|
1078
|
+
@lexer.cond.push(true)
|
|
1079
|
+
}
|
|
1080
|
+
expr_value do
|
|
1081
|
+
{
|
|
1082
|
+
@lexer.cond.pop
|
|
1083
|
+
}
|
|
1084
|
+
compstmt kEND
|
|
1085
|
+
{
|
|
1086
|
+
result = @builder.loop(:until, val[0], val[2], val[3],
|
|
1087
|
+
val[5], val[6])
|
|
1088
|
+
}
|
|
1089
|
+
| kCASE expr_value opt_terms case_body kEND
|
|
1090
|
+
{
|
|
1091
|
+
*when_bodies, (else_t, else_body) = *val[3]
|
|
1092
|
+
|
|
1093
|
+
result = @builder.case(val[0], val[1],
|
|
1094
|
+
when_bodies, else_t, else_body,
|
|
1095
|
+
val[4])
|
|
1096
|
+
}
|
|
1097
|
+
| kCASE opt_terms case_body kEND
|
|
1098
|
+
{
|
|
1099
|
+
*when_bodies, (else_t, else_body) = *val[2]
|
|
1100
|
+
|
|
1101
|
+
result = @builder.case(val[0], nil,
|
|
1102
|
+
when_bodies, else_t, else_body,
|
|
1103
|
+
val[3])
|
|
1104
|
+
}
|
|
1105
|
+
| kFOR for_var kIN
|
|
1106
|
+
{
|
|
1107
|
+
@lexer.cond.push(true)
|
|
1108
|
+
}
|
|
1109
|
+
expr_value do
|
|
1110
|
+
{
|
|
1111
|
+
@lexer.cond.pop
|
|
1112
|
+
}
|
|
1113
|
+
compstmt kEND
|
|
1114
|
+
{
|
|
1115
|
+
result = @builder.for(val[0], val[1],
|
|
1116
|
+
val[2], val[4],
|
|
1117
|
+
val[5], val[7], val[8])
|
|
1118
|
+
}
|
|
1119
|
+
| kCLASS cpath superclass
|
|
1120
|
+
{
|
|
1121
|
+
@static_env.extend_static
|
|
1122
|
+
@lexer.push_cmdarg
|
|
1123
|
+
}
|
|
1124
|
+
bodystmt kEND
|
|
1125
|
+
{
|
|
1126
|
+
if in_def?
|
|
1127
|
+
diagnostic :error, :class_in_def, nil, val[0]
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
lt_t, superclass = val[2]
|
|
1131
|
+
result = @builder.def_class(val[0], val[1],
|
|
1132
|
+
lt_t, superclass,
|
|
1133
|
+
val[4], val[5])
|
|
1134
|
+
|
|
1135
|
+
@lexer.pop_cmdarg
|
|
1136
|
+
@static_env.unextend
|
|
1137
|
+
}
|
|
1138
|
+
| kCLASS tLSHFT expr term
|
|
1139
|
+
{
|
|
1140
|
+
result = @def_level
|
|
1141
|
+
@def_level = 0
|
|
1142
|
+
|
|
1143
|
+
@static_env.extend_static
|
|
1144
|
+
@lexer.push_cmdarg
|
|
1145
|
+
}
|
|
1146
|
+
bodystmt kEND
|
|
1147
|
+
{
|
|
1148
|
+
result = @builder.def_sclass(val[0], val[1], val[2],
|
|
1149
|
+
val[5], val[6])
|
|
1150
|
+
|
|
1151
|
+
@lexer.pop_cmdarg
|
|
1152
|
+
@static_env.unextend
|
|
1153
|
+
|
|
1154
|
+
@def_level = val[4]
|
|
1155
|
+
}
|
|
1156
|
+
| kMODULE cpath
|
|
1157
|
+
{
|
|
1158
|
+
@static_env.extend_static
|
|
1159
|
+
@lexer.push_cmdarg
|
|
1160
|
+
}
|
|
1161
|
+
bodystmt kEND
|
|
1162
|
+
{
|
|
1163
|
+
if in_def?
|
|
1164
|
+
diagnostic :error, :module_in_def, nil, val[0]
|
|
1165
|
+
end
|
|
1166
|
+
|
|
1167
|
+
result = @builder.def_module(val[0], val[1],
|
|
1168
|
+
val[3], val[4])
|
|
1169
|
+
|
|
1170
|
+
@lexer.pop_cmdarg
|
|
1171
|
+
@static_env.unextend
|
|
1172
|
+
}
|
|
1173
|
+
| kDEF fname
|
|
1174
|
+
{
|
|
1175
|
+
@def_level += 1
|
|
1176
|
+
@static_env.extend_static
|
|
1177
|
+
@lexer.push_cmdarg
|
|
1178
|
+
}
|
|
1179
|
+
f_arglist bodystmt kEND
|
|
1180
|
+
{
|
|
1181
|
+
result = @builder.def_method(val[0], val[1],
|
|
1182
|
+
val[3], val[4], val[5])
|
|
1183
|
+
|
|
1184
|
+
@lexer.pop_cmdarg
|
|
1185
|
+
@static_env.unextend
|
|
1186
|
+
@def_level -= 1
|
|
1187
|
+
}
|
|
1188
|
+
| kDEF singleton dot_or_colon
|
|
1189
|
+
{
|
|
1190
|
+
@lexer.state = :expr_fname
|
|
1191
|
+
}
|
|
1192
|
+
fname
|
|
1193
|
+
{
|
|
1194
|
+
@def_level += 1
|
|
1195
|
+
@static_env.extend_static
|
|
1196
|
+
@lexer.push_cmdarg
|
|
1197
|
+
}
|
|
1198
|
+
f_arglist bodystmt kEND
|
|
1199
|
+
{
|
|
1200
|
+
result = @builder.def_singleton(val[0], val[1], val[2],
|
|
1201
|
+
val[4], val[6], val[7], val[8])
|
|
1202
|
+
|
|
1203
|
+
@lexer.pop_cmdarg
|
|
1204
|
+
@static_env.unextend
|
|
1205
|
+
@def_level -= 1
|
|
1206
|
+
}
|
|
1207
|
+
| kBREAK
|
|
1208
|
+
{
|
|
1209
|
+
result = @builder.keyword_cmd(:break, val[0])
|
|
1210
|
+
}
|
|
1211
|
+
| kNEXT
|
|
1212
|
+
{
|
|
1213
|
+
result = @builder.keyword_cmd(:next, val[0])
|
|
1214
|
+
}
|
|
1215
|
+
| kREDO
|
|
1216
|
+
{
|
|
1217
|
+
result = @builder.keyword_cmd(:redo, val[0])
|
|
1218
|
+
}
|
|
1219
|
+
| kRETRY
|
|
1220
|
+
{
|
|
1221
|
+
result = @builder.keyword_cmd(:retry, val[0])
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
primary_value: primary
|
|
1225
|
+
|
|
1226
|
+
then: term
|
|
1227
|
+
| kTHEN
|
|
1228
|
+
| term kTHEN
|
|
1229
|
+
{
|
|
1230
|
+
result = val[1]
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
do: term
|
|
1234
|
+
| kDO_COND
|
|
1235
|
+
|
|
1236
|
+
if_tail: opt_else
|
|
1237
|
+
| kELSIF expr_value then compstmt if_tail
|
|
1238
|
+
{
|
|
1239
|
+
else_t, else_ = val[4]
|
|
1240
|
+
result = [ val[0],
|
|
1241
|
+
@builder.condition(val[0], val[1], val[2],
|
|
1242
|
+
val[3], else_t,
|
|
1243
|
+
else_, nil),
|
|
1244
|
+
]
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
opt_else: none
|
|
1248
|
+
| kELSE compstmt
|
|
1249
|
+
{
|
|
1250
|
+
result = val
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
for_var: lhs
|
|
1254
|
+
| mlhs
|
|
1255
|
+
|
|
1256
|
+
f_marg: f_norm_arg
|
|
1257
|
+
{
|
|
1258
|
+
@static_env.declare val[0][0]
|
|
1259
|
+
|
|
1260
|
+
result = @builder.arg(val[0])
|
|
1261
|
+
}
|
|
1262
|
+
| tLPAREN f_margs rparen
|
|
1263
|
+
{
|
|
1264
|
+
result = @builder.multi_lhs(val[0], val[1], val[2])
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
f_marg_list: f_marg
|
|
1268
|
+
{
|
|
1269
|
+
result = [ val[0] ]
|
|
1270
|
+
}
|
|
1271
|
+
| f_marg_list tCOMMA f_marg
|
|
1272
|
+
{
|
|
1273
|
+
result = val[0] << val[2]
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
f_margs: f_marg_list
|
|
1277
|
+
| f_marg_list tCOMMA tSTAR f_norm_arg
|
|
1278
|
+
{
|
|
1279
|
+
@static_env.declare val[3][0]
|
|
1280
|
+
|
|
1281
|
+
result = val[0].
|
|
1282
|
+
push(@builder.restarg(val[2], val[3]))
|
|
1283
|
+
}
|
|
1284
|
+
| f_marg_list tCOMMA tSTAR f_norm_arg tCOMMA f_marg_list
|
|
1285
|
+
{
|
|
1286
|
+
@static_env.declare val[3][0]
|
|
1287
|
+
|
|
1288
|
+
result = val[0].
|
|
1289
|
+
push(@builder.restarg(val[2], val[3])).
|
|
1290
|
+
concat(val[5])
|
|
1291
|
+
}
|
|
1292
|
+
| f_marg_list tCOMMA tSTAR
|
|
1293
|
+
{
|
|
1294
|
+
result = val[0].
|
|
1295
|
+
push(@builder.restarg(val[2]))
|
|
1296
|
+
}
|
|
1297
|
+
| f_marg_list tCOMMA tSTAR tCOMMA f_marg_list
|
|
1298
|
+
{
|
|
1299
|
+
result = val[0].
|
|
1300
|
+
push(@builder.restarg(val[2])).
|
|
1301
|
+
concat(val[4])
|
|
1302
|
+
}
|
|
1303
|
+
| tSTAR f_norm_arg
|
|
1304
|
+
{
|
|
1305
|
+
@static_env.declare val[1][0]
|
|
1306
|
+
|
|
1307
|
+
result = [ @builder.restarg(val[0], val[1]) ]
|
|
1308
|
+
}
|
|
1309
|
+
| tSTAR f_norm_arg tCOMMA f_marg_list
|
|
1310
|
+
{
|
|
1311
|
+
@static_env.declare val[1][0]
|
|
1312
|
+
|
|
1313
|
+
result = [ @builder.restarg(val[0], val[1]),
|
|
1314
|
+
*val[3] ]
|
|
1315
|
+
}
|
|
1316
|
+
| tSTAR
|
|
1317
|
+
{
|
|
1318
|
+
result = [ @builder.restarg(val[0]) ]
|
|
1319
|
+
}
|
|
1320
|
+
| tSTAR tCOMMA f_marg_list
|
|
1321
|
+
{
|
|
1322
|
+
result = [ @builder.restarg(val[0]),
|
|
1323
|
+
*val[2] ]
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
block_args_tail: f_block_kwarg tCOMMA f_kwrest opt_f_block_arg
|
|
1327
|
+
{
|
|
1328
|
+
result = val[0].concat(val[2]).concat(val[3])
|
|
1329
|
+
}
|
|
1330
|
+
| f_block_kwarg opt_f_block_arg
|
|
1331
|
+
{
|
|
1332
|
+
result = val[0].concat(val[1])
|
|
1333
|
+
}
|
|
1334
|
+
| f_kwrest opt_f_block_arg
|
|
1335
|
+
{
|
|
1336
|
+
result = val[0].concat(val[1])
|
|
1337
|
+
}
|
|
1338
|
+
| f_block_arg
|
|
1339
|
+
{
|
|
1340
|
+
result = [ val[0] ]
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
opt_block_args_tail:
|
|
1344
|
+
tCOMMA block_args_tail
|
|
1345
|
+
{
|
|
1346
|
+
result = val[1]
|
|
1347
|
+
}
|
|
1348
|
+
| # nothing
|
|
1349
|
+
{
|
|
1350
|
+
result = []
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
block_param: f_arg tCOMMA f_block_optarg tCOMMA f_rest_arg opt_block_args_tail
|
|
1354
|
+
{
|
|
1355
|
+
result = val[0].
|
|
1356
|
+
concat(val[2]).
|
|
1357
|
+
concat(val[4]).
|
|
1358
|
+
concat(val[5])
|
|
1359
|
+
}
|
|
1360
|
+
| f_arg tCOMMA f_block_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_block_args_tail
|
|
1361
|
+
{
|
|
1362
|
+
result = val[0].
|
|
1363
|
+
concat(val[2]).
|
|
1364
|
+
concat(val[4]).
|
|
1365
|
+
concat(val[6]).
|
|
1366
|
+
concat(val[7])
|
|
1367
|
+
}
|
|
1368
|
+
| f_arg tCOMMA f_block_optarg opt_block_args_tail
|
|
1369
|
+
{
|
|
1370
|
+
result = val[0].
|
|
1371
|
+
concat(val[2]).
|
|
1372
|
+
concat(val[3])
|
|
1373
|
+
}
|
|
1374
|
+
| f_arg tCOMMA f_block_optarg tCOMMA f_arg opt_block_args_tail
|
|
1375
|
+
{
|
|
1376
|
+
result = val[0].
|
|
1377
|
+
concat(val[2]).
|
|
1378
|
+
concat(val[4]).
|
|
1379
|
+
concat(val[5])
|
|
1380
|
+
}
|
|
1381
|
+
| f_arg tCOMMA f_rest_arg opt_block_args_tail
|
|
1382
|
+
{
|
|
1383
|
+
result = val[0].
|
|
1384
|
+
concat(val[2]).
|
|
1385
|
+
concat(val[3])
|
|
1386
|
+
}
|
|
1387
|
+
| f_arg tCOMMA
|
|
1388
|
+
| f_arg tCOMMA f_rest_arg tCOMMA f_arg opt_block_args_tail
|
|
1389
|
+
{
|
|
1390
|
+
result = val[0].
|
|
1391
|
+
concat(val[2]).
|
|
1392
|
+
concat(val[4]).
|
|
1393
|
+
concat(val[5])
|
|
1394
|
+
}
|
|
1395
|
+
| f_arg opt_block_args_tail
|
|
1396
|
+
{
|
|
1397
|
+
result = val[0].concat(val[1])
|
|
1398
|
+
}
|
|
1399
|
+
| f_block_optarg tCOMMA f_rest_arg opt_block_args_tail
|
|
1400
|
+
{
|
|
1401
|
+
result = val[0].
|
|
1402
|
+
concat(val[2]).
|
|
1403
|
+
concat(val[3])
|
|
1404
|
+
}
|
|
1405
|
+
| f_block_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_block_args_tail
|
|
1406
|
+
{
|
|
1407
|
+
result = val[0].
|
|
1408
|
+
concat(val[2]).
|
|
1409
|
+
concat(val[4]).
|
|
1410
|
+
concat(val[5])
|
|
1411
|
+
}
|
|
1412
|
+
| f_block_optarg opt_block_args_tail
|
|
1413
|
+
{
|
|
1414
|
+
result = val[0].
|
|
1415
|
+
concat(val[1])
|
|
1416
|
+
}
|
|
1417
|
+
| f_block_optarg tCOMMA f_arg opt_block_args_tail
|
|
1418
|
+
{
|
|
1419
|
+
result = val[0].
|
|
1420
|
+
concat(val[2]).
|
|
1421
|
+
concat(val[3])
|
|
1422
|
+
}
|
|
1423
|
+
| f_rest_arg opt_block_args_tail
|
|
1424
|
+
{
|
|
1425
|
+
result = val[0].
|
|
1426
|
+
concat(val[1])
|
|
1427
|
+
}
|
|
1428
|
+
| f_rest_arg tCOMMA f_arg opt_block_args_tail
|
|
1429
|
+
{
|
|
1430
|
+
result = val[0].
|
|
1431
|
+
concat(val[2]).
|
|
1432
|
+
concat(val[3])
|
|
1433
|
+
}
|
|
1434
|
+
| block_args_tail
|
|
1435
|
+
|
|
1436
|
+
opt_block_param: # nothing
|
|
1437
|
+
{
|
|
1438
|
+
result = @builder.args(nil, [], nil)
|
|
1439
|
+
}
|
|
1440
|
+
| block_param_def
|
|
1441
|
+
{
|
|
1442
|
+
@lexer.state = :expr_value
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
block_param_def: tPIPE opt_bv_decl tPIPE
|
|
1446
|
+
{
|
|
1447
|
+
result = @builder.args(val[0], val[1], val[2])
|
|
1448
|
+
}
|
|
1449
|
+
| tOROP
|
|
1450
|
+
{
|
|
1451
|
+
result = @builder.args(val[0], [], val[0])
|
|
1452
|
+
}
|
|
1453
|
+
| tPIPE block_param opt_bv_decl tPIPE
|
|
1454
|
+
{
|
|
1455
|
+
result = @builder.args(val[0], val[1].concat(val[2]), val[3])
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
opt_bv_decl: opt_nl
|
|
1459
|
+
{
|
|
1460
|
+
result = []
|
|
1461
|
+
}
|
|
1462
|
+
| opt_nl tSEMI bv_decls opt_nl
|
|
1463
|
+
{
|
|
1464
|
+
result = val[2]
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
bv_decls: bvar
|
|
1468
|
+
{
|
|
1469
|
+
result = [ val[0] ]
|
|
1470
|
+
}
|
|
1471
|
+
| bv_decls tCOMMA bvar
|
|
1472
|
+
{
|
|
1473
|
+
result = val[0] << val[2]
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
bvar: tIDENTIFIER
|
|
1477
|
+
{
|
|
1478
|
+
result = @builder.shadowarg(val[0])
|
|
1479
|
+
}
|
|
1480
|
+
| f_bad_arg
|
|
1481
|
+
|
|
1482
|
+
lambda: {
|
|
1483
|
+
@static_env.extend_dynamic
|
|
1484
|
+
}
|
|
1485
|
+
f_larglist lambda_body
|
|
1486
|
+
{
|
|
1487
|
+
result = [ val[1], val[2] ]
|
|
1488
|
+
|
|
1489
|
+
@static_env.unextend
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
f_larglist: tLPAREN2 f_args opt_bv_decl tRPAREN
|
|
1493
|
+
{
|
|
1494
|
+
result = @builder.args(val[0], val[1].concat(val[2]), val[3])
|
|
1495
|
+
}
|
|
1496
|
+
| f_args
|
|
1497
|
+
{
|
|
1498
|
+
result = @builder.args(nil, val[0], nil)
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
lambda_body: tLAMBEG compstmt tRCURLY
|
|
1502
|
+
{
|
|
1503
|
+
result = [ val[0], val[1], val[2] ]
|
|
1504
|
+
}
|
|
1505
|
+
| kDO_LAMBDA compstmt kEND
|
|
1506
|
+
{
|
|
1507
|
+
result = [ val[0], val[1], val[2] ]
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
do_block: kDO_BLOCK
|
|
1511
|
+
{
|
|
1512
|
+
@static_env.extend_dynamic
|
|
1513
|
+
}
|
|
1514
|
+
opt_block_param compstmt kEND
|
|
1515
|
+
{
|
|
1516
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
|
1517
|
+
|
|
1518
|
+
@static_env.unextend
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
block_call: command do_block
|
|
1522
|
+
{
|
|
1523
|
+
begin_t, block_args, body, end_t = val[1]
|
|
1524
|
+
result = @builder.block(val[0],
|
|
1525
|
+
begin_t, block_args, body, end_t)
|
|
1526
|
+
}
|
|
1527
|
+
| block_call dot_or_colon operation2 opt_paren_args
|
|
1528
|
+
{
|
|
1529
|
+
lparen_t, args, rparen_t = val[3]
|
|
1530
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
|
1531
|
+
lparen_t, args, rparen_t)
|
|
1532
|
+
}
|
|
1533
|
+
| block_call dot_or_colon operation2 opt_paren_args brace_block
|
|
1534
|
+
{
|
|
1535
|
+
lparen_t, args, rparen_t = val[3]
|
|
1536
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
|
1537
|
+
lparen_t, args, rparen_t)
|
|
1538
|
+
|
|
1539
|
+
begin_t, args, body, end_t = val[4]
|
|
1540
|
+
result = @builder.block(method_call,
|
|
1541
|
+
begin_t, args, body, end_t)
|
|
1542
|
+
}
|
|
1543
|
+
| block_call dot_or_colon operation2 command_args do_block
|
|
1544
|
+
{
|
|
1545
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
|
1546
|
+
nil, val[3], nil)
|
|
1547
|
+
|
|
1548
|
+
begin_t, args, body, end_t = val[4]
|
|
1549
|
+
result = @builder.block(method_call,
|
|
1550
|
+
begin_t, args, body, end_t)
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
method_call: fcall paren_args
|
|
1554
|
+
{
|
|
1555
|
+
lparen_t, args, rparen_t = val[1]
|
|
1556
|
+
result = @builder.call_method(nil, nil, val[0],
|
|
1557
|
+
lparen_t, args, rparen_t)
|
|
1558
|
+
}
|
|
1559
|
+
| primary_value tDOT operation2 opt_paren_args
|
|
1560
|
+
{
|
|
1561
|
+
lparen_t, args, rparen_t = val[3]
|
|
1562
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
|
1563
|
+
lparen_t, args, rparen_t)
|
|
1564
|
+
}
|
|
1565
|
+
| primary_value tCOLON2 operation2 paren_args
|
|
1566
|
+
{
|
|
1567
|
+
lparen_t, args, rparen_t = val[3]
|
|
1568
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
|
1569
|
+
lparen_t, args, rparen_t)
|
|
1570
|
+
}
|
|
1571
|
+
| primary_value tCOLON2 operation3
|
|
1572
|
+
{
|
|
1573
|
+
result = @builder.call_method(val[0], val[1], val[2])
|
|
1574
|
+
}
|
|
1575
|
+
| primary_value tDOT paren_args
|
|
1576
|
+
{
|
|
1577
|
+
lparen_t, args, rparen_t = val[2]
|
|
1578
|
+
result = @builder.call_method(val[0], val[1], nil,
|
|
1579
|
+
lparen_t, args, rparen_t)
|
|
1580
|
+
}
|
|
1581
|
+
| primary_value tCOLON2 paren_args
|
|
1582
|
+
{
|
|
1583
|
+
lparen_t, args, rparen_t = val[2]
|
|
1584
|
+
result = @builder.call_method(val[0], val[1], nil,
|
|
1585
|
+
lparen_t, args, rparen_t)
|
|
1586
|
+
}
|
|
1587
|
+
| kSUPER paren_args
|
|
1588
|
+
{
|
|
1589
|
+
lparen_t, args, rparen_t = val[1]
|
|
1590
|
+
result = @builder.keyword_cmd(:super, val[0],
|
|
1591
|
+
lparen_t, args, rparen_t)
|
|
1592
|
+
}
|
|
1593
|
+
| kSUPER
|
|
1594
|
+
{
|
|
1595
|
+
result = @builder.keyword_cmd(:zsuper, val[0])
|
|
1596
|
+
}
|
|
1597
|
+
| primary_value tLBRACK2 opt_call_args rbracket
|
|
1598
|
+
{
|
|
1599
|
+
result = @builder.index(val[0], val[1], val[2], val[3])
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
brace_block: tLCURLY
|
|
1603
|
+
{
|
|
1604
|
+
@static_env.extend_dynamic
|
|
1605
|
+
}
|
|
1606
|
+
opt_block_param compstmt tRCURLY
|
|
1607
|
+
{
|
|
1608
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
|
1609
|
+
|
|
1610
|
+
@static_env.unextend
|
|
1611
|
+
}
|
|
1612
|
+
| kDO
|
|
1613
|
+
{
|
|
1614
|
+
@static_env.extend_dynamic
|
|
1615
|
+
}
|
|
1616
|
+
opt_block_param compstmt kEND
|
|
1617
|
+
{
|
|
1618
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
|
1619
|
+
|
|
1620
|
+
@static_env.unextend
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
case_body: kWHEN args then compstmt cases
|
|
1624
|
+
{
|
|
1625
|
+
result = [ @builder.when(val[0], val[1], val[2], val[3]),
|
|
1626
|
+
*val[4] ]
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
cases: opt_else
|
|
1630
|
+
{
|
|
1631
|
+
result = [ val[0] ]
|
|
1632
|
+
}
|
|
1633
|
+
| case_body
|
|
1634
|
+
|
|
1635
|
+
opt_rescue: kRESCUE exc_list exc_var then compstmt opt_rescue
|
|
1636
|
+
{
|
|
1637
|
+
assoc_t, exc_var = val[2]
|
|
1638
|
+
|
|
1639
|
+
if val[1]
|
|
1640
|
+
exc_list = @builder.array(nil, val[1], nil)
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
result = [ @builder.rescue_body(val[0],
|
|
1644
|
+
exc_list, assoc_t, exc_var,
|
|
1645
|
+
val[3], val[4]),
|
|
1646
|
+
*val[5] ]
|
|
1647
|
+
}
|
|
1648
|
+
|
|
|
1649
|
+
{
|
|
1650
|
+
result = []
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
exc_list: arg_value
|
|
1654
|
+
{
|
|
1655
|
+
result = [ val[0] ]
|
|
1656
|
+
}
|
|
1657
|
+
| mrhs
|
|
1658
|
+
| none
|
|
1659
|
+
|
|
1660
|
+
exc_var: tASSOC lhs
|
|
1661
|
+
{
|
|
1662
|
+
result = [ val[0], val[1] ]
|
|
1663
|
+
}
|
|
1664
|
+
| none
|
|
1665
|
+
|
|
1666
|
+
opt_ensure: kENSURE compstmt
|
|
1667
|
+
{
|
|
1668
|
+
result = [ val[0], val[1] ]
|
|
1669
|
+
}
|
|
1670
|
+
| none
|
|
1671
|
+
|
|
1672
|
+
literal: numeric
|
|
1673
|
+
| symbol
|
|
1674
|
+
| dsym
|
|
1675
|
+
|
|
1676
|
+
strings: string
|
|
1677
|
+
{
|
|
1678
|
+
result = @builder.string_compose(nil, val[0], nil)
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
string: string1
|
|
1682
|
+
{
|
|
1683
|
+
result = [ val[0] ]
|
|
1684
|
+
}
|
|
1685
|
+
| string string1
|
|
1686
|
+
{
|
|
1687
|
+
result = val[0] << val[1]
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
string1: tSTRING_BEG string_contents tSTRING_END
|
|
1691
|
+
{
|
|
1692
|
+
result = @builder.string_compose(val[0], val[1], val[2])
|
|
1693
|
+
}
|
|
1694
|
+
| tSTRING
|
|
1695
|
+
{
|
|
1696
|
+
result = @builder.string(val[0])
|
|
1697
|
+
}
|
|
1698
|
+
| tCHARACTER
|
|
1699
|
+
{
|
|
1700
|
+
result = @builder.character(val[0])
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
xstring: tXSTRING_BEG xstring_contents tSTRING_END
|
|
1704
|
+
{
|
|
1705
|
+
result = @builder.xstring_compose(val[0], val[1], val[2])
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
regexp: tREGEXP_BEG regexp_contents tSTRING_END tREGEXP_OPT
|
|
1709
|
+
{
|
|
1710
|
+
opts = @builder.regexp_options(val[3])
|
|
1711
|
+
result = @builder.regexp_compose(val[0], val[1], val[2], opts)
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
words: tWORDS_BEG word_list tSTRING_END
|
|
1715
|
+
{
|
|
1716
|
+
result = @builder.words_compose(val[0], val[1], val[2])
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
word_list: # nothing
|
|
1720
|
+
{
|
|
1721
|
+
result = []
|
|
1722
|
+
}
|
|
1723
|
+
| word_list word tSPACE
|
|
1724
|
+
{
|
|
1725
|
+
result = val[0] << @builder.word(val[1])
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
word: string_content
|
|
1729
|
+
{
|
|
1730
|
+
result = [ val[0] ]
|
|
1731
|
+
}
|
|
1732
|
+
| word string_content
|
|
1733
|
+
{
|
|
1734
|
+
result = val[0] << val[1]
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
symbols: tSYMBOLS_BEG symbol_list tSTRING_END
|
|
1738
|
+
{
|
|
1739
|
+
result = @builder.symbols_compose(val[0], val[1], val[2])
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
symbol_list: # nothing
|
|
1743
|
+
{
|
|
1744
|
+
result = []
|
|
1745
|
+
}
|
|
1746
|
+
| symbol_list word tSPACE
|
|
1747
|
+
{
|
|
1748
|
+
result = val[0] << @builder.word(val[1])
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
qwords: tQWORDS_BEG qword_list tSTRING_END
|
|
1752
|
+
{
|
|
1753
|
+
result = @builder.words_compose(val[0], val[1], val[2])
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
qsymbols: tQSYMBOLS_BEG qsym_list tSTRING_END
|
|
1757
|
+
{
|
|
1758
|
+
result = @builder.symbols_compose(val[0], val[1], val[2])
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
qword_list: # nothing
|
|
1762
|
+
{
|
|
1763
|
+
result = []
|
|
1764
|
+
}
|
|
1765
|
+
| qword_list tSTRING_CONTENT tSPACE
|
|
1766
|
+
{
|
|
1767
|
+
result = val[0] << @builder.string_internal(val[1])
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
qsym_list: # nothing
|
|
1771
|
+
{
|
|
1772
|
+
result = []
|
|
1773
|
+
}
|
|
1774
|
+
| qsym_list tSTRING_CONTENT tSPACE
|
|
1775
|
+
{
|
|
1776
|
+
result = val[0] << @builder.symbol_internal(val[1])
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
string_contents: # nothing
|
|
1780
|
+
{
|
|
1781
|
+
result = []
|
|
1782
|
+
}
|
|
1783
|
+
| string_contents string_content
|
|
1784
|
+
{
|
|
1785
|
+
result = val[0] << val[1]
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
xstring_contents: # nothing
|
|
1789
|
+
{
|
|
1790
|
+
result = []
|
|
1791
|
+
}
|
|
1792
|
+
| xstring_contents string_content
|
|
1793
|
+
{
|
|
1794
|
+
result = val[0] << val[1]
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
regexp_contents: # nothing
|
|
1798
|
+
{
|
|
1799
|
+
result = []
|
|
1800
|
+
}
|
|
1801
|
+
| regexp_contents string_content
|
|
1802
|
+
{
|
|
1803
|
+
result = val[0] << val[1]
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
string_content: tSTRING_CONTENT
|
|
1807
|
+
{
|
|
1808
|
+
result = @builder.string_internal(val[0])
|
|
1809
|
+
}
|
|
1810
|
+
| tSTRING_DVAR string_dvar
|
|
1811
|
+
{
|
|
1812
|
+
result = val[1]
|
|
1813
|
+
}
|
|
1814
|
+
| tSTRING_DBEG
|
|
1815
|
+
{
|
|
1816
|
+
@lexer.cond.push(false)
|
|
1817
|
+
@lexer.cmdarg.push(false)
|
|
1818
|
+
}
|
|
1819
|
+
compstmt tSTRING_DEND
|
|
1820
|
+
{
|
|
1821
|
+
@lexer.cond.lexpop
|
|
1822
|
+
@lexer.cmdarg.lexpop
|
|
1823
|
+
|
|
1824
|
+
result = @builder.begin(val[0], val[2], val[3])
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
string_dvar: tGVAR
|
|
1828
|
+
{
|
|
1829
|
+
result = @builder.gvar(val[0])
|
|
1830
|
+
}
|
|
1831
|
+
| tIVAR
|
|
1832
|
+
{
|
|
1833
|
+
result = @builder.ivar(val[0])
|
|
1834
|
+
}
|
|
1835
|
+
| tCVAR
|
|
1836
|
+
{
|
|
1837
|
+
result = @builder.cvar(val[0])
|
|
1838
|
+
}
|
|
1839
|
+
| backref
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
symbol: tSYMBOL
|
|
1843
|
+
{
|
|
1844
|
+
result = @builder.symbol(val[0])
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
dsym: tSYMBEG xstring_contents tSTRING_END
|
|
1848
|
+
{
|
|
1849
|
+
result = @builder.symbol_compose(val[0], val[1], val[2])
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
numeric: tINTEGER
|
|
1853
|
+
{
|
|
1854
|
+
result = @builder.integer(val[0])
|
|
1855
|
+
}
|
|
1856
|
+
| tFLOAT
|
|
1857
|
+
{
|
|
1858
|
+
result = @builder.float(val[0])
|
|
1859
|
+
}
|
|
1860
|
+
| tUMINUS_NUM tINTEGER =tLOWEST
|
|
1861
|
+
{
|
|
1862
|
+
result = @builder.negate(val[0],
|
|
1863
|
+
@builder.integer(val[1]))
|
|
1864
|
+
}
|
|
1865
|
+
| tUMINUS_NUM tFLOAT =tLOWEST
|
|
1866
|
+
{
|
|
1867
|
+
result = @builder.negate(val[0],
|
|
1868
|
+
@builder.float(val[1]))
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
user_variable: tIDENTIFIER
|
|
1872
|
+
{
|
|
1873
|
+
result = @builder.ident(val[0])
|
|
1874
|
+
}
|
|
1875
|
+
| tIVAR
|
|
1876
|
+
{
|
|
1877
|
+
result = @builder.ivar(val[0])
|
|
1878
|
+
}
|
|
1879
|
+
| tGVAR
|
|
1880
|
+
{
|
|
1881
|
+
result = @builder.gvar(val[0])
|
|
1882
|
+
}
|
|
1883
|
+
| tCONSTANT
|
|
1884
|
+
{
|
|
1885
|
+
result = @builder.const(val[0])
|
|
1886
|
+
}
|
|
1887
|
+
| tCVAR
|
|
1888
|
+
{
|
|
1889
|
+
result = @builder.cvar(val[0])
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
keyword_variable: kNIL
|
|
1893
|
+
{
|
|
1894
|
+
result = @builder.nil(val[0])
|
|
1895
|
+
}
|
|
1896
|
+
| kSELF
|
|
1897
|
+
{
|
|
1898
|
+
result = @builder.self(val[0])
|
|
1899
|
+
}
|
|
1900
|
+
| kTRUE
|
|
1901
|
+
{
|
|
1902
|
+
result = @builder.true(val[0])
|
|
1903
|
+
}
|
|
1904
|
+
| kFALSE
|
|
1905
|
+
{
|
|
1906
|
+
result = @builder.false(val[0])
|
|
1907
|
+
}
|
|
1908
|
+
| k__FILE__
|
|
1909
|
+
{
|
|
1910
|
+
result = @builder.__FILE__(val[0])
|
|
1911
|
+
}
|
|
1912
|
+
| k__LINE__
|
|
1913
|
+
{
|
|
1914
|
+
result = @builder.__LINE__(val[0])
|
|
1915
|
+
}
|
|
1916
|
+
| k__ENCODING__
|
|
1917
|
+
{
|
|
1918
|
+
result = @builder.__ENCODING__(val[0])
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
var_ref: user_variable
|
|
1922
|
+
{
|
|
1923
|
+
result = @builder.accessible(val[0])
|
|
1924
|
+
}
|
|
1925
|
+
| keyword_variable
|
|
1926
|
+
{
|
|
1927
|
+
result = @builder.accessible(val[0])
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
var_lhs: user_variable
|
|
1931
|
+
{
|
|
1932
|
+
result = @builder.assignable(val[0])
|
|
1933
|
+
}
|
|
1934
|
+
| keyword_variable
|
|
1935
|
+
{
|
|
1936
|
+
result = @builder.assignable(val[0])
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
backref: tNTH_REF
|
|
1940
|
+
{
|
|
1941
|
+
result = @builder.nth_ref(val[0])
|
|
1942
|
+
}
|
|
1943
|
+
| tBACK_REF
|
|
1944
|
+
{
|
|
1945
|
+
result = @builder.back_ref(val[0])
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
superclass: term
|
|
1949
|
+
{
|
|
1950
|
+
result = nil
|
|
1951
|
+
}
|
|
1952
|
+
| tLT
|
|
1953
|
+
{
|
|
1954
|
+
@lexer.state = :expr_value
|
|
1955
|
+
}
|
|
1956
|
+
expr_value term
|
|
1957
|
+
{
|
|
1958
|
+
result = [ val[0], val[2] ]
|
|
1959
|
+
}
|
|
1960
|
+
| error term
|
|
1961
|
+
{
|
|
1962
|
+
yyerrok
|
|
1963
|
+
result = nil
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
f_arglist: tLPAREN2 f_args rparen
|
|
1967
|
+
{
|
|
1968
|
+
result = @builder.args(val[0], val[1], val[2])
|
|
1969
|
+
|
|
1970
|
+
@lexer.state = :expr_value
|
|
1971
|
+
}
|
|
1972
|
+
| f_args term
|
|
1973
|
+
{
|
|
1974
|
+
result = @builder.args(nil, val[0], nil)
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
args_tail: f_kwarg tCOMMA f_kwrest opt_f_block_arg
|
|
1978
|
+
{
|
|
1979
|
+
result = val[0].concat(val[2]).concat(val[3])
|
|
1980
|
+
}
|
|
1981
|
+
| f_kwarg opt_f_block_arg
|
|
1982
|
+
{
|
|
1983
|
+
result = val[0].concat(val[1])
|
|
1984
|
+
}
|
|
1985
|
+
| f_kwrest opt_f_block_arg
|
|
1986
|
+
{
|
|
1987
|
+
result = val[0].concat(val[1])
|
|
1988
|
+
}
|
|
1989
|
+
| f_block_arg
|
|
1990
|
+
{
|
|
1991
|
+
result = [ val[0] ]
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
opt_args_tail: tCOMMA args_tail
|
|
1995
|
+
{
|
|
1996
|
+
result = val[1]
|
|
1997
|
+
}
|
|
1998
|
+
| # nothing
|
|
1999
|
+
{
|
|
2000
|
+
result = []
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
f_args: f_arg tCOMMA f_optarg tCOMMA f_rest_arg opt_args_tail
|
|
2004
|
+
{
|
|
2005
|
+
result = val[0].
|
|
2006
|
+
concat(val[2]).
|
|
2007
|
+
concat(val[4]).
|
|
2008
|
+
concat(val[5])
|
|
2009
|
+
}
|
|
2010
|
+
| f_arg tCOMMA f_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_args_tail
|
|
2011
|
+
{
|
|
2012
|
+
result = val[0].
|
|
2013
|
+
concat(val[2]).
|
|
2014
|
+
concat(val[4]).
|
|
2015
|
+
concat(val[6]).
|
|
2016
|
+
concat(val[7])
|
|
2017
|
+
}
|
|
2018
|
+
| f_arg tCOMMA f_optarg opt_args_tail
|
|
2019
|
+
{
|
|
2020
|
+
result = val[0].
|
|
2021
|
+
concat(val[2]).
|
|
2022
|
+
concat(val[3])
|
|
2023
|
+
}
|
|
2024
|
+
| f_arg tCOMMA f_optarg tCOMMA f_arg opt_args_tail
|
|
2025
|
+
{
|
|
2026
|
+
result = val[0].
|
|
2027
|
+
concat(val[2]).
|
|
2028
|
+
concat(val[4]).
|
|
2029
|
+
concat(val[5])
|
|
2030
|
+
}
|
|
2031
|
+
| f_arg tCOMMA f_rest_arg opt_args_tail
|
|
2032
|
+
{
|
|
2033
|
+
result = val[0].
|
|
2034
|
+
concat(val[2]).
|
|
2035
|
+
concat(val[3])
|
|
2036
|
+
}
|
|
2037
|
+
| f_arg tCOMMA f_rest_arg tCOMMA f_arg opt_args_tail
|
|
2038
|
+
{
|
|
2039
|
+
result = val[0].
|
|
2040
|
+
concat(val[2]).
|
|
2041
|
+
concat(val[4]).
|
|
2042
|
+
concat(val[5])
|
|
2043
|
+
}
|
|
2044
|
+
| f_arg opt_args_tail
|
|
2045
|
+
{
|
|
2046
|
+
result = val[0].
|
|
2047
|
+
concat(val[1])
|
|
2048
|
+
}
|
|
2049
|
+
| f_optarg tCOMMA f_rest_arg opt_args_tail
|
|
2050
|
+
{
|
|
2051
|
+
result = val[0].
|
|
2052
|
+
concat(val[2]).
|
|
2053
|
+
concat(val[3])
|
|
2054
|
+
}
|
|
2055
|
+
| f_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_args_tail
|
|
2056
|
+
{
|
|
2057
|
+
result = val[0].
|
|
2058
|
+
concat(val[2]).
|
|
2059
|
+
concat(val[4]).
|
|
2060
|
+
concat(val[5])
|
|
2061
|
+
}
|
|
2062
|
+
| f_optarg opt_args_tail
|
|
2063
|
+
{
|
|
2064
|
+
result = val[0].
|
|
2065
|
+
concat(val[1])
|
|
2066
|
+
}
|
|
2067
|
+
| f_optarg tCOMMA f_arg opt_args_tail
|
|
2068
|
+
{
|
|
2069
|
+
result = val[0].
|
|
2070
|
+
concat(val[2]).
|
|
2071
|
+
concat(val[3])
|
|
2072
|
+
}
|
|
2073
|
+
| f_rest_arg opt_args_tail
|
|
2074
|
+
{
|
|
2075
|
+
result = val[0].
|
|
2076
|
+
concat(val[1])
|
|
2077
|
+
}
|
|
2078
|
+
| f_rest_arg tCOMMA f_arg opt_args_tail
|
|
2079
|
+
{
|
|
2080
|
+
result = val[0].
|
|
2081
|
+
concat(val[2]).
|
|
2082
|
+
concat(val[3])
|
|
2083
|
+
}
|
|
2084
|
+
| args_tail
|
|
2085
|
+
{
|
|
2086
|
+
result = val[0]
|
|
2087
|
+
}
|
|
2088
|
+
| # nothing
|
|
2089
|
+
{
|
|
2090
|
+
result = []
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
f_bad_arg: tCONSTANT
|
|
2094
|
+
{
|
|
2095
|
+
diagnostic :error, :argument_const, nil, val[0]
|
|
2096
|
+
}
|
|
2097
|
+
| tIVAR
|
|
2098
|
+
{
|
|
2099
|
+
diagnostic :error, :argument_ivar, nil, val[0]
|
|
2100
|
+
}
|
|
2101
|
+
| tGVAR
|
|
2102
|
+
{
|
|
2103
|
+
diagnostic :error, :argument_gvar, nil, val[0]
|
|
2104
|
+
}
|
|
2105
|
+
| tCVAR
|
|
2106
|
+
{
|
|
2107
|
+
diagnostic :error, :argument_cvar, nil, val[0]
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
f_norm_arg: f_bad_arg
|
|
2111
|
+
| tIDENTIFIER
|
|
2112
|
+
|
|
2113
|
+
f_arg_item: f_norm_arg
|
|
2114
|
+
{
|
|
2115
|
+
@static_env.declare val[0][0]
|
|
2116
|
+
|
|
2117
|
+
result = @builder.arg(val[0])
|
|
2118
|
+
}
|
|
2119
|
+
| tLPAREN f_margs rparen
|
|
2120
|
+
{
|
|
2121
|
+
result = @builder.multi_lhs(val[0], val[1], val[2])
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
f_arg: f_arg_item
|
|
2125
|
+
{
|
|
2126
|
+
result = [ val[0] ]
|
|
2127
|
+
}
|
|
2128
|
+
| f_arg tCOMMA f_arg_item
|
|
2129
|
+
{
|
|
2130
|
+
result = val[0] << val[2]
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
f_kw: tLABEL arg_value
|
|
2134
|
+
{
|
|
2135
|
+
check_kwarg_name(val[0])
|
|
2136
|
+
|
|
2137
|
+
@static_env.declare val[0][0]
|
|
2138
|
+
|
|
2139
|
+
result = @builder.kwoptarg(val[0], val[1])
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
f_block_kw: tLABEL primary_value
|
|
2143
|
+
{
|
|
2144
|
+
check_kwarg_name(val[0])
|
|
2145
|
+
|
|
2146
|
+
@static_env.declare val[0][0]
|
|
2147
|
+
|
|
2148
|
+
result = @builder.kwoptarg(val[0], val[1])
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
f_block_kwarg: f_block_kw
|
|
2152
|
+
{
|
|
2153
|
+
result = [ val[0] ]
|
|
2154
|
+
}
|
|
2155
|
+
| f_block_kwarg tCOMMA f_block_kw
|
|
2156
|
+
{
|
|
2157
|
+
result = val[0] << val[2]
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
f_kwarg: f_kw
|
|
2161
|
+
{
|
|
2162
|
+
result = [ val[0] ]
|
|
2163
|
+
}
|
|
2164
|
+
| f_kwarg tCOMMA f_kw
|
|
2165
|
+
{
|
|
2166
|
+
result = val[0] << val[2]
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
kwrest_mark: tPOW | tDSTAR
|
|
2170
|
+
|
|
2171
|
+
f_kwrest: kwrest_mark tIDENTIFIER
|
|
2172
|
+
{
|
|
2173
|
+
@static_env.declare val[1][0]
|
|
2174
|
+
|
|
2175
|
+
result = [ @builder.kwrestarg(val[0], val[1]) ]
|
|
2176
|
+
}
|
|
2177
|
+
| kwrest_mark
|
|
2178
|
+
{
|
|
2179
|
+
result = [ @builder.kwrestarg(val[0]) ]
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
f_opt: tIDENTIFIER tEQL arg_value
|
|
2183
|
+
{
|
|
2184
|
+
@static_env.declare val[0][0]
|
|
2185
|
+
|
|
2186
|
+
result = @builder.optarg(val[0], val[1], val[2])
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
f_block_opt: tIDENTIFIER tEQL primary_value
|
|
2190
|
+
{
|
|
2191
|
+
@static_env.declare val[0][0]
|
|
2192
|
+
|
|
2193
|
+
result = @builder.optarg(val[0], val[1], val[2])
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
f_block_optarg: f_block_opt
|
|
2197
|
+
{
|
|
2198
|
+
result = [ val[0] ]
|
|
2199
|
+
}
|
|
2200
|
+
| f_block_optarg tCOMMA f_block_opt
|
|
2201
|
+
{
|
|
2202
|
+
result = val[0] << val[2]
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
f_optarg: f_opt
|
|
2206
|
+
{
|
|
2207
|
+
result = [ val[0] ]
|
|
2208
|
+
}
|
|
2209
|
+
| f_optarg tCOMMA f_opt
|
|
2210
|
+
{
|
|
2211
|
+
result = val[0] << val[2]
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
restarg_mark: tSTAR2 | tSTAR
|
|
2215
|
+
|
|
2216
|
+
f_rest_arg: restarg_mark tIDENTIFIER
|
|
2217
|
+
{
|
|
2218
|
+
@static_env.declare val[1][0]
|
|
2219
|
+
|
|
2220
|
+
result = [ @builder.restarg(val[0], val[1]) ]
|
|
2221
|
+
}
|
|
2222
|
+
| restarg_mark
|
|
2223
|
+
{
|
|
2224
|
+
result = [ @builder.restarg(val[0]) ]
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
blkarg_mark: tAMPER2 | tAMPER
|
|
2228
|
+
|
|
2229
|
+
f_block_arg: blkarg_mark tIDENTIFIER
|
|
2230
|
+
{
|
|
2231
|
+
@static_env.declare val[1][0]
|
|
2232
|
+
|
|
2233
|
+
result = @builder.blockarg(val[0], val[1])
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
opt_f_block_arg: tCOMMA f_block_arg
|
|
2237
|
+
{
|
|
2238
|
+
result = [ val[1] ]
|
|
2239
|
+
}
|
|
2240
|
+
|
|
|
2241
|
+
{
|
|
2242
|
+
result = []
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
singleton: var_ref
|
|
2246
|
+
| tLPAREN2 expr rparen
|
|
2247
|
+
{
|
|
2248
|
+
result = val[1]
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
assoc_list: # nothing
|
|
2252
|
+
{
|
|
2253
|
+
result = []
|
|
2254
|
+
}
|
|
2255
|
+
| assocs trailer
|
|
2256
|
+
|
|
2257
|
+
assocs: assoc
|
|
2258
|
+
{
|
|
2259
|
+
result = [ val[0] ]
|
|
2260
|
+
}
|
|
2261
|
+
| assocs tCOMMA assoc
|
|
2262
|
+
{
|
|
2263
|
+
result = val[0] << val[2]
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
assoc: arg_value tASSOC arg_value
|
|
2267
|
+
{
|
|
2268
|
+
result = @builder.pair(val[0], val[1], val[2])
|
|
2269
|
+
}
|
|
2270
|
+
| tLABEL arg_value
|
|
2271
|
+
{
|
|
2272
|
+
result = @builder.pair_keyword(val[0], val[1])
|
|
2273
|
+
}
|
|
2274
|
+
| tDSTAR arg_value
|
|
2275
|
+
{
|
|
2276
|
+
result = @builder.kwsplat(val[0], val[1])
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
operation: tIDENTIFIER | tCONSTANT | tFID
|
|
2280
|
+
operation2: tIDENTIFIER | tCONSTANT | tFID | op
|
|
2281
|
+
operation3: tIDENTIFIER | tFID | op
|
|
2282
|
+
dot_or_colon: tDOT | tCOLON2
|
|
2283
|
+
opt_terms: | terms
|
|
2284
|
+
opt_nl: | tNL
|
|
2285
|
+
rparen: opt_nl tRPAREN
|
|
2286
|
+
{
|
|
2287
|
+
result = val[1]
|
|
2288
|
+
}
|
|
2289
|
+
rbracket: opt_nl tRBRACK
|
|
2290
|
+
{
|
|
2291
|
+
result = val[1]
|
|
2292
|
+
}
|
|
2293
|
+
trailer: | tNL | tCOMMA
|
|
2294
|
+
|
|
2295
|
+
term: tSEMI
|
|
2296
|
+
{
|
|
2297
|
+
yyerrok
|
|
2298
|
+
}
|
|
2299
|
+
| tNL
|
|
2300
|
+
|
|
2301
|
+
terms: term
|
|
2302
|
+
| terms tSEMI
|
|
2303
|
+
|
|
2304
|
+
none: # nothing
|
|
2305
|
+
{
|
|
2306
|
+
result = nil
|
|
2307
|
+
}
|
|
2308
|
+
end
|
|
2309
|
+
|
|
2310
|
+
---- header
|
|
2311
|
+
|
|
2312
|
+
require 'parser'
|
|
2313
|
+
|
|
2314
|
+
Parser.check_for_encoding_support
|
|
2315
|
+
|
|
2316
|
+
---- inner
|
|
2317
|
+
|
|
2318
|
+
def version
|
|
2319
|
+
20
|
|
2320
|
+
end
|
|
2321
|
+
|
|
2322
|
+
def default_encoding
|
|
2323
|
+
Encoding::UTF_8
|
|
2324
|
+
end
|