rubyjobbuilderdsl 0.0.2 → 0.0.3

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.
Files changed (1263) hide show
  1. checksums.yaml +4 -4
  2. data/Readme.md +61 -0
  3. data/docs/index.md +1 -0
  4. data/docs/overview.md +2 -2
  5. data/docs/pipeline.md +26 -0
  6. data/lib/rubyjobbuilderdsl/builder.rb +11 -0
  7. data/lib/rubyjobbuilderdsl/pipeline.rb +19 -0
  8. data/lib/rubyjobbuilderdsl/xml_generator.rb +29 -1
  9. data/rubyjobbuilderdsl.gemspec +2 -2
  10. data/sample/Schedule-sample-pipeline.xml +28 -0
  11. data/sample/local.ini +3 -3
  12. data/test/test_cucumber_json_publisher.rb +0 -41
  13. metadata +7 -1253
  14. data/rubyjobbuilderdsl-0.0.0.gem +0 -0
  15. data/rubyjobbuilderdsl-0.0.1.gem +0 -0
  16. data/vendor/bundle/ruby/2.1.0/bin/nokogiri +0 -23
  17. data/vendor/bundle/ruby/2.1.0/bin/nokogiri.bat +0 -6
  18. data/vendor/bundle/ruby/2.1.0/bin/rake +0 -23
  19. data/vendor/bundle/ruby/2.1.0/bin/rake.bat +0 -6
  20. data/vendor/bundle/ruby/2.1.0/bin/rubocop +0 -23
  21. data/vendor/bundle/ruby/2.1.0/bin/rubocop.bat +0 -6
  22. data/vendor/bundle/ruby/2.1.0/bin/ruby-parse +0 -23
  23. data/vendor/bundle/ruby/2.1.0/bin/ruby-parse.bat +0 -6
  24. data/vendor/bundle/ruby/2.1.0/bin/ruby-rewrite +0 -23
  25. data/vendor/bundle/ruby/2.1.0/bin/ruby-rewrite.bat +0 -6
  26. data/vendor/bundle/ruby/2.1.0/cache/ast-2.0.0.gem +0 -0
  27. data/vendor/bundle/ruby/2.1.0/cache/astrolabe-1.3.0.gem +0 -0
  28. data/vendor/bundle/ruby/2.1.0/cache/builder-3.2.2.gem +0 -0
  29. data/vendor/bundle/ruby/2.1.0/cache/mini_portile-0.6.0.gem +0 -0
  30. data/vendor/bundle/ruby/2.1.0/cache/nokogiri-1.6.3.1-x64-mingw32.gem +0 -0
  31. data/vendor/bundle/ruby/2.1.0/cache/parser-2.2.0.pre.4.gem +0 -0
  32. data/vendor/bundle/ruby/2.1.0/cache/powerpack-0.0.9.gem +0 -0
  33. data/vendor/bundle/ruby/2.1.0/cache/rainbow-2.0.0.gem +0 -0
  34. data/vendor/bundle/ruby/2.1.0/cache/rake-0.9.6.gem +0 -0
  35. data/vendor/bundle/ruby/2.1.0/cache/rubocop-0.26.0.gem +0 -0
  36. data/vendor/bundle/ruby/2.1.0/cache/ruby-progressbar-1.5.1.gem +0 -0
  37. data/vendor/bundle/ruby/2.1.0/cache/slop-3.6.0.gem +0 -0
  38. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/CHANGELOG.md +0 -9
  39. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/Gemfile +0 -4
  40. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/LICENSE.MIT +0 -20
  41. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/README.YARD.md +0 -12
  42. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/README.md +0 -23
  43. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/Rakefile +0 -19
  44. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/ast.gemspec +0 -28
  45. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast/node.rb +0 -232
  46. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast/processor.rb +0 -266
  47. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast/sexp.rb +0 -30
  48. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/lib/ast.rb +0 -17
  49. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/test/helper.rb +0 -17
  50. data/vendor/bundle/ruby/2.1.0/gems/ast-2.0.0/test/test_ast.rb +0 -243
  51. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/CHANGELOG.md +0 -23
  52. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Gemfile +0 -9
  53. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Guardfile +0 -17
  54. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/LICENSE.txt +0 -22
  55. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/README.md +0 -130
  56. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Rakefile +0 -24
  57. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/astrolabe.gemspec +0 -34
  58. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/benchmark/benchmark_helper.rb +0 -122
  59. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/benchmark/performance_spec.rb +0 -346
  60. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/builder.rb +0 -28
  61. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/node.rb +0 -270
  62. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/sexp.rb +0 -15
  63. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe/version.rb +0 -15
  64. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/lib/astrolabe.rb +0 -4
  65. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/astrolabe/node_spec.rb +0 -479
  66. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/astrolabe/sexp_spec.rb +0 -25
  67. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/spec_helper.rb +0 -96
  68. data/vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/spec/support/shared_contexts.rb +0 -17
  69. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/CHANGES +0 -107
  70. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/MIT-LICENSE +0 -20
  71. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/README.md +0 -258
  72. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/Rakefile +0 -195
  73. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/jamis.rb +0 -591
  74. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +0 -31
  75. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +0 -46
  76. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +0 -58
  77. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/blankslate.rb +0 -137
  78. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/blankslate.rb +0 -23
  79. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/version.rb +0 -8
  80. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xchar.rb +0 -197
  81. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +0 -199
  82. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +0 -63
  83. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +0 -339
  84. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder.rb +0 -13
  85. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/publish.rake +0 -17
  86. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/tags.rake +0 -62
  87. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/performance.rb +0 -41
  88. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/preload.rb +0 -39
  89. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_blankslate.rb +0 -217
  90. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_eventbuilder.rb +0 -150
  91. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_markupbuilder.rb +0 -611
  92. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_method_caching.rb +0 -62
  93. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_namecollision.rb +0 -39
  94. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_xchar.rb +0 -78
  95. data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/History.txt +0 -86
  96. data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/LICENSE.txt +0 -20
  97. data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/README.rdoc +0 -169
  98. data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/Rakefile +0 -53
  99. data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/examples/Rakefile +0 -113
  100. data/vendor/bundle/ruby/2.1.0/gems/mini_portile-0.6.0/lib/mini_portile.rb +0 -437
  101. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/CHANGELOG.ja.rdoc +0 -913
  102. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/CHANGELOG.rdoc +0 -922
  103. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/C_CODING_STYLE.rdoc +0 -33
  104. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Gemfile +0 -21
  105. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Manifest.txt +0 -377
  106. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/README.ja.rdoc +0 -111
  107. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/README.rdoc +0 -180
  108. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ROADMAP.md +0 -89
  109. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Rakefile +0 -356
  110. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/STANDARD_RESPONSES.md +0 -47
  111. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/Y_U_NO_GEMSPEC.md +0 -155
  112. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/bin/nokogiri +0 -78
  113. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/build_all +0 -129
  114. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/dependencies.yml +0 -4
  115. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/depend +0 -358
  116. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/extconf.rb +0 -548
  117. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_document.c +0 -170
  118. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_document.h +0 -10
  119. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_element_description.c +0 -279
  120. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_element_description.h +0 -10
  121. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_entity_lookup.c +0 -32
  122. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_entity_lookup.h +0 -8
  123. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_parser_context.c +0 -116
  124. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_parser_context.h +0 -11
  125. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_push_parser.c +0 -87
  126. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/html_sax_push_parser.h +0 -9
  127. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/nokogiri.c +0 -148
  128. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/nokogiri.h +0 -164
  129. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attr.c +0 -94
  130. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attr.h +0 -9
  131. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attribute_decl.c +0 -70
  132. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_attribute_decl.h +0 -9
  133. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_cdata.c +0 -56
  134. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_cdata.h +0 -9
  135. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_comment.c +0 -54
  136. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_comment.h +0 -9
  137. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document.c +0 -600
  138. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document.h +0 -23
  139. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document_fragment.c +0 -48
  140. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_document_fragment.h +0 -10
  141. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_dtd.c +0 -202
  142. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_dtd.h +0 -10
  143. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_content.c +0 -123
  144. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_content.h +0 -10
  145. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_decl.c +0 -69
  146. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_element_decl.h +0 -9
  147. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_encoding_handler.c +0 -79
  148. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_encoding_handler.h +0 -8
  149. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_decl.c +0 -110
  150. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_decl.h +0 -10
  151. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_reference.c +0 -52
  152. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_entity_reference.h +0 -9
  153. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_io.c +0 -56
  154. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_io.h +0 -11
  155. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  156. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  157. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_namespace.c +0 -78
  158. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_namespace.h +0 -13
  159. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node.c +0 -1603
  160. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node.h +0 -13
  161. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node_set.c +0 -467
  162. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_node_set.h +0 -14
  163. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_processing_instruction.c +0 -56
  164. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_processing_instruction.h +0 -9
  165. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_reader.c +0 -681
  166. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_reader.h +0 -10
  167. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_relax_ng.c +0 -161
  168. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_relax_ng.h +0 -9
  169. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser.c +0 -312
  170. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser.h +0 -39
  171. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser_context.c +0 -262
  172. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_parser_context.h +0 -10
  173. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_push_parser.c +0 -115
  174. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_sax_push_parser.h +0 -9
  175. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_schema.c +0 -205
  176. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_schema.h +0 -9
  177. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_syntax_error.c +0 -63
  178. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_syntax_error.h +0 -13
  179. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_text.c +0 -52
  180. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_text.h +0 -9
  181. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_xpath_context.c +0 -307
  182. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xml_xpath_context.h +0 -10
  183. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xslt_stylesheet.c +0 -270
  184. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/ext/nokogiri/xslt_stylesheet.h +0 -14
  185. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/2.0/nokogiri.so +0 -0
  186. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/2.1/nokogiri.so +0 -0
  187. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/node.rb +0 -52
  188. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/parser.rb +0 -715
  189. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/parser.y +0 -249
  190. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/parser_extras.rb +0 -91
  191. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/syntax_error.rb +0 -7
  192. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/tokenizer.rb +0 -152
  193. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/tokenizer.rex +0 -55
  194. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css/xpath_visitor.rb +0 -219
  195. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/css.rb +0 -27
  196. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/decorators/slop.rb +0 -35
  197. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/builder.rb +0 -35
  198. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/document.rb +0 -333
  199. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/document_fragment.rb +0 -41
  200. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/element_description.rb +0 -23
  201. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/element_description_defaults.rb +0 -671
  202. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/entity_lookup.rb +0 -13
  203. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/sax/parser.rb +0 -52
  204. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/sax/parser_context.rb +0 -16
  205. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html/sax/push_parser.rb +0 -16
  206. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/html.rb +0 -37
  207. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/syntax_error.rb +0 -4
  208. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/version.rb +0 -106
  209. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/attr.rb +0 -14
  210. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/attribute_decl.rb +0 -18
  211. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/builder.rb +0 -443
  212. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/cdata.rb +0 -11
  213. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/character_data.rb +0 -7
  214. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/document.rb +0 -279
  215. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/document_fragment.rb +0 -112
  216. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/dtd.rb +0 -32
  217. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/element_content.rb +0 -36
  218. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/element_decl.rb +0 -13
  219. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/entity_decl.rb +0 -19
  220. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/namespace.rb +0 -13
  221. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/node/save_options.rb +0 -61
  222. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/node.rb +0 -992
  223. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/node_set.rb +0 -355
  224. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/notation.rb +0 -6
  225. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/parse_options.rb +0 -98
  226. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/pp/character_data.rb +0 -18
  227. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/pp/node.rb +0 -56
  228. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/pp.rb +0 -2
  229. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/processing_instruction.rb +0 -8
  230. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/reader.rb +0 -112
  231. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/relax_ng.rb +0 -32
  232. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/document.rb +0 -171
  233. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/parser.rb +0 -123
  234. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/parser_context.rb +0 -16
  235. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax/push_parser.rb +0 -60
  236. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/sax.rb +0 -4
  237. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/schema.rb +0 -63
  238. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/syntax_error.rb +0 -47
  239. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/text.rb +0 -9
  240. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/xpath/syntax_error.rb +0 -11
  241. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/xpath.rb +0 -10
  242. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml/xpath_context.rb +0 -16
  243. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xml.rb +0 -73
  244. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xslt/stylesheet.rb +0 -25
  245. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri/xslt.rb +0 -56
  246. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/nokogiri.rb +0 -137
  247. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/lib/xsd/xmlparser/nokogiri.rb +0 -102
  248. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/README.txt +0 -1
  249. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ree-1.8.7.358.supp +0 -61
  250. 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
  251. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ruby-1.9.2.320.supp +0 -28
  252. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/suppressions/nokogiri_ruby-1.9.3.327.supp +0 -28
  253. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/tasks/nokogiri.org.rb +0 -24
  254. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/tasks/test.rb +0 -95
  255. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_nthiness.rb +0 -222
  256. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_parser.rb +0 -358
  257. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_tokenizer.rb +0 -198
  258. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/css/test_xpath_visitor.rb +0 -96
  259. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/decorators/test_slop.rb +0 -16
  260. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/2ch.html +0 -108
  261. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/address_book.rlx +0 -12
  262. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/address_book.xml +0 -10
  263. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/atom.xml +0 -344
  264. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/bar/bar.xsd +0 -4
  265. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/bogus.xml +0 -0
  266. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/dont_hurt_em_why.xml +0 -422
  267. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/encoding.html +0 -82
  268. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/encoding.xhtml +0 -84
  269. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/exslt.xml +0 -8
  270. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/exslt.xslt +0 -35
  271. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/foo/foo.xsd +0 -4
  272. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/metacharset.html +0 -10
  273. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/noencoding.html +0 -47
  274. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/po.xml +0 -32
  275. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/po.xsd +0 -66
  276. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/saml20assertion_schema.xsd +0 -283
  277. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/saml20protocol_schema.xsd +0 -302
  278. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/xenc_schema.xsd +0 -146
  279. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/saml/xmldsig_schema.xsd +0 -318
  280. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/shift_jis.html +0 -10
  281. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/shift_jis.xml +0 -5
  282. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/shift_jis_no_charset.html +0 -9
  283. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/slow-xpath.xml +0 -25509
  284. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/snuggles.xml +0 -3
  285. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/staff.dtd +0 -10
  286. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/staff.xml +0 -59
  287. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/staff.xslt +0 -32
  288. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/test_document_url/bar.xml +0 -2
  289. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/test_document_url/document.dtd +0 -4
  290. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/test_document_url/document.xml +0 -6
  291. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/tlm.html +0 -850
  292. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/to_be_xincluded.xml +0 -2
  293. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/valid_bar.xml +0 -2
  294. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/files/xinclude.xml +0 -4
  295. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/helper.rb +0 -164
  296. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/sax/test_parser.rb +0 -141
  297. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/sax/test_parser_context.rb +0 -46
  298. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_builder.rb +0 -164
  299. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_document.rb +0 -619
  300. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_document_encoding.rb +0 -148
  301. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_document_fragment.rb +0 -267
  302. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_element_description.rb +0 -105
  303. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_named_characters.rb +0 -14
  304. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_node.rb +0 -196
  305. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/html/test_node_encoding.rb +0 -27
  306. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_additional_namespaces_in_builder_doc.rb +0 -14
  307. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_aliased_default.rb +0 -24
  308. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_builder_doc.rb +0 -75
  309. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_cloned_doc.rb +0 -31
  310. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_created_doc.rb +0 -75
  311. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_in_parsed_doc.rb +0 -66
  312. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/namespaces/test_namespaces_preservation.rb +0 -31
  313. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_convert_xpath.rb +0 -135
  314. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_css_cache.rb +0 -45
  315. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_encoding_handler.rb +0 -46
  316. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_memory_leak.rb +0 -156
  317. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_nokogiri.rb +0 -138
  318. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_reader.rb +0 -558
  319. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_soap4r_sax.rb +0 -52
  320. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/test_xslt_transforms.rb +0 -279
  321. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/node/test_save_options.rb +0 -28
  322. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/node/test_subclass.rb +0 -44
  323. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/sax/test_parser.rb +0 -382
  324. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/sax/test_parser_context.rb +0 -115
  325. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/sax/test_push_parser.rb +0 -157
  326. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_attr.rb +0 -64
  327. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_attribute_decl.rb +0 -86
  328. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_builder.rb +0 -315
  329. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_c14n.rb +0 -161
  330. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_cdata.rb +0 -48
  331. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_comment.rb +0 -29
  332. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_document.rb +0 -940
  333. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_document_encoding.rb +0 -28
  334. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_document_fragment.rb +0 -228
  335. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_dtd.rb +0 -187
  336. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_dtd_encoding.rb +0 -33
  337. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_element_content.rb +0 -56
  338. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_element_decl.rb +0 -73
  339. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_entity_decl.rb +0 -122
  340. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_entity_reference.rb +0 -245
  341. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_namespace.rb +0 -95
  342. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node.rb +0 -1197
  343. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_attributes.rb +0 -113
  344. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_encoding.rb +0 -107
  345. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_inheritance.rb +0 -32
  346. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_reparenting.rb +0 -374
  347. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_node_set.rb +0 -755
  348. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_parse_options.rb +0 -64
  349. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_processing_instruction.rb +0 -30
  350. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_reader_encoding.rb +0 -142
  351. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_relax_ng.rb +0 -60
  352. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_schema.rb +0 -129
  353. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_syntax_error.rb +0 -12
  354. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_text.rb +0 -60
  355. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_unparented_node.rb +0 -427
  356. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_xinclude.rb +0 -83
  357. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xml/test_xpath.rb +0 -382
  358. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xslt/test_custom_functions.rb +0 -133
  359. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test/xslt/test_exception_handling.rb +0 -37
  360. data/vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/test_all +0 -81
  361. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/CHANGELOG.md +0 -496
  362. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/CONTRIBUTING.md +0 -10
  363. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/Gemfile +0 -4
  364. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/LICENSE.txt +0 -25
  365. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/README.md +0 -272
  366. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/Rakefile +0 -146
  367. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/bin/ruby-parse +0 -6
  368. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/bin/ruby-rewrite +0 -6
  369. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/AST_FORMAT.md +0 -1546
  370. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/CUSTOMIZATION.md +0 -37
  371. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/INTERNALS.md +0 -21
  372. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/doc/css/common.css +0 -68
  373. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/gauntlet_parser.rb +0 -121
  374. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/all.rb +0 -4
  375. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ast/node.rb +0 -36
  376. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ast/processor.rb +0 -190
  377. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/base.rb +0 -269
  378. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/builders/default.rb +0 -1383
  379. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/clobbering_error.rb +0 -11
  380. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/compatibility/ruby1_8.rb +0 -20
  381. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/compatibility/ruby1_9.rb +0 -32
  382. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/current.rb +0 -45
  383. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/diagnostic/engine.rb +0 -103
  384. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/diagnostic.rb +0 -104
  385. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer/explanation.rb +0 -51
  386. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer/literal.rb +0 -235
  387. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer/stack_state.rb +0 -42
  388. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer.rb +0 -20895
  389. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/lexer.rl +0 -2163
  390. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/messages.rb +0 -65
  391. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/meta.rb +0 -26
  392. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/rewriter.rb +0 -119
  393. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby18.rb +0 -6344
  394. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby18.y +0 -1917
  395. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby19.rb +0 -6827
  396. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby19.y +0 -2148
  397. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby20.rb +0 -7332
  398. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby20.y +0 -2324
  399. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby21.rb +0 -7385
  400. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby21.y +0 -2319
  401. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby22.rb +0 -7393
  402. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/ruby22.y +0 -2327
  403. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/runner/ruby_parse.rb +0 -129
  404. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/runner/ruby_rewrite.rb +0 -98
  405. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/runner.rb +0 -215
  406. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/buffer.rb +0 -245
  407. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/comment/associator.rb +0 -157
  408. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/comment.rb +0 -106
  409. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/collection.rb +0 -16
  410. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/condition.rb +0 -19
  411. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/constant.rb +0 -30
  412. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/definition.rb +0 -21
  413. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/for.rb +0 -17
  414. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/heredoc.rb +0 -17
  415. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/keyword.rb +0 -18
  416. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/operator.rb +0 -15
  417. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/rescue_body.rb +0 -19
  418. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/send.rb +0 -34
  419. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/ternary.rb +0 -16
  420. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map/variable.rb +0 -29
  421. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/map.rb +0 -146
  422. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/range.rb +0 -187
  423. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/rewriter/action.rb +0 -30
  424. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/source/rewriter.rb +0 -221
  425. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/static_environment.rb +0 -44
  426. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/syntax_error.rb +0 -19
  427. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser/version.rb +0 -3
  428. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/lib/parser.rb +0 -79
  429. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/parser.gemspec +0 -49
  430. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/helper.rb +0 -45
  431. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/parse_helper.rb +0 -241
  432. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/racc_coverage_helper.rb +0 -130
  433. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_base.rb +0 -18
  434. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_current.rb +0 -21
  435. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_diagnostic.rb +0 -49
  436. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_diagnostic_engine.rb +0 -60
  437. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_encoding.rb +0 -78
  438. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_lexer.rb +0 -3064
  439. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_lexer_stack_state.rb +0 -76
  440. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_parse_helper.rb +0 -80
  441. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_parser.rb +0 -4872
  442. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_buffer.rb +0 -103
  443. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_comment.rb +0 -34
  444. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_comment_associator.rb +0 -107
  445. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_range.rb +0 -77
  446. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_rewriter.rb +0 -183
  447. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_source_rewriter_action.rb +0 -44
  448. data/vendor/bundle/ruby/2.1.0/gems/parser-2.2.0.pre.4/test/test_static_environment.rb +0 -43
  449. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/CHANGELOG.md +0 -28
  450. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/Gemfile +0 -4
  451. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/LICENSE.txt +0 -22
  452. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/README.md +0 -95
  453. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/Rakefile +0 -12
  454. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/array/butfirst.rb +0 -15
  455. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/array/butlast.rb +0 -15
  456. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/array.rb +0 -2
  457. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/average.rb +0 -20
  458. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/drop_last.rb +0 -20
  459. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/drop_last_while.rb +0 -21
  460. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/exactly.rb +0 -43
  461. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/frequencies.rb +0 -17
  462. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/several.rb +0 -37
  463. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/sum.rb +0 -21
  464. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/take_last.rb +0 -20
  465. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable/take_last_while.rb +0 -17
  466. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/enumerable.rb +0 -9
  467. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/hash/symbolize_keys.rb +0 -14
  468. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/hash.rb +0 -1
  469. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric/neg.rb +0 -19
  470. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric/pos.rb +0 -19
  471. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric/scale.rb +0 -44
  472. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/numeric.rb +0 -3
  473. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/ascii_only.rb +0 -42
  474. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/blank.rb +0 -20
  475. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/format.rb +0 -20
  476. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/remove.rb +0 -17
  477. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/squish.rb +0 -27
  478. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/strip_indent.rb +0 -22
  479. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string/strip_margin.rb +0 -21
  480. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/string.rb +0 -7
  481. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack/version.rb +0 -3
  482. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/lib/powerpack.rb +0 -11
  483. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/powerpack.gemspec +0 -24
  484. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/array/butfirst_spec.rb +0 -11
  485. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/array/butlast_spec.rb +0 -11
  486. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/average_spec.rb +0 -19
  487. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/drop_last_spec.rb +0 -15
  488. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/drop_last_while_spec.rb +0 -7
  489. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/exactly_spec.rb +0 -39
  490. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/frequencies_spec.rb +0 -20
  491. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/several_spec.rb +0 -27
  492. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/sum_spec.rb +0 -15
  493. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/take_last_spec.rb +0 -15
  494. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/enumerable/take_last_while_spec.rb +0 -7
  495. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/hash/symbolize_keys_spec.rb +0 -15
  496. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/numeric/neg_spec.rb +0 -24
  497. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/numeric/pos_spec.rb +0 -24
  498. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/numeric/scale_spec.rb +0 -139
  499. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/ascii_only_spec.rb +0 -45
  500. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/blank_spec.rb +0 -15
  501. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/format_spec.rb +0 -12
  502. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/remove_spec.rb +0 -13
  503. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/squish_spec.rb +0 -21
  504. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/strip_indent_spec.rb +0 -13
  505. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/powerpack/string/strip_margin_spec.rb +0 -26
  506. data/vendor/bundle/ruby/2.1.0/gems/powerpack-0.0.9/spec/spec_helper.rb +0 -17
  507. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Changelog.md +0 -67
  508. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Gemfile +0 -17
  509. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Guardfile +0 -9
  510. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/LICENSE +0 -20
  511. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/README.markdown +0 -175
  512. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/Rakefile +0 -6
  513. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/color.rb +0 -115
  514. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/ext/string.rb +0 -52
  515. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/global.rb +0 -21
  516. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/legacy.rb +0 -15
  517. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/null_presenter.rb +0 -30
  518. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/presenter.rb +0 -113
  519. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/string_utils.rb +0 -23
  520. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/version.rb +0 -3
  521. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow/wrapper.rb +0 -22
  522. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/lib/rainbow.rb +0 -24
  523. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/rainbow.gemspec +0 -25
  524. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/integration/instance_spec.rb +0 -35
  525. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/integration/rainbow_spec.rb +0 -139
  526. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/integration/string_spec.rb +0 -76
  527. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/spec_helper.rb +0 -6
  528. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/support/presenter_shared_examples.rb +0 -9
  529. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/color_spec.rb +0 -244
  530. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/namespace_spec.rb +0 -31
  531. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/null_presenter_spec.rb +0 -93
  532. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/presenter_spec.rb +0 -168
  533. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/string_utils_spec.rb +0 -62
  534. data/vendor/bundle/ruby/2.1.0/gems/rainbow-2.0.0/spec/unit/wrapper_spec.rb +0 -28
  535. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/CHANGES +0 -526
  536. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/MIT-LICENSE +0 -21
  537. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/README.rdoc +0 -187
  538. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/Rakefile +0 -374
  539. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/TODO +0 -21
  540. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/bin/rake +0 -37
  541. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/command_line_usage.rdoc +0 -169
  542. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/Rakefile1 +0 -38
  543. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/Rakefile2 +0 -35
  544. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/a.c +0 -6
  545. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/b.c +0 -6
  546. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/example/main.c +0 -11
  547. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/glossary.rdoc +0 -51
  548. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/jamis.rb +0 -591
  549. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/proto_rake.rdoc +0 -127
  550. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/rake.1.gz +0 -0
  551. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/rakefile.rdoc +0 -557
  552. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/rational.rdoc +0 -151
  553. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.4.14.rdoc +0 -23
  554. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.4.15.rdoc +0 -35
  555. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.5.0.rdoc +0 -53
  556. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.5.3.rdoc +0 -78
  557. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.5.4.rdoc +0 -46
  558. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.6.0.rdoc +0 -141
  559. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.0.rdoc +0 -119
  560. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.1.rdoc +0 -59
  561. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.2.rdoc +0 -121
  562. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.7.3.rdoc +0 -47
  563. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.0.rdoc +0 -114
  564. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.2.rdoc +0 -165
  565. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.3.rdoc +0 -112
  566. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.4.rdoc +0 -147
  567. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.5.rdoc +0 -53
  568. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.6.rdoc +0 -55
  569. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.8.7.rdoc +0 -55
  570. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.0.rdoc +0 -112
  571. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.1.rdoc +0 -52
  572. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
  573. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.2.rdoc +0 -49
  574. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.3.rdoc +0 -102
  575. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.4.rdoc +0 -110
  576. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.5.rdoc +0 -114
  577. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/doc/release_notes/rake-0.9.6.rdoc +0 -127
  578. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/install.rb +0 -90
  579. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/alt_system.rb +0 -109
  580. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/application.rb +0 -702
  581. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/backtrace.rb +0 -18
  582. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/classic_namespace.rb +0 -11
  583. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/clean.rb +0 -32
  584. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/cloneable.rb +0 -16
  585. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/compositepublisher.rb +0 -21
  586. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/ftptools.rb +0 -151
  587. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/publisher.rb +0 -73
  588. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/rubyforgepublisher.rb +0 -16
  589. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/sshpublisher.rb +0 -50
  590. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/contrib/sys.rb +0 -192
  591. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/default_loader.rb +0 -10
  592. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/dsl_definition.rb +0 -182
  593. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/early_time.rb +0 -18
  594. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/core.rb +0 -27
  595. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/module.rb +0 -39
  596. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/string.rb +0 -168
  597. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ext/time.rb +0 -15
  598. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_creation_task.rb +0 -24
  599. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_list.rb +0 -410
  600. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_task.rb +0 -47
  601. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_utils.rb +0 -114
  602. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/file_utils_ext.rb +0 -146
  603. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/gempackagetask.rb +0 -15
  604. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/invocation_chain.rb +0 -51
  605. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/invocation_exception_mixin.rb +0 -16
  606. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/loaders/makefile.rb +0 -40
  607. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/multi_task.rb +0 -13
  608. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/name_space.rb +0 -25
  609. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/packagetask.rb +0 -185
  610. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/pathmap.rb +0 -1
  611. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/phony.rb +0 -15
  612. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/private_reader.rb +0 -20
  613. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/promise.rb +0 -99
  614. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/pseudo_status.rb +0 -24
  615. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rake_module.rb +0 -37
  616. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rake_test_loader.rb +0 -22
  617. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rdoctask.rb +0 -234
  618. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/ruby182_test_unit_fix.rb +0 -25
  619. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/rule_recursion_overflow_error.rb +0 -20
  620. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/runtest.rb +0 -22
  621. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task.rb +0 -350
  622. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task_argument_error.rb +0 -7
  623. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task_arguments.rb +0 -78
  624. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/task_manager.rb +0 -307
  625. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/tasklib.rb +0 -22
  626. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/testtask.rb +0 -198
  627. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/thread_history_display.rb +0 -48
  628. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/thread_pool.rb +0 -155
  629. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/trace_output.rb +0 -19
  630. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/version.rb +0 -13
  631. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake/win32.rb +0 -55
  632. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/lib/rake.rb +0 -71
  633. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/file_creation.rb +0 -34
  634. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/helper.rb +0 -562
  635. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_private_reader.rb +0 -42
  636. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake.rb +0 -40
  637. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_application.rb +0 -531
  638. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_application_options.rb +0 -460
  639. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_backtrace.rb +0 -89
  640. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_clean.rb +0 -14
  641. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_definitions.rb +0 -80
  642. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_directory_task.rb +0 -57
  643. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_dsl.rb +0 -77
  644. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_early_time.rb +0 -31
  645. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_extension.rb +0 -59
  646. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_creation_task.rb +0 -56
  647. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_list.rb +0 -628
  648. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_list_path_map.rb +0 -8
  649. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_task.rb +0 -122
  650. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_file_utils.rb +0 -305
  651. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_ftp_file.rb +0 -59
  652. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_functional.rb +0 -496
  653. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_invocation_chain.rb +0 -52
  654. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_makefile_loader.rb +0 -44
  655. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_multi_task.rb +0 -59
  656. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_name_space.rb +0 -43
  657. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_package_task.rb +0 -79
  658. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_path_map.rb +0 -157
  659. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_path_map_explode.rb +0 -34
  660. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_path_map_partial.rb +0 -18
  661. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_pseudo_status.rb +0 -21
  662. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_rake_test_loader.rb +0 -21
  663. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_rdoc_task.rb +0 -83
  664. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_reduce_compat.rb +0 -65
  665. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_require.rb +0 -40
  666. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_rules.rb +0 -327
  667. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task.rb +0 -316
  668. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_argument_parsing.rb +0 -103
  669. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_arguments.rb +0 -88
  670. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_lib.rb +0 -9
  671. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_manager.rb +0 -157
  672. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_manager_argument_resolution.rb +0 -36
  673. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_task_with_arguments.rb +0 -181
  674. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_test_task.rb +0 -120
  675. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_thread_pool.rb +0 -123
  676. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_top_level_functions.rb +0 -111
  677. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_rake_win32.rb +0 -72
  678. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_sys.rb +0 -20
  679. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_thread_history_display.rb +0 -91
  680. data/vendor/bundle/ruby/2.1.0/gems/rake-0.9.6/test/test_trace_output.rb +0 -43
  681. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/CHANGELOG.md +0 -1095
  682. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/CONTRIBUTING.md +0 -68
  683. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/Gemfile +0 -15
  684. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/LICENSE.txt +0 -20
  685. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/README.md +0 -807
  686. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/Rakefile +0 -43
  687. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/assets/output.html.erb +0 -190
  688. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/bin/rubocop +0 -17
  689. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/config/default.yml +0 -581
  690. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/config/disabled.yml +0 -20
  691. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/config/enabled.yml +0 -952
  692. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cli.rb +0 -116
  693. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/comment_config.rb +0 -101
  694. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/config.rb +0 -160
  695. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/config_loader.rb +0 -152
  696. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/config_store.rb +0 -44
  697. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/commissioner.rb +0 -102
  698. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/cop.rb +0 -218
  699. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/corrector.rb +0 -84
  700. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/force.rb +0 -41
  701. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/ignored_node.rb +0 -38
  702. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/ambiguous_operator.rb +0 -50
  703. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +0 -36
  704. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/assignment_in_condition.rb +0 -46
  705. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/block_alignment.rb +0 -176
  706. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/condition_position.rb +0 -52
  707. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/debugger.rb +0 -55
  708. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/def_end_alignment.rb +0 -51
  709. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +0 -62
  710. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/else_layout.rb +0 -57
  711. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/empty_ensure.rb +0 -18
  712. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/empty_interpolation.rb +0 -22
  713. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/end_alignment.rb +0 -75
  714. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/end_in_method.rb +0 -17
  715. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/ensure_return.rb +0 -22
  716. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/eval.rb +0 -18
  717. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/handle_exceptions.rb +0 -18
  718. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/invalid_character_literal.rb +0 -37
  719. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/literal_in_condition.rb +0 -138
  720. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +0 -37
  721. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/loop.rb +0 -27
  722. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +0 -51
  723. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/require_parentheses.rb +0 -68
  724. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/rescue_exception.rb +0 -35
  725. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +0 -29
  726. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/space_before_first_arg.rb +0 -44
  727. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +0 -50
  728. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/syntax.rb +0 -52
  729. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +0 -39
  730. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/unreachable_code.rb +0 -32
  731. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/unused_block_argument.rb +0 -80
  732. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/unused_method_argument.rb +0 -43
  733. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_access_modifier.rb +0 -59
  734. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_assignment.rb +0 -113
  735. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_comparison.rb +0 -29
  736. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +0 -31
  737. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/useless_setter_call.rb +0 -157
  738. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/lint/void.rb +0 -52
  739. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/block_nesting.rb +0 -54
  740. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/class_length.rb +0 -48
  741. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +0 -30
  742. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/line_length.rb +0 -88
  743. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/method_length.rb +0 -33
  744. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/parameter_lists.rb +0 -44
  745. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/metrics/perceived_complexity.rb +0 -61
  746. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/access_modifier_node.rb +0 -22
  747. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/annotation_comment.rb +0 -37
  748. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/array_syntax.rb +0 -24
  749. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +0 -112
  750. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/autocorrect_unless_changing_ast.rb +0 -36
  751. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/check_assignment.rb +0 -37
  752. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/code_length.rb +0 -32
  753. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +0 -53
  754. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/configurable_max.rb +0 -19
  755. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/configurable_naming.rb +0 -31
  756. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +0 -42
  757. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/if_node.rb +0 -25
  758. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/method_complexity.rb +0 -30
  759. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/negative_conditional.rb +0 -24
  760. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/on_method.rb +0 -30
  761. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +0 -24
  762. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +0 -34
  763. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/percent_literal.rb +0 -26
  764. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/safe_assignment.rb +0 -30
  765. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +0 -33
  766. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +0 -32
  767. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/space_inside.rb +0 -63
  768. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/statement_modifier.rb +0 -58
  769. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/string_help.rb +0 -32
  770. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/surrounding_space.rb +0 -42
  771. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/mixin/unused_argument.rb +0 -36
  772. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/offense.rb +0 -132
  773. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/action_filter.rb +0 -71
  774. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/default_scope.rb +0 -33
  775. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/delegate.rb +0 -111
  776. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +0 -17
  777. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/output.rb +0 -27
  778. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/read_write_attribute.rb +0 -42
  779. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/scope_args.rb +0 -33
  780. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/rails/validation.rb +0 -53
  781. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/severity.rb +0 -76
  782. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/access_modifier_indentation.rb +0 -87
  783. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/accessor_method_name.rb +0 -45
  784. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/alias.rb +0 -48
  785. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/align_array.rb +0 -20
  786. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/align_hash.rb +0 -265
  787. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/align_parameters.rb +0 -51
  788. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/and_or.rb +0 -85
  789. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/array_join.rb +0 -24
  790. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/ascii_comments.rb +0 -19
  791. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/ascii_identifiers.rb +0 -19
  792. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/attr.rb +0 -24
  793. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/bare_percent_literals.rb +0 -46
  794. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/begin_block.rb +0 -16
  795. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/block_comments.rb +0 -40
  796. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/block_end_newline.rb +0 -56
  797. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/blocks.rb +0 -80
  798. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +0 -94
  799. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/case_equality.rb +0 -18
  800. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/case_indentation.rb +0 -62
  801. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/character_literal.rb +0 -42
  802. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +0 -29
  803. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_and_module_children.rb +0 -69
  804. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_check.rb +0 -42
  805. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_methods.rb +0 -54
  806. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/class_vars.rb +0 -23
  807. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/collection_methods.rb +0 -70
  808. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/colon_method_call.rb +0 -33
  809. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/comment_annotation.rb +0 -37
  810. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/comment_indentation.rb +0 -66
  811. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/constant_name.rb +0 -29
  812. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/def_with_parentheses.rb +0 -33
  813. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/deprecated_hash_methods.rb +0 -39
  814. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/documentation.rb +0 -76
  815. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/dot_position.rb +0 -77
  816. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/double_negation.rb +0 -40
  817. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/each_with_object.rb +0 -58
  818. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_line_between_defs.rb +0 -46
  819. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_lines.rb +0 -44
  820. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +0 -74
  821. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_lines_around_body.rb +0 -75
  822. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/empty_literal.rb +0 -60
  823. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/encoding.rb +0 -55
  824. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/end_block.rb +0 -16
  825. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/end_of_line.rb +0 -25
  826. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/even_odd.rb +0 -60
  827. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/file_name.rb +0 -31
  828. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/flip_flop.rb +0 -20
  829. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/for.rb +0 -47
  830. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/format_string.rb +0 -76
  831. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/global_vars.rb +0 -74
  832. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/guard_clause.rb +0 -79
  833. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/hash_syntax.rb +0 -89
  834. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/if_unless_modifier.rb +0 -29
  835. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/if_with_semicolon.rb +0 -20
  836. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indent_array.rb +0 -64
  837. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indent_hash.rb +0 -160
  838. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indentation_consistency.rb +0 -44
  839. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/indentation_width.rb +0 -217
  840. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/infinite_loop.rb +0 -57
  841. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/inline_comment.rb +0 -19
  842. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/lambda.rb +0 -44
  843. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/lambda_call.rb +0 -63
  844. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/leading_comment_space.rb +0 -33
  845. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/line_end_concatenation.rb +0 -89
  846. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_call_parentheses.rb +0 -35
  847. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +0 -42
  848. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_def_parentheses.rb +0 -72
  849. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/method_name.rb +0 -28
  850. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/module_function.rb +0 -31
  851. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_block_chain.rb +0 -43
  852. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_block_layout.rb +0 -73
  853. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_if_then.rb +0 -60
  854. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +0 -22
  855. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/negated_if.rb +0 -48
  856. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/negated_while.rb +0 -45
  857. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/nested_ternary_operator.rb +0 -26
  858. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/next.rb +0 -97
  859. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/nil_comparison.rb +0 -41
  860. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/non_nil_check.rb +0 -116
  861. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/not.rb +0 -34
  862. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/numeric_literals.rb +0 -85
  863. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/one_line_conditional.rb +0 -21
  864. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/op_method.rb +0 -25
  865. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/parentheses_around_condition.rb +0 -72
  866. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +0 -151
  867. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/percent_q_literals.rb +0 -53
  868. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/perl_backrefs.rb +0 -26
  869. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/predicate_name.rb +0 -62
  870. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/proc.rb +0 -32
  871. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/raise_args.rb +0 -68
  872. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_begin.rb +0 -51
  873. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_exception.rb +0 -32
  874. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_return.rb +0 -66
  875. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/redundant_self.rb +0 -144
  876. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/regexp_literal.rb +0 -81
  877. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/rescue_modifier.rb +0 -43
  878. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/self_assignment.rb +0 -68
  879. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/semicolon.rb +0 -63
  880. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/signal_exception.rb +0 -95
  881. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/single_line_block_params.rb +0 -61
  882. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/single_line_methods.rb +0 -69
  883. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/single_space_before_first_arg.rb +0 -41
  884. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_colon.rb +0 -40
  885. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_comma.rb +0 -16
  886. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_control_keyword.rb +0 -37
  887. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_method_name.rb +0 -40
  888. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_not.rb +0 -40
  889. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_after_semicolon.rb +0 -16
  890. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +0 -66
  891. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_around_operators.rb +0 -83
  892. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_block_braces.rb +0 -64
  893. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_comma.rb +0 -16
  894. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_comment.rb +0 -29
  895. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_modifier_keyword.rb +0 -39
  896. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_before_semicolon.rb +0 -16
  897. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_block_braces.rb +0 -156
  898. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_brackets.rb +0 -20
  899. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +0 -109
  900. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_parens.rb +0 -16
  901. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/space_inside_range_literal.rb +0 -58
  902. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/special_global_vars.rb +0 -84
  903. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/string_literals.rb +0 -43
  904. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/symbol_array.rb +0 -23
  905. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/symbol_proc.rb +0 -71
  906. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/tab.rb +0 -35
  907. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trailing_blank_lines.rb +0 -58
  908. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trailing_comma.rb +0 -153
  909. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trailing_whitespace.rb +0 -28
  910. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/trivial_accessors.rb +0 -144
  911. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unless_else.rb +0 -23
  912. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unneeded_capital_w.rb +0 -37
  913. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unneeded_percent_q.rb +0 -58
  914. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/unneeded_percent_x.rb +0 -25
  915. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/variable_interpolation.rb +0 -45
  916. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/variable_name.rb +0 -34
  917. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/when_then.rb +0 -24
  918. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/while_until_do.rb +0 -42
  919. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/while_until_modifier.rb +0 -34
  920. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/style/word_array.rb +0 -87
  921. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/team.rb +0 -123
  922. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/util.rb +0 -188
  923. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/assignment.rb +0 -95
  924. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/locatable.rb +0 -183
  925. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/reference.rb +0 -43
  926. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/scope.rb +0 -90
  927. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/variable.rb +0 -102
  928. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force/variable_table.rb +0 -128
  929. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/cop/variable_force.rb +0 -419
  930. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/base_formatter.rb +0 -119
  931. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/clang_style_formatter.rb +0 -34
  932. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/colorizable.rb +0 -37
  933. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/disabled_config_formatter.rb +0 -66
  934. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/disabled_lines_formatter.rb +0 -56
  935. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/emacs_style_formatter.rb +0 -21
  936. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/file_list_formatter.rb +0 -19
  937. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/formatter_set.rb +0 -76
  938. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/fuubar_style_formatter.rb +0 -74
  939. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/html_formatter.rb +0 -90
  940. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/json_formatter.rb +0 -74
  941. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/offense_count_formatter.rb +0 -55
  942. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/progress_formatter.rb +0 -55
  943. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/formatter/simple_text_formatter.rb +0 -117
  944. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/options.rb +0 -203
  945. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/path_util.rb +0 -38
  946. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/processed_source.rb +0 -91
  947. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/rake_task.rb +0 -88
  948. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/runner.rb +0 -156
  949. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/string_util.rb +0 -153
  950. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/target_finder.rb +0 -98
  951. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/token.rb +0 -22
  952. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop/version.rb +0 -21
  953. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/lib/rubocop.rb +0 -284
  954. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.19.0.md +0 -94
  955. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.19.1.md +0 -16
  956. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.20.0.md +0 -69
  957. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.20.1.md +0 -24
  958. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.21.0.md +0 -56
  959. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.22.0.md +0 -77
  960. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.23.0.md +0 -79
  961. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.24.0.md +0 -77
  962. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.24.1.md +0 -15
  963. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.25.0.md +0 -91
  964. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/relnotes/v0.26.0.md +0 -89
  965. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/rubocop.gemspec +0 -39
  966. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/isolated_environment_spec.rb +0 -24
  967. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/project_spec.rb +0 -118
  968. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cli_spec.rb +0 -2246
  969. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/comment_config_spec.rb +0 -105
  970. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/config_loader_spec.rb +0 -356
  971. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/config_spec.rb +0 -235
  972. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/config_store_spec.rb +0 -53
  973. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/commissioner_spec.rb +0 -85
  974. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/cop_spec.rb +0 -135
  975. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/corrector_spec.rb +0 -59
  976. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/force_spec.rb +0 -29
  977. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/ambiguous_operator_spec.rb +0 -113
  978. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/ambiguous_regexp_literal_spec.rb +0 -35
  979. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/assignment_in_condition_spec.rb +0 -107
  980. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/block_alignment_spec.rb +0 -534
  981. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/condition_position_spec.rb +0 -51
  982. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/debugger_spec.rb +0 -60
  983. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/def_end_alignment_spec.rb +0 -108
  984. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/deprecated_class_methods_spec.rb +0 -38
  985. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/else_layout_spec.rb +0 -65
  986. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/empty_ensure_spec.rb +0 -27
  987. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/empty_interpolation_spec.rb +0 -18
  988. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/end_alignment_spec.rb +0 -91
  989. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/end_in_method_spec.rb +0 -29
  990. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/ensure_return_spec.rb +0 -39
  991. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/eval_spec.rb +0 -33
  992. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/handle_exceptions_spec.rb +0 -30
  993. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/invalid_character_literal_spec.rb +0 -33
  994. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/literal_in_condition_spec.rb +0 -154
  995. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/literal_in_interpolation_spec.rb +0 -31
  996. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/loop_spec.rb +0 -27
  997. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/parentheses_as_grouped_expression_spec.rb +0 -57
  998. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/require_parentheses_spec.rb +0 -82
  999. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/rescue_exception_spec.rb +0 -159
  1000. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/shadowing_outer_local_variable_spec.rb +0 -237
  1001. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/space_before_first_arg_spec.rb +0 -65
  1002. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/string_conversion_in_interpolation_spec.rb +0 -51
  1003. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/syntax_spec.rb +0 -34
  1004. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/underscore_prefixed_variable_name_spec.rb +0 -179
  1005. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/unreachable_code_spec.rb +0 -63
  1006. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/unused_block_argument_spec.rb +0 -231
  1007. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/unused_method_argument_spec.rb +0 -278
  1008. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_access_modifier_spec.rb +0 -192
  1009. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_assignment_spec.rb +0 -1785
  1010. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_comparison_spec.rb +0 -30
  1011. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_else_without_rescue_spec.rb +0 -48
  1012. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/useless_setter_call_spec.rb +0 -199
  1013. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/lint/void_spec.rb +0 -65
  1014. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/block_nesting_spec.rb +0 -156
  1015. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/class_length_spec.rb +0 -131
  1016. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/cyclomatic_complexity_spec.rb +0 -204
  1017. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/if_unless_modifier_spec.rb +0 -146
  1018. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/line_length_spec.rb +0 -108
  1019. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/method_length_spec.rb +0 -147
  1020. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/parameter_lists_spec.rb +0 -44
  1021. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/perceived_complexity_spec.rb +0 -222
  1022. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/metrics/while_until_modifier_spec.rb +0 -93
  1023. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/offense_spec.rb +0 -133
  1024. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/action_filter_spec.rb +0 -69
  1025. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/default_scope_spec.rb +0 -37
  1026. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/delegate_spec.rb +0 -169
  1027. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/has_and_belongs_to_many_spec.rb +0 -13
  1028. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/output_spec.rb +0 -37
  1029. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/read_write_attribute_spec.rb +0 -19
  1030. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/scope_args_spec.rb +0 -25
  1031. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/rails/validation_spec.rb +0 -28
  1032. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/severity_spec.rb +0 -113
  1033. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/access_modifier_indentation_spec.rb +0 -399
  1034. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/accessor_method_name_spec.rb +0 -81
  1035. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/alias_spec.rb +0 -59
  1036. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/align_array_spec.rb +0 -123
  1037. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/align_hash_spec.rb +0 -398
  1038. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/align_parameters_spec.rb +0 -420
  1039. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/and_or_spec.rb +0 -250
  1040. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/array_join_spec.rb +0 -29
  1041. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/ascii_comments_spec.rb +0 -22
  1042. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/ascii_identifiers_spec.rb +0 -36
  1043. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/attr_spec.rb +0 -29
  1044. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/bare_percent_literals_spec.rb +0 -132
  1045. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/begin_block_spec.rb +0 -13
  1046. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/block_comments_spec.rb +0 -45
  1047. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/block_end_newline_spec.rb +0 -61
  1048. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/blocks_spec.rb +0 -105
  1049. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/braces_around_hash_parameters_spec.rb +0 -302
  1050. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/case_equality_spec.rb +0 -13
  1051. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/case_indentation_spec.rb +0 -292
  1052. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/character_literal_spec.rb +0 -37
  1053. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_and_module_camel_case_spec.rb +0 -40
  1054. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_and_module_children_spec.rb +0 -131
  1055. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_check_spec.rb +0 -41
  1056. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_methods_spec.rb +0 -68
  1057. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/class_vars_spec.rb +0 -19
  1058. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/collection_methods_spec.rb +0 -48
  1059. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/colon_method_call_spec.rb +0 -60
  1060. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/comment_annotation_spec.rb +0 -86
  1061. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/comment_indentation_spec.rb +0 -174
  1062. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/constant_name_spec.rb +0 -65
  1063. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/def_with_parentheses_spec.rb +0 -43
  1064. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/deprecated_hash_methods_spec.rb +0 -45
  1065. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/documentation_spec.rb +0 -147
  1066. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/dot_position_spec.rb +0 -130
  1067. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/double_negation_spec.rb +0 -22
  1068. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/each_with_object_spec.rb +0 -73
  1069. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_line_between_defs_spec.rb +0 -135
  1070. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_lines_around_access_modifier_spec.rb +0 -100
  1071. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_lines_around_body_spec.rb +0 -131
  1072. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_lines_spec.rb +0 -51
  1073. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/empty_literal_spec.rb +0 -100
  1074. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/encoding_spec.rb +0 -139
  1075. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/end_block_spec.rb +0 -13
  1076. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/end_of_line_spec.rb +0 -65
  1077. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/even_odd_spec.rb +0 -75
  1078. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/file_name_spec.rb +0 -84
  1079. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/flip_flop_spec.rb +0 -23
  1080. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/for_spec.rb +0 -105
  1081. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/format_string_spec.rb +0 -148
  1082. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/global_vars_spec.rb +0 -34
  1083. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/guard_clause_spec.rb +0 -155
  1084. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/hash_syntax_spec.rb +0 -137
  1085. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/if_with_semicolon_spec.rb +0 -24
  1086. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indent_array_spec.rb +0 -171
  1087. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indent_hash_spec.rb +0 -366
  1088. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indentation_consistency_spec.rb +0 -510
  1089. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/indentation_width_spec.rb +0 -843
  1090. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/infinite_loop_spec.rb +0 -48
  1091. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/inline_comment_spec.rb +0 -13
  1092. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/lambda_call_spec.rb +0 -65
  1093. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/lambda_spec.rb +0 -41
  1094. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/leading_comment_space_spec.rb +0 -64
  1095. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/line_end_concatenation_spec.rb +0 -136
  1096. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_call_parentheses_spec.rb +0 -59
  1097. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_called_on_do_end_block_spec.rb +0 -60
  1098. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_def_parentheses_spec.rb +0 -108
  1099. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/method_name_spec.rb +0 -125
  1100. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/module_function_spec.rb +0 -24
  1101. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_block_chain_spec.rb +0 -78
  1102. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_block_layout_spec.rb +0 -138
  1103. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_if_then_spec.rb +0 -116
  1104. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/multiline_ternary_operator_spec.rb +0 -18
  1105. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/negated_if_spec.rb +0 -102
  1106. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/negated_while_spec.rb +0 -62
  1107. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/nested_ternary_operator_spec.rb +0 -21
  1108. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/next_spec.rb +0 -285
  1109. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/nil_comparison_spec.rb +0 -29
  1110. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/non_nil_check_spec.rb +0 -101
  1111. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/not_spec.rb +0 -28
  1112. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/numeric_literals_spec.rb +0 -80
  1113. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/one_line_conditional_spec.rb +0 -13
  1114. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/op_method_spec.rb +0 -82
  1115. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/parentheses_around_condition_spec.rb +0 -143
  1116. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/percent_literal_delimiters_spec.rb +0 -316
  1117. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/percent_q_literals_spec.rb +0 -122
  1118. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/perl_backrefs_spec.rb +0 -17
  1119. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/predicate_name_spec.rb +0 -57
  1120. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/proc_spec.rb +0 -27
  1121. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/raise_args_spec.rb +0 -87
  1122. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_begin_spec.rb +0 -121
  1123. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_exception_spec.rb +0 -27
  1124. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_return_spec.rb +0 -171
  1125. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/redundant_self_spec.rb +0 -142
  1126. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/regexp_literal_spec.rb +0 -188
  1127. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/rescue_modifier_spec.rb +0 -116
  1128. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/self_assignment_spec.rb +0 -43
  1129. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/semicolon_spec.rb +0 -114
  1130. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/signal_exception_spec.rb +0 -290
  1131. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/single_line_block_params_spec.rb +0 -70
  1132. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/single_line_methods_spec.rb +0 -90
  1133. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/single_space_before_first_arg_spec.rb +0 -63
  1134. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_colon_spec.rb +0 -55
  1135. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_comma_spec.rb +0 -30
  1136. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_control_keyword_spec.rb +0 -84
  1137. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_method_name_spec.rb +0 -70
  1138. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_not_spec.rb +0 -22
  1139. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_after_semicolon_spec.rb +0 -23
  1140. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_around_equals_in_parameter_default_spec.rb +0 -86
  1141. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_around_operators_spec.rb +0 -327
  1142. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_block_braces_spec.rb +0 -72
  1143. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_comma_spec.rb +0 -42
  1144. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_comment_spec.rb +0 -34
  1145. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_modifier_keyword_spec.rb +0 -70
  1146. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_before_semicolon_spec.rb +0 -28
  1147. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_block_braces_spec.rb +0 -307
  1148. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_brackets_spec.rb +0 -83
  1149. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_hash_literal_braces_spec.rb +0 -147
  1150. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_parens_spec.rb +0 -46
  1151. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/space_inside_range_literal_spec.rb +0 -52
  1152. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/special_global_vars_spec.rb +0 -57
  1153. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/string_literals_spec.rb +0 -218
  1154. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/symbol_array_spec.rb +0 -37
  1155. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/symbol_proc_spec.rb +0 -76
  1156. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/tab_spec.rb +0 -47
  1157. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trailing_blank_lines_spec.rb +0 -83
  1158. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trailing_comma_spec.rb +0 -390
  1159. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trailing_whitespace_spec.rb +0 -31
  1160. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/trivial_accessors_spec.rb +0 -542
  1161. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unless_else_spec.rb +0 -23
  1162. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unneeded_capital_w_spec.rb +0 -96
  1163. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unneeded_percent_q_spec.rb +0 -127
  1164. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/unneeded_percent_x_spec.rb +0 -34
  1165. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/variable_interpolation_spec.rb +0 -76
  1166. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/variable_name_spec.rb +0 -107
  1167. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/when_then_spec.rb +0 -42
  1168. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/while_until_do_spec.rb +0 -55
  1169. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/style/word_array_spec.rb +0 -103
  1170. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/team_spec.rb +0 -190
  1171. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/util_spec.rb +0 -51
  1172. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/assignment_spec.rb +0 -200
  1173. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/locatable_spec.rb +0 -699
  1174. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/scope_spec.rb +0 -319
  1175. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/variable_spec.rb +0 -59
  1176. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force/variable_table_spec.rb +0 -269
  1177. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/cop/variable_force_spec.rb +0 -26
  1178. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/base_formatter_spec.rb +0 -191
  1179. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/clang_style_formatter_spec.rb +0 -114
  1180. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/colorizable_spec.rb +0 -107
  1181. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/disabled_config_formatter_spec.rb +0 -50
  1182. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/disabled_lines_formatter_spec.rb +0 -69
  1183. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/emacs_style_formatter_spec.rb +0 -63
  1184. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/file_list_formatter_spec.rb +0 -33
  1185. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/formatter_set_spec.rb +0 -132
  1186. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/fuubar_style_formatter_spec.rb +0 -129
  1187. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/html_formatter_spec.rb +0 -145
  1188. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/json_formatter_spec.rb +0 -152
  1189. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/offense_count_formatter_spec.rb +0 -77
  1190. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/progress_formatter_spec.rb +0 -182
  1191. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/formatter/simple_text_formatter_spec.rb +0 -135
  1192. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/options_spec.rb +0 -173
  1193. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/path_util_spec.rb +0 -77
  1194. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/processed_source_spec.rb +0 -184
  1195. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/runner_spec.rb +0 -64
  1196. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/string_util_spec.rb +0 -46
  1197. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/target_finder_spec.rb +0 -211
  1198. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/rubocop/token_spec.rb +0 -25
  1199. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/spec_helper.rb +0 -154
  1200. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/file_helper.rb +0 -23
  1201. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/isolated_environment.rb +0 -34
  1202. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/mri_syntax_checker.rb +0 -73
  1203. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/offenses_matcher.rb +0 -30
  1204. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/shared_context.rb +0 -20
  1205. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/shared_examples.rb +0 -55
  1206. data/vendor/bundle/ruby/2.1.0/gems/rubocop-0.26.0/spec/support/statement_modifier_helper.rb +0 -41
  1207. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/LICENSE +0 -22
  1208. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/README.md +0 -440
  1209. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/base.rb +0 -212
  1210. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/bar.rb +0 -60
  1211. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/elapsed_timer.rb +0 -20
  1212. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/estimated_timer.rb +0 -86
  1213. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/progressable.rb +0 -105
  1214. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/rate.rb +0 -69
  1215. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/throttle.rb +0 -19
  1216. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components/timer.rb +0 -69
  1217. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/components.rb +0 -7
  1218. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +0 -4
  1219. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/format/base.rb +0 -55
  1220. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/format/molecule.rb +0 -38
  1221. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/format.rb +0 -2
  1222. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/formatter.rb +0 -103
  1223. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/length_calculator.rb +0 -63
  1224. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/running_average_calculator.rb +0 -7
  1225. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/time.rb +0 -22
  1226. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar/version.rb +0 -3
  1227. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/lib/ruby-progressbar.rb +0 -12
  1228. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/fixtures/benchmark.rb +0 -11
  1229. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/base_spec.rb +0 -852
  1230. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/bar_spec.rb +0 -210
  1231. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/elapsed_timer_spec.rb +0 -91
  1232. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/estimated_timer_spec.rb +0 -241
  1233. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/progressable_spec.rb +0 -47
  1234. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/components/throttle_spec.rb +0 -100
  1235. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/format/molecule_spec.rb +0 -22
  1236. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/running_average_calculator_spec.rb +0 -11
  1237. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/lib/ruby-progressbar/time_spec.rb +0 -49
  1238. data/vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/support/time.rb +0 -19
  1239. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/CHANGES.md +0 -309
  1240. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/Gemfile +0 -3
  1241. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/LICENSE +0 -20
  1242. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/README.md +0 -202
  1243. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/Rakefile +0 -29
  1244. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/lib/slop/commands.rb +0 -196
  1245. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/lib/slop/option.rb +0 -214
  1246. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/lib/slop.rb +0 -687
  1247. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/slop.gemspec +0 -17
  1248. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/commands_test.rb +0 -26
  1249. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/helper.rb +0 -12
  1250. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/option_test.rb +0 -145
  1251. data/vendor/bundle/ruby/2.1.0/gems/slop-3.6.0/test/slop_test.rb +0 -518
  1252. data/vendor/bundle/ruby/2.1.0/specifications/ast-2.0.0.gemspec +0 -56
  1253. data/vendor/bundle/ruby/2.1.0/specifications/astrolabe-1.3.0.gemspec +0 -62
  1254. data/vendor/bundle/ruby/2.1.0/specifications/builder-3.2.2.gemspec +0 -23
  1255. data/vendor/bundle/ruby/2.1.0/specifications/mini_portile-0.6.0.gemspec +0 -24
  1256. data/vendor/bundle/ruby/2.1.0/specifications/nokogiri-1.6.3.1-x64-mingw32.gemspec +0 -73
  1257. data/vendor/bundle/ruby/2.1.0/specifications/parser-2.2.0.pre.4.gemspec +0 -79
  1258. data/vendor/bundle/ruby/2.1.0/specifications/powerpack-0.0.9.gemspec +0 -41
  1259. data/vendor/bundle/ruby/2.1.0/specifications/rainbow-2.0.0.gemspec +0 -39
  1260. data/vendor/bundle/ruby/2.1.0/specifications/rake-0.9.6.gemspec +0 -37
  1261. data/vendor/bundle/ruby/2.1.0/specifications/rubocop-0.26.0.gemspec +0 -63
  1262. data/vendor/bundle/ruby/2.1.0/specifications/ruby-progressbar-1.5.1.gemspec +0 -47
  1263. data/vendor/bundle/ruby/2.1.0/specifications/slop-3.6.0.gemspec +0 -36
@@ -1,2246 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'fileutils'
4
- require 'tmpdir'
5
- require 'spec_helper'
6
- require 'timeout'
7
-
8
- describe RuboCop::CLI, :isolated_environment do
9
- include FileHelper
10
-
11
- subject(:cli) { described_class.new }
12
-
13
- before(:each) do
14
- $stdout = StringIO.new
15
- $stderr = StringIO.new
16
- RuboCop::ConfigLoader.debug = false
17
- end
18
-
19
- after(:each) do
20
- $stdout = STDOUT
21
- $stderr = STDERR
22
- end
23
-
24
- def abs(path)
25
- File.expand_path(path)
26
- end
27
-
28
- describe 'option' do
29
- describe '--version' do
30
- it 'exits cleanly' do
31
- expect { cli.run ['-v'] }.to exit_with_code(0)
32
- expect { cli.run ['--version'] }.to exit_with_code(0)
33
- expect($stdout.string).to eq((RuboCop::Version::STRING + "\n") * 2)
34
- end
35
- end
36
-
37
- describe '--auto-correct' do
38
- it 'honors Exclude settings in individual cops' do
39
- source = ['# encoding: utf-8',
40
- 'puts %x(ls)']
41
- create_file('example.rb', source)
42
- create_file('.rubocop.yml', ['Style/UnneededPercentX:',
43
- ' Exclude:',
44
- ' - example.rb'])
45
- expect(cli.run(['--auto-correct'])).to eq(0)
46
- expect($stdout.string).to include('no offenses detected')
47
- expect(IO.read('example.rb')).to eq(source.join("\n") + "\n")
48
- end
49
-
50
- it 'corrects code with indentation problems' do
51
- create_file('example.rb', ['# encoding: utf-8',
52
- 'module Bar',
53
- 'class Goo',
54
- ' def something',
55
- ' first call',
56
- " do_other 'things'",
57
- ' if other > 34',
58
- ' more_work',
59
- ' end',
60
- ' end',
61
- 'end',
62
- 'end',
63
- '',
64
- 'module Foo',
65
- 'class Bar',
66
- '',
67
- ' stuff = [',
68
- ' {',
69
- " some: 'hash',",
70
- ' },',
71
- ' {',
72
- " another: 'hash',",
73
- " with: 'more'",
74
- ' },',
75
- ' ]',
76
- 'end',
77
- 'end'
78
- ])
79
- expect(cli.run(['--auto-correct'])).to eq(1)
80
- expect(IO.read('example.rb'))
81
- .to eq(['# encoding: utf-8',
82
- 'module Bar',
83
- ' class Goo',
84
- ' def something',
85
- ' first call',
86
- " do_other 'things'",
87
- ' if other > 34',
88
- ' more_work',
89
- ' end',
90
- ' end',
91
- ' end',
92
- 'end',
93
- '',
94
- 'module Foo',
95
- ' class Bar',
96
- ' stuff = [',
97
- ' {',
98
- " some: 'hash'",
99
- ' },',
100
- ' {',
101
- " another: 'hash',",
102
- " with: 'more'",
103
- ' }',
104
- ' ]',
105
- ' end',
106
- 'end',
107
- ''].join("\n"))
108
- end
109
-
110
- it 'can change block comments and indent them' do
111
- create_file('example.rb', ['# encoding: utf-8',
112
- 'module Foo',
113
- 'class Bar',
114
- '=begin',
115
- 'This is a nice long',
116
- 'comment',
117
- 'which spans a few lines',
118
- '=end',
119
- ' def baz',
120
- ' do_something',
121
- ' end',
122
- 'end',
123
- 'end'])
124
- expect(cli.run(['--auto-correct'])).to eq(1)
125
- expect(IO.read('example.rb'))
126
- .to eq(['# encoding: utf-8',
127
- 'module Foo',
128
- ' class Bar',
129
- ' # This is a nice long',
130
- ' # comment',
131
- ' # which spans a few lines',
132
- ' def baz',
133
- ' do_something',
134
- ' end',
135
- ' end',
136
- 'end',
137
- ''].join("\n"))
138
- end
139
-
140
- it 'can correct two problems with blocks' do
141
- # {} should be do..end and space is missing.
142
- create_file('example.rb', ['# encoding: utf-8',
143
- '(1..10).each{ |i|',
144
- ' puts i',
145
- '}'])
146
- expect(cli.run(['--auto-correct'])).to eq(1)
147
- expect(IO.read('example.rb'))
148
- .to eq(['# encoding: utf-8',
149
- '(1..10).each do |i|',
150
- ' puts i',
151
- 'end',
152
- ''].join("\n"))
153
- end
154
-
155
- it 'can handle spaces when removing braces' do
156
- create_file('example.rb',
157
- ['# encoding: utf-8',
158
- "assert_post_status_code 400, 's', {:type => 'bad'}"])
159
- expect(cli.run(%w(--auto-correct --format emacs))).to eq(1)
160
- expect(IO.read('example.rb'))
161
- .to eq(['# encoding: utf-8',
162
- "assert_post_status_code 400, 's', type: 'bad'",
163
- ''].join("\n"))
164
- e = abs('example.rb')
165
- expect($stdout.string)
166
- .to eq(["#{e}:2:35: C: [Corrected] Redundant curly braces around " \
167
- 'a hash parameter.',
168
- "#{e}:2:35: C: [Corrected] Use the new Ruby 1.9 hash " \
169
- 'syntax.',
170
- # TODO: Don't report that a problem is corrected when it
171
- # actually went away due to another correction.
172
- "#{e}:2:35: C: [Corrected] Space inside { missing.",
173
- # TODO: Don't report duplicates (HashSyntax in this case).
174
- "#{e}:2:36: C: [Corrected] Use the new Ruby 1.9 hash " \
175
- 'syntax.',
176
- "#{e}:2:50: C: [Corrected] Space inside } missing.",
177
- ''].join("\n"))
178
- end
179
-
180
- # A case where two cops, EmptyLinesAroundBody and EmptyLines, try to
181
- # remove the same line in autocorrect.
182
- it 'can correct two empty lines at end of class body' do
183
- create_file('example.rb', ['class Test',
184
- ' def f',
185
- ' end',
186
- '',
187
- '',
188
- 'end'])
189
- expect(cli.run(['--auto-correct'])).to eq(1)
190
- expect($stderr.string).to eq('')
191
- expect(IO.read('example.rb')).to eq(['class Test',
192
- ' def f',
193
- ' end',
194
- 'end',
195
- ''].join("\n"))
196
- end
197
-
198
- # A case where WordArray's correction can be clobbered by
199
- # AccessModifierIndentation's correction.
200
- it 'can correct indentation and another thing' do
201
- create_file('example.rb', ['# encoding: utf-8',
202
- 'class Dsl',
203
- 'private',
204
- ' A = ["git", "path",]',
205
- 'end'])
206
- expect(cli.run(%w(--auto-correct --format emacs))).to eq(1)
207
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
208
- 'class Dsl',
209
- ' private',
210
- '',
211
- ' A = %w(git path)',
212
- 'end',
213
- ''].join("\n"))
214
- e = abs('example.rb')
215
- expect($stdout.string)
216
- .to eq(["#{e}:2:1: C: Missing top-level class documentation " \
217
- 'comment.',
218
- "#{e}:3:1: C: [Corrected] Indent access modifiers like " \
219
- '`private`.',
220
- "#{e}:3:1: C: [Corrected] Keep a blank line before and " \
221
- 'after `private`.',
222
- "#{e}:3:3: W: Useless `private` access modifier.",
223
- "#{e}:3:3: C: [Corrected] Keep a blank line before and " \
224
- 'after `private`.',
225
- "#{e}:4:7: C: [Corrected] Use `%w` or `%W` " \
226
- 'for array of words.',
227
- "#{e}:4:8: C: [Corrected] Prefer single-quoted strings " \
228
- "when you don't need string interpolation or special " \
229
- 'symbols.',
230
- "#{e}:4:15: C: [Corrected] Prefer single-quoted strings " \
231
- "when you don't need string interpolation or special " \
232
- 'symbols.',
233
- "#{e}:4:21: C: [Corrected] Avoid comma after the last item " \
234
- 'of an array.',
235
- "#{e}:5:7: C: [Corrected] Use `%w` or `%W` " \
236
- 'for array of words.',
237
- "#{e}:5:8: C: [Corrected] Prefer single-quoted strings " \
238
- "when you don't need string interpolation or special " \
239
- 'symbols.',
240
- "#{e}:5:15: C: [Corrected] Prefer single-quoted strings " \
241
- "when you don't need string interpolation or special " \
242
- 'symbols.',
243
- "#{e}:5:21: C: [Corrected] Avoid comma after the last item " \
244
- 'of an array.',
245
- ''].join("\n"))
246
- end
247
-
248
- # A case where the same cop could try to correct an offense twice in one
249
- # place.
250
- it 'can correct empty line inside special form of nested modules' do
251
- create_file('example.rb', ['module A module B',
252
- '',
253
- 'end end'])
254
- expect(cli.run(['--auto-correct'])).to eq(1)
255
- expect(IO.read('example.rb')).to eq(['module A module B',
256
- 'end end',
257
- ''].join("\n"))
258
- end
259
-
260
- it 'can correct single line methods' do
261
- create_file('example.rb', ['# encoding: utf-8',
262
- 'def func1; do_something end # comment',
263
- 'def func2() do_1; do_2; end'])
264
- expect(cli.run(%w(--auto-correct --format offenses))).to eq(1)
265
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
266
- '# comment',
267
- 'def func1',
268
- ' do_something',
269
- 'end',
270
- '',
271
- 'def func2',
272
- ' do_1',
273
- ' do_2',
274
- 'end',
275
- ''].join("\n"))
276
- expect($stdout.string).to eq(['',
277
- '6 Style/TrailingWhitespace',
278
- '4 Style/Semicolon',
279
- '2 Style/SingleLineMethods',
280
- '1 Style/DefWithParentheses',
281
- '1 Style/EmptyLineBetweenDefs',
282
- '--',
283
- '14 Total',
284
- '',
285
- ''].join("\n"))
286
- end
287
-
288
- # In this example, the auto-correction (changing "raise" to "fail")
289
- # creates a new problem (alignment of parameters), which is also
290
- # corrected automatically.
291
- it 'can correct a problems and the problem it creates' do
292
- create_file('example.rb',
293
- ['# encoding: utf-8',
294
- 'raise NotImplementedError,',
295
- " 'Method should be overridden in child classes'"])
296
- expect(cli.run(['--auto-correct'])).to eq(1)
297
- expect(IO.read('example.rb'))
298
- .to eq(['# encoding: utf-8',
299
- 'fail NotImplementedError,',
300
- " 'Method should be overridden in child classes'",
301
- ''].join("\n"))
302
- expect($stdout.string)
303
- .to eq(['Inspecting 1 file',
304
- 'C',
305
- '',
306
- 'Offenses:',
307
- '',
308
- 'example.rb:2:1: C: [Corrected] Use fail instead of ' \
309
- 'raise to signal exceptions.',
310
- 'raise NotImplementedError,',
311
- '^^^^^',
312
- 'example.rb:3:7: C: [Corrected] Align the parameters of a ' \
313
- 'method call if they span more than one line.',
314
- " 'Method should be overridden in child classes'",
315
- ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^',
316
- '',
317
- '1 file inspected, 2 offenses detected, 2 offenses ' \
318
- 'corrected',
319
- ''].join("\n"))
320
- end
321
-
322
- # Thanks to repeated auto-correction, we can get rid of the trailing
323
- # spaces, and then the extra empty line.
324
- it 'can correct two problems in the same place' do
325
- create_file('example.rb',
326
- ['# encoding: utf-8',
327
- '# Example class.',
328
- 'class Klass',
329
- ' ',
330
- ' def f',
331
- ' end',
332
- 'end'])
333
- expect(cli.run(['--auto-correct'])).to eq(1)
334
- expect(IO.read('example.rb'))
335
- .to eq(['# encoding: utf-8',
336
- '# Example class.',
337
- 'class Klass',
338
- ' def f',
339
- ' end',
340
- 'end',
341
- ''].join("\n"))
342
- expect($stderr.string).to eq('')
343
- expect($stdout.string)
344
- .to eq(['Inspecting 1 file',
345
- 'C',
346
- '',
347
- 'Offenses:',
348
- '',
349
- 'example.rb:4:1: C: [Corrected] Extra empty line detected ' \
350
- 'at body beginning.',
351
- 'example.rb:4:1: C: [Corrected] Trailing whitespace ' \
352
- 'detected.',
353
- '',
354
- '1 file inspected, 2 offenses detected, 2 offenses ' \
355
- 'corrected',
356
- ''].join("\n"))
357
- end
358
-
359
- it 'can correct MethodDefParentheses and other offense' do
360
- create_file('example.rb',
361
- ['# encoding: utf-8',
362
- 'def primes limit',
363
- ' 1.upto(limit).find_all { |i| is_prime[i] }',
364
- 'end'])
365
- expect(cli.run(%w(-D --auto-correct))).to eq(1)
366
- expect($stderr.string).to eq('')
367
- expect(IO.read('example.rb'))
368
- .to eq(['# encoding: utf-8',
369
- 'def primes(limit)',
370
- ' 1.upto(limit).select { |i| is_prime[i] }',
371
- 'end',
372
- ''].join("\n"))
373
- expect($stdout.string)
374
- .to eq(['Inspecting 1 file',
375
- 'C',
376
- '',
377
- 'Offenses:',
378
- '',
379
- 'example.rb:2:12: C: [Corrected] ' \
380
- 'Style/MethodDefParentheses: ' \
381
- 'Use def with parentheses when there are parameters.',
382
- 'def primes limit',
383
- ' ^^^^^',
384
- 'example.rb:3:17: C: [Corrected] Style/CollectionMethods: ' \
385
- 'Prefer select over find_all.',
386
- ' 1.upto(limit).find_all { |i| is_prime[i] }',
387
- ' ^^^^^^^^',
388
- '',
389
- '1 file inspected, 2 offenses detected, 2 offenses ' \
390
- 'corrected',
391
- ''].join("\n"))
392
- end
393
-
394
- it 'can correct WordArray and SpaceAfterComma offenses' do
395
- create_file('example.rb',
396
- ['# encoding: utf-8',
397
- "f(type: ['offline','offline_payment'],",
398
- " bar_colors: ['958c12','953579','ff5800','0085cc'])"])
399
- expect(cli.run(%w(-D --auto-correct --format o))).to eq(1)
400
- expect($stdout.string)
401
- .to eq(['',
402
- '4 Style/SpaceAfterComma',
403
- '2 Style/WordArray',
404
- '--',
405
- '6 Total',
406
- '',
407
- ''].join("\n"))
408
- expect(IO.read('example.rb'))
409
- .to eq(['# encoding: utf-8',
410
- 'f(type: %w(offline offline_payment),',
411
- ' bar_colors: %w(958c12 953579 ff5800 0085cc))',
412
- ''].join("\n"))
413
- end
414
-
415
- it 'can correct SpaceAfterComma and HashSyntax offenses' do
416
- create_file('example.rb',
417
- ['# encoding: utf-8',
418
- "I18n.t('description',:property_name => property.name)"])
419
- expect(cli.run(%w(-D --auto-correct --format emacs))).to eq(1)
420
- expect($stdout.string)
421
- .to eq(["#{abs('example.rb')}:2:21: C: [Corrected] " \
422
- 'Style/SpaceAfterComma: Space missing after comma.',
423
- "#{abs('example.rb')}:2:22: C: [Corrected] " \
424
- 'Style/HashSyntax: Use the new Ruby 1.9 hash syntax.',
425
- ''].join("\n"))
426
- expect(IO.read('example.rb'))
427
- .to eq(['# encoding: utf-8',
428
- "I18n.t('description', property_name: property.name)",
429
- ''].join("\n"))
430
- end
431
-
432
- it 'can correct HashSyntax and SpaceAroundOperators offenses' do
433
- create_file('example.rb',
434
- ['# encoding: utf-8',
435
- '{ :b=>1 }'])
436
- expect(cli.run(%w(-D --auto-correct --format emacs))).to eq(1)
437
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
438
- '{ b: 1 }',
439
- ''].join("\n"))
440
- expect($stdout.string)
441
- .to eq(["#{abs('example.rb')}:2:3: C: [Corrected] " \
442
- 'Style/HashSyntax: Use the new Ruby 1.9 hash syntax.',
443
- "#{abs('example.rb')}:2:5: C: [Corrected] " \
444
- 'Style/SpaceAroundOperators: Surrounding space missing for ' \
445
- "operator '=>'.",
446
- ''].join("\n"))
447
- end
448
-
449
- it 'can correct HashSyntax when --only is used' do
450
- create_file('example.rb',
451
- ['# encoding: utf-8',
452
- '{ :b=>1 }'])
453
- expect(cli.run(%w(--auto-correct -f emacs
454
- --only Style/HashSyntax))).to eq(1)
455
- expect($stderr.string).to eq('')
456
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
457
- '{ b: 1 }',
458
- ''].join("\n"))
459
- expect($stdout.string)
460
- .to eq(["#{abs('example.rb')}:2:3: C: [Corrected] Use the new " \
461
- 'Ruby 1.9 hash syntax.',
462
- ''].join("\n"))
463
- end
464
-
465
- it 'can correct TrailingBlankLines and TrailingWhitespace offenses' do
466
- create_file('example.rb',
467
- ['# encoding: utf-8',
468
- '',
469
- ' ',
470
- '',
471
- ''])
472
- expect(cli.run(%w(--auto-correct --format emacs))).to eq(1)
473
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
474
- ''].join("\n"))
475
- expect($stdout.string)
476
- .to eq(["#{abs('example.rb')}:2:1: C: [Corrected] 3 trailing " \
477
- 'blank lines detected.',
478
- "#{abs('example.rb')}:3:1: C: [Corrected] Trailing " \
479
- 'whitespace detected.',
480
- ''].join("\n"))
481
- end
482
-
483
- it 'can correct MethodCallParentheses and EmptyLiteral offenses' do
484
- create_file('example.rb',
485
- ['# encoding: utf-8',
486
- 'Hash.new()'])
487
- expect(cli.run(%w(--auto-correct --format emacs))).to eq(1)
488
- expect($stderr.string).to eq('')
489
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
490
- '{}',
491
- ''].join("\n"))
492
- expect($stdout.string)
493
- .to eq(["#{abs('example.rb')}:2:1: C: [Corrected] Use hash " \
494
- 'literal {} instead of Hash.new.',
495
- "#{abs('example.rb')}:2:9: C: [Corrected] Do not use " \
496
- 'parentheses for method calls with no arguments.',
497
- ''].join("\n"))
498
- end
499
-
500
- it 'can correct IndentHash offenses with separator style' do
501
- create_file('example.rb',
502
- ['# encoding: utf-8',
503
- 'CONVERSION_CORRESPONDENCE = {',
504
- ' match_for_should: :match,',
505
- ' match_for_should_not: :match_when_negated,',
506
- ' failure_message_for_should: :failure_message,',
507
- 'failure_message_for_should_not: :failure_message_when',
508
- '}'])
509
- create_file('.rubocop.yml',
510
- ['Style/AlignHash:',
511
- ' EnforcedColonStyle: separator'])
512
- expect(cli.run(%w(--auto-correct))).to eq(1)
513
- expect(IO.read('example.rb'))
514
- .to eq(['# encoding: utf-8',
515
- 'CONVERSION_CORRESPONDENCE = {',
516
- ' match_for_should: :match,',
517
- ' match_for_should_not: :match_when_negated,',
518
- ' failure_message_for_should: :failure_message,',
519
- ' failure_message_for_should_not: :failure_message_when',
520
- '}',
521
- ''].join("\n"))
522
- end
523
-
524
- it 'does not say [Corrected] if correction was avoided' do
525
- create_file('example.rb', ['# encoding: utf-8',
526
- 'a = c and b',
527
- 'not a && b',
528
- 'func a do b end'])
529
- expect(cli.run(%w(-a -f simple))).to eq(1)
530
- expect($stderr.string).to eq('')
531
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
532
- 'a = c and b',
533
- 'not a && b',
534
- 'func a do b end',
535
- ''].join("\n"))
536
- expect($stdout.string)
537
- .to eq(['== example.rb ==',
538
- 'C: 2: 7: Use && instead of and.',
539
- 'C: 3: 1: Use ! instead of not.',
540
- 'C: 4: 8: Prefer {...} over do...end for single-line ' \
541
- 'blocks.',
542
- '',
543
- '1 file inspected, 3 offenses detected',
544
- ''].join("\n"))
545
- end
546
-
547
- it 'does not hang SpaceAfterPunctuation and SpaceInsideParens' do
548
- create_file('example.rb',
549
- ['# encoding: utf-8',
550
- 'some_method(a, )'])
551
- Timeout.timeout(10) do
552
- expect(cli.run(%w(--auto-correct))).to eq(1)
553
- end
554
- expect($stderr.string).to eq('')
555
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
556
- 'some_method(a)',
557
- ''].join("\n"))
558
- end
559
-
560
- it 'does not hang SpaceAfterPunctuation and SpaceInsideBrackets' do
561
- create_file('example.rb',
562
- ['# encoding: utf-8',
563
- 'puts [1, ]'])
564
- Timeout.timeout(10) do
565
- expect(cli.run(%w(--auto-correct))).to eq(1)
566
- end
567
- expect($stderr.string).to eq('')
568
- expect(IO.read('example.rb')).to eq(['# encoding: utf-8',
569
- 'puts [1]',
570
- ''].join("\n"))
571
- end
572
- end
573
-
574
- describe '--auto-gen-config' do
575
- before(:each) do
576
- RuboCop::Formatter::DisabledConfigFormatter
577
- .config_to_allow_offenses = {}
578
- end
579
-
580
- it 'overwrites an existing todo file' do
581
- create_file('example1.rb', ['# encoding: utf-8',
582
- 'x= 0 ',
583
- '#' * 85,
584
- 'y ',
585
- 'puts x'])
586
- create_file('.rubocop_todo.yml', ['Metrics/LineLength:',
587
- ' Enabled: false'])
588
- create_file('.rubocop.yml', ['inherit_from: .rubocop_todo.yml'])
589
- expect(cli.run(['--auto-gen-config'])).to eq(1)
590
- expect(IO.readlines('.rubocop_todo.yml')[7..-1].map(&:chomp))
591
- .to eq(['# Offense count: 1',
592
- '# Configuration parameters: AllowURI.',
593
- 'Metrics/LineLength:',
594
- ' Max: 85',
595
- '',
596
- '# Offense count: 1',
597
- '# Cop supports --auto-correct.',
598
- 'Style/SpaceAroundOperators:',
599
- ' Enabled: false',
600
- '',
601
- '# Offense count: 2',
602
- '# Cop supports --auto-correct.',
603
- 'Style/TrailingWhitespace:',
604
- ' Enabled: false'])
605
-
606
- # Create new CLI instance to avoid using cached configuration.
607
- new_cli = described_class.new
608
-
609
- expect(new_cli.run(['example1.rb'])).to eq(0)
610
- end
611
-
612
- it 'exits with error if file arguments are given' do
613
- create_file('example1.rb', ['# encoding: utf-8',
614
- 'x= 0 ',
615
- '#' * 85,
616
- 'y ',
617
- 'puts x'])
618
- expect { cli.run(['--auto-gen-config', 'example1.rb']) }
619
- .to exit_with_code(1)
620
- expect($stderr.string)
621
- .to eq(['--auto-gen-config can not be combined with any other ' \
622
- 'arguments.',
623
- ''].join("\n"))
624
- expect($stdout.string).to eq('')
625
- end
626
-
627
- it 'can generate a todo list' do
628
- create_file('example1.rb', ['# encoding: utf-8',
629
- '$x= 0 ',
630
- '#' * 90,
631
- '#' * 85,
632
- 'y ',
633
- 'puts x'])
634
- create_file('example2.rb', ['# encoding: utf-8',
635
- "\tx = 0",
636
- 'puts x'])
637
- expect(cli.run(['--auto-gen-config'])).to eq(1)
638
- expect($stderr.string).to eq('')
639
- expect($stdout.string)
640
- .to include(['Created .rubocop_todo.yml.',
641
- 'Run `rubocop --config .rubocop_todo.yml`, or',
642
- 'add inherit_from: .rubocop_todo.yml in a ' \
643
- '.rubocop.yml file.',
644
- ''].join("\n"))
645
- expected =
646
- ['# This configuration was generated by `rubocop --auto-gen-config`',
647
- /# on .* using RuboCop version .*/,
648
- '# The point is for the user to remove these configuration records',
649
- '# one by one as the offenses are removed from the code base.',
650
- '# Note that changes in the inspected code, or installation of new',
651
- '# versions of RuboCop, may require this file to be generated ' \
652
- 'again.',
653
- '',
654
- '# Offense count: 2',
655
- '# Configuration parameters: AllowURI.',
656
- 'Metrics/LineLength:',
657
- ' Max: 90',
658
- '',
659
- '# Offense count: 1',
660
- '# Cop supports --auto-correct.',
661
- 'Style/CommentIndentation:',
662
- ' Enabled: false',
663
- '',
664
- '# Offense count: 1',
665
- '# Configuration parameters: AllowedVariables.',
666
- 'Style/GlobalVars:',
667
- ' Enabled: false',
668
- '',
669
- '# Offense count: 1',
670
- '# Cop supports --auto-correct.',
671
- 'Style/IndentationConsistency:',
672
- ' Enabled: false',
673
- '',
674
- '# Offense count: 1',
675
- '# Cop supports --auto-correct.',
676
- 'Style/SpaceAroundOperators:',
677
- ' Enabled: false',
678
- '',
679
- '# Offense count: 1',
680
- '# Cop supports --auto-correct.',
681
- 'Style/Tab:',
682
- ' Enabled: false',
683
- '',
684
- '# Offense count: 2',
685
- '# Cop supports --auto-correct.',
686
- 'Style/TrailingWhitespace:',
687
- ' Enabled: false']
688
- actual = IO.read('.rubocop_todo.yml').split($RS)
689
- expected.each_with_index do |line, ix|
690
- if line.is_a?(String)
691
- expect(actual[ix]).to eq(line)
692
- else
693
- expect(actual[ix]).to match(line)
694
- end
695
- end
696
- end
697
-
698
- it 'does not generate configuration for the Syntax cop' do
699
- create_file('example1.rb', ['# encoding: utf-8',
700
- 'x = < ', # Syntax error
701
- 'puts x'])
702
- create_file('example2.rb', ['# encoding: utf-8',
703
- "\tx = 0",
704
- 'puts x'])
705
- expect(cli.run(['--auto-gen-config'])).to eq(1)
706
- expect($stderr.string).to eq('')
707
- expected =
708
- ['# This configuration was generated by `rubocop --auto-gen-config`',
709
- /# on .* using RuboCop version .*/,
710
- '# The point is for the user to remove these configuration records',
711
- '# one by one as the offenses are removed from the code base.',
712
- '# Note that changes in the inspected code, or installation of new',
713
- '# versions of RuboCop, may require this file to be generated ' \
714
- 'again.',
715
- '',
716
- '# Offense count: 1',
717
- '# Cop supports --auto-correct.',
718
- 'Style/CommentIndentation:',
719
- ' Enabled: false',
720
- '',
721
- '# Offense count: 1',
722
- '# Cop supports --auto-correct.',
723
- 'Style/IndentationConsistency:',
724
- ' Enabled: false',
725
- '',
726
- '# Offense count: 1',
727
- '# Cop supports --auto-correct.',
728
- 'Style/Tab:',
729
- ' Enabled: false']
730
- actual = IO.read('.rubocop_todo.yml').split($RS)
731
- expect(actual.length).to eq(expected.length)
732
- expected.each_with_index do |line, ix|
733
- if line.is_a?(String)
734
- expect(actual[ix]).to eq(line)
735
- else
736
- expect(actual[ix]).to match(line)
737
- end
738
- end
739
- end
740
-
741
- it 'generates a todo list that removes the reports' do
742
- RuboCop::Cop::Style::RegexpLiteral.slash_count = 0
743
- create_file('example.rb', ['# encoding: utf-8',
744
- 'y.gsub!(%r{abc/xyz}, "#{x}")'])
745
- expect(cli.run(%w(--format emacs))).to eq(1)
746
- expect($stdout.string)
747
- .to eq(["#{abs('example.rb')}:2:9: C: Use %r only for regular " \
748
- "expressions matching more than 1 '/' character.",
749
- ''].join("\n"))
750
- expect(cli.run(['--auto-gen-config'])).to eq(1)
751
- expected =
752
- ['# This configuration was generated by `rubocop --auto-gen-config`',
753
- /# on .* using RuboCop version .*/,
754
- '# The point is for the user to remove these configuration records',
755
- '# one by one as the offenses are removed from the code base.',
756
- '# Note that changes in the inspected code, or installation of new',
757
- '# versions of RuboCop, may require this file to be generated ' \
758
- 'again.',
759
- '',
760
- '# Offense count: 1',
761
- '# Configuration parameters: MaxSlashes.',
762
- 'Style/RegexpLiteral:',
763
- ' Enabled: false']
764
- actual = IO.read('.rubocop_todo.yml').split($RS)
765
- expected.each_with_index do |line, ix|
766
- if line.is_a?(String)
767
- expect(actual[ix]).to eq(line)
768
- else
769
- expect(actual[ix]).to match(line)
770
- end
771
- end
772
- $stdout = StringIO.new
773
- result = cli.run(%w(--config .rubocop_todo.yml --format emacs))
774
- expect($stdout.string).to eq('')
775
- expect(result).to eq(0)
776
- end
777
- end
778
-
779
- describe '--only' do
780
- context 'when one cop is given' do
781
- it 'runs just one cop' do
782
- create_file('example.rb', ['if x== 0 ',
783
- "\ty",
784
- 'end'])
785
- # IfUnlessModifier depends on the configuration of LineLength.
786
-
787
- expect(cli.run(['--format', 'simple',
788
- '--only', 'Style/IfUnlessModifier',
789
- 'example.rb'])).to eq(1)
790
- expect($stdout.string)
791
- .to eq(['== example.rb ==',
792
- 'C: 1: 1: Favor modifier if usage when ' \
793
- 'having a single-line body. Another good alternative is ' \
794
- 'the usage of control flow &&/||.',
795
- '',
796
- '1 file inspected, 1 offense detected',
797
- ''].join("\n"))
798
- end
799
-
800
- it 'exits with error if an incorrect cop name is passed' do
801
- create_file('example.rb', ['if x== 0 ',
802
- "\ty",
803
- 'end'])
804
- expect(cli.run(['--only', 'Style/123'])).to eq(1)
805
- expect($stderr.string).to include('Unrecognized cop name: Style/123.')
806
- end
807
-
808
- it 'accepts cop names from plugins' do
809
- create_file('.rubocop.yml', ['require: rubocop_ext',
810
- '',
811
- 'Style/SomeCop:',
812
- ' Description: Something',
813
- ' Enabled: true'])
814
- create_file('rubocop_ext.rb', ['module RuboCop',
815
- ' module Cop',
816
- ' module Style',
817
- ' class SomeCop < Cop',
818
- ' end',
819
- ' end',
820
- ' end',
821
- 'end'])
822
- create_file('redirect.rb', '$stderr = STDOUT')
823
- rubocop = "#{RuboCop::ConfigLoader::RUBOCOP_HOME}/bin/rubocop"
824
- # Since we define a new cop class, we have to do this in a separate
825
- # process. Otherwise, the extra cop will affect other specs.
826
- output =
827
- `ruby -I . #{rubocop} --require redirect.rb --only Style/SomeCop`
828
- expect($CHILD_STATUS.success?).to be_truthy
829
- # The warning about the unrecognized cop is expected. It's given due
830
- # to the fact that we haven't supplied any default configuration for
831
- # rubocop_ext in this example.
832
- expect(output)
833
- .to eq(['Warning: unrecognized cop Style/SomeCop found in ' \
834
- "#{abs('.rubocop.yml')}",
835
- 'Inspecting 2 files',
836
- '..',
837
- '',
838
- '2 files inspected, no offenses detected',
839
- ''].join("\n"))
840
- end
841
-
842
- context 'without using namespace' do
843
- it 'runs just one cop' do
844
- create_file('example.rb', ['if x== 0 ',
845
- "\ty",
846
- 'end'])
847
-
848
- expect(cli.run(['--format', 'simple',
849
- '--display-cop-names',
850
- '--only', 'IfUnlessModifier',
851
- 'example.rb'])).to eq(1)
852
- expect($stdout.string)
853
- .to eq(['== example.rb ==',
854
- 'C: 1: 1: Style/IfUnlessModifier: Favor modifier if ' \
855
- 'usage when having a single-line body. Another good ' \
856
- 'alternative is the usage of control flow &&/||.',
857
- '',
858
- '1 file inspected, 1 offense detected',
859
- ''].join("\n"))
860
- end
861
- end
862
-
863
- it 'enables the given cop' do
864
- create_file('example.rb',
865
- ['x = 0 ',
866
- # Disabling comments still apply.
867
- '# rubocop:disable Style/TrailingWhitespace',
868
- 'y = 1 '])
869
-
870
- create_file('.rubocop.yml', ['Style/TrailingWhitespace:',
871
- ' Enabled: false'])
872
-
873
- expect(cli.run(['--format', 'simple',
874
- '--only', 'Style/TrailingWhitespace',
875
- 'example.rb'])).to eq(1)
876
- expect($stderr.string).to eq('')
877
- expect($stdout.string)
878
- .to eq(['== example.rb ==',
879
- 'C: 1: 6: Trailing whitespace detected.',
880
- '',
881
- '1 file inspected, 1 offense detected',
882
- ''].join("\n"))
883
- end
884
- end
885
-
886
- context 'when several cops are given' do
887
- it 'runs the given cops' do
888
- create_file('example.rb', ['if x== 100000000000000 ',
889
- "\ty",
890
- 'end'])
891
- expect(cli.run(['--format', 'simple',
892
- '--only',
893
- 'Style/IfUnlessModifier,Style/Tab,' \
894
- 'Style/SpaceAroundOperators',
895
- 'example.rb'])).to eq(1)
896
- expect($stderr.string).to eq('')
897
- expect($stdout.string)
898
- .to eq(['== example.rb ==',
899
- 'C: 1: 1: Favor modifier if usage when ' \
900
- 'having a single-line body. Another good alternative is ' \
901
- 'the usage of control flow &&/||.',
902
- "C: 1: 5: Surrounding space missing for operator '=='.",
903
- 'C: 2: 1: Tab detected.',
904
- '',
905
- '1 file inspected, 3 offenses detected',
906
- ''].join("\n"))
907
- end
908
-
909
- context 'and --lint' do
910
- it 'runs the given cops plus all enabled lint cops' do
911
- create_file('example.rb', ['if x== 100000000000000 ',
912
- "\ty = 3",
913
- ' end'])
914
- create_file('.rubocop.yml', ['Lint/EndAlignment:',
915
- ' Enabled: false'])
916
- expect(cli.run(['--format', 'simple',
917
- '--only', 'Style/Tab,Style/SpaceAroundOperators',
918
- '--lint',
919
- 'example.rb'])).to eq(1)
920
- expect($stdout.string)
921
- .to eq(['== example.rb ==',
922
- 'C: 1: 5: Surrounding space missing for operator ' \
923
- "'=='.",
924
- 'C: 2: 1: Tab detected.',
925
- 'W: 2: 2: Useless assignment to variable - y.',
926
- '',
927
- '1 file inspected, 3 offenses detected',
928
- ''].join("\n"))
929
- end
930
- end
931
- end
932
- end
933
-
934
- describe '--lint' do
935
- it 'runs only lint cops' do
936
- create_file('example.rb', ['if 0 ',
937
- "\ty",
938
- 'end'])
939
- # IfUnlessModifier depends on the configuration of LineLength.
940
-
941
- expect(cli.run(['--format', 'simple', '--lint',
942
- 'example.rb'])).to eq(1)
943
- expect($stdout.string)
944
- .to eq(['== example.rb ==',
945
- 'W: 1: 4: Literal 0 appeared in a condition.',
946
- '',
947
- '1 file inspected, 1 offense detected',
948
- ''].join("\n"))
949
- end
950
- end
951
-
952
- describe '-d/--debug' do
953
- it 'shows config files' do
954
- create_file('example1.rb', "\tputs 0")
955
- expect(cli.run(['--debug', 'example1.rb'])).to eq(1)
956
- home = File.dirname(File.dirname(File.dirname(__FILE__)))
957
- expect($stdout.string.lines.grep(/configuration/).map(&:chomp))
958
- .to eq(["For #{abs('')}:" \
959
- " configuration from #{home}/config/default.yml",
960
- "Inheriting configuration from #{home}/config/enabled.yml",
961
- "Inheriting configuration from #{home}/config/disabled.yml"
962
- ])
963
- end
964
-
965
- it 'shows cop names' do
966
- create_file('example1.rb', "\tputs 0")
967
- expect(cli.run(['--format',
968
- 'emacs',
969
- '--debug',
970
- 'example1.rb'])).to eq(1)
971
- expect($stdout.string.lines.to_a[-1])
972
- .to eq(["#{abs('example1.rb')}:1:1: C: Style/Tab: Tab detected.",
973
- ''].join("\n"))
974
- end
975
- end
976
-
977
- describe '-D/--display-cop-names' do
978
- it 'shows cop names' do
979
- create_file('example1.rb', "\tputs 0")
980
- expect(cli.run(['--format',
981
- 'emacs',
982
- '--debug',
983
- 'example1.rb'])).to eq(1)
984
- expect($stdout.string.lines.to_a[-1])
985
- .to eq(["#{abs('example1.rb')}:1:1: C: Style/Tab: Tab detected.",
986
- ''].join("\n"))
987
- end
988
- end
989
-
990
- describe '--show-cops' do
991
- shared_examples(:prints_config) do
992
- it 'prints the current configuration' do
993
- out = stdout.lines.to_a
994
- printed_config = YAML.load(out.join)
995
- cop_names = (cop_list[0] || '').split(',')
996
- cop_names.each do |cop_name|
997
- global_conf[cop_name].each do |key, value|
998
- printed_value = printed_config[cop_name][key]
999
- expect(printed_value).to eq(value)
1000
- end
1001
- end
1002
- end
1003
- end
1004
-
1005
- let(:cops) { RuboCop::Cop::Cop.all }
1006
-
1007
- let(:global_conf) do
1008
- config_path =
1009
- RuboCop::ConfigLoader.configuration_file_for(Dir.pwd.to_s)
1010
- RuboCop::ConfigLoader.configuration_from_file(config_path)
1011
- end
1012
-
1013
- let(:stdout) { $stdout.string }
1014
-
1015
- before do
1016
- create_file('.rubocop.yml', ['Metrics/LineLength:',
1017
- ' Max: 110'])
1018
- expect { cli.run ['--show-cops'] + cop_list }.to exit_with_code(0)
1019
- end
1020
-
1021
- context 'with no args' do
1022
- let(:cop_list) { [] }
1023
-
1024
- # Extracts the first line out of the description
1025
- def short_description_of_cop(cop)
1026
- desc = full_description_of_cop(cop)
1027
- desc ? desc.lines.first.strip : ''
1028
- end
1029
-
1030
- # Gets the full description of the cop or nil if no description is set.
1031
- def full_description_of_cop(cop)
1032
- cop_config = global_conf.for_cop(cop)
1033
- cop_config['Description']
1034
- end
1035
-
1036
- it 'prints all available cops and their description' do
1037
- cops.each do |cop|
1038
- expect(stdout).to include cop.cop_name
1039
- # Because of line breaks, we will only find the beginning.
1040
- expect(stdout).to include short_description_of_cop(cop)[0..60]
1041
- end
1042
- end
1043
-
1044
- it 'prints all types' do
1045
- cops
1046
- .types
1047
- .map(&:to_s)
1048
- .map(&:capitalize)
1049
- .each { |type| expect(stdout).to include(type) }
1050
- end
1051
-
1052
- it 'prints all cops in their right type listing' do
1053
- lines = stdout.lines
1054
- lines.slice_before(/Type /).each do |slice|
1055
- types = cops.types.map(&:to_s).map(&:capitalize)
1056
- current = types.delete(slice.shift[/Type '(?<c>[^']+)'/, 'c'])
1057
- # all cops in their type listing
1058
- cops.with_type(current).each do |cop|
1059
- expect(slice.any? { |l| l.include? cop.cop_name }).to be_truthy
1060
- end
1061
-
1062
- # no cop in wrong type listing
1063
- types.each do |type|
1064
- cops.with_type(type).each do |cop|
1065
- expect(slice.any? { |l| l.include? cop.cop_name }).to be_falsey
1066
- end
1067
- end
1068
- end
1069
- end
1070
-
1071
- include_examples :prints_config
1072
- end
1073
-
1074
- context 'with one cop given' do
1075
- let(:cop_list) { ['Style/Tab'] }
1076
-
1077
- it 'prints that cop and nothing else' do
1078
- expect(stdout).to eq(
1079
- ['# Supports --auto-correct',
1080
- 'Style/Tab:',
1081
- ' Description: No hard tabs.',
1082
- ' StyleGuide: ' \
1083
- 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation',
1084
- ' Enabled: true',
1085
- '',
1086
- ''].join("\n"))
1087
- end
1088
-
1089
- include_examples :prints_config
1090
- end
1091
-
1092
- context 'with two cops given' do
1093
- let(:cop_list) { ['Style/Tab,Metrics/LineLength'] }
1094
- include_examples :prints_config
1095
- end
1096
-
1097
- context 'with one of the cops misspelled' do
1098
- let(:cop_list) { ['Style/Tab,Lint/X123'] }
1099
-
1100
- it 'skips the unknown cop' do
1101
- expect(stdout).to eq(
1102
- ['# Supports --auto-correct',
1103
- 'Style/Tab:',
1104
- ' Description: No hard tabs.',
1105
- ' StyleGuide: ' \
1106
- 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation',
1107
- ' Enabled: true',
1108
- '',
1109
- ''].join("\n"))
1110
- end
1111
- end
1112
- end
1113
-
1114
- describe '-f/--format' do
1115
- let(:target_file) { 'example.rb' }
1116
-
1117
- before do
1118
- create_file(target_file, ['# encoding: utf-8',
1119
- '#' * 90])
1120
- end
1121
-
1122
- describe 'builtin formatters' do
1123
- context 'when simple format is specified' do
1124
- it 'outputs with simple format' do
1125
- cli.run(['--format', 'simple', 'example.rb'])
1126
- expect($stdout.string)
1127
- .to include(["== #{target_file} ==",
1128
- 'C: 2: 81: Line is too long. [90/80]'].join("\n"))
1129
- end
1130
- end
1131
-
1132
- context 'when clang format is specified' do
1133
- it 'outputs with clang format' do
1134
- create_file('example1.rb', ['# encoding: utf-8',
1135
- 'x= 0 ',
1136
- '#' * 85,
1137
- 'y ',
1138
- 'puts x'])
1139
- create_file('example2.rb', ['# encoding: utf-8',
1140
- "\tx",
1141
- 'def a',
1142
- ' puts',
1143
- 'end'])
1144
- create_file('example3.rb', ['# encoding: utf-8',
1145
- 'def badName',
1146
- ' if something',
1147
- ' test',
1148
- ' end',
1149
- 'end'])
1150
- expect(cli.run(['--format', 'clang', 'example1.rb',
1151
- 'example2.rb', 'example3.rb']))
1152
- .to eq(1)
1153
- expect($stdout.string)
1154
- .to eq(['example1.rb:2:2: C: Surrounding space missing for ' \
1155
- "operator '='.",
1156
- 'x= 0 ',
1157
- ' ^',
1158
- 'example1.rb:2:5: C: Trailing whitespace detected.',
1159
- 'x= 0 ',
1160
- ' ^',
1161
- 'example1.rb:3:81: C: Line is too long. [85/80]',
1162
- '###################################################' \
1163
- '##################################',
1164
- ' ' \
1165
- ' ^^^^^',
1166
- 'example1.rb:4:2: C: Trailing whitespace detected.',
1167
- 'y ',
1168
- ' ^',
1169
- 'example2.rb:1:1: C: Incorrect indentation detected' \
1170
- ' (column 0 instead of 1).',
1171
- '# encoding: utf-8',
1172
- '^^^^^^^^^^^^^^^^^',
1173
- 'example2.rb:2:1: C: Tab detected.',
1174
- "\tx",
1175
- '^',
1176
- 'example2.rb:3:1: C: Inconsistent indentation ' \
1177
- 'detected.',
1178
- 'def a',
1179
- '^^^^^',
1180
- 'example2.rb:4:1: C: Use 2 (not 3) spaces for ' \
1181
- 'indentation.',
1182
- ' puts',
1183
- '^^^',
1184
- 'example3.rb:2:5: C: Use snake_case for methods.',
1185
- 'def badName',
1186
- ' ^^^^^^^',
1187
- 'example3.rb:3:3: C: Use a guard clause instead of ' \
1188
- 'wrapping the code inside a conditional expression.',
1189
- ' if something',
1190
- ' ^^',
1191
- 'example3.rb:3:3: C: Favor modifier if usage ' \
1192
- 'when having a single-line body. Another good ' \
1193
- 'alternative is the usage of control flow &&/||.',
1194
- ' if something',
1195
- ' ^^',
1196
- 'example3.rb:5:5: W: end at 5, 4 is not aligned ' \
1197
- 'with if at 3, 2',
1198
- ' end',
1199
- ' ^^^',
1200
- '',
1201
- '3 files inspected, 12 offenses detected',
1202
- ''].join("\n"))
1203
- end
1204
- end
1205
-
1206
- context 'when emacs format is specified' do
1207
- it 'outputs with emacs format' do
1208
- create_file('example1.rb', ['# encoding: utf-8',
1209
- 'x= 0 ',
1210
- 'y ',
1211
- 'puts x'])
1212
- create_file('example2.rb', ['# encoding: utf-8',
1213
- "\tx = 0",
1214
- 'puts x'])
1215
- expect(cli.run(['--format', 'emacs', 'example1.rb',
1216
- 'example2.rb'])).to eq(1)
1217
- expected_output =
1218
- ["#{abs('example1.rb')}:2:2: C: Surrounding space missing" \
1219
- " for operator '='.",
1220
- "#{abs('example1.rb')}:2:5: C: Trailing whitespace detected.",
1221
- "#{abs('example1.rb')}:3:2: C: Trailing whitespace detected.",
1222
- "#{abs('example2.rb')}:1:1: C: Incorrect indentation detected" \
1223
- ' (column 0 instead of 1).',
1224
- "#{abs('example2.rb')}:2:1: C: Tab detected.",
1225
- "#{abs('example2.rb')}:3:1: C: Inconsistent indentation " \
1226
- 'detected.',
1227
- ''].join("\n")
1228
- expect($stdout.string).to eq(expected_output)
1229
- end
1230
- end
1231
-
1232
- context 'when unknown format name is specified' do
1233
- it 'aborts with error message' do
1234
- expect { cli.run(['--format', 'unknown', 'example.rb']) }
1235
- .to exit_with_code(1)
1236
- expect($stderr.string)
1237
- .to include('No formatter for "unknown"')
1238
- end
1239
- end
1240
- end
1241
-
1242
- describe 'custom formatter' do
1243
- let(:target_file) { abs('example.rb') }
1244
-
1245
- context 'when a class name is specified' do
1246
- it 'uses the class as a formatter' do
1247
- module MyTool
1248
- class RuboCopFormatter < RuboCop::Formatter::BaseFormatter
1249
- def started(all_files)
1250
- output.puts "started: #{all_files.join(',')}"
1251
- end
1252
-
1253
- def file_started(file, _options)
1254
- output.puts "file_started: #{file}"
1255
- end
1256
-
1257
- def file_finished(file, _offenses)
1258
- output.puts "file_finished: #{file}"
1259
- end
1260
-
1261
- def finished(processed_files)
1262
- output.puts "finished: #{processed_files.join(',')}"
1263
- end
1264
- end
1265
- end
1266
-
1267
- cli.run(['--format', 'MyTool::RuboCopFormatter', 'example.rb'])
1268
- expect($stdout.string).to eq(["started: #{target_file}",
1269
- "file_started: #{target_file}",
1270
- "file_finished: #{target_file}",
1271
- "finished: #{target_file}",
1272
- ''].join("\n"))
1273
- end
1274
- end
1275
-
1276
- context 'when unknown class name is specified' do
1277
- it 'aborts with error message' do
1278
- args = '--format UnknownFormatter example.rb'
1279
- expect { cli.run(args.split) }.to exit_with_code(1)
1280
- expect($stderr.string).to include('UnknownFormatter')
1281
- end
1282
- end
1283
- end
1284
-
1285
- it 'can be used multiple times' do
1286
- cli.run(['--format', 'simple', '--format', 'emacs', 'example.rb'])
1287
- expect($stdout.string)
1288
- .to include(["== #{target_file} ==",
1289
- 'C: 2: 81: Line is too long. [90/80]',
1290
- "#{abs(target_file)}:2:81: C: Line is too long. " \
1291
- '[90/80]'].join("\n"))
1292
- end
1293
- end
1294
-
1295
- describe '-o/--out option' do
1296
- let(:target_file) { 'example.rb' }
1297
-
1298
- before do
1299
- create_file(target_file, ['# encoding: utf-8',
1300
- '#' * 90])
1301
- end
1302
-
1303
- it 'redirects output to the specified file' do
1304
- cli.run(['--out', 'output.txt', target_file])
1305
- expect(File.read('output.txt')).to include('Line is too long.')
1306
- end
1307
-
1308
- it 'is applied to the previously specified formatter' do
1309
- cli.run(['--format', 'simple',
1310
- '--format', 'emacs', '--out', 'emacs_output.txt',
1311
- target_file])
1312
-
1313
- expect($stdout.string).to eq(["== #{target_file} ==",
1314
- 'C: 2: 81: Line is too long. [90/80]',
1315
- '',
1316
- '1 file inspected, 1 offense detected',
1317
- ''].join("\n"))
1318
-
1319
- expect(File.read('emacs_output.txt'))
1320
- .to eq(["#{abs(target_file)}:2:81: C: Line is too long. [90/80]",
1321
- ''].join("\n"))
1322
- end
1323
- end
1324
-
1325
- describe '--fail-level option' do
1326
- let(:target_file) { 'example.rb' }
1327
-
1328
- before do
1329
- create_file(target_file, ['# encoding: utf-8',
1330
- '#' * 90])
1331
- end
1332
-
1333
- it 'fails when option is less than the severity level' do
1334
- expect(cli.run(['--fail-level', 'convention', target_file])).to eq(1)
1335
- end
1336
-
1337
- it 'succeed when option is greater than the severity level' do
1338
- expect(cli.run(['--fail-level', 'warning', target_file])).to eq(0)
1339
- end
1340
- end
1341
-
1342
- describe '--force-exclusion' do
1343
- let(:target_file) { 'example.rb' }
1344
-
1345
- before do
1346
- create_file(target_file, ['# encoding: utf-8',
1347
- '#' * 90])
1348
-
1349
- create_file('.rubocop.yml', ['AllCops:',
1350
- ' Exclude:',
1351
- " - #{target_file}"])
1352
-
1353
- end
1354
-
1355
- it 'excludes files specified in the configuration Exclude ' \
1356
- 'even if they are explicitly passed as arguments' do
1357
- expect(cli.run(['--force-exclusion', target_file])).to eq(0)
1358
- end
1359
- end
1360
- end
1361
-
1362
- context 'when interrupted' do
1363
- it 'returns 1' do
1364
- allow_any_instance_of(RuboCop::Runner)
1365
- .to receive(:aborting?).and_return(true)
1366
- create_file('example.rb', '# encoding: utf-8')
1367
- expect(cli.run(['example.rb'])).to eq(1)
1368
- end
1369
- end
1370
-
1371
- describe '#trap_interrupt' do
1372
- let(:runner) { RuboCop::Runner.new({}, RuboCop::ConfigStore.new) }
1373
- let(:interrupt_handlers) { [] }
1374
-
1375
- before do
1376
- allow(Signal).to receive(:trap).with('INT') do |&block|
1377
- interrupt_handlers << block
1378
- end
1379
- end
1380
-
1381
- def interrupt
1382
- interrupt_handlers.each(&:call)
1383
- end
1384
-
1385
- it 'adds a handler for SIGINT' do
1386
- expect(interrupt_handlers).to be_empty
1387
- cli.trap_interrupt(runner)
1388
- expect(interrupt_handlers.size).to eq(1)
1389
- end
1390
-
1391
- context 'with SIGINT once' do
1392
- it 'aborts processing' do
1393
- cli.trap_interrupt(runner)
1394
- expect(runner).to receive(:abort)
1395
- interrupt
1396
- end
1397
-
1398
- it 'does not exit immediately' do
1399
- cli.trap_interrupt(runner)
1400
- expect_any_instance_of(Object).not_to receive(:exit)
1401
- expect_any_instance_of(Object).not_to receive(:exit!)
1402
- interrupt
1403
- end
1404
- end
1405
-
1406
- context 'with SIGINT twice' do
1407
- it 'exits immediately' do
1408
- cli.trap_interrupt(runner)
1409
- expect_any_instance_of(Object).to receive(:exit!).with(1)
1410
- interrupt
1411
- interrupt
1412
- end
1413
- end
1414
- end
1415
-
1416
- it 'checks a given correct file and returns 0' do
1417
- create_file('example.rb', ['# encoding: utf-8',
1418
- 'x = 0',
1419
- 'puts x'])
1420
- expect(cli.run(['--format', 'simple', 'example.rb'])).to eq(0)
1421
- expect($stdout.string)
1422
- .to eq(['',
1423
- '1 file inspected, no offenses detected',
1424
- ''].join("\n"))
1425
- end
1426
-
1427
- it 'checks a given file with faults and returns 1' do
1428
- create_file('example.rb', ['# encoding: utf-8',
1429
- 'x = 0 ',
1430
- 'puts x'])
1431
- expect(cli.run(['--format', 'simple', 'example.rb'])).to eq(1)
1432
- expect($stdout.string)
1433
- .to eq ['== example.rb ==',
1434
- 'C: 2: 6: Trailing whitespace detected.',
1435
- '',
1436
- '1 file inspected, 1 offense detected',
1437
- ''].join("\n")
1438
- end
1439
-
1440
- it 'registers an offense for a syntax error' do
1441
- create_file('example.rb', ['# encoding: utf-8',
1442
- 'class Test',
1443
- 'en'])
1444
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1445
- expect($stdout.string)
1446
- .to eq(["#{abs('example.rb')}:4:1: E: unexpected " \
1447
- 'token $end',
1448
- ''].join("\n"))
1449
- end
1450
-
1451
- it 'registers an offense for Parser warnings' do
1452
- create_file('example.rb', ['# encoding: utf-8',
1453
- 'puts *test',
1454
- 'if a then b else c end'])
1455
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1456
- expect($stdout.string)
1457
- .to eq(["#{abs('example.rb')}:2:6: W: " \
1458
- 'Ambiguous splat operator. Parenthesize the method arguments ' \
1459
- "if it's surely a splat operator, or add a whitespace to the " \
1460
- 'right of the `*` if it should be a multiplication.',
1461
- "#{abs('example.rb')}:3:1: C: " \
1462
- 'Favor the ternary operator (?:) over if/then/else/end ' \
1463
- 'constructs.',
1464
- ''].join("\n"))
1465
- end
1466
-
1467
- it 'can process a file with an invalid UTF-8 byte sequence' do
1468
- create_file('example.rb', ['# encoding: utf-8',
1469
- "# #{'f9'.hex.chr}#{'29'.hex.chr}"])
1470
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1471
- expect($stdout.string)
1472
- .to eq(["#{abs('example.rb')}:1:1: F: Invalid byte sequence in utf-8.",
1473
- ''].join("\n"))
1474
- end
1475
-
1476
- context 'when errors are raised while processing files due to bugs' do
1477
- let(:errors) do
1478
- ['An error occurred while Encoding cop was inspecting file.rb.']
1479
- end
1480
-
1481
- before do
1482
- allow_any_instance_of(RuboCop::Runner)
1483
- .to receive(:errors).and_return(errors)
1484
- end
1485
-
1486
- it 'displays an error message to stderr' do
1487
- cli.run([])
1488
- expect($stderr.string)
1489
- .to include('1 error occurred:').and include(errors.first)
1490
- end
1491
- end
1492
-
1493
- describe 'rubocop:disable comment' do
1494
- it 'can disable all cops in a code section' do
1495
- src = ['# encoding: utf-8',
1496
- '# rubocop:disable all',
1497
- '#' * 90,
1498
- 'x(123456)',
1499
- 'y("123")',
1500
- 'def func',
1501
- ' # rubocop: enable Metrics/LineLength,Style/StringLiterals',
1502
- ' ' + '#' * 93,
1503
- ' x(123456)',
1504
- ' y("123")',
1505
- 'end']
1506
- create_file('example.rb', src)
1507
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1508
- # all cops were disabled, then 2 were enabled again, so we
1509
- # should get 2 offenses reported.
1510
- expect($stdout.string)
1511
- .to eq(["#{abs('example.rb')}:8:81: C: Line is too long. [95/80]",
1512
- "#{abs('example.rb')}:10:5: C: Prefer single-quoted " \
1513
- "strings when you don't need string interpolation or " \
1514
- 'special symbols.',
1515
- ''].join("\n"))
1516
- end
1517
-
1518
- it 'can disable selected cops in a code section' do
1519
- create_file('example.rb',
1520
- ['# encoding: utf-8',
1521
- '# rubocop:disable Style/LineLength,' \
1522
- 'Style/NumericLiterals,Style/StringLiterals',
1523
- '#' * 90,
1524
- 'x(123456)',
1525
- 'y("123")',
1526
- 'def func',
1527
- ' # rubocop: enable Metrics/LineLength, ' \
1528
- 'Style/StringLiterals',
1529
- ' ' + '#' * 93,
1530
- ' x(123456)',
1531
- ' y("123")',
1532
- 'end'])
1533
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1534
- expect($stderr.string)
1535
- .to eq(["#{abs('example.rb')}: Style/LineLength has the wrong " \
1536
- 'namespace - should be Metrics',
1537
- ''].join("\n"))
1538
- # 3 cops were disabled, then 2 were enabled again, so we
1539
- # should get 2 offenses reported.
1540
- expect($stdout.string)
1541
- .to eq(["#{abs('example.rb')}:8:81: C: Line is too long. [95/80]",
1542
- "#{abs('example.rb')}:10:5: C: Prefer single-quoted " \
1543
- "strings when you don't need string interpolation or " \
1544
- 'special symbols.',
1545
- ''].join("\n"))
1546
- end
1547
-
1548
- it 'can disable all cops on a single line' do
1549
- create_file('example.rb', ['# encoding: utf-8',
1550
- 'y("123", 123456) # rubocop:disable all'
1551
- ])
1552
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(0)
1553
- expect($stdout.string).to be_empty
1554
- end
1555
-
1556
- it 'can disable selected cops on a single line' do
1557
- create_file('example.rb',
1558
- ['# encoding: utf-8',
1559
- 'a' * 90 + ' # rubocop:disable Metrics/LineLength',
1560
- '#' * 95,
1561
- 'y("123") # rubocop:disable Metrics/LineLength,' \
1562
- 'Style/StringLiterals'
1563
- ])
1564
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1565
- expect($stdout.string)
1566
- .to eq(
1567
- ["#{abs('example.rb')}:3:81: C: Line is too long. [95/80]",
1568
- ''].join("\n"))
1569
- end
1570
-
1571
- context 'without using namespace' do
1572
- it 'can disable selected cops on a single line' do
1573
- create_file('example.rb',
1574
- ['# encoding: utf-8',
1575
- 'a' * 90 + ' # rubocop:disable LineLength',
1576
- '#' * 95,
1577
- 'y("123") # rubocop:disable StringLiterals'
1578
- ])
1579
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1580
- expect($stdout.string)
1581
- .to eq(
1582
- ["#{abs('example.rb')}:3:81: C: Line is too long. [95/80]",
1583
- ''].join("\n"))
1584
- end
1585
- end
1586
- end
1587
-
1588
- it 'finds a file with no .rb extension but has a shebang line' do
1589
- create_file('example', ['#!/usr/bin/env ruby',
1590
- '# encoding: utf-8',
1591
- 'x = 0',
1592
- 'puts x'
1593
- ])
1594
- expect(cli.run(%w(--format simple))).to eq(0)
1595
- expect($stdout.string)
1596
- .to eq(['', '1 file inspected, no offenses detected', ''].join("\n"))
1597
- end
1598
-
1599
- it 'does not register any offenses for an empty file' do
1600
- create_file('example.rb', '')
1601
- expect(cli.run(%w(--format simple))).to eq(0)
1602
- expect($stdout.string)
1603
- .to eq(['', '1 file inspected, no offenses detected', ''].join("\n"))
1604
- end
1605
-
1606
- describe 'rails cops' do
1607
- describe 'enabling/disabling' do
1608
- it 'by default does not run rails cops' do
1609
- create_file('app/models/example1.rb', ['# encoding: utf-8',
1610
- 'read_attribute(:test)'])
1611
- expect(cli.run(['--format', 'simple', 'app/models/example1.rb']))
1612
- .to eq(0)
1613
- end
1614
-
1615
- it 'with -R given runs rails cops' do
1616
- create_file('app/models/example1.rb', ['# encoding: utf-8',
1617
- 'read_attribute(:test)'])
1618
- expect(cli.run(['--format', 'simple', '-R', 'app/models/example1.rb']))
1619
- .to eq(1)
1620
- expect($stdout.string).to include('Prefer self[:attr]')
1621
- end
1622
-
1623
- it 'with configation option true in one dir runs rails cops there' do
1624
- source = ['# encoding: utf-8',
1625
- 'read_attribute(:test)']
1626
- create_file('dir1/app/models/example1.rb', source)
1627
- create_file('dir1/.rubocop.yml', ['AllCops:',
1628
- ' RunRailsCops: true',
1629
- '',
1630
- 'Rails/ReadWriteAttribute:',
1631
- ' Include:',
1632
- ' - app/models/**/*.rb'])
1633
- create_file('dir2/app/models/example2.rb', source)
1634
- create_file('dir2/.rubocop.yml', ['AllCops:',
1635
- ' RunRailsCops: false',
1636
- '',
1637
- 'Rails/ReadWriteAttribute:',
1638
- ' Include:',
1639
- ' - app/models/**/*.rb'])
1640
- expect(cli.run(%w(--format simple dir1 dir2))).to eq(1)
1641
- expect($stdout.string)
1642
- .to eq(['== dir1/app/models/example1.rb ==',
1643
- 'C: 2: 1: Prefer self[:attr] over read_attribute' \
1644
- '(:attr).',
1645
- '',
1646
- '2 files inspected, 1 offense detected',
1647
- ''].join("\n"))
1648
- end
1649
-
1650
- it 'with configation option false but -R given runs rails cops' do
1651
- create_file('app/models/example1.rb', ['# encoding: utf-8',
1652
- 'read_attribute(:test)'])
1653
- create_file('.rubocop.yml', ['AllCops:',
1654
- ' RunRailsCops: false'])
1655
- expect(cli.run(['--format', 'simple', '-R', 'app/models/example1.rb']))
1656
- .to eq(1)
1657
- expect($stdout.string).to include('Prefer self[:attr]')
1658
- end
1659
- end
1660
-
1661
- describe 'including/excluding' do
1662
- it 'includes some directories by default' do
1663
- source = ['# encoding: utf-8',
1664
- 'read_attribute(:test)',
1665
- "default_scope order: 'position'"]
1666
- # Several rails cops include app/models by default.
1667
- create_file('dir1/app/models/example1.rb', source)
1668
- create_file('dir1/app/models/example2.rb', source)
1669
- # No rails cops include app/views by default.
1670
- create_file('dir1/app/views/example3.rb', source)
1671
- # The .rubocop.yml file inherits from default.yml where the Include
1672
- # config parameter is set for the rails cops. The paths are interpreted
1673
- # as relative to dir1 because .rubocop.yml is placed there.
1674
- create_file('dir1/.rubocop.yml', ['AllCops:',
1675
- ' RunRailsCops: true',
1676
- '',
1677
- 'Rails/ReadWriteAttribute:',
1678
- ' Exclude:',
1679
- ' - "**/example2.rb"',
1680
- '',
1681
- 'Rails/DefaultScope:',
1682
- ' Exclude:',
1683
- ' - "**/example2.rb"'])
1684
- # No .rubocop.yml file in dir2 means that the paths from default.yml
1685
- # are interpreted as relative to the current directory, so they don't
1686
- # match.
1687
- create_file('dir2/app/models/example4.rb', source)
1688
-
1689
- expect(cli.run(%w(--format simple dir1 dir2))).to eq(1)
1690
- expect($stdout.string)
1691
- .to eq(['== dir1/app/models/example1.rb ==',
1692
- 'C: 2: 1: Prefer self[:attr] over read_attribute' \
1693
- '(:attr).',
1694
- 'C: 3: 15: default_scope expects a block as its sole' \
1695
- ' argument.',
1696
- '',
1697
- '4 files inspected, 2 offenses detected',
1698
- ''].join("\n"))
1699
- end
1700
- end
1701
- end
1702
-
1703
- describe 'cops can exclude files based on config' do
1704
- it 'ignores excluded files' do
1705
- create_file('example.rb', ['# encoding: utf-8',
1706
- 'x = 0'])
1707
- create_file('regexp.rb', ['# encoding: utf-8',
1708
- 'x = 0'])
1709
- create_file('exclude_glob.rb', ['#!/usr/bin/env ruby',
1710
- '# encoding: utf-8',
1711
- 'x = 0'])
1712
- create_file('dir/thing.rb', ['# encoding: utf-8',
1713
- 'x = 0'])
1714
- create_file('.rubocop.yml', ['Lint/UselessAssignment:',
1715
- ' Exclude:',
1716
- ' - example.rb',
1717
- ' - !ruby/regexp /regexp.rb\z/',
1718
- ' - "exclude_*"',
1719
- ' - "dir/*"'])
1720
- expect(cli.run(%w(--format simple))).to eq(0)
1721
- expect($stdout.string)
1722
- .to eq(['', '4 files inspected, no offenses detected',
1723
- ''].join("\n"))
1724
- end
1725
-
1726
- end
1727
-
1728
- describe 'configuration from file' do
1729
- it 'allows the default configuration file as the -c argument' do
1730
- create_file('example.rb', ['# encoding: utf-8',
1731
- 'x = 0',
1732
- 'puts x'
1733
- ])
1734
- create_file('.rubocop.yml', [])
1735
-
1736
- expect(cli.run(%w(--format simple -c .rubocop.yml))).to eq(0)
1737
- expect($stdout.string)
1738
- .to eq(['', '1 file inspected, no offenses detected',
1739
- ''].join("\n"))
1740
- end
1741
-
1742
- it 'finds included files' do
1743
- create_file('example', ['# encoding: utf-8',
1744
- 'x = 0',
1745
- 'puts x'
1746
- ])
1747
- create_file('regexp', ['# encoding: utf-8',
1748
- 'x = 0',
1749
- 'puts x'
1750
- ])
1751
- create_file('.rubocop.yml', ['AllCops:',
1752
- ' Include:',
1753
- ' - example',
1754
- ' - !ruby/regexp /regexp$/'
1755
- ])
1756
- expect(cli.run(%w(--format simple))).to eq(0)
1757
- expect($stdout.string)
1758
- .to eq(['', '2 files inspected, no offenses detected',
1759
- ''].join("\n"))
1760
- end
1761
-
1762
- it 'ignores excluded files' do
1763
- create_file('example.rb', ['# encoding: utf-8',
1764
- 'x = 0',
1765
- 'puts x'
1766
- ])
1767
- create_file('regexp.rb', ['# encoding: utf-8',
1768
- 'x = 0',
1769
- 'puts x'
1770
- ])
1771
- create_file('exclude_glob.rb', ['#!/usr/bin/env ruby',
1772
- '# encoding: utf-8',
1773
- 'x = 0',
1774
- 'puts x'
1775
- ])
1776
- create_file('.rubocop.yml', ['AllCops:',
1777
- ' Exclude:',
1778
- ' - example.rb',
1779
- ' - !ruby/regexp /regexp.rb$/',
1780
- ' - "exclude_*"'
1781
- ])
1782
- expect(cli.run(%w(--format simple))).to eq(0)
1783
- expect($stdout.string)
1784
- .to eq(['', '0 files inspected, no offenses detected',
1785
- ''].join("\n"))
1786
- end
1787
-
1788
- it 'matches included/excluded files corectly when . argument is given' do
1789
- create_file('example.rb', 'x = 0')
1790
- create_file('special.dsl', ['# encoding: utf-8',
1791
- 'setup { "stuff" }'
1792
- ])
1793
- create_file('.rubocop.yml', ['AllCops:',
1794
- ' Include:',
1795
- ' - "*.dsl"',
1796
- ' Exclude:',
1797
- ' - example.rb'
1798
- ])
1799
- expect(cli.run(%w(--format simple .))).to eq(1)
1800
- expect($stdout.string)
1801
- .to eq(['== special.dsl ==',
1802
- "C: 2: 9: Prefer single-quoted strings when you don't " \
1803
- 'need string interpolation or special symbols.',
1804
- '',
1805
- '1 file inspected, 1 offense detected',
1806
- ''].join("\n"))
1807
- end
1808
-
1809
- # With rubinius 2.0.0.rc1 + rspec 2.13.1,
1810
- # File.stub(:open).and_call_original causes SystemStackError.
1811
- it 'does not read files in excluded list', broken: :rbx do
1812
- %w(rb.rb non-rb.ext without-ext).each do |filename|
1813
- create_file("example/ignored/#{filename}", ['# encoding: utf-8',
1814
- '#' * 90
1815
- ])
1816
- end
1817
-
1818
- create_file('example/.rubocop.yml', ['AllCops:',
1819
- ' Exclude:',
1820
- ' - ignored/**'])
1821
- expect(File).not_to receive(:open).with(%r{/ignored/})
1822
- allow(File).to receive(:open).and_call_original
1823
- expect(cli.run(%w(--format simple example))).to eq(0)
1824
- expect($stdout.string)
1825
- .to eq(['', '0 files inspected, no offenses detected',
1826
- ''].join("\n"))
1827
- end
1828
-
1829
- it 'can be configured with option to disable a certain error' do
1830
- create_file('example1.rb', 'puts 0 ')
1831
- create_file('rubocop.yml', ['Style/Encoding:',
1832
- ' Enabled: false',
1833
- '',
1834
- 'Style/CaseIndentation:',
1835
- ' Enabled: false'])
1836
- expect(cli.run(['--format', 'simple',
1837
- '-c', 'rubocop.yml', 'example1.rb'])).to eq(1)
1838
- expect($stdout.string)
1839
- .to eq(['== example1.rb ==',
1840
- 'C: 1: 7: Trailing whitespace detected.',
1841
- '',
1842
- '1 file inspected, 1 offense detected',
1843
- ''].join("\n"))
1844
- end
1845
-
1846
- context 'without using namespace' do
1847
- it 'can be configured with option to disable a certain error' do
1848
- create_file('example1.rb', 'puts 0 ')
1849
- create_file('rubocop.yml', ['Encoding:',
1850
- ' Enabled: false',
1851
- '',
1852
- 'CaseIndentation:',
1853
- ' Enabled: false'])
1854
- expect(cli.run(['--format', 'simple',
1855
- '-c', 'rubocop.yml', 'example1.rb'])).to eq(1)
1856
- expect($stdout.string)
1857
- .to eq(['== example1.rb ==',
1858
- 'C: 1: 7: Trailing whitespace detected.',
1859
- '',
1860
- '1 file inspected, 1 offense detected',
1861
- ''].join("\n"))
1862
- end
1863
- end
1864
-
1865
- it 'can disable parser-derived offenses with warning severity' do
1866
- # `-' interpreted as argument prefix
1867
- create_file('example.rb', 'puts -1')
1868
- create_file('.rubocop.yml', ['Style/Encoding:',
1869
- ' Enabled: false',
1870
- '',
1871
- 'Lint/AmbiguousOperator:',
1872
- ' Enabled: false'
1873
- ])
1874
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(0)
1875
- end
1876
-
1877
- it 'cannot disable Syntax offenses with fatal/error severity' do
1878
- create_file('example.rb', 'class Test')
1879
- create_file('.rubocop.yml', ['Style/Encoding:',
1880
- ' Enabled: false',
1881
- '',
1882
- 'Syntax:',
1883
- ' Enabled: false'
1884
- ])
1885
- expect(cli.run(['--format', 'emacs', 'example.rb'])).to eq(1)
1886
- expect($stdout.string).to include('unexpected token $end')
1887
- end
1888
-
1889
- it 'can be configured to merge a parameter that is a hash' do
1890
- create_file('example1.rb',
1891
- ['# encoding: utf-8',
1892
- 'puts %w(a b c)',
1893
- 'puts %q|hi|'])
1894
- # We want to change the preferred delimiters for word arrays. The other
1895
- # settings from default.yml are unchanged.
1896
- create_file('rubocop.yml',
1897
- ['Style/PercentLiteralDelimiters:',
1898
- ' PreferredDelimiters:',
1899
- " '%w': '[]'",
1900
- " '%W': '[]'"])
1901
- cli.run(['--format', 'simple', '-c', 'rubocop.yml', 'example1.rb'])
1902
- expect($stdout.string)
1903
- .to eq(['== example1.rb ==',
1904
- 'C: 2: 6: %w-literals should be delimited by [ and ]',
1905
- 'C: 3: 6: %q-literals should be delimited by ( and )',
1906
- 'C: 3: 6: Use %q only for strings that contain both single ' \
1907
- 'quotes and double quotes.',
1908
- '',
1909
- '1 file inspected, 3 offenses detected',
1910
- ''].join("\n"))
1911
- end
1912
-
1913
- it 'can be configured to override a parameter that is a hash in a ' \
1914
- 'special case' do
1915
- create_file('example1.rb',
1916
- ['# encoding: utf-8',
1917
- 'arr.select { |e| e > 0 }.collect { |e| e * 2 }',
1918
- 'a2.find_all { |e| e > 0 }'])
1919
- # We prefer find_all over select. This setting overrides the default
1920
- # select over find_all. Other preferred methods appearing in the default
1921
- # config (e.g., map over collect) are kept.
1922
- create_file('rubocop.yml',
1923
- ['Style/CollectionMethods:',
1924
- ' PreferredMethods:',
1925
- ' select: find_all'])
1926
- cli.run(['--format', 'simple', '-c', 'rubocop.yml', 'example1.rb'])
1927
- expect($stdout.string)
1928
- .to eq(['== example1.rb ==',
1929
- 'C: 2: 5: Prefer find_all over select.',
1930
- 'C: 2: 26: Prefer map over collect.',
1931
- '',
1932
- '1 file inspected, 2 offenses detected',
1933
- ''].join("\n"))
1934
- end
1935
-
1936
- it 'works when a cop that others depend on is disabled' do
1937
- create_file('example1.rb', ['if a',
1938
- ' b',
1939
- 'end'])
1940
- create_file('rubocop.yml', ['Style/Encoding:',
1941
- ' Enabled: false',
1942
- '',
1943
- 'Metrics/LineLength:',
1944
- ' Enabled: false'
1945
- ])
1946
- result = cli.run(['--format', 'simple',
1947
- '-c', 'rubocop.yml', 'example1.rb'])
1948
- expect($stdout.string)
1949
- .to eq(['== example1.rb ==',
1950
- 'C: 1: 1: Favor modifier if usage when having ' \
1951
- 'a single-line body. Another good alternative is the ' \
1952
- 'usage of control flow &&/||.',
1953
- '',
1954
- '1 file inspected, 1 offense detected',
1955
- ''].join("\n"))
1956
- expect(result).to eq(1)
1957
- end
1958
-
1959
- it 'can be configured with project config to disable a certain error' do
1960
- create_file('example_src/example1.rb', 'puts 0 ')
1961
- create_file('example_src/.rubocop.yml', ['Style/Encoding:',
1962
- ' Enabled: false',
1963
- '',
1964
- 'Style/CaseIndentation:',
1965
- ' Enabled: false'
1966
- ])
1967
- expect(cli.run(['--format', 'simple',
1968
- 'example_src/example1.rb'])).to eq(1)
1969
- expect($stdout.string)
1970
- .to eq(['== example_src/example1.rb ==',
1971
- 'C: 1: 7: Trailing whitespace detected.',
1972
- '',
1973
- '1 file inspected, 1 offense detected',
1974
- ''].join("\n"))
1975
- end
1976
-
1977
- it 'can use an alternative max line length from a config file' do
1978
- create_file('example_src/example1.rb', ['# encoding: utf-8',
1979
- '#' * 90
1980
- ])
1981
- create_file('example_src/.rubocop.yml', ['Metrics/LineLength:',
1982
- ' Enabled: true',
1983
- ' Max: 100'
1984
- ])
1985
- expect(cli.run(['--format', 'simple',
1986
- 'example_src/example1.rb'])).to eq(0)
1987
- expect($stdout.string)
1988
- .to eq(['', '1 file inspected, no offenses detected', ''].join("\n"))
1989
- end
1990
-
1991
- it 'can have different config files in different directories' do
1992
- %w(src lib).each do |dir|
1993
- create_file("example/#{dir}/example1.rb", ['# encoding: utf-8',
1994
- '#' * 90
1995
- ])
1996
- end
1997
- create_file('example/src/.rubocop.yml', ['Metrics/LineLength:',
1998
- ' Enabled: true',
1999
- ' Max: 100'
2000
- ])
2001
- expect(cli.run(%w(--format simple example))).to eq(1)
2002
- expect($stdout.string).to eq(
2003
- ['== example/lib/example1.rb ==',
2004
- 'C: 2: 81: Line is too long. [90/80]',
2005
- '',
2006
- '2 files inspected, 1 offense detected',
2007
- ''].join("\n"))
2008
- end
2009
-
2010
- it 'prefers a config file in ancestor directory to another in home' do
2011
- create_file('example_src/example1.rb', ['# encoding: utf-8',
2012
- '#' * 90
2013
- ])
2014
- create_file('example_src/.rubocop.yml', ['Metrics/LineLength:',
2015
- ' Enabled: true',
2016
- ' Max: 100'
2017
- ])
2018
- create_file("#{Dir.home}/.rubocop.yml", ['Metrics/LineLength:',
2019
- ' Enabled: true',
2020
- ' Max: 80'
2021
- ])
2022
- expect(cli.run(['--format', 'simple',
2023
- 'example_src/example1.rb'])).to eq(0)
2024
- expect($stdout.string)
2025
- .to eq(['', '1 file inspected, no offenses detected', ''].join("\n"))
2026
- end
2027
-
2028
- it 'can exclude directories relative to .rubocop.yml' do
2029
- %w(src etc/test etc/spec tmp/test tmp/spec).each do |dir|
2030
- create_file("example/#{dir}/example1.rb", ['# encoding: utf-8',
2031
- '#' * 90
2032
- ])
2033
- end
2034
-
2035
- create_file('example/.rubocop.yml', ['AllCops:',
2036
- ' Exclude:',
2037
- ' - src/**',
2038
- ' - etc/**/*',
2039
- ' - tmp/spec/**'])
2040
-
2041
- expect(cli.run(%w(--format simple example))).to eq(1)
2042
- expect($stdout.string).to eq(
2043
- ['== example/tmp/test/example1.rb ==',
2044
- 'C: 2: 81: Line is too long. [90/80]',
2045
- '',
2046
- '1 file inspected, 1 offense detected',
2047
- ''].join("\n"))
2048
- end
2049
-
2050
- it 'can exclude a typical vendor directory' do
2051
- create_file('vendor/bundle/ruby/1.9.1/gems/parser-2.0.0/.rubocop.yml',
2052
- ['AllCops:',
2053
- ' Exclude:',
2054
- ' - lib/parser/lexer.rb'])
2055
-
2056
- create_file('vendor/bundle/ruby/1.9.1/gems/parser-2.0.0/lib/ex.rb',
2057
- ['# encoding: utf-8',
2058
- '#' * 90])
2059
-
2060
- create_file('.rubocop.yml',
2061
- ['AllCops:',
2062
- ' Exclude:',
2063
- ' - vendor/**/*'])
2064
-
2065
- cli.run(%w(--format simple))
2066
- expect($stdout.string)
2067
- .to eq(['', '0 files inspected, no offenses detected',
2068
- ''].join("\n"))
2069
- end
2070
-
2071
- it 'excludes the vendor directory by default' do
2072
- create_file('vendor/ex.rb',
2073
- ['# encoding: utf-8',
2074
- '#' * 90])
2075
-
2076
- cli.run(%w(--format simple))
2077
- expect($stdout.string)
2078
- .to eq(['', '0 files inspected, no offenses detected',
2079
- ''].join("\n"))
2080
- end
2081
-
2082
- # Being immune to bad configuration files in excluded directories has
2083
- # become important due to a bug in rubygems
2084
- # (https://github.com/rubygems/rubygems/issues/680) that makes
2085
- # installations of, for example, rubocop lack their .rubocop.yml in the
2086
- # root directory.
2087
- it 'can exclude a vendor directory with an erroneous config file' do
2088
- create_file('vendor/bundle/ruby/1.9.1/gems/parser-2.0.0/.rubocop.yml',
2089
- ['inherit_from: non_existent.yml'])
2090
-
2091
- create_file('vendor/bundle/ruby/1.9.1/gems/parser-2.0.0/lib/ex.rb',
2092
- ['# encoding: utf-8',
2093
- '#' * 90])
2094
-
2095
- create_file('.rubocop.yml',
2096
- ['AllCops:',
2097
- ' Exclude:',
2098
- ' - vendor/**/*'])
2099
-
2100
- cli.run(%w(--format simple))
2101
- expect($stderr.string).to eq('')
2102
- expect($stdout.string)
2103
- .to eq(['', '0 files inspected, no offenses detected',
2104
- ''].join("\n"))
2105
- end
2106
-
2107
- # Relative exclude paths in .rubocop.yml files are relative to that file,
2108
- # but in configuration files with other names they will be relative to
2109
- # whatever file inherits from them.
2110
- it 'can exclude a vendor directory indirectly' do
2111
- create_file('vendor/bundle/ruby/1.9.1/gems/parser-2.0.0/.rubocop.yml',
2112
- ['AllCops:',
2113
- ' Exclude:',
2114
- ' - lib/parser/lexer.rb'])
2115
-
2116
- create_file('vendor/bundle/ruby/1.9.1/gems/parser-2.0.0/lib/ex.rb',
2117
- ['# encoding: utf-8',
2118
- '#' * 90])
2119
-
2120
- create_file('.rubocop.yml',
2121
- ['inherit_from: config/default.yml'])
2122
-
2123
- create_file('config/default.yml',
2124
- ['AllCops:',
2125
- ' Exclude:',
2126
- ' - vendor/**/*'])
2127
-
2128
- cli.run(%w(--format simple))
2129
- expect($stdout.string)
2130
- .to eq(['', '0 files inspected, no offenses detected',
2131
- ''].join("\n"))
2132
- end
2133
-
2134
- it 'prints a warning for an unrecognized cop name in .rubocop.yml' do
2135
- create_file('example/example1.rb', ['# encoding: utf-8',
2136
- '#' * 90])
2137
-
2138
- create_file('example/.rubocop.yml', ['Style/LyneLenth:',
2139
- ' Enabled: true',
2140
- ' Max: 100'])
2141
-
2142
- expect(cli.run(%w(--format simple example))).to eq(1)
2143
- expect($stderr.string)
2144
- .to eq(['Warning: unrecognized cop Style/LyneLenth found in ' +
2145
- abs('example/.rubocop.yml'),
2146
- ''].join("\n"))
2147
- end
2148
-
2149
- it 'prints a warning for an unrecognized configuration parameter' do
2150
- create_file('example/example1.rb', ['# encoding: utf-8',
2151
- '#' * 90])
2152
-
2153
- create_file('example/.rubocop.yml', ['Metrics/LineLength:',
2154
- ' Enabled: true',
2155
- ' Min: 10'])
2156
-
2157
- expect(cli.run(%w(--format simple example))).to eq(1)
2158
- expect($stderr.string)
2159
- .to eq(['Warning: unrecognized parameter Metrics/LineLength:Min ' \
2160
- 'found in ' + abs('example/.rubocop.yml'),
2161
- ''].join("\n"))
2162
- end
2163
-
2164
- it 'works when a configuration file passed by -c specifies Exclude ' \
2165
- 'with regexp' do
2166
- create_file('example/example1.rb', ['# encoding: utf-8',
2167
- '#' * 90])
2168
-
2169
- create_file('rubocop.yml', ['AllCops:',
2170
- ' Exclude:',
2171
- ' - !ruby/regexp /example1\.rb$/'])
2172
-
2173
- cli.run(%w(--format simple -c rubocop.yml))
2174
- expect($stdout.string)
2175
- .to eq(['', '0 files inspected, no offenses detected',
2176
- ''].join("\n"))
2177
- end
2178
-
2179
- it 'works when a configuration file passed by -c specifies Exclude ' \
2180
- 'with strings' do
2181
- create_file('example/example1.rb', ['# encoding: utf-8',
2182
- '#' * 90])
2183
-
2184
- create_file('rubocop.yml', ['AllCops:',
2185
- ' Exclude:',
2186
- ' - example/**'])
2187
-
2188
- cli.run(%w(--format simple -c rubocop.yml))
2189
- expect($stdout.string)
2190
- .to eq(['', '0 files inspected, no offenses detected',
2191
- ''].join("\n"))
2192
- end
2193
-
2194
- it 'works when a configuration file specifies a Severity' do
2195
- create_file('example/example1.rb', ['# encoding: utf-8',
2196
- '#' * 90])
2197
-
2198
- create_file('rubocop.yml', ['Metrics/LineLength:',
2199
- ' Severity: error'])
2200
-
2201
- cli.run(%w(--format simple -c rubocop.yml))
2202
- expect($stdout.string)
2203
- .to eq(['== example/example1.rb ==',
2204
- 'E: 2: 81: Line is too long. [90/80]',
2205
- '',
2206
- '1 file inspected, 1 offense detected',
2207
- ''].join("\n"))
2208
- expect($stderr.string).to eq('')
2209
- end
2210
-
2211
- it 'fails when a configuration file specifies an invalid Severity' do
2212
- create_file('example/example1.rb', ['# encoding: utf-8',
2213
- '#' * 90])
2214
-
2215
- create_file('rubocop.yml', ['Metrics/LineLength:',
2216
- ' Severity: superbad'])
2217
-
2218
- cli.run(%w(--format simple -c rubocop.yml))
2219
- expect($stderr.string)
2220
- .to eq(["Warning: Invalid severity 'superbad'. " \
2221
- 'Valid severities are refactor, convention, ' \
2222
- 'warning, error, fatal.',
2223
- ''].join("\n"))
2224
- end
2225
-
2226
- context 'when a file inherits from the old auto generated file' do
2227
- before do
2228
- create_file('rubocop-todo.yml', '')
2229
- create_file('.rubocop.yml', ['inherit_from: rubocop-todo.yml'])
2230
- end
2231
-
2232
- it 'prints no warning when --auto-gen-config is not set' do
2233
- expect { cli.run(%w(-c .rubocop.yml)) }.not_to exit_with_code(1)
2234
- end
2235
-
2236
- it 'prints a warning when --auto-gen-config is set' do
2237
- expect { cli.run(%w(-c .rubocop.yml --auto-gen-config)) }
2238
- .to exit_with_code(1)
2239
- expect($stderr.string)
2240
- .to eq(['Attention: rubocop-todo.yml has been renamed to ' \
2241
- '.rubocop_todo.yml',
2242
- ''].join("\n"))
2243
- end
2244
- end
2245
- end
2246
- end