qiita_org 0.1.31 → 0.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (425) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -2
  3. data/Gemfile.lock +15 -15
  4. data/lib/qiita_org.rb +26 -49
  5. data/lib/qiita_org/access_qiita.rb +0 -2
  6. data/lib/qiita_org/all.rb +4 -4
  7. data/lib/qiita_org/base.rb +98 -0
  8. data/lib/qiita_org/config.rb +1 -2
  9. data/lib/qiita_org/error_message.rb +15 -10
  10. data/lib/qiita_org/get.rb +3 -44
  11. data/lib/qiita_org/get_multiple_files.rb +2 -4
  12. data/lib/qiita_org/get_template.rb +1 -31
  13. data/lib/qiita_org/list.rb +3 -35
  14. data/lib/qiita_org/md_converter_for_image.rb +1 -1
  15. data/lib/qiita_org/{check_pc_os.rb → old_programs/check_pc_os.rb} +0 -0
  16. data/lib/qiita_org/{decide_option.rb → old_programs/decide_option.rb} +0 -0
  17. data/lib/qiita_org/{file_open.rb → old_programs/file_open.rb} +0 -0
  18. data/lib/qiita_org/{get_file_path.rb → old_programs/get_file_path.rb} +0 -0
  19. data/lib/qiita_org/{get_file_url.rb → old_programs/get_file_url.rb} +0 -0
  20. data/lib/qiita_org/{search_conf_path.rb → old_programs/search_conf_path.rb} +0 -0
  21. data/lib/qiita_org/{select_path.rb → old_programs/select_path.rb} +0 -0
  22. data/lib/qiita_org/{set_config.rb → old_programs/set_config.rb} +0 -0
  23. data/lib/qiita_org/{show_file_and_url.rb → old_programs/show_file_and_url.rb} +0 -0
  24. data/lib/qiita_org/post.rb +35 -34
  25. data/lib/qiita_org/template.org +1 -1
  26. data/lib/qiita_org/upload.rb +22 -32
  27. data/lib/qiita_org/version.rb +1 -1
  28. data/tests/test.org +2 -1
  29. data/tests/test2.org +1 -2
  30. metadata +12 -2444
  31. data/.bandle/ruby/2.7.0/bin/htmldiff +0 -29
  32. data/.bandle/ruby/2.7.0/bin/ldiff +0 -29
  33. data/.bandle/ruby/2.7.0/bin/qiita_org +0 -27
  34. data/.bandle/ruby/2.7.0/bin/rake +0 -27
  35. data/.bandle/ruby/2.7.0/bin/rspec +0 -27
  36. data/.bandle/ruby/2.7.0/bin/thor +0 -27
  37. data/.bandle/ruby/2.7.0/cache/diff-lcs-1.4.4.gem +0 -0
  38. data/.bandle/ruby/2.7.0/cache/rake-12.3.3.gem +0 -0
  39. data/.bandle/ruby/2.7.0/cache/rspec-3.9.0.gem +0 -0
  40. data/.bandle/ruby/2.7.0/cache/rspec-core-3.9.2.gem +0 -0
  41. data/.bandle/ruby/2.7.0/cache/rspec-expectations-3.9.2.gem +0 -0
  42. data/.bandle/ruby/2.7.0/cache/rspec-mocks-3.9.1.gem +0 -0
  43. data/.bandle/ruby/2.7.0/cache/rspec-support-3.9.3.gem +0 -0
  44. data/.bandle/ruby/2.7.0/cache/thor-1.0.1.gem +0 -0
  45. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/.rspec +0 -1
  46. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +0 -74
  47. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Contributing.md +0 -118
  48. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/History.md +0 -319
  49. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/License.md +0 -39
  50. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Manifest.txt +0 -45
  51. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/README.rdoc +0 -84
  52. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Rakefile +0 -74
  53. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/autotest/discover.rb +0 -3
  54. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/htmldiff +0 -35
  55. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/ldiff +0 -9
  56. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +0 -339
  57. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/artistic.txt +0 -127
  58. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +0 -3
  59. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +0 -739
  60. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +0 -7
  61. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +0 -9
  62. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +0 -37
  63. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +0 -325
  64. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +0 -174
  65. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +0 -150
  66. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +0 -358
  67. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +0 -304
  68. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +0 -171
  69. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +0 -5
  70. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +0 -89
  71. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +0 -51
  72. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +0 -1
  73. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +0 -1
  74. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +0 -50
  75. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +0 -51
  76. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +0 -4
  77. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +0 -7
  78. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +0 -3
  79. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +0 -3
  80. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +0 -5
  81. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +0 -83
  82. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +0 -154
  83. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +0 -56
  84. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +0 -87
  85. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +0 -416
  86. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +0 -214
  87. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +0 -375
  88. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +0 -310
  89. data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +0 -139
  90. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +0 -43
  91. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Gemfile +0 -3
  92. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/History.rdoc +0 -2344
  93. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/MIT-LICENSE +0 -21
  94. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/README.rdoc +0 -156
  95. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Rakefile +0 -41
  96. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/azure-pipelines.yml +0 -11
  97. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/bundle +0 -105
  98. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/console +0 -7
  99. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rake +0 -29
  100. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rdoc +0 -29
  101. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rubocop +0 -29
  102. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/setup +0 -6
  103. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +0 -158
  104. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile1 +0 -38
  105. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile2 +0 -35
  106. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/a.c +0 -6
  107. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/b.c +0 -6
  108. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/main.c +0 -11
  109. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/glossary.rdoc +0 -42
  110. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/jamis.rb +0 -592
  111. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/proto_rake.rdoc +0 -127
  112. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rake.1 +0 -156
  113. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rakefile.rdoc +0 -622
  114. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rational.rdoc +0 -151
  115. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/exe/rake +0 -27
  116. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake.rb +0 -71
  117. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb +0 -824
  118. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/backtrace.rb +0 -24
  119. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/clean.rb +0 -78
  120. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cloneable.rb +0 -17
  121. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +0 -107
  122. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/default_loader.rb +0 -15
  123. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +0 -195
  124. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/early_time.rb +0 -22
  125. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/core.rb +0 -26
  126. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/string.rb +0 -176
  127. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +0 -25
  128. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_list.rb +0 -435
  129. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_task.rb +0 -54
  130. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb +0 -137
  131. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +0 -145
  132. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +0 -57
  133. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +0 -17
  134. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/late_time.rb +0 -18
  135. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/linked_list.rb +0 -112
  136. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +0 -54
  137. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/multi_task.rb +0 -14
  138. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/name_space.rb +0 -38
  139. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/packagetask.rb +0 -207
  140. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/phony.rb +0 -16
  141. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/private_reader.rb +0 -21
  142. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/promise.rb +0 -100
  143. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +0 -30
  144. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_module.rb +0 -67
  145. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +0 -27
  146. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +0 -20
  147. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/scope.rb +0 -43
  148. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb +0 -413
  149. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +0 -8
  150. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +0 -109
  151. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_manager.rb +0 -324
  152. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/tasklib.rb +0 -12
  153. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/testtask.rb +0 -224
  154. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +0 -49
  155. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +0 -163
  156. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/trace_output.rb +0 -23
  157. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/version.rb +0 -10
  158. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/win32.rb +0 -51
  159. data/.bandle/ruby/2.7.0/gems/rake-12.3.3/rake.gemspec +0 -42
  160. data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/LICENSE.md +0 -27
  161. data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/README.md +0 -43
  162. data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
  163. data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
  164. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.document +0 -5
  165. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.yardopts +0 -8
  166. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
  167. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
  168. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/README.md +0 -384
  169. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
  170. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
  171. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
  172. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
  173. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
  174. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
  175. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
  176. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
  177. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
  178. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
  179. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
  180. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
  181. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
  182. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
  183. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
  184. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
  185. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
  186. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
  187. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
  188. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
  189. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
  190. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
  191. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
  192. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
  193. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
  194. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
  195. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
  196. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
  197. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
  198. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
  199. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
  200. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
  201. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
  202. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
  203. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
  204. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
  205. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
  206. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
  207. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
  208. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
  209. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
  210. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
  211. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
  212. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
  213. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
  214. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
  215. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
  216. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
  217. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
  218. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
  219. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
  220. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
  221. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
  222. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
  223. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
  224. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
  225. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
  226. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
  227. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
  228. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
  229. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
  230. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +0 -1
  231. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
  232. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
  233. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
  234. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
  235. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
  236. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
  237. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
  238. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
  239. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
  240. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
  241. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
  242. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
  243. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
  244. data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
  245. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.document +0 -5
  246. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.yardopts +0 -6
  247. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
  248. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
  249. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/README.md +0 -320
  250. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
  251. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
  252. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
  253. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
  254. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
  255. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
  256. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
  257. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
  258. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
  259. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
  260. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
  261. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
  262. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
  263. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
  264. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
  265. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
  266. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
  267. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
  268. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
  269. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
  270. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
  271. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
  272. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
  273. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
  274. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
  275. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
  276. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
  277. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
  278. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
  279. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
  280. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
  281. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
  282. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
  283. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
  284. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
  285. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
  286. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
  287. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
  288. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
  289. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
  290. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
  291. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
  292. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
  293. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
  294. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
  295. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
  296. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
  297. data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
  298. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.document +0 -5
  299. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.yardopts +0 -6
  300. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
  301. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
  302. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/README.md +0 -463
  303. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
  304. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
  305. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
  306. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
  307. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
  308. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
  309. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
  310. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
  311. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
  312. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
  313. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
  314. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
  315. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
  316. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
  317. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
  318. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
  319. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
  320. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
  321. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
  322. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
  323. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
  324. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
  325. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
  326. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
  327. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
  328. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
  329. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
  330. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
  331. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
  332. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
  333. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
  334. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
  335. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
  336. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
  337. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
  338. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
  339. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
  340. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
  341. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  342. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
  343. data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
  344. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
  345. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
  346. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/README.md +0 -40
  347. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
  348. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
  349. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
  350. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
  351. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
  352. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
  353. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
  354. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
  355. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
  356. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
  357. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
  358. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
  359. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
  360. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
  361. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
  362. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
  363. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
  364. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
  365. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
  366. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
  367. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
  368. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
  369. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
  370. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
  371. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
  372. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
  373. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
  374. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
  375. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
  376. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
  377. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
  378. data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
  379. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/.document +0 -5
  380. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CHANGELOG.md +0 -220
  381. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CONTRIBUTING.md +0 -15
  382. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/LICENSE.md +0 -20
  383. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/README.md +0 -51
  384. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/bin/thor +0 -6
  385. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb +0 -517
  386. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions.rb +0 -336
  387. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_file.rb +0 -104
  388. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_link.rb +0 -61
  389. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/directory.rb +0 -108
  390. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/empty_directory.rb +0 -143
  391. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/file_manipulation.rb +0 -373
  392. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/inject_into_file.rb +0 -120
  393. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/base.rb +0 -699
  394. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb +0 -142
  395. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -97
  396. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/error.rb +0 -110
  397. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/group.rb +0 -281
  398. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb +0 -178
  399. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor.rb +0 -17
  400. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/basic.rb +0 -37
  401. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/readline.rb +0 -88
  402. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/nested_context.rb +0 -29
  403. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser.rb +0 -4
  404. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/argument.rb +0 -70
  405. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/arguments.rb +0 -175
  406. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/option.rb +0 -159
  407. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/options.rb +0 -236
  408. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/rake_compat.rb +0 -72
  409. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/runner.rb +0 -325
  410. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell.rb +0 -81
  411. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/basic.rb +0 -491
  412. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/color.rb +0 -153
  413. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/html.rb +0 -126
  414. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/util.rb +0 -284
  415. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/version.rb +0 -3
  416. data/.bandle/ruby/2.7.0/gems/thor-1.0.1/thor.gemspec +0 -28
  417. data/.bandle/ruby/2.7.0/specifications/diff-lcs-1.4.4.gemspec +0 -50
  418. data/.bandle/ruby/2.7.0/specifications/rake-12.3.3.gemspec +0 -43
  419. data/.bandle/ruby/2.7.0/specifications/rspec-3.9.0.gemspec +0 -39
  420. data/.bandle/ruby/2.7.0/specifications/rspec-core-3.9.2.gemspec +0 -53
  421. data/.bandle/ruby/2.7.0/specifications/rspec-expectations-3.9.2.gemspec +0 -44
  422. data/.bandle/ruby/2.7.0/specifications/rspec-mocks-3.9.1.gemspec +0 -44
  423. data/.bandle/ruby/2.7.0/specifications/rspec-support-3.9.3.gemspec +0 -36
  424. data/.bandle/ruby/2.7.0/specifications/thor-1.0.1.gemspec +0 -34
  425. data/lib/qiita_org/hoge.txt +0 -3
@@ -1,8 +1,6 @@
1
1
  require "colorize"
2
- #require "../qiita_org/qiita_org.rb"
3
2
  require "qiita_org/post.rb"
4
3
  require "qiita_org/upload.rb"
5
- require "qiita_org/decide_option.rb"
6
4
 
7
5
  class GetMultipleFiles
8
6
  def initialize(files, os, type)
@@ -17,9 +15,9 @@ class GetMultipleFiles
17
15
  end
18
16
 
19
17
  def run()
20
- puts "post files: #{@files}".green
18
+ puts "#{@type} files: #{@files}".green
21
19
  @files.each do |file|
22
- mode = @option || DecideOption.new(file).decide_option()
20
+ mode = @option || QiitaBase.new().pick_up_option(file)
23
21
  puts "qiita #{@type} #{file} #{mode}".green
24
22
  if @type == "post"
25
23
  qiita = QiitaPost.new(file, mode, @os)
@@ -1,16 +1,13 @@
1
1
  require "fileutils"
2
2
  require "colorize"
3
3
  require "kconv"
4
- require "qiita_org/search_conf_path"
5
4
  require "qiita_org/error_message.rb"
6
5
 
7
6
  class QiitaGetTemplate
8
7
  def initialize(os, filename)
9
8
  @os = os
10
9
  @filename = filename
11
- search = SearchConfPath.new(Dir.pwd, Dir.home)
12
- @conf_dir = search.search_conf_path()
13
- # check_write_header()
10
+ @conf_dir = QiitaBase.new().search_conf_path(Dir.pwd, Dir.home)
14
11
  end
15
12
 
16
13
  def get_macos_version()
@@ -105,33 +102,6 @@ class QiitaGetTemplate
105
102
  end
106
103
  end
107
104
 
108
- def check_write_header()
109
- ["name", "email"].each do |src|
110
- print "Write your #{src}?(y/n) "
111
- ans = STDIN.gets.chomp
112
- next if ans == "n"
113
- if ans == "y"
114
- send("get_#{src}")
115
- end
116
- end
117
- end
118
-
119
- def get_name()
120
- conts = File.readlines(@filename)
121
- p "Type your name"
122
- name = STDIN.gets
123
- conts[3] = "#+AUTHOR: #{name}"
124
- File.write(@filename, conts.join)
125
- end
126
-
127
- def get_email()
128
- conts = File.readlines(@filename)
129
- p "Type your email"
130
- email = STDIN.gets
131
- conts[4] = "#+EMAIL: (concat \"#{email.chomp}\")\n"
132
- File.write(@filename, conts.join)
133
- end
134
-
135
105
  def set_name_and_email()
136
106
  conf_path = File.join(@conf_dir, ".qiita.conf")
137
107
  conf = JSON.load(File.read(conf_path))
@@ -2,54 +2,23 @@ require "net/https"
2
2
  require "json"
3
3
  require "open-uri"
4
4
  require "colorize"
5
- require "qiita_org/select_path.rb"
6
- require "qiita_org/set_config.rb"
7
5
  require "qiita_org/error_message.rb"
8
6
  require "qiita_org/access_qiita.rb"
9
7
 
10
8
  class QiitaList
11
9
  def initialize(mode)
12
10
  @mode = mode
13
- @access_token, @teams_url, @display, @ox_qmd_load_path = SetConfig.new().set_config()
11
+ @base = QiitaBase.new
12
+ @access_token, @teams_url, @display, @ox_qmd_load_path = @base.set_config()
14
13
  if @mode == "teams"
15
14
  ErrorMessage.new().teams_url_error(@teams_url)
16
15
  end
17
16
 
18
- @qiita, @path = SelectPath.new().select_path(@mode, @teams_url)
17
+ @qiita, @path = @base.select_access_path(@mode, @teams_url)
19
18
  @items = AccessQiita.new(@access_token, @qiita, @path).access_qiita()
20
19
  view_list()
21
20
  end
22
21
 
23
- # select path
24
- =begin
25
- def select_path()
26
- case @mode
27
- when "teams"
28
- @qiita = @teams_url
29
- @path = "api/v2/items?page=1&per_page=100"
30
- else
31
- @qiita = "https://qiita.com/"
32
- @path = "api/v2/authenticated_user/items?page=1&per_page=100"
33
- end
34
- end
35
- =end
36
-
37
- # access qiita
38
- =begin
39
- def access_qiita()
40
- uri = URI.parse(@qiita + @path)
41
-
42
- headers = { "Authorization" => "Bearer # {@access_token}",
43
- "Content-Type" => "application/json" }
44
-
45
- response = URI.open(
46
- "# {uri}",
47
- "Authorization" => "# {headers["Authorization"]}",
48
- )
49
- @items = JSON.parse(response.read)
50
- end
51
- =end
52
-
53
22
  def view_list()
54
23
  @items.each do |item|
55
24
  puts "title: #{item["title"]}"
@@ -62,6 +31,5 @@ class QiitaList
62
31
  end
63
32
  puts ""
64
33
  end
65
- # p @items[0]["user"]["id"]
66
34
  end
67
35
  end
@@ -1,6 +1,6 @@
1
1
  class MdConverter
2
2
  def initialize()
3
- # @lines = lines
3
+
4
4
  end
5
5
 
6
6
  def convert_for_image(lines)
@@ -5,15 +5,15 @@ require "json"
5
5
  require "command_line/global"
6
6
  require "colorize"
7
7
  require "qiita_org/md_converter_for_image"
8
- require "qiita_org/set_config.rb"
9
8
  require "qiita_org/error_message"
10
- require "qiita_org/file_open.rb"
9
+ require "qiita_org/access_qiita.rb"
11
10
 
12
11
  class QiitaPost
13
12
  def initialize(file, option, os)
14
13
  @src = file
15
14
  @option = (option == "qiita" || option == "open")? "public" : option
16
15
  @os = os
16
+ @base = QiitaBase.new
17
17
  end
18
18
 
19
19
  public
@@ -21,10 +21,6 @@ class QiitaPost
21
21
  m = conts.match(/\#\+(TITLE|title|Title): (.+)/)
22
22
  @title = m ? m[2] : "テスト"
23
23
  @tags = if m = conts.match(/\#\+(TAG|tag|Tag|tags|TAGS|Tags): (.+)/)
24
- #if m[2].count(",") >= 5
25
- # puts "The maximum number of tag is five. Please delete some tags.".red
26
- #exit
27
- #end
28
24
  ErrorMessage.new().many_tags_error(m[2])
29
25
  m[2].split(",").inject([]) do |l, c|
30
26
  l << { name: c.strip } #, versions: []}
@@ -40,7 +36,6 @@ class QiitaPost
40
36
  def convert_org_to_md()
41
37
  command = "emacs #{@src} --batch -l #{@ox_qmd_load_path} -f org-qmd-export-to-markdown --kill"
42
38
  res = command_line command
43
- #p res
44
39
  ErrorMessage.new().md_file_exists?(@src, res)
45
40
  end
46
41
 
@@ -52,16 +47,38 @@ class QiitaPost
52
47
  end
53
48
 
54
49
  # patch or post selector by qiita_id
55
- def select_patch_or_post(conts, option)
56
- m = []
50
+ def select_patch_or_post(src, option)
51
+ #m = []
57
52
  patch = false
58
- if m = conts.match(/\#\+qiita_#{option}: (.+)/)
59
- qiita_id = m[1]
60
- patch = true
53
+ qiita_id = @base.get_report_id(src, option)
54
+ patch = true if qiita_id != nil
55
+ #if m = conts.match(/\#\+qiita_#{option}: (.+)/)
56
+ # qiita_id = m[1]
57
+ #patch = true
58
+ #else
59
+ # qiita_id = ""
60
+ #end
61
+ return qiita_id, patch
62
+ end
63
+
64
+ def check_change_public(conts, option, id)
65
+ qiita = "https://qiita.com/"
66
+ path = "api/v2/items/#{id}"
67
+ items = AccessQiita.new(@access_token, qiita, path).access_qiita()
68
+
69
+ if items["private"]
70
+ return conts, option
61
71
  else
62
- qiita_id = ""
72
+ option = "public"
73
+ lines = File.readlines(@src)
74
+ file = File.open(@src, "w")
75
+ lines.each_with_index do |line, i|
76
+ lines[i] = "#+qiita_#{option}: #{id}\n" if line.match(/\#\+qiita_private: (.+)/)
77
+ file.print(lines[i])
78
+ end
79
+ conts = File.read(@src)
80
+ return conts, option
63
81
  end
64
- return qiita_id, patch
65
82
  end
66
83
 
67
84
  # check twitter post
@@ -71,8 +88,6 @@ class QiitaPost
71
88
 
72
89
  def select_option(option)
73
90
  qiita = (option == "teams")? @teams_url : "https://qiita.com/"
74
- #qiita = (option == "teams")? "https://nishitani.qiita.com/" :
75
- # "https://qiita.com/"
76
91
  case option
77
92
  when "teams", "qiita", "public", "open"
78
93
  private = false
@@ -146,24 +161,10 @@ class QiitaPost
146
161
  end
147
162
  end
148
163
 
149
- # open qiita
150
- =begin
151
- def open_qiita()
152
- if @os == "mac"
153
- system "open # {@res_body["url"]}"
154
- elsif @os == "windows"
155
- system "explorer.exe # {@res_body["url"]}"
156
- else
157
- system "open # {@res_body["url"]}"
158
- system "xdg-open # {@res_body["url"]}"
159
- end
160
- end
161
- =end
162
-
163
164
  def run()
164
165
  @conts = File.read(@src)
165
166
  @title, @tags = get_title_tags(@conts)
166
- @access_token, @teams_url, @display, @ox_qmd_load_path = SetConfig.new().set_config()
167
+ @access_token, @teams_url, @display, @ox_qmd_load_path = @base.set_config()
167
168
 
168
169
  if @option == "teams"
169
170
  ErrorMessage.new().teams_url_error(@teams_url)
@@ -172,14 +173,14 @@ class QiitaPost
172
173
  convert_org_to_md()
173
174
  add_source_path_in_md()
174
175
  @lines = MdConverter.new().convert_for_image(@lines)
175
- @qiita_id, @patch = select_patch_or_post(@conts, @option)
176
+ @qiita_id, @patch = select_patch_or_post(@src, @option)
177
+ @conts, @option = check_change_public(@conts, @option, @qiita_id) if (@patch and @option == "private")
176
178
  @twitter = select_twitter(@conts, @option)
177
179
  @qiita, @private = select_option(@option)
178
180
  @res = qiita_post()
179
181
  get_and_print_qiita_return()
180
182
 
181
- #open_qiita()
182
- FileOpen.new(@os).file_open(@res_body["url"]) if @display != "suppress"
183
+ @base.file_open(@os, @res_body["url"]) if @display != "suppress"
183
184
 
184
185
  add_qiita_id_on_org()
185
186
 
@@ -6,7 +6,7 @@
6
6
  #+LANGUAGE: jp
7
7
  # +OPTIONS: H:4 toc:t num:2
8
8
  #+OPTIONS: toc:nil
9
- #+TAG: tag1, tag2
9
+ #+TAG: hoge,
10
10
  #+TWITTER: off
11
11
  # +SETUPFILE: ~/.emacs.d/org-mode/theme-readtheorg.setup
12
12
 
@@ -1,9 +1,5 @@
1
1
  require "colorize"
2
2
  require "io/console"
3
- require "qiita_org/get_file_path.rb"
4
- require "qiita_org/show_file_and_url.rb"
5
- require "qiita_org/file_open.rb"
6
- require "qiita_org/set_config.rb"
7
3
  require "qiita_org/access_qiita.rb"
8
4
 
9
5
  class QiitaFileUpLoad
@@ -11,30 +7,21 @@ class QiitaFileUpLoad
11
7
  @src = src
12
8
  @option = (option == "qiita" || option == "open")? "public" : option
13
9
  @os = os
14
- @fileopen = FileOpen.new(@os)
15
- @access_token, @teams_url, @display, @ox_qmd_load_path = SetConfig.new().set_config()
16
- if @option == "teams"
17
- ErrorMessage.new().teams_url_error(@teams_url)
18
- end
10
+ @base = QiitaBase.new()
11
+ @access_token, @teams_url, @display, @ox_qmd_load_path = QiitaBase.new().set_config()
12
+ ErrorMessage.new().teams_url_error(@teams_url) if @option == "teams"
19
13
  end
20
14
 
21
15
  def upload()
22
- #paths = GetFilePath.new(@src).get_file_path()
23
16
  paths = get_file_path(@src)
24
17
  unless paths.empty?
25
- #showfile = ShowFile.new(paths, @src, @option, @os)
26
- #showfile.open_file_dir()
27
18
  open_file_dir(paths)
28
- #showfile.open_qiita()
29
19
  open_qiita()
30
20
 
31
21
  puts "Overwrite file URL's on #{@src}? (y/n)".green
32
22
  ans = STDIN.getch
33
23
 
34
- if ans == "y"
35
- #showfile.input_url_to_org()
36
- input_url_to_org(paths)
37
- end
24
+ input_url_to_org(paths) if ans == "y"
38
25
  else
39
26
  puts "file path is empty.".red
40
27
  end
@@ -59,27 +46,19 @@ class QiitaFileUpLoad
59
46
  def open_file_dir(paths)
60
47
  previous_paths = []
61
48
  previous_paths << File.join(paths[0].split("/")[0..-2])
62
- @fileopen.file_open(File.join(paths[0].split("/")[0..-2]))
49
+ @base.file_open(@os, File.join(paths[0].split("/")[0..-2]))
63
50
 
64
51
  paths.each do |path|
65
52
  dir_path = File.join(path.split("/")[0..-2])
66
53
  unless previous_paths.include?(dir_path)
67
54
  previous_paths << dir_path
68
- @fileopen.file_open(dir_path)
55
+ @base.file_open(@os, dir_path)
69
56
  end
70
57
  end
71
58
  end
72
59
 
73
60
  def open_qiita()
74
- conts = File.read(@src)
75
- id = conts.match(/\#\+qiita_#{@option}: (.+)/)[1]
76
-
77
- =begin
78
- @access_token, @teams_url, @display, @ox_qmd_load_path = SetConfig.new().set_config()
79
- if @option == "teams"
80
- ErrorMassage.new().teams_url_error(@teams_url)
81
- end
82
- =end
61
+ id = QiitaBase.new().get_report_id(@src, @option)
83
62
 
84
63
  qiita = (@option == "teams") ? @teams_url : "https://qiita.com/"
85
64
  path = "api/v2/items/#{id}"
@@ -87,7 +66,7 @@ class QiitaFileUpLoad
87
66
  @access = AccessQiita.new(@access_token, qiita, path)
88
67
  items = @access.access_qiita()
89
68
 
90
- @fileopen.file_open(items["url"])
69
+ @base.file_open(@os, items["url"])
91
70
  end
92
71
 
93
72
  def input_url_to_org(paths)
@@ -97,7 +76,12 @@ class QiitaFileUpLoad
97
76
 
98
77
  paths.each do |path|
99
78
  file_name = File.basename(path).strip
100
- url = get_file_url(id, file_name)
79
+ #url = (get_file_url(id, file_name)) ? @file_url : next
80
+ if get_file_url(id, file_name)
81
+ url = @file_url
82
+ else
83
+ next
84
+ end
101
85
  lines.each_with_index do |line, i|
102
86
  if line.match(/\[\[file:#{path}\]\]/)
103
87
  lines[i] = "[[#{url}][file:#{path}]]\n"
@@ -114,7 +98,13 @@ class QiitaFileUpLoad
114
98
 
115
99
  items = @access.access_qiita()
116
100
 
117
- file_url = items["body"].match(/\!\[#{file_name}\]\(((.+))\)/)[2]
118
- return file_url
101
+ if items["body"].match?(/\!\[#{file_name}\]\(((.+))\)/)
102
+ @file_url = items["body"].match(/\!\[#{file_name}\]\(((.+))\)/)[2]
103
+ puts "Wrote #{file_name}'s URL".green
104
+ return true
105
+ else
106
+ puts "Can not find #{file_name}'s URL".red
107
+ return false
108
+ end
119
109
  end
120
110
  end
@@ -1,3 +1,3 @@
1
1
  module QiitaOrg
2
- VERSION = "0.1.31"
2
+ VERSION = "0.1.37"
3
3
  end
@@ -1,4 +1,5 @@
1
- #+qiita_private: e87e38157a72b4c2e839
1
+ #+qiita_private: 4a238f55b2014ae6494e
2
+ # +qiita_private: e87e38157a72b4c2e839
2
3
  # +qiita_private: 5f8c73e8007e52ef3f40
3
4
  # +qiita_private: 4decbf7a81ef2327643f
4
5
  #+OPTIONS: ^:{}
@@ -1,4 +1,3 @@
1
- #+qiita_teams: 7e95d62ebdbedd022256
2
1
  #+qiita_private: 6ce39fa8ae7f7a472cf2
3
2
  #+OPTIONS: ^:{}
4
3
  #+STARTUP: indent nolineimages
@@ -19,6 +18,6 @@ fogefoge
19
18
  #+ATTR_LATEX: :width 8cm
20
19
  [[https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/612049/ebf505d2-6960-6bb9-20f0-e16dab142f4a.png][file:../figs/fig1.png]]
21
20
 
22
- [[https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/612049/ebf505d2-6960-6bb9-20f0-e16dab142f4a.png][file:../figs/fig1.png]]
21
+ [[file:../figs/fig2.png]]
23
22
 
24
23