diffend 0.2.45 → 0.2.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/CHANGELOG.md +3 -0
  5. data/diffend.gemspec +12 -2
  6. data/lib/diffend/version.rb +1 -1
  7. metadata +2 -197
  8. metadata.gz.sig +0 -0
  9. data/.coditsu/ci.yml +0 -3
  10. data/.diffend.yml +0 -3
  11. data/.github/workflows/ci.yml +0 -91
  12. data/.gitignore +0 -58
  13. data/.rspec +0 -1
  14. data/.ruby-version +0 -1
  15. data/Gemfile +0 -12
  16. data/Gemfile.lock +0 -41
  17. data/Rakefile +0 -43
  18. data/bin/bundle +0 -114
  19. data/bin/byebug +0 -29
  20. data/bin/htmldiff +0 -29
  21. data/bin/ldiff +0 -29
  22. data/bin/rake +0 -29
  23. data/bin/rspec +0 -29
  24. data/repositories/.diffend.yml +0 -3
  25. data/repositories/bundler_2_1_4/install_with_gemfile_lock/.diffend.yml +0 -3
  26. data/repositories/bundler_2_1_4/install_with_gemfile_lock/Gemfile +0 -6
  27. data/repositories/bundler_2_1_4/install_with_gemfile_lock/Gemfile.lock +0 -22
  28. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_added_gem/.diffend.yml +0 -3
  29. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_added_gem/Gemfile +0 -6
  30. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_added_gem/Gemfile.lock +0 -16
  31. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_changed_gem_version/.diffend.yml +0 -3
  32. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_changed_gem_version/Gemfile +0 -6
  33. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_changed_gem_version/Gemfile.lock +0 -18
  34. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_changed_gem_version/README.md +0 -1
  35. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_locked_gem_version/.diffend.yml +0 -3
  36. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_locked_gem_version/Gemfile +0 -6
  37. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_locked_gem_version/Gemfile.lock +0 -19
  38. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_removed_gem/.diffend.yml +0 -3
  39. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_removed_gem/Gemfile +0 -5
  40. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_removed_gem/Gemfile.lock +0 -43
  41. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_platforms/.diffend.yml +0 -3
  42. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_platforms/.ruby-version +0 -1
  43. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_platforms/Gemfile +0 -10
  44. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_platforms/Gemfile.lock +0 -32
  45. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_platforms/gem-with-two-platforms.gemspec +0 -16
  46. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_primary_sources/.diffend.yml +0 -3
  47. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_primary_sources/Gemfile +0 -6
  48. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_primary_sources/Gemfile.lock +0 -17
  49. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_sources/.diffend.yml +0 -3
  50. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_sources/Gemfile +0 -6
  51. data/repositories/bundler_2_1_4/install_with_gemfile_lock_with_two_sources/Gemfile.lock +0 -19
  52. data/repositories/bundler_2_1_4/install_without_gemfile_lock/.diffend.yml +0 -3
  53. data/repositories/bundler_2_1_4/install_without_gemfile_lock/Gemfile +0 -5
  54. data/repositories/bundler_2_1_4/update_with_gemfile_lock/.diffend.yml +0 -3
  55. data/repositories/bundler_2_1_4/update_with_gemfile_lock/Gemfile +0 -5
  56. data/repositories/bundler_2_1_4/update_with_gemfile_lock/Gemfile.lock +0 -16
  57. data/repositories/bundler_2_1_4/update_with_gemfile_lock/README.md +0 -1
  58. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_added_gem/.diffend.yml +0 -3
  59. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_added_gem/Gemfile +0 -6
  60. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_added_gem/Gemfile.lock +0 -16
  61. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_added_gem/README.md +0 -1
  62. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_removed_gem/.diffend.yml +0 -3
  63. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_removed_gem/Gemfile +0 -5
  64. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_removed_gem/Gemfile.lock +0 -43
  65. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_removed_gem/README.md +0 -1
  66. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_primary_sources/.diffend.yml +0 -3
  67. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_primary_sources/Gemfile +0 -6
  68. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_primary_sources/Gemfile.lock +0 -17
  69. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_primary_sources/README.md +0 -1
  70. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_sources/.diffend.yml +0 -3
  71. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_sources/Gemfile +0 -6
  72. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_sources/Gemfile.lock +0 -44
  73. data/repositories/bundler_2_1_4/update_with_gemfile_lock_with_two_sources/README.md +0 -1
  74. data/repositories/bundler_2_1_4/update_without_gemfile_lock/.diffend.yml +0 -3
  75. data/repositories/bundler_2_1_4/update_without_gemfile_lock/Gemfile +0 -5
  76. data/repositories/bundler_2_1_4/update_without_gemfile_lock/README.md +0 -1
  77. data/repositories/bundler_2_2_17/install_with_gemfile_lock/.diffend.yml +0 -3
  78. data/repositories/bundler_2_2_17/install_with_gemfile_lock/Gemfile +0 -6
  79. data/repositories/bundler_2_2_17/install_with_gemfile_lock/Gemfile.lock +0 -21
  80. data/repositories/bundler_2_2_17/install_with_gemfile_lock/README.md +0 -1
  81. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_added_gem/.diffend.yml +0 -3
  82. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_added_gem/Gemfile +0 -6
  83. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_added_gem/Gemfile.lock +0 -16
  84. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_added_gem/README.md +0 -1
  85. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_changed_gem_version/.diffend.yml +0 -3
  86. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_changed_gem_version/Gemfile +0 -6
  87. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_changed_gem_version/Gemfile.lock +0 -18
  88. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_changed_gem_version/README.md +0 -1
  89. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_locked_gem_version/.diffend.yml +0 -3
  90. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_locked_gem_version/Gemfile +0 -6
  91. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_locked_gem_version/Gemfile.lock +0 -18
  92. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_locked_gem_version/README.md +0 -1
  93. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_removed_gem/.diffend.yml +0 -3
  94. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_removed_gem/Gemfile +0 -5
  95. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_removed_gem/Gemfile.lock +0 -41
  96. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_removed_gem/README.md +0 -1
  97. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_platforms/.diffend.yml +0 -3
  98. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_platforms/Gemfile +0 -10
  99. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_platforms/Gemfile.lock +0 -30
  100. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_platforms/README.md +0 -1
  101. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_platforms/gem-with-two-platforms.gemspec +0 -16
  102. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_primary_sources/.diffend.yml +0 -3
  103. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_primary_sources/Gemfile +0 -6
  104. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_primary_sources/Gemfile.lock +0 -17
  105. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_primary_sources/README.md +0 -1
  106. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_sources/.diffend.yml +0 -3
  107. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_sources/Gemfile +0 -6
  108. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_sources/Gemfile.lock +0 -19
  109. data/repositories/bundler_2_2_17/install_with_gemfile_lock_with_two_sources/README.md +0 -1
  110. data/repositories/bundler_2_2_17/install_without_gemfile_lock/.diffend.yml +0 -3
  111. data/repositories/bundler_2_2_17/install_without_gemfile_lock/Gemfile +0 -5
  112. data/repositories/bundler_2_2_17/install_without_gemfile_lock/README.md +0 -1
  113. data/repositories/bundler_2_2_17/update_with_gemfile_lock/.diffend.yml +0 -3
  114. data/repositories/bundler_2_2_17/update_with_gemfile_lock/Gemfile +0 -5
  115. data/repositories/bundler_2_2_17/update_with_gemfile_lock/Gemfile.lock +0 -16
  116. data/repositories/bundler_2_2_17/update_with_gemfile_lock/README.md +0 -1
  117. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_added_gem/.diffend.yml +0 -3
  118. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_added_gem/Gemfile +0 -6
  119. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_added_gem/Gemfile.lock +0 -16
  120. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_added_gem/README.md +0 -1
  121. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_changed_gem_version/Gemfile +0 -6
  122. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_changed_gem_version/Gemfile.lock +0 -18
  123. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_changed_gem_version/README.md +0 -1
  124. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_locked_gem_version/Gemfile +0 -6
  125. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_locked_gem_version/Gemfile.lock +0 -18
  126. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_locked_gem_version/README.md +0 -1
  127. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_removed_gem/.diffend.yml +0 -3
  128. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_removed_gem/Gemfile +0 -5
  129. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_removed_gem/Gemfile.lock +0 -41
  130. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_primary_sources/.diffend.yml +0 -3
  131. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_primary_sources/Gemfile +0 -6
  132. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_primary_sources/Gemfile.lock +0 -17
  133. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_primary_sources/README.md +0 -1
  134. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_sources/.diffend.yml +0 -3
  135. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_sources/Gemfile +0 -6
  136. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_sources/Gemfile.lock +0 -42
  137. data/repositories/bundler_2_2_17/update_with_gemfile_lock_with_two_sources/README.md +0 -1
  138. data/repositories/bundler_2_2_17/update_without_gemfile_lock/.diffend.yml +0 -3
  139. data/repositories/bundler_2_2_17/update_without_gemfile_lock/Gemfile +0 -5
  140. data/repositories/bundler_2_2_7/install_with_gemfile_lock/.diffend.yml +0 -3
  141. data/repositories/bundler_2_2_7/install_with_gemfile_lock/Gemfile +0 -6
  142. data/repositories/bundler_2_2_7/install_with_gemfile_lock/Gemfile.lock +0 -21
  143. data/repositories/bundler_2_2_7/install_with_gemfile_lock/README.md +0 -1
  144. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_added_gem/.diffend.yml +0 -3
  145. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_added_gem/Gemfile +0 -6
  146. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_added_gem/Gemfile.lock +0 -16
  147. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_added_gem/README.md +0 -1
  148. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_changed_gem_version/.diffend.yml +0 -3
  149. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_changed_gem_version/Gemfile +0 -6
  150. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_changed_gem_version/Gemfile.lock +0 -18
  151. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_changed_gem_version/README.md +0 -1
  152. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_locked_gem_version/.diffend.yml +0 -3
  153. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_locked_gem_version/Gemfile +0 -6
  154. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_locked_gem_version/Gemfile.lock +0 -18
  155. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_locked_gem_version/README.md +0 -1
  156. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_removed_gem/.diffend.yml +0 -3
  157. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_removed_gem/Gemfile +0 -5
  158. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_removed_gem/Gemfile.lock +0 -41
  159. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_removed_gem/README.md +0 -1
  160. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_platforms/.diffend.yml +0 -3
  161. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_platforms/Gemfile +0 -10
  162. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_platforms/Gemfile.lock +0 -30
  163. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_platforms/README.md +0 -1
  164. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_platforms/gem-with-two-platforms.gemspec +0 -16
  165. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_primary_sources/.diffend.yml +0 -3
  166. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_primary_sources/Gemfile +0 -6
  167. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_primary_sources/Gemfile.lock +0 -17
  168. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_primary_sources/README.md +0 -1
  169. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_sources/.diffend.yml +0 -3
  170. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_sources/Gemfile +0 -6
  171. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_sources/Gemfile.lock +0 -19
  172. data/repositories/bundler_2_2_7/install_with_gemfile_lock_with_two_sources/README.md +0 -1
  173. data/repositories/bundler_2_2_7/install_without_gemfile_lock/.diffend.yml +0 -3
  174. data/repositories/bundler_2_2_7/install_without_gemfile_lock/Gemfile +0 -5
  175. data/repositories/bundler_2_2_7/install_without_gemfile_lock/README.md +0 -1
  176. data/repositories/bundler_2_2_7/update_with_gemfile_lock/.diffend.yml +0 -3
  177. data/repositories/bundler_2_2_7/update_with_gemfile_lock/Gemfile +0 -5
  178. data/repositories/bundler_2_2_7/update_with_gemfile_lock/Gemfile.lock +0 -16
  179. data/repositories/bundler_2_2_7/update_with_gemfile_lock/README.md +0 -1
  180. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_added_gem/.diffend.yml +0 -3
  181. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_added_gem/Gemfile +0 -6
  182. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_added_gem/Gemfile.lock +0 -16
  183. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_added_gem/README.md +0 -1
  184. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_changed_gem_version/Gemfile +0 -6
  185. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_changed_gem_version/Gemfile.lock +0 -18
  186. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_changed_gem_version/README.md +0 -1
  187. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_locked_gem_version/Gemfile +0 -6
  188. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_locked_gem_version/Gemfile.lock +0 -18
  189. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_locked_gem_version/README.md +0 -1
  190. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_removed_gem/.diffend.yml +0 -3
  191. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_removed_gem/Gemfile +0 -5
  192. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_removed_gem/Gemfile.lock +0 -41
  193. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_primary_sources/.diffend.yml +0 -3
  194. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_primary_sources/Gemfile +0 -6
  195. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_primary_sources/Gemfile.lock +0 -17
  196. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_primary_sources/README.md +0 -1
  197. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_sources/.diffend.yml +0 -3
  198. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_sources/Gemfile +0 -6
  199. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_sources/Gemfile.lock +0 -42
  200. data/repositories/bundler_2_2_7/update_with_gemfile_lock_with_two_sources/README.md +0 -1
  201. data/repositories/bundler_2_2_7/update_without_gemfile_lock/.diffend.yml +0 -3
  202. data/repositories/bundler_2_2_7/update_without_gemfile_lock/Gemfile +0 -5
  203. data/repositories/diffend.json +0 -9
  204. data/scripts/generate_payload_for_file.rb +0 -14
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require spec_helper
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.0.1
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- plugin 'diffend'
6
-
7
- gemspec
8
-
9
- group :development, :test do
10
- gem 'byebug', platform: :ruby
11
- gem 'rspec'
12
- end
data/Gemfile.lock DELETED
@@ -1,41 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- diffend (0.2.45)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- byebug (11.1.3)
10
- diff-lcs (1.4.4)
11
- rake (13.0.3)
12
- rspec (3.10.0)
13
- rspec-core (~> 3.10.0)
14
- rspec-expectations (~> 3.10.0)
15
- rspec-mocks (~> 3.10.0)
16
- rspec-core (3.10.1)
17
- rspec-support (~> 3.10.0)
18
- rspec-expectations (3.10.1)
19
- diff-lcs (>= 1.2.0, < 2.0)
20
- rspec-support (~> 3.10.0)
21
- rspec-mocks (3.10.2)
22
- diff-lcs (>= 1.2.0, < 2.0)
23
- rspec-support (~> 3.10.0)
24
- rspec-support (3.10.2)
25
-
26
- PLATFORMS
27
- java
28
- ruby
29
- universal-java-11
30
- universal-java-13
31
- x86_64-darwin-19
32
-
33
- DEPENDENCIES
34
- bundler
35
- byebug
36
- diffend!
37
- rake
38
- rspec
39
-
40
- BUNDLED WITH
41
- 2.2.17
data/Rakefile DELETED
@@ -1,43 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- %w[
4
- bundler/setup
5
- ].each(&method(:require))
6
-
7
- require 'diffend/errors'
8
- require 'diffend/config'
9
- require 'diffend/shell'
10
- require 'diffend/repository'
11
- require 'diffend/integration_repository'
12
-
13
- task :integration_suite do
14
- Diffend::Repository::SUPPORTED.each do |command, repositories|
15
- repositories.each do |repository_name|
16
- repository = Diffend::IntegrationRepository.new(command, repository_name)
17
- repository.repository.isolate do |path|
18
- start = Time.now.to_f
19
-
20
- repository.config?(path)
21
-
22
- Bundler.with_unbundled_env do
23
- repository.install_plugin(path)
24
-
25
- cmd = Diffend::Shell.call_in_path(
26
- path,
27
- "DIFFEND_TAGS=#{repository_name},bundler:#{Bundler::VERSION} bundle #{command}"
28
- )
29
-
30
- unless cmd[:exit_code].zero?
31
- puts "#{repository.full_name} FAILED"
32
- puts cmd[:stderr]
33
- exit 1
34
- end
35
- end
36
-
37
- took = Time.now.to_f - start
38
-
39
- puts "#{repository.full_name} OK, took #{took.round(1)}s"
40
- end
41
- end
42
- end
43
- end
data/bin/bundle DELETED
@@ -1,114 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'bundle' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "rubygems"
12
-
13
- m = Module.new do
14
- module_function
15
-
16
- def invoked_as_script?
17
- File.expand_path($0) == File.expand_path(__FILE__)
18
- end
19
-
20
- def env_var_version
21
- ENV["BUNDLER_VERSION"]
22
- end
23
-
24
- def cli_arg_version
25
- return unless invoked_as_script? # don't want to hijack other binstubs
26
- return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update`
27
- bundler_version = nil
28
- update_index = nil
29
- ARGV.each_with_index do |a, i|
30
- if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
31
- bundler_version = a
32
- end
33
- next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
34
- bundler_version = $1
35
- update_index = i
36
- end
37
- bundler_version
38
- end
39
-
40
- def gemfile
41
- gemfile = ENV["BUNDLE_GEMFILE"]
42
- return gemfile if gemfile && !gemfile.empty?
43
-
44
- File.expand_path("../../Gemfile", __FILE__)
45
- end
46
-
47
- def lockfile
48
- lockfile =
49
- case File.basename(gemfile)
50
- when "gems.rb" then gemfile.sub(/\.rb$/, gemfile)
51
- else "#{gemfile}.lock"
52
- end
53
- File.expand_path(lockfile)
54
- end
55
-
56
- def lockfile_version
57
- return unless File.file?(lockfile)
58
- lockfile_contents = File.read(lockfile)
59
- return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
60
- Regexp.last_match(1)
61
- end
62
-
63
- def bundler_version
64
- @bundler_version ||=
65
- env_var_version || cli_arg_version ||
66
- lockfile_version
67
- end
68
-
69
- def bundler_requirement
70
- return "#{Gem::Requirement.default}.a" unless bundler_version
71
-
72
- bundler_gem_version = Gem::Version.new(bundler_version)
73
-
74
- requirement = bundler_gem_version.approximate_recommendation
75
-
76
- return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0")
77
-
78
- requirement += ".a" if bundler_gem_version.prerelease?
79
-
80
- requirement
81
- end
82
-
83
- def load_bundler!
84
- ENV["BUNDLE_GEMFILE"] ||= gemfile
85
-
86
- activate_bundler
87
- end
88
-
89
- def activate_bundler
90
- gem_error = activation_error_handling do
91
- gem "bundler", bundler_requirement
92
- end
93
- return if gem_error.nil?
94
- require_error = activation_error_handling do
95
- require "bundler/version"
96
- end
97
- return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION))
98
- warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`"
99
- exit 42
100
- end
101
-
102
- def activation_error_handling
103
- yield
104
- nil
105
- rescue StandardError, LoadError => e
106
- e
107
- end
108
- end
109
-
110
- m.load_bundler!
111
-
112
- if m.invoked_as_script?
113
- load Gem.bin_path("bundler", "bundle")
114
- end
data/bin/byebug DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'byebug' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("byebug", "byebug")
data/bin/htmldiff DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'htmldiff' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("diff-lcs", "htmldiff")
data/bin/ldiff DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'ldiff' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("diff-lcs", "ldiff")
data/bin/rake DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'rake' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("rake", "rake")
data/bin/rspec DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'rspec' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("rspec-core", "rspec")
@@ -1,3 +0,0 @@
1
- project_id: '6f346200-b6d0-4456-93d6-93f6ea64629f'
2
- shareable_id: 'a623a24f-c384-41ef-9b1f-020c902cee53'
3
- shareable_key: 'fea22506-bf19-404e-b6cd-fb26ffb08b0c'
@@ -1,3 +0,0 @@
1
- project_id: '6f346200-b6d0-4456-93d6-93f6ea64629f'
2
- shareable_id: 'a623a24f-c384-41ef-9b1f-020c902cee53'
3
- shareable_key: 'fea22506-bf19-404e-b6cd-fb26ffb08b0c'
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'dry-core'
6
- gem 'nokogiri'
@@ -1,22 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- concurrent-ruby (1.0.5)
5
- concurrent-ruby (1.0.5-java)
6
- dry-core (0.4.7)
7
- concurrent-ruby (~> 1.0)
8
- mini_portile2 (2.4.0)
9
- nokogiri (1.10.10)
10
- mini_portile2 (~> 2.4.0)
11
- nokogiri (1.10.10-java)
12
-
13
- PLATFORMS
14
- java
15
- ruby
16
-
17
- DEPENDENCIES
18
- dry-core
19
- nokogiri
20
-
21
- BUNDLED WITH
22
- 2.1.4
@@ -1,3 +0,0 @@
1
- project_id: '6f346200-b6d0-4456-93d6-93f6ea64629f'
2
- shareable_id: 'a623a24f-c384-41ef-9b1f-020c902cee53'
3
- shareable_key: 'fea22506-bf19-404e-b6cd-fb26ffb08b0c'
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'dry-core'
6
- gem 'dry-struct'
@@ -1,16 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- concurrent-ruby (1.1.6)
5
- dry-core (0.4.9)
6
- concurrent-ruby (~> 1.0)
7
-
8
- PLATFORMS
9
- java
10
- ruby
11
-
12
- DEPENDENCIES
13
- dry-core
14
-
15
- BUNDLED WITH
16
- 2.1.4