From c21307b5f7086e3dde313abf85d3f42af5a9a370 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Thu, 27 Oct 2016 10:07:24 -0700 Subject: [PATCH] Parse for iterator syntax --- src/Language/JavaScript.hs | 2 +- src/Language/Ruby.hs | 2 + src/Syntax.hs | 3 +- test/corpus/diff-summaries/ruby/and-or.json | 28 +- test/corpus/diff-summaries/ruby/array.json | 28 +- .../diff-summaries/ruby/assignment.json | 28 +- .../diff-summaries/ruby/bitwise-operator.json | 28 +- .../diff-summaries/ruby/boolean-operator.json | 28 +- .../diff-summaries/ruby/case-statement.json | 28 +- test/corpus/diff-summaries/ruby/class.json | 28 +- test/corpus/diff-summaries/ruby/comment.json | 28 +- .../ruby/comparision-operator.json | 28 +- .../ruby/conditional_assignment.json | 28 +- .../corpus/diff-summaries/ruby/delimiter.json | 28 +- test/corpus/diff-summaries/ruby/for.json | 286 ++++++++++++++++++ test/corpus/diff-summaries/ruby/hash.json | 28 +- .../ruby/if-unless-modifiers.json | 28 +- test/corpus/diff-summaries/ruby/if.json | 28 +- .../diff-summaries/ruby/interpolation.json | 28 +- .../ruby/lambda-dash-rocket.json | 28 +- test/corpus/diff-summaries/ruby/lambda.json | 28 +- .../diff-summaries/ruby/math_assignment.json | 28 +- .../ruby/method-invocation.json | 28 +- .../ruby/multiple_assignments.json | 28 +- test/corpus/diff-summaries/ruby/number.json | 28 +- .../diff-summaries/ruby/percent-array.json | 28 +- .../diff-summaries/ruby/pseudo_variables.json | 28 +- test/corpus/diff-summaries/ruby/regex.json | 28 +- .../ruby/relational-operator.json | 28 +- test/corpus/diff-summaries/ruby/return.json | 28 +- test/corpus/diff-summaries/ruby/string.json | 28 +- test/corpus/diff-summaries/ruby/subshell.json | 28 +- test/corpus/diff-summaries/ruby/symbol.json | 28 +- test/corpus/diff-summaries/ruby/ternary.json | 28 +- test/corpus/diff-summaries/ruby/unless.json | 28 +- test/corpus/diff-summaries/ruby/until.json | 28 +- test/corpus/diff-summaries/ruby/while.json | 28 +- test/corpus/diff-summaries/ruby/yield.json | 28 +- test/corpus/generated/ruby.json | 7 + test/corpus/repos/ruby | 2 +- 40 files changed, 775 insertions(+), 479 deletions(-) create mode 100644 test/corpus/diff-summaries/ruby/for.json diff --git a/src/Language/JavaScript.hs b/src/Language/JavaScript.hs index f5c0cffab..1fdb44f82 100644 --- a/src/Language/JavaScript.hs +++ b/src/Language/JavaScript.hs @@ -73,7 +73,7 @@ termConstructor source sourceSpan name range children ("export_statement", [ statements ] ) -> case unwrap statements of S.Indexed _ -> S.Export Nothing (toList (unwrap statements)) _ -> S.Export (Just statements) [] - _ | name `elem` forStatements, Just (exprs, body) <- unsnoc children -> S.For exprs body + _ | name `elem` forStatements, Just (exprs, body) <- unsnoc children -> S.For exprs [body] _ | name `elem` operators -> S.Operator children _ | name `elem` functions -> case children of [ body ] -> S.AnonymousFunction [] [body] diff --git a/src/Language/Ruby.hs b/src/Language/Ruby.hs index 4c389e8ba..4a3bcc081 100644 --- a/src/Language/Ruby.hs +++ b/src/Language/Ruby.hs @@ -57,6 +57,7 @@ termConstructor source sourceSpan name range children ("while_statement", [ expr, body ]) -> S.While expr (Just body) ("while_statement", [ expr ]) -> S.While expr Nothing ("yield", _) -> S.Yield (listToMaybe children) + ("for_statement", lhs : expr : rest ) -> S.For [lhs, expr] rest _ | name `elem` operators -> S.Operator children _ | name `elem` functions -> case children of [ body ] -> S.AnonymousFunction [] [body] @@ -88,6 +89,7 @@ categoryForRubyName = \case "conditional" -> Ternary "ERROR" -> Error "float" -> NumberLiteral + "for_statement" -> For "formal_parameters" -> Params "function_call" -> FunctionCall "function" -> Function diff --git a/src/Syntax.hs b/src/Syntax.hs index 8693898ad..e6025d190 100644 --- a/src/Syntax.hs +++ b/src/Syntax.hs @@ -57,7 +57,8 @@ data Syntax a f -- | A term preceded or followed by any number of comments. | Commented [f] (Maybe f) | Error [f] - | For [f] f + -- | A for statement has a list of expressions to setup the iteration and then a list of expressions in the body. + | For [f] [f] | DoWhile { doWhileBody :: f, doWhileExpr :: f } | While { whileExpr :: f, whileBody :: Maybe f } | Return (Maybe f) diff --git a/test/corpus/diff-summaries/ruby/and-or.json b/test/corpus/diff-summaries/ruby/and-or.json index 6f7434e60..bea049fd2 100644 --- a/test/corpus/diff-summaries/ruby/and-or.json +++ b/test/corpus/diff-summaries/ruby/and-or.json @@ -25,9 +25,9 @@ "filePaths": [ "and-or.rb" ], - "sha1": "a84e0f13105ce38b9719536c8a69431dcf621d61", + "sha1": "3cd0c5602b4b2f7cee84ab107120f2aa60b15c8c", "gitDir": "test/corpus/repos/ruby", - "sha2": "18fc224e92b5caef1cc2b3212ae4b26db1512e30" + "sha2": "5c0ea1658bcc66774f36951a59b7bf06306d5cd4" } ,{ "testCaseDescription": "ruby-and-or-replacement-insert-test", @@ -86,9 +86,9 @@ "filePaths": [ "and-or.rb" ], - "sha1": "18fc224e92b5caef1cc2b3212ae4b26db1512e30", + "sha1": "5c0ea1658bcc66774f36951a59b7bf06306d5cd4", "gitDir": "test/corpus/repos/ruby", - "sha2": "4399c5468fa7129305672dc31fcfbc1debbd7aa9" + "sha2": "df1bc342e44dabc673d8e75eded12a6db87d0d59" } ,{ "testCaseDescription": "ruby-and-or-delete-insert-test", @@ -117,9 +117,9 @@ "filePaths": [ "and-or.rb" ], - "sha1": "4399c5468fa7129305672dc31fcfbc1debbd7aa9", + "sha1": "df1bc342e44dabc673d8e75eded12a6db87d0d59", "gitDir": "test/corpus/repos/ruby", - "sha2": "9718ab6fcab4babcfae5b5fe8b604915f60244f1" + "sha2": "bd7a0b65bddb065c3ff75a4043d78502eddd28b6" } ,{ "testCaseDescription": "ruby-and-or-replacement-test", @@ -148,9 +148,9 @@ "filePaths": [ "and-or.rb" ], - "sha1": "9718ab6fcab4babcfae5b5fe8b604915f60244f1", + "sha1": "bd7a0b65bddb065c3ff75a4043d78502eddd28b6", "gitDir": "test/corpus/repos/ruby", - "sha2": "47edc699bc694ec12b80bbdef223efd2918f099f" + "sha2": "852b57fadfac41be4d5b6df6e5af4823be811020" } ,{ "testCaseDescription": "ruby-and-or-delete-replacement-test", @@ -209,9 +209,9 @@ "filePaths": [ "and-or.rb" ], - "sha1": "47edc699bc694ec12b80bbdef223efd2918f099f", + "sha1": "852b57fadfac41be4d5b6df6e5af4823be811020", "gitDir": "test/corpus/repos/ruby", - "sha2": "61b4548ee706e6365b6e7bc2066f0e363f31f375" + "sha2": "51676e9dbe6ee61e484d2a275bdb394dfdaf1d5f" } ,{ "testCaseDescription": "ruby-and-or-delete-test", @@ -240,9 +240,9 @@ "filePaths": [ "and-or.rb" ], - "sha1": "61b4548ee706e6365b6e7bc2066f0e363f31f375", + "sha1": "51676e9dbe6ee61e484d2a275bdb394dfdaf1d5f", "gitDir": "test/corpus/repos/ruby", - "sha2": "0e27854e10f84184918cbbf026be1f458cf59087" + "sha2": "d765909cd007b8c46291367d2b244333e0f38eb2" } ,{ "testCaseDescription": "ruby-and-or-delete-rest-test", @@ -286,7 +286,7 @@ "filePaths": [ "and-or.rb" ], - "sha1": "0e27854e10f84184918cbbf026be1f458cf59087", + "sha1": "d765909cd007b8c46291367d2b244333e0f38eb2", "gitDir": "test/corpus/repos/ruby", - "sha2": "b63b722fb3bd3b9be55958ce99c06b713da797c5" + "sha2": "9150744eb0a99e1fd78eb52ecca992f36ad1b418" }] diff --git a/test/corpus/diff-summaries/ruby/array.json b/test/corpus/diff-summaries/ruby/array.json index 3e26c28e4..df9c05acc 100644 --- a/test/corpus/diff-summaries/ruby/array.json +++ b/test/corpus/diff-summaries/ruby/array.json @@ -25,9 +25,9 @@ "filePaths": [ "array.rb" ], - "sha1": "2412e6cddab136b52b05cdc3103dfcca4551060c", + "sha1": "9fba7cef337267dbe7922eba1d421072ed67a694", "gitDir": "test/corpus/repos/ruby", - "sha2": "635e12a7b4f7203a32a426c25106bc16c827c7fe" + "sha2": "5f55acefcbf74e21b087f28fe17545926ffba556" } ,{ "testCaseDescription": "ruby-array-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "array.rb" ], - "sha1": "635e12a7b4f7203a32a426c25106bc16c827c7fe", + "sha1": "5f55acefcbf74e21b087f28fe17545926ffba556", "gitDir": "test/corpus/repos/ruby", - "sha2": "a23e4296e96c2d1b4331c5247cf8a4af4c564e44" + "sha2": "755b23d46796913a92ca22a2df9f36996db8670d" } ,{ "testCaseDescription": "ruby-array-delete-insert-test", @@ -177,9 +177,9 @@ "filePaths": [ "array.rb" ], - "sha1": "a23e4296e96c2d1b4331c5247cf8a4af4c564e44", + "sha1": "755b23d46796913a92ca22a2df9f36996db8670d", "gitDir": "test/corpus/repos/ruby", - "sha2": "b56ca22489fa6c43bf267ac973ee6ad757b93dff" + "sha2": "bdee990f3b0aee5cb0cb72929116cb575c822dd3" } ,{ "testCaseDescription": "ruby-array-replacement-test", @@ -283,9 +283,9 @@ "filePaths": [ "array.rb" ], - "sha1": "b56ca22489fa6c43bf267ac973ee6ad757b93dff", + "sha1": "bdee990f3b0aee5cb0cb72929116cb575c822dd3", "gitDir": "test/corpus/repos/ruby", - "sha2": "e79d556c30c83064b2d54dc036165ddd8be554c1" + "sha2": "dd1445f0ad0cb6b1fd359594c1a9f86b5a55d930" } ,{ "testCaseDescription": "ruby-array-delete-replacement-test", @@ -344,9 +344,9 @@ "filePaths": [ "array.rb" ], - "sha1": "e79d556c30c83064b2d54dc036165ddd8be554c1", + "sha1": "dd1445f0ad0cb6b1fd359594c1a9f86b5a55d930", "gitDir": "test/corpus/repos/ruby", - "sha2": "49f844e30b78629078b7e7d02e02dff50d6d32e2" + "sha2": "6e51274ce3decd7e7ec2821f3401a7cbc4432a0a" } ,{ "testCaseDescription": "ruby-array-delete-test", @@ -375,9 +375,9 @@ "filePaths": [ "array.rb" ], - "sha1": "49f844e30b78629078b7e7d02e02dff50d6d32e2", + "sha1": "6e51274ce3decd7e7ec2821f3401a7cbc4432a0a", "gitDir": "test/corpus/repos/ruby", - "sha2": "c3482692e204e27af12e51fad2fe0ea6da9f9c60" + "sha2": "ad7b8e91126d0b44421720afcbcb536be7d6a2e4" } ,{ "testCaseDescription": "ruby-array-delete-rest-test", @@ -406,7 +406,7 @@ "filePaths": [ "array.rb" ], - "sha1": "c3482692e204e27af12e51fad2fe0ea6da9f9c60", + "sha1": "ad7b8e91126d0b44421720afcbcb536be7d6a2e4", "gitDir": "test/corpus/repos/ruby", - "sha2": "5fc3f6d7b885446c581e6ec0df77e57a3028c9a0" + "sha2": "661f67b834295a6814d9997ac10f95c3d7c0c3f6" }] diff --git a/test/corpus/diff-summaries/ruby/assignment.json b/test/corpus/diff-summaries/ruby/assignment.json index 56dbf9329..634b4a5b8 100644 --- a/test/corpus/diff-summaries/ruby/assignment.json +++ b/test/corpus/diff-summaries/ruby/assignment.json @@ -25,9 +25,9 @@ "filePaths": [ "assignment.rb" ], - "sha1": "0761fdb7b1edfb850cddd9282f34088bf1383098", + "sha1": "f679bf7edf87bd0fca0ebb80668a5a7bfb841337", "gitDir": "test/corpus/repos/ruby", - "sha2": "c792cd160b45b356c098232c027984d6368514bc" + "sha2": "946cdc3fd23019497344e0e5f4c368a0f6195124" } ,{ "testCaseDescription": "ruby-assignment-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "assignment.rb" ], - "sha1": "c792cd160b45b356c098232c027984d6368514bc", + "sha1": "946cdc3fd23019497344e0e5f4c368a0f6195124", "gitDir": "test/corpus/repos/ruby", - "sha2": "fcc5ee9343c2fb3729c23873d4fffd26fb56fa7f" + "sha2": "7fab57cc0906afc1774e124470896917595b7683" } ,{ "testCaseDescription": "ruby-assignment-delete-insert-test", @@ -114,9 +114,9 @@ "filePaths": [ "assignment.rb" ], - "sha1": "fcc5ee9343c2fb3729c23873d4fffd26fb56fa7f", + "sha1": "7fab57cc0906afc1774e124470896917595b7683", "gitDir": "test/corpus/repos/ruby", - "sha2": "d02efd6b206d49684c493d7a8edec3b36637aea8" + "sha2": "ecb01d8af9daa922f57f3f5c860677ad5d43ec8a" } ,{ "testCaseDescription": "ruby-assignment-replacement-test", @@ -157,9 +157,9 @@ "filePaths": [ "assignment.rb" ], - "sha1": "d02efd6b206d49684c493d7a8edec3b36637aea8", + "sha1": "ecb01d8af9daa922f57f3f5c860677ad5d43ec8a", "gitDir": "test/corpus/repos/ruby", - "sha2": "dddd707df04103b9e3eab83cd5d2ef6712268e3a" + "sha2": "8ddb9f9d8156117f71868033916626fe6a137326" } ,{ "testCaseDescription": "ruby-assignment-delete-replacement-test", @@ -218,9 +218,9 @@ "filePaths": [ "assignment.rb" ], - "sha1": "dddd707df04103b9e3eab83cd5d2ef6712268e3a", + "sha1": "8ddb9f9d8156117f71868033916626fe6a137326", "gitDir": "test/corpus/repos/ruby", - "sha2": "f95c8e261d676b14c6eb7f7d08001651e499dc78" + "sha2": "e9429bf74612474d86e0b2bf6f076334bd3cece5" } ,{ "testCaseDescription": "ruby-assignment-delete-test", @@ -249,9 +249,9 @@ "filePaths": [ "assignment.rb" ], - "sha1": "f95c8e261d676b14c6eb7f7d08001651e499dc78", + "sha1": "e9429bf74612474d86e0b2bf6f076334bd3cece5", "gitDir": "test/corpus/repos/ruby", - "sha2": "6a3e210f2a4f858bfa3768950b84b47083f0ad6f" + "sha2": "0bf87762e78644c9d04ecac7c4e4ea81019b47e4" } ,{ "testCaseDescription": "ruby-assignment-delete-rest-test", @@ -280,7 +280,7 @@ "filePaths": [ "assignment.rb" ], - "sha1": "6a3e210f2a4f858bfa3768950b84b47083f0ad6f", + "sha1": "0bf87762e78644c9d04ecac7c4e4ea81019b47e4", "gitDir": "test/corpus/repos/ruby", - "sha2": "7bd77d454342c73398af2de8c18672a6a027c356" + "sha2": "ca91a937c9fac7c0f9e3c175122066116aa8d56a" }] diff --git a/test/corpus/diff-summaries/ruby/bitwise-operator.json b/test/corpus/diff-summaries/ruby/bitwise-operator.json index 853181c4e..b4a2e59be 100644 --- a/test/corpus/diff-summaries/ruby/bitwise-operator.json +++ b/test/corpus/diff-summaries/ruby/bitwise-operator.json @@ -55,9 +55,9 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "dc85ccb5227140ca0b76c3ac987e28df6ef67efc", + "sha1": "27f09c09071a5a4b8a1215837e27b9f0f433098a", "gitDir": "test/corpus/repos/ruby", - "sha2": "dba1d78fa8fa28c4877dc83e68addec8fc3c02f0" + "sha2": "0a2461210ec25c4c47522a29339dd407f67a233f" } ,{ "testCaseDescription": "ruby-bitwise-operator-replacement-insert-test", @@ -146,9 +146,9 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "dba1d78fa8fa28c4877dc83e68addec8fc3c02f0", + "sha1": "0a2461210ec25c4c47522a29339dd407f67a233f", "gitDir": "test/corpus/repos/ruby", - "sha2": "ace4b00d243038dd142127aeaf22f2db2da52233" + "sha2": "46b0829a8df4f3448cf59caaa2162e36b353d52e" } ,{ "testCaseDescription": "ruby-bitwise-operator-delete-insert-test", @@ -177,9 +177,9 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "ace4b00d243038dd142127aeaf22f2db2da52233", + "sha1": "46b0829a8df4f3448cf59caaa2162e36b353d52e", "gitDir": "test/corpus/repos/ruby", - "sha2": "f41204985850eb3f21c77cbae23edc695b57b067" + "sha2": "1f5f1a486b99fcda7d809924627ea50db51d018a" } ,{ "testCaseDescription": "ruby-bitwise-operator-replacement-test", @@ -208,9 +208,9 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "f41204985850eb3f21c77cbae23edc695b57b067", + "sha1": "1f5f1a486b99fcda7d809924627ea50db51d018a", "gitDir": "test/corpus/repos/ruby", - "sha2": "37fc1e4b03acbeab2a9a9886d43bb53ae761834e" + "sha2": "b01a0e4d7a156dfeac4fb8333d7ec775fcefbf4c" } ,{ "testCaseDescription": "ruby-bitwise-operator-delete-replacement-test", @@ -269,9 +269,9 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "37fc1e4b03acbeab2a9a9886d43bb53ae761834e", + "sha1": "b01a0e4d7a156dfeac4fb8333d7ec775fcefbf4c", "gitDir": "test/corpus/repos/ruby", - "sha2": "6a717504e24651cf67de03c1e81cb1e2226e9276" + "sha2": "45041b54d74812ce63fd8e5a1634c2fa22aa9b19" } ,{ "testCaseDescription": "ruby-bitwise-operator-delete-test", @@ -330,9 +330,9 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "6a717504e24651cf67de03c1e81cb1e2226e9276", + "sha1": "45041b54d74812ce63fd8e5a1634c2fa22aa9b19", "gitDir": "test/corpus/repos/ruby", - "sha2": "e7a0eaf221294fe9cee17ac707cb832b62302800" + "sha2": "51f1075ab14ac9339e480da630415d9e458d8cf0" } ,{ "testCaseDescription": "ruby-bitwise-operator-delete-rest-test", @@ -376,7 +376,7 @@ "filePaths": [ "bitwise-operator.rb" ], - "sha1": "e7a0eaf221294fe9cee17ac707cb832b62302800", + "sha1": "51f1075ab14ac9339e480da630415d9e458d8cf0", "gitDir": "test/corpus/repos/ruby", - "sha2": "6b57b197843618cba197cd2ac9191b14ea4dbf3f" + "sha2": "dcea220369c536157838aeb07cfc34e85a8910cf" }] diff --git a/test/corpus/diff-summaries/ruby/boolean-operator.json b/test/corpus/diff-summaries/ruby/boolean-operator.json index dba227c46..ffb76f619 100644 --- a/test/corpus/diff-summaries/ruby/boolean-operator.json +++ b/test/corpus/diff-summaries/ruby/boolean-operator.json @@ -25,9 +25,9 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "63f19b4a23a480e4d12e0d0870bf83bf4f3bd994", + "sha1": "b4573751c3327f057c7462a2a3316d096162a3a1", "gitDir": "test/corpus/repos/ruby", - "sha2": "bacf783c0a044d225c528ac0b36cb59637265389" + "sha2": "020bee26a048591cbbd22b9532d097fdc8f58d61" } ,{ "testCaseDescription": "ruby-boolean-operator-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "bacf783c0a044d225c528ac0b36cb59637265389", + "sha1": "020bee26a048591cbbd22b9532d097fdc8f58d61", "gitDir": "test/corpus/repos/ruby", - "sha2": "0a5bb7c8b0bd20f780fe80c6dda85f2272ad6e62" + "sha2": "e4d1ab0bac560ce9398b4377ad185245ba520a54" } ,{ "testCaseDescription": "ruby-boolean-operator-delete-insert-test", @@ -84,9 +84,9 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "0a5bb7c8b0bd20f780fe80c6dda85f2272ad6e62", + "sha1": "e4d1ab0bac560ce9398b4377ad185245ba520a54", "gitDir": "test/corpus/repos/ruby", - "sha2": "36e2086079e90d2a4ccea3292a1ec2dcc46d9e87" + "sha2": "98162ac35d6df62a6ef91f660aa753cb4066deb0" } ,{ "testCaseDescription": "ruby-boolean-operator-replacement-test", @@ -97,9 +97,9 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "36e2086079e90d2a4ccea3292a1ec2dcc46d9e87", + "sha1": "98162ac35d6df62a6ef91f660aa753cb4066deb0", "gitDir": "test/corpus/repos/ruby", - "sha2": "0efa57e707fd1774e780a9e1dab5921c6c05ca5a" + "sha2": "7fffaa4c4946186cff28fe7d6b09709c23f547ce" } ,{ "testCaseDescription": "ruby-boolean-operator-delete-replacement-test", @@ -128,9 +128,9 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "0efa57e707fd1774e780a9e1dab5921c6c05ca5a", + "sha1": "7fffaa4c4946186cff28fe7d6b09709c23f547ce", "gitDir": "test/corpus/repos/ruby", - "sha2": "3ee94b50440d88d917c04bf6e0b06c1fbb319d44" + "sha2": "db466b15ee4d9505985929e4cecbc663ab24979a" } ,{ "testCaseDescription": "ruby-boolean-operator-delete-test", @@ -159,9 +159,9 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "3ee94b50440d88d917c04bf6e0b06c1fbb319d44", + "sha1": "db466b15ee4d9505985929e4cecbc663ab24979a", "gitDir": "test/corpus/repos/ruby", - "sha2": "22d9a2f24c7513185b8dfcc0489d8c07d16b8661" + "sha2": "928fd4fcee6cd85c7ea6e49593fb0898dcacadd3" } ,{ "testCaseDescription": "ruby-boolean-operator-delete-rest-test", @@ -190,7 +190,7 @@ "filePaths": [ "boolean-operator.rb" ], - "sha1": "22d9a2f24c7513185b8dfcc0489d8c07d16b8661", + "sha1": "928fd4fcee6cd85c7ea6e49593fb0898dcacadd3", "gitDir": "test/corpus/repos/ruby", - "sha2": "2a1f09b1d1349774cff06f3e8a86843745cbcaf6" + "sha2": "1224e874a6308143fc9a6e798258d33e6c3ed73f" }] diff --git a/test/corpus/diff-summaries/ruby/case-statement.json b/test/corpus/diff-summaries/ruby/case-statement.json index f23fa5cb6..0a6a0579b 100644 --- a/test/corpus/diff-summaries/ruby/case-statement.json +++ b/test/corpus/diff-summaries/ruby/case-statement.json @@ -25,9 +25,9 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "6b42baf03f8ceaac2256af1e96b0272312ae32f6", + "sha1": "35accad1a4b301d625ef28d0d0c69d6795c4d147", "gitDir": "test/corpus/repos/ruby", - "sha2": "dd1b33e3220ecd93946679cc1fc25a1083331076" + "sha2": "df03af0efdff40177306000083b93d21696cec80" } ,{ "testCaseDescription": "ruby-case-statement-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "dd1b33e3220ecd93946679cc1fc25a1083331076", + "sha1": "df03af0efdff40177306000083b93d21696cec80", "gitDir": "test/corpus/repos/ruby", - "sha2": "3bc20b726f245c36d46a94af3d929cd44cb5c2ea" + "sha2": "b31d7a1ea49802b7613a09d51519bbac745e3780" } ,{ "testCaseDescription": "ruby-case-statement-delete-insert-test", @@ -102,9 +102,9 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "3bc20b726f245c36d46a94af3d929cd44cb5c2ea", + "sha1": "b31d7a1ea49802b7613a09d51519bbac745e3780", "gitDir": "test/corpus/repos/ruby", - "sha2": "198cd7040662b8aa00e800d50956280e12f5524d" + "sha2": "b01abbf52d4948e272d4803ce3d7a22017866c33" } ,{ "testCaseDescription": "ruby-case-statement-replacement-test", @@ -133,9 +133,9 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "198cd7040662b8aa00e800d50956280e12f5524d", + "sha1": "b01abbf52d4948e272d4803ce3d7a22017866c33", "gitDir": "test/corpus/repos/ruby", - "sha2": "d6cd6d54945b796f331d9a0cf1270937999097e1" + "sha2": "1c31a1e046d9f215e5f9754569b94e77e4f5192d" } ,{ "testCaseDescription": "ruby-case-statement-delete-replacement-test", @@ -194,9 +194,9 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "d6cd6d54945b796f331d9a0cf1270937999097e1", + "sha1": "1c31a1e046d9f215e5f9754569b94e77e4f5192d", "gitDir": "test/corpus/repos/ruby", - "sha2": "2857205408e087b80807b494fe133393b7f4d734" + "sha2": "048f0cb3731aca931f55e7c5c087b0c7a3ce8c99" } ,{ "testCaseDescription": "ruby-case-statement-delete-test", @@ -225,9 +225,9 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "2857205408e087b80807b494fe133393b7f4d734", + "sha1": "048f0cb3731aca931f55e7c5c087b0c7a3ce8c99", "gitDir": "test/corpus/repos/ruby", - "sha2": "b1b07bee29ebde56fb60ad5cca19b280833f7842" + "sha2": "73b872846a4b0bd5457d0816b155576a4662a176" } ,{ "testCaseDescription": "ruby-case-statement-delete-rest-test", @@ -256,7 +256,7 @@ "filePaths": [ "case-statement.rb" ], - "sha1": "b1b07bee29ebde56fb60ad5cca19b280833f7842", + "sha1": "73b872846a4b0bd5457d0816b155576a4662a176", "gitDir": "test/corpus/repos/ruby", - "sha2": "ba9d874106d020e95d08dac8ce0ad59e066ae9d9" + "sha2": "42fee992f61ffc77eb911ecdf9bdb753015fe704" }] diff --git a/test/corpus/diff-summaries/ruby/class.json b/test/corpus/diff-summaries/ruby/class.json index b75c6661b..e23696c7a 100644 --- a/test/corpus/diff-summaries/ruby/class.json +++ b/test/corpus/diff-summaries/ruby/class.json @@ -25,9 +25,9 @@ "filePaths": [ "class.rb" ], - "sha1": "ba9d874106d020e95d08dac8ce0ad59e066ae9d9", + "sha1": "42fee992f61ffc77eb911ecdf9bdb753015fe704", "gitDir": "test/corpus/repos/ruby", - "sha2": "d58e84e00eb5b61b839e8d6cac481247f1a4ca69" + "sha2": "6955c3e28885836d2a70449394d734b9b79b60ac" } ,{ "testCaseDescription": "ruby-class-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "class.rb" ], - "sha1": "d58e84e00eb5b61b839e8d6cac481247f1a4ca69", + "sha1": "6955c3e28885836d2a70449394d734b9b79b60ac", "gitDir": "test/corpus/repos/ruby", - "sha2": "2c2d417ad6ae92a1fd6e7786f068debf7c19385e" + "sha2": "7fd175005a337da3c90eb2bedf2bd98498fb6303" } ,{ "testCaseDescription": "ruby-class-delete-insert-test", @@ -84,9 +84,9 @@ "filePaths": [ "class.rb" ], - "sha1": "2c2d417ad6ae92a1fd6e7786f068debf7c19385e", + "sha1": "7fd175005a337da3c90eb2bedf2bd98498fb6303", "gitDir": "test/corpus/repos/ruby", - "sha2": "0775cc9ae63350e85e61e32d15a2cd7130fb3503" + "sha2": "e2714041350171b0ef063a0588cae362dcd8cf09" } ,{ "testCaseDescription": "ruby-class-replacement-test", @@ -97,9 +97,9 @@ "filePaths": [ "class.rb" ], - "sha1": "0775cc9ae63350e85e61e32d15a2cd7130fb3503", + "sha1": "e2714041350171b0ef063a0588cae362dcd8cf09", "gitDir": "test/corpus/repos/ruby", - "sha2": "b4bed9f2b267394c0d9706f6c9c6d79e97d3ffef" + "sha2": "49628eb432946cc8916a04bad41d1ef394623a08" } ,{ "testCaseDescription": "ruby-class-delete-replacement-test", @@ -158,9 +158,9 @@ "filePaths": [ "class.rb" ], - "sha1": "b4bed9f2b267394c0d9706f6c9c6d79e97d3ffef", + "sha1": "49628eb432946cc8916a04bad41d1ef394623a08", "gitDir": "test/corpus/repos/ruby", - "sha2": "dcbceb4c9727499f1bde375d5e6c41d753ad26f6" + "sha2": "71faa1915cef816d1512b177f954b9458e7ea95f" } ,{ "testCaseDescription": "ruby-class-delete-test", @@ -189,9 +189,9 @@ "filePaths": [ "class.rb" ], - "sha1": "dcbceb4c9727499f1bde375d5e6c41d753ad26f6", + "sha1": "71faa1915cef816d1512b177f954b9458e7ea95f", "gitDir": "test/corpus/repos/ruby", - "sha2": "d7f2833a79032d699b6224ba13e673775ad9a077" + "sha2": "7d5457847b581b7cf30334d3fc9f75852794a227" } ,{ "testCaseDescription": "ruby-class-delete-rest-test", @@ -220,7 +220,7 @@ "filePaths": [ "class.rb" ], - "sha1": "d7f2833a79032d699b6224ba13e673775ad9a077", + "sha1": "7d5457847b581b7cf30334d3fc9f75852794a227", "gitDir": "test/corpus/repos/ruby", - "sha2": "ded9152f40e0445582ebac66604e15028d780410" + "sha2": "57a47a7eb091ecb604ddda106e5386c6e14307bd" }] diff --git a/test/corpus/diff-summaries/ruby/comment.json b/test/corpus/diff-summaries/ruby/comment.json index 427088318..0fa6e558b 100644 --- a/test/corpus/diff-summaries/ruby/comment.json +++ b/test/corpus/diff-summaries/ruby/comment.json @@ -7,9 +7,9 @@ "filePaths": [ "comment.rb" ], - "sha1": "7bd77d454342c73398af2de8c18672a6a027c356", + "sha1": "ca91a937c9fac7c0f9e3c175122066116aa8d56a", "gitDir": "test/corpus/repos/ruby", - "sha2": "6371671661267bac2629aa005ba12182aea1fb1b" + "sha2": "af274248b4cebb9e971c8dd9b69f056623b6ea4b" } ,{ "testCaseDescription": "ruby-comment-replacement-insert-test", @@ -20,9 +20,9 @@ "filePaths": [ "comment.rb" ], - "sha1": "6371671661267bac2629aa005ba12182aea1fb1b", + "sha1": "af274248b4cebb9e971c8dd9b69f056623b6ea4b", "gitDir": "test/corpus/repos/ruby", - "sha2": "f393e34a4b36f7001ccb07c729fdd524fcf8d796" + "sha2": "94db75553f3a748ef14855b5bd4f4eef3d111f28" } ,{ "testCaseDescription": "ruby-comment-delete-insert-test", @@ -33,9 +33,9 @@ "filePaths": [ "comment.rb" ], - "sha1": "f393e34a4b36f7001ccb07c729fdd524fcf8d796", + "sha1": "94db75553f3a748ef14855b5bd4f4eef3d111f28", "gitDir": "test/corpus/repos/ruby", - "sha2": "8283c032484e0f89fcb43ddc031d8ecce15ffec8" + "sha2": "d94c1988499ad024d023bf93a4dcb75aa9644941" } ,{ "testCaseDescription": "ruby-comment-replacement-test", @@ -46,9 +46,9 @@ "filePaths": [ "comment.rb" ], - "sha1": "8283c032484e0f89fcb43ddc031d8ecce15ffec8", + "sha1": "d94c1988499ad024d023bf93a4dcb75aa9644941", "gitDir": "test/corpus/repos/ruby", - "sha2": "8334ccbaf0e51af069aaee4a06f6cb74a77e6276" + "sha2": "2dc2145f0528705bdf1a20fd68d3b9fa2e746f89" } ,{ "testCaseDescription": "ruby-comment-delete-replacement-test", @@ -59,9 +59,9 @@ "filePaths": [ "comment.rb" ], - "sha1": "8334ccbaf0e51af069aaee4a06f6cb74a77e6276", + "sha1": "2dc2145f0528705bdf1a20fd68d3b9fa2e746f89", "gitDir": "test/corpus/repos/ruby", - "sha2": "02f6f6c50d808fb7398df6bfb6697cf8e7c132ec" + "sha2": "d9313de538626e69dd7c9aeac5263cdab064de4c" } ,{ "testCaseDescription": "ruby-comment-delete-test", @@ -72,9 +72,9 @@ "filePaths": [ "comment.rb" ], - "sha1": "02f6f6c50d808fb7398df6bfb6697cf8e7c132ec", + "sha1": "d9313de538626e69dd7c9aeac5263cdab064de4c", "gitDir": "test/corpus/repos/ruby", - "sha2": "3fd0e72c9144b415be553af1d9edd6e20cb42fe1" + "sha2": "c078f21f484dbc75aa7e440ebf9b9c8e541b45b5" } ,{ "testCaseDescription": "ruby-comment-delete-rest-test", @@ -85,7 +85,7 @@ "filePaths": [ "comment.rb" ], - "sha1": "3fd0e72c9144b415be553af1d9edd6e20cb42fe1", + "sha1": "c078f21f484dbc75aa7e440ebf9b9c8e541b45b5", "gitDir": "test/corpus/repos/ruby", - "sha2": "c3e52a2eca6408e04b75857f2aae45c4246b8161" + "sha2": "721178a4e6915cfe5e5d55a8e56a5a343dda363b" }] diff --git a/test/corpus/diff-summaries/ruby/comparision-operator.json b/test/corpus/diff-summaries/ruby/comparision-operator.json index 7a1a7a138..f05a55909 100644 --- a/test/corpus/diff-summaries/ruby/comparision-operator.json +++ b/test/corpus/diff-summaries/ruby/comparision-operator.json @@ -40,9 +40,9 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "974031486d26060a410989a65cc32fddaacf333c", + "sha1": "bb09e6e770e85fcf15e477514b293f30e3805530", "gitDir": "test/corpus/repos/ruby", - "sha2": "d8a97cd03b5a9faa3eca0f7f97a5753d1be1b250" + "sha2": "c434b4e7ccf933f9da55156c5bde603ab90300e7" } ,{ "testCaseDescription": "ruby-comparision-operator-replacement-insert-test", @@ -116,9 +116,9 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "d8a97cd03b5a9faa3eca0f7f97a5753d1be1b250", + "sha1": "c434b4e7ccf933f9da55156c5bde603ab90300e7", "gitDir": "test/corpus/repos/ruby", - "sha2": "cc80d4dc029e8569ce076eaebc1a670340544fb9" + "sha2": "36e67936c0e2132a7bc66033590719d8b3879d65" } ,{ "testCaseDescription": "ruby-comparision-operator-delete-insert-test", @@ -129,9 +129,9 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "cc80d4dc029e8569ce076eaebc1a670340544fb9", + "sha1": "36e67936c0e2132a7bc66033590719d8b3879d65", "gitDir": "test/corpus/repos/ruby", - "sha2": "9a9449600ba3e576e7e505e16866057ccd3aa8e9" + "sha2": "3e04d8722c32a0d3fb1507ef9247c74b49a71a68" } ,{ "testCaseDescription": "ruby-comparision-operator-replacement-test", @@ -142,9 +142,9 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "9a9449600ba3e576e7e505e16866057ccd3aa8e9", + "sha1": "3e04d8722c32a0d3fb1507ef9247c74b49a71a68", "gitDir": "test/corpus/repos/ruby", - "sha2": "709660e9151ccb0f768302dd52309817d6d90422" + "sha2": "4083f410dd6404d75e8d8f3581c616a1403b8545" } ,{ "testCaseDescription": "ruby-comparision-operator-delete-replacement-test", @@ -188,9 +188,9 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "709660e9151ccb0f768302dd52309817d6d90422", + "sha1": "4083f410dd6404d75e8d8f3581c616a1403b8545", "gitDir": "test/corpus/repos/ruby", - "sha2": "46baed38b4d810801853e51afe8b5a6b006a980b" + "sha2": "079ec85c5b3e57a5f3787ba07bf4c02a05bca318" } ,{ "testCaseDescription": "ruby-comparision-operator-delete-test", @@ -234,9 +234,9 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "46baed38b4d810801853e51afe8b5a6b006a980b", + "sha1": "079ec85c5b3e57a5f3787ba07bf4c02a05bca318", "gitDir": "test/corpus/repos/ruby", - "sha2": "4ea6c6da21d47d7224e5837f47c5e1182b5488f8" + "sha2": "1c404b7be8234f8182250058a73e1b3036f1fb9d" } ,{ "testCaseDescription": "ruby-comparision-operator-delete-rest-test", @@ -280,7 +280,7 @@ "filePaths": [ "comparision-operator.rb" ], - "sha1": "4ea6c6da21d47d7224e5837f47c5e1182b5488f8", + "sha1": "1c404b7be8234f8182250058a73e1b3036f1fb9d", "gitDir": "test/corpus/repos/ruby", - "sha2": "dc85ccb5227140ca0b76c3ac987e28df6ef67efc" + "sha2": "27f09c09071a5a4b8a1215837e27b9f0f433098a" }] diff --git a/test/corpus/diff-summaries/ruby/conditional_assignment.json b/test/corpus/diff-summaries/ruby/conditional_assignment.json index d7728d5af..faf4f9645 100644 --- a/test/corpus/diff-summaries/ruby/conditional_assignment.json +++ b/test/corpus/diff-summaries/ruby/conditional_assignment.json @@ -25,9 +25,9 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "f2e8ebadc1d35b1d4f80edc510f2b8b9b7bbe02d", + "sha1": "c1b7a14d904c1a3cc8f25c1c09aae9b07f211af7", "gitDir": "test/corpus/repos/ruby", - "sha2": "262b219d5d17ad522a2a365460635565050b8303" + "sha2": "43008d9ae201807d137418838946495ec164d045" } ,{ "testCaseDescription": "ruby-conditional_assignment-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "262b219d5d17ad522a2a365460635565050b8303", + "sha1": "43008d9ae201807d137418838946495ec164d045", "gitDir": "test/corpus/repos/ruby", - "sha2": "1dc34901b7c7f5e0f45e46239d1ec0052fb26611" + "sha2": "0b2952d33712f1d559cd20de5d3f7aef56cd7236" } ,{ "testCaseDescription": "ruby-conditional_assignment-delete-insert-test", @@ -114,9 +114,9 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "1dc34901b7c7f5e0f45e46239d1ec0052fb26611", + "sha1": "0b2952d33712f1d559cd20de5d3f7aef56cd7236", "gitDir": "test/corpus/repos/ruby", - "sha2": "a40fb88d0146ea580092a219a3168c31ac711209" + "sha2": "1b5ca359323bc7ee2636f21879822ae2c9f725c6" } ,{ "testCaseDescription": "ruby-conditional_assignment-replacement-test", @@ -157,9 +157,9 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "a40fb88d0146ea580092a219a3168c31ac711209", + "sha1": "1b5ca359323bc7ee2636f21879822ae2c9f725c6", "gitDir": "test/corpus/repos/ruby", - "sha2": "cd9d717e73b0aafe97f5727c4f5af871712a340a" + "sha2": "bacf89bbc692e516f45ab6e7f11fe95eb44b1110" } ,{ "testCaseDescription": "ruby-conditional_assignment-delete-replacement-test", @@ -218,9 +218,9 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "cd9d717e73b0aafe97f5727c4f5af871712a340a", + "sha1": "bacf89bbc692e516f45ab6e7f11fe95eb44b1110", "gitDir": "test/corpus/repos/ruby", - "sha2": "cb3cc95038bfc4c0196a065758bf5951b48a84b3" + "sha2": "cfcfea6604b0b2318cf6214b3ee18989c7e69c0d" } ,{ "testCaseDescription": "ruby-conditional_assignment-delete-test", @@ -249,9 +249,9 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "cb3cc95038bfc4c0196a065758bf5951b48a84b3", + "sha1": "cfcfea6604b0b2318cf6214b3ee18989c7e69c0d", "gitDir": "test/corpus/repos/ruby", - "sha2": "036e61efc4e593325dbe86ead3503fcba863a35c" + "sha2": "00b6d4b86c818441ef3f8557326b38018f946507" } ,{ "testCaseDescription": "ruby-conditional_assignment-delete-rest-test", @@ -280,7 +280,7 @@ "filePaths": [ "conditional_assignment.rb" ], - "sha1": "036e61efc4e593325dbe86ead3503fcba863a35c", + "sha1": "00b6d4b86c818441ef3f8557326b38018f946507", "gitDir": "test/corpus/repos/ruby", - "sha2": "c227c00365e4313912c8b4a214004baa5ddcae39" + "sha2": "3fe37d3d597c402da8ff7bb81b8ffe78641100ef" }] diff --git a/test/corpus/diff-summaries/ruby/delimiter.json b/test/corpus/diff-summaries/ruby/delimiter.json index 55054c620..0327a8c56 100644 --- a/test/corpus/diff-summaries/ruby/delimiter.json +++ b/test/corpus/diff-summaries/ruby/delimiter.json @@ -100,9 +100,9 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "abb843c1890ca2a3a55dc3b547a09457663fad8d", + "sha1": "7d5dd8ef0ca2b82df2ef6f74c13b70a291e2e62e", "gitDir": "test/corpus/repos/ruby", - "sha2": "d2b7325ef245248410ff3115abb7c4e4c6576914" + "sha2": "43b156792620ed31b0dc280254706f5060293276" } ,{ "testCaseDescription": "ruby-delimiter-replacement-insert-test", @@ -296,9 +296,9 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "d2b7325ef245248410ff3115abb7c4e4c6576914", + "sha1": "43b156792620ed31b0dc280254706f5060293276", "gitDir": "test/corpus/repos/ruby", - "sha2": "b730c673582a95e815ab2a4b6a1f48b6d23668c3" + "sha2": "b546eddf52b93137fb4eefd66ee0ae3345d73678" } ,{ "testCaseDescription": "ruby-delimiter-delete-insert-test", @@ -489,9 +489,9 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "b730c673582a95e815ab2a4b6a1f48b6d23668c3", + "sha1": "b546eddf52b93137fb4eefd66ee0ae3345d73678", "gitDir": "test/corpus/repos/ruby", - "sha2": "04112a0997affc152d84b36a58aea85230263dde" + "sha2": "e7ae458a782c58b2248f1beb19763f8b4481dc11" } ,{ "testCaseDescription": "ruby-delimiter-replacement-test", @@ -676,9 +676,9 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "04112a0997affc152d84b36a58aea85230263dde", + "sha1": "e7ae458a782c58b2248f1beb19763f8b4481dc11", "gitDir": "test/corpus/repos/ruby", - "sha2": "e1ccb03e711c6c06314329fb65f4bc22d6356580" + "sha2": "95fe736d37bbdf02b46912bd03e6f849b18eaae3" } ,{ "testCaseDescription": "ruby-delimiter-delete-replacement-test", @@ -962,9 +962,9 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "e1ccb03e711c6c06314329fb65f4bc22d6356580", + "sha1": "95fe736d37bbdf02b46912bd03e6f849b18eaae3", "gitDir": "test/corpus/repos/ruby", - "sha2": "83648afb6bea0fb6b8cf7c11d9c5e7fca3fcba8f" + "sha2": "8c21ac7102ad870ea705f9abc7bbf53b737dac99" } ,{ "testCaseDescription": "ruby-delimiter-delete-test", @@ -1068,9 +1068,9 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "83648afb6bea0fb6b8cf7c11d9c5e7fca3fcba8f", + "sha1": "8c21ac7102ad870ea705f9abc7bbf53b737dac99", "gitDir": "test/corpus/repos/ruby", - "sha2": "1ac79d386e5a27da71410e711eb7c332baacada0" + "sha2": "eff33650c0ef02b3e18dd7031d57ccc5551d890f" } ,{ "testCaseDescription": "ruby-delimiter-delete-rest-test", @@ -1174,7 +1174,7 @@ "filePaths": [ "delimiter.rb" ], - "sha1": "1ac79d386e5a27da71410e711eb7c332baacada0", + "sha1": "eff33650c0ef02b3e18dd7031d57ccc5551d890f", "gitDir": "test/corpus/repos/ruby", - "sha2": "373ab541deec6987982cdfbbd9fd506e92f27cb0" + "sha2": "494b30c8648d0c29e8953954ba4b51c70ef6a371" }] diff --git a/test/corpus/diff-summaries/ruby/for.json b/test/corpus/diff-summaries/ruby/for.json new file mode 100644 index 000000000..ab93bcc0c --- /dev/null +++ b/test/corpus/diff-summaries/ruby/for.json @@ -0,0 +1,286 @@ +[{ + "testCaseDescription": "ruby-for-insert-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "insert": { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + }, + "summary": "Added the 'x in y' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "f98ffefc4f6e1479e9babc4aeb6603b43f96bd92", + "gitDir": "test/corpus/repos/ruby", + "sha2": "e3e49ade62b9d3eab98ff7b6b05dab3040d1df25" +} +,{ + "testCaseDescription": "ruby-for-replacement-insert-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "insert": { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + }, + "summary": "Added the 'i in [1,2,3]' for statement" + }, + { + "span": { + "insert": { + "start": [ + 4, + 1 + ], + "end": [ + 6, + 4 + ] + } + }, + "summary": "Added the 'x in y' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "e3e49ade62b9d3eab98ff7b6b05dab3040d1df25", + "gitDir": "test/corpus/repos/ruby", + "sha2": "e780ec910b232443684c1b566939430e6b74001a" +} +,{ + "testCaseDescription": "ruby-for-delete-insert-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "replace": [ + { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + }, + { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + ] + }, + "summary": "Replaced the 'i in [1,2,3]' for statement with the 'x in y' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "e780ec910b232443684c1b566939430e6b74001a", + "gitDir": "test/corpus/repos/ruby", + "sha2": "6bab2e7507a99a61fd3b465113210e5f685c4ee6" +} +,{ + "testCaseDescription": "ruby-for-replacement-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "replace": [ + { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + }, + { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + ] + }, + "summary": "Replaced the 'x in y' for statement with the 'i in [1,2,3]' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "6bab2e7507a99a61fd3b465113210e5f685c4ee6", + "gitDir": "test/corpus/repos/ruby", + "sha2": "6afc14710e97d00d714bd28945d674871f3635a8" +} +,{ + "testCaseDescription": "ruby-for-delete-replacement-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "delete": { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + }, + "summary": "Deleted the 'i in [1,2,3]' for statement" + }, + { + "span": { + "delete": { + "start": [ + 4, + 1 + ], + "end": [ + 6, + 4 + ] + } + }, + "summary": "Deleted the 'x in y' for statement" + }, + { + "span": { + "insert": { + "start": [ + 4, + 1 + ], + "end": [ + 6, + 4 + ] + } + }, + "summary": "Added the 'i in [1,2,3]' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "6afc14710e97d00d714bd28945d674871f3635a8", + "gitDir": "test/corpus/repos/ruby", + "sha2": "b3cda7c34fb9b911b8e4b7aed76bc65548d8a944" +} +,{ + "testCaseDescription": "ruby-for-delete-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "delete": { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + }, + "summary": "Deleted the 'x in y' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "b3cda7c34fb9b911b8e4b7aed76bc65548d8a944", + "gitDir": "test/corpus/repos/ruby", + "sha2": "8d1d7c23d2195d6482cedeae176c7bd75fb8f703" +} +,{ + "testCaseDescription": "ruby-for-delete-rest-test", + "expectedResult": { + "changes": { + "for.rb": [ + { + "span": { + "delete": { + "start": [ + 1, + 1 + ], + "end": [ + 3, + 4 + ] + } + }, + "summary": "Deleted the 'i in [1,2,3]' for statement" + } + ] + }, + "errors": {} + }, + "filePaths": [ + "for.rb" + ], + "sha1": "8d1d7c23d2195d6482cedeae176c7bd75fb8f703", + "gitDir": "test/corpus/repos/ruby", + "sha2": "09a0c42b5ca283bcf37028cd916f12b3d621f02e" +}] diff --git a/test/corpus/diff-summaries/ruby/hash.json b/test/corpus/diff-summaries/ruby/hash.json index e8dbe9102..c3aeaf258 100644 --- a/test/corpus/diff-summaries/ruby/hash.json +++ b/test/corpus/diff-summaries/ruby/hash.json @@ -25,9 +25,9 @@ "filePaths": [ "hash.rb" ], - "sha1": "0c5adf2d41bac7223c2036085974b4b2e877759a", + "sha1": "39370fd2c53fb0727cb53346182cded1a85ec9d6", "gitDir": "test/corpus/repos/ruby", - "sha2": "35ab5d430bc093a4c7f1f0fe7b1a3aa738c94952" + "sha2": "ce642fb7f9c5fb2cb23df95680be0579fb6f399e" } ,{ "testCaseDescription": "ruby-hash-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "hash.rb" ], - "sha1": "35ab5d430bc093a4c7f1f0fe7b1a3aa738c94952", + "sha1": "ce642fb7f9c5fb2cb23df95680be0579fb6f399e", "gitDir": "test/corpus/repos/ruby", - "sha2": "2054470c327d41d291aa129f4dfc8b368688a176" + "sha2": "20af4673ecbfd8a9a0515cadb3453bc2590d300d" } ,{ "testCaseDescription": "ruby-hash-delete-insert-test", @@ -186,9 +186,9 @@ "filePaths": [ "hash.rb" ], - "sha1": "2054470c327d41d291aa129f4dfc8b368688a176", + "sha1": "20af4673ecbfd8a9a0515cadb3453bc2590d300d", "gitDir": "test/corpus/repos/ruby", - "sha2": "0f2366600254c5862b3f4fe710f3bb10f33dca37" + "sha2": "431a6513493e27590f960a7bc1bff2fd6badf299" } ,{ "testCaseDescription": "ruby-hash-replacement-test", @@ -301,9 +301,9 @@ "filePaths": [ "hash.rb" ], - "sha1": "0f2366600254c5862b3f4fe710f3bb10f33dca37", + "sha1": "431a6513493e27590f960a7bc1bff2fd6badf299", "gitDir": "test/corpus/repos/ruby", - "sha2": "cea26463b77bb11904d59605eddd52d7354221f9" + "sha2": "1e399101cfc826e467094a8e6404b5ec7ca2caf2" } ,{ "testCaseDescription": "ruby-hash-delete-replacement-test", @@ -362,9 +362,9 @@ "filePaths": [ "hash.rb" ], - "sha1": "cea26463b77bb11904d59605eddd52d7354221f9", + "sha1": "1e399101cfc826e467094a8e6404b5ec7ca2caf2", "gitDir": "test/corpus/repos/ruby", - "sha2": "3d3d28995f0159f0d88a7516687f0dca9ef10d78" + "sha2": "28439fdfea7c94f8a00655c23c60958de6602612" } ,{ "testCaseDescription": "ruby-hash-delete-test", @@ -393,9 +393,9 @@ "filePaths": [ "hash.rb" ], - "sha1": "3d3d28995f0159f0d88a7516687f0dca9ef10d78", + "sha1": "28439fdfea7c94f8a00655c23c60958de6602612", "gitDir": "test/corpus/repos/ruby", - "sha2": "5d663213b9d5967bb57f2706ac954878a8fcf46b" + "sha2": "f492c0d71d5c5f19da814d5ae7c9a99b85f11186" } ,{ "testCaseDescription": "ruby-hash-delete-rest-test", @@ -424,7 +424,7 @@ "filePaths": [ "hash.rb" ], - "sha1": "5d663213b9d5967bb57f2706ac954878a8fcf46b", + "sha1": "f492c0d71d5c5f19da814d5ae7c9a99b85f11186", "gitDir": "test/corpus/repos/ruby", - "sha2": "63f19b4a23a480e4d12e0d0870bf83bf4f3bd994" + "sha2": "b4573751c3327f057c7462a2a3316d096162a3a1" }] diff --git a/test/corpus/diff-summaries/ruby/if-unless-modifiers.json b/test/corpus/diff-summaries/ruby/if-unless-modifiers.json index 7ae220df5..484129bbe 100644 --- a/test/corpus/diff-summaries/ruby/if-unless-modifiers.json +++ b/test/corpus/diff-summaries/ruby/if-unless-modifiers.json @@ -25,9 +25,9 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "e5f91fa8a9472bd4f913919d53f81feb07f00c0c", + "sha1": "cd14ab159a72c2a383cb89c4fa126cf6e3ed3fc7", "gitDir": "test/corpus/repos/ruby", - "sha2": "f3d9546841fac453fd093a279e20ec9fa8d0fe53" + "sha2": "379c3de6d30d2bd8933f16e4389347fc6f907d9b" } ,{ "testCaseDescription": "ruby-if-unless-modifiers-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "f3d9546841fac453fd093a279e20ec9fa8d0fe53", + "sha1": "379c3de6d30d2bd8933f16e4389347fc6f907d9b", "gitDir": "test/corpus/repos/ruby", - "sha2": "de35bee5777399797e8e9db15a7892739835fc9d" + "sha2": "66dde35b0f59971de3fad8d69291b9c77f6435de" } ,{ "testCaseDescription": "ruby-if-unless-modifiers-delete-insert-test", @@ -117,9 +117,9 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "de35bee5777399797e8e9db15a7892739835fc9d", + "sha1": "66dde35b0f59971de3fad8d69291b9c77f6435de", "gitDir": "test/corpus/repos/ruby", - "sha2": "8bad908b172e633d51a90fbdf96379a572a78a7a" + "sha2": "c5bc52876aa85c72988511a5bd53f29b9afcb000" } ,{ "testCaseDescription": "ruby-if-unless-modifiers-replacement-test", @@ -163,9 +163,9 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "8bad908b172e633d51a90fbdf96379a572a78a7a", + "sha1": "c5bc52876aa85c72988511a5bd53f29b9afcb000", "gitDir": "test/corpus/repos/ruby", - "sha2": "c049ef64b115ff1af3f68f80ba97f63ab37be01e" + "sha2": "4ea81ee7ddab11cc6f771536d6dec81923047231" } ,{ "testCaseDescription": "ruby-if-unless-modifiers-delete-replacement-test", @@ -224,9 +224,9 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "c049ef64b115ff1af3f68f80ba97f63ab37be01e", + "sha1": "4ea81ee7ddab11cc6f771536d6dec81923047231", "gitDir": "test/corpus/repos/ruby", - "sha2": "f730d4f0a96c72df201a2405dc55979c43281e41" + "sha2": "740ac0896e9cafc9d0f316685421e52343f62431" } ,{ "testCaseDescription": "ruby-if-unless-modifiers-delete-test", @@ -255,9 +255,9 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "f730d4f0a96c72df201a2405dc55979c43281e41", + "sha1": "740ac0896e9cafc9d0f316685421e52343f62431", "gitDir": "test/corpus/repos/ruby", - "sha2": "914ccd98aa807ed7bf1bd13ad9b9342351eae54d" + "sha2": "1b4a227beec5259338a16a0b0f043e32fbb5e1b5" } ,{ "testCaseDescription": "ruby-if-unless-modifiers-delete-rest-test", @@ -286,7 +286,7 @@ "filePaths": [ "if-unless-modifiers.rb" ], - "sha1": "914ccd98aa807ed7bf1bd13ad9b9342351eae54d", + "sha1": "1b4a227beec5259338a16a0b0f043e32fbb5e1b5", "gitDir": "test/corpus/repos/ruby", - "sha2": "a84e0f13105ce38b9719536c8a69431dcf621d61" + "sha2": "3cd0c5602b4b2f7cee84ab107120f2aa60b15c8c" }] diff --git a/test/corpus/diff-summaries/ruby/if.json b/test/corpus/diff-summaries/ruby/if.json index a1fa85826..81e579632 100644 --- a/test/corpus/diff-summaries/ruby/if.json +++ b/test/corpus/diff-summaries/ruby/if.json @@ -25,9 +25,9 @@ "filePaths": [ "if.rb" ], - "sha1": "f1de4246afdf907f460eadfe3074a290648ca505", + "sha1": "596e6d8e917c6812d54b92ea7196ef1c5d6c320d", "gitDir": "test/corpus/repos/ruby", - "sha2": "6b2b8b89660b3b0ee9e76b0452db251519c63f50" + "sha2": "3a72fc590863d22c0aa21371323eb2dff883e7ae" } ,{ "testCaseDescription": "ruby-if-replacement-insert-test", @@ -86,9 +86,9 @@ "filePaths": [ "if.rb" ], - "sha1": "6b2b8b89660b3b0ee9e76b0452db251519c63f50", + "sha1": "3a72fc590863d22c0aa21371323eb2dff883e7ae", "gitDir": "test/corpus/repos/ruby", - "sha2": "969944ec98fdcaf8f26c1cd382fca300cce3802e" + "sha2": "10bfb087c99ffc37f66ac6fa8542317b6f60de42" } ,{ "testCaseDescription": "ruby-if-delete-insert-test", @@ -216,9 +216,9 @@ "filePaths": [ "if.rb" ], - "sha1": "969944ec98fdcaf8f26c1cd382fca300cce3802e", + "sha1": "10bfb087c99ffc37f66ac6fa8542317b6f60de42", "gitDir": "test/corpus/repos/ruby", - "sha2": "c4810324c5665cd2f39fcf9549685cc92deda9ab" + "sha2": "1162c9b0679196295dfcba620a5ad361ac94de64" } ,{ "testCaseDescription": "ruby-if-replacement-test", @@ -346,9 +346,9 @@ "filePaths": [ "if.rb" ], - "sha1": "c4810324c5665cd2f39fcf9549685cc92deda9ab", + "sha1": "1162c9b0679196295dfcba620a5ad361ac94de64", "gitDir": "test/corpus/repos/ruby", - "sha2": "4fc76528420e6f75eab63a4b8d06d23631c730a0" + "sha2": "f2868827adb023294aa73f65780c893d0ad109ff" } ,{ "testCaseDescription": "ruby-if-delete-replacement-test", @@ -377,9 +377,9 @@ "filePaths": [ "if.rb" ], - "sha1": "4fc76528420e6f75eab63a4b8d06d23631c730a0", + "sha1": "f2868827adb023294aa73f65780c893d0ad109ff", "gitDir": "test/corpus/repos/ruby", - "sha2": "c2828d61d9d040c643ea66fa8d520c95c4547a75" + "sha2": "ce645f326e1ec0ee7531341890a897acbec321fc" } ,{ "testCaseDescription": "ruby-if-delete-test", @@ -408,9 +408,9 @@ "filePaths": [ "if.rb" ], - "sha1": "c2828d61d9d040c643ea66fa8d520c95c4547a75", + "sha1": "ce645f326e1ec0ee7531341890a897acbec321fc", "gitDir": "test/corpus/repos/ruby", - "sha2": "afacc72ff7a6001851536e3f3922a3a299887e0d" + "sha2": "fe61438e066aec366c691d2f56b9cb72498f9b02" } ,{ "testCaseDescription": "ruby-if-delete-rest-test", @@ -454,7 +454,7 @@ "filePaths": [ "if.rb" ], - "sha1": "afacc72ff7a6001851536e3f3922a3a299887e0d", + "sha1": "fe61438e066aec366c691d2f56b9cb72498f9b02", "gitDir": "test/corpus/repos/ruby", - "sha2": "9bef18b9a0f7469bdc1d3df685726cf857a5f129" + "sha2": "7340d1b1527c380aeb2eed40391ff47c05a41f5d" }] diff --git a/test/corpus/diff-summaries/ruby/interpolation.json b/test/corpus/diff-summaries/ruby/interpolation.json index 926a47c43..26a2fa24b 100644 --- a/test/corpus/diff-summaries/ruby/interpolation.json +++ b/test/corpus/diff-summaries/ruby/interpolation.json @@ -40,9 +40,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "c4feb251dc42870640b08c70b514d318cfe781bd", + "sha1": "aea601866033d086bde79a5d03ecea338848579b", "gitDir": "test/corpus/repos/ruby", - "sha2": "9b0abb2603738ffae375d86a0bab627208acaa9c" + "sha2": "fbca968fe7ba57e0d922bb406b68354064ad01dd" } ,{ "testCaseDescription": "ruby-interpolation-replacement-insert-test", @@ -116,9 +116,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "9b0abb2603738ffae375d86a0bab627208acaa9c", + "sha1": "fbca968fe7ba57e0d922bb406b68354064ad01dd", "gitDir": "test/corpus/repos/ruby", - "sha2": "56753b39bff5627d4c8805a3f5f4caaca8bdc50c" + "sha2": "011929d92935e53c4c48dc590433c6ff96f79d6c" } ,{ "testCaseDescription": "ruby-interpolation-delete-insert-test", @@ -186,9 +186,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "56753b39bff5627d4c8805a3f5f4caaca8bdc50c", + "sha1": "011929d92935e53c4c48dc590433c6ff96f79d6c", "gitDir": "test/corpus/repos/ruby", - "sha2": "fbb5080c999acfc119bd6a0fd7f2049a6acfb532" + "sha2": "77e281346bee5b13d58358e113b2fece7aff0748" } ,{ "testCaseDescription": "ruby-interpolation-replacement-test", @@ -256,9 +256,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "fbb5080c999acfc119bd6a0fd7f2049a6acfb532", + "sha1": "77e281346bee5b13d58358e113b2fece7aff0748", "gitDir": "test/corpus/repos/ruby", - "sha2": "7976e9a2367aa6b51529efdab66cc2b4fe5198d3" + "sha2": "bfe28b687a3f6a81f0609d4061b55b3156736ab3" } ,{ "testCaseDescription": "ruby-interpolation-delete-replacement-test", @@ -362,9 +362,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "7976e9a2367aa6b51529efdab66cc2b4fe5198d3", + "sha1": "bfe28b687a3f6a81f0609d4061b55b3156736ab3", "gitDir": "test/corpus/repos/ruby", - "sha2": "40f4cc06d8028ca55993fd6dbe71b5b4b5d93180" + "sha2": "4f14c53e8c42f6d6bff38845592d7da8022a59b9" } ,{ "testCaseDescription": "ruby-interpolation-delete-test", @@ -408,9 +408,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "40f4cc06d8028ca55993fd6dbe71b5b4b5d93180", + "sha1": "4f14c53e8c42f6d6bff38845592d7da8022a59b9", "gitDir": "test/corpus/repos/ruby", - "sha2": "aa268610f102a3f4b0e06f0f132f9776920492be" + "sha2": "97d8e3ab35ba9751c1f969d68a5a161529ff26af" } ,{ "testCaseDescription": "ruby-interpolation-delete-rest-test", @@ -454,7 +454,7 @@ "filePaths": [ "symbol.rb" ], - "sha1": "aa268610f102a3f4b0e06f0f132f9776920492be", + "sha1": "97d8e3ab35ba9751c1f969d68a5a161529ff26af", "gitDir": "test/corpus/repos/ruby", - "sha2": "abb843c1890ca2a3a55dc3b547a09457663fad8d" + "sha2": "7d5dd8ef0ca2b82df2ef6f74c13b70a291e2e62e" }] diff --git a/test/corpus/diff-summaries/ruby/lambda-dash-rocket.json b/test/corpus/diff-summaries/ruby/lambda-dash-rocket.json index f804a7edc..aa5463a32 100644 --- a/test/corpus/diff-summaries/ruby/lambda-dash-rocket.json +++ b/test/corpus/diff-summaries/ruby/lambda-dash-rocket.json @@ -25,9 +25,9 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "7cb451b01cb4c1eddde132bfd99cad662745a239", + "sha1": "6b12691f9d8fa142b89c383ba3c1caa541078670", "gitDir": "test/corpus/repos/ruby", - "sha2": "a7b24e8c55b6a81f5c17db274eddcd7e123169e9" + "sha2": "8334319e06e2f1cfd31a80722468d4540ac6be8d" } ,{ "testCaseDescription": "ruby-lambda-dash-rocket-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "a7b24e8c55b6a81f5c17db274eddcd7e123169e9", + "sha1": "8334319e06e2f1cfd31a80722468d4540ac6be8d", "gitDir": "test/corpus/repos/ruby", - "sha2": "a81e2ee0fccf03fd464546c3b3ff80b95fed51e1" + "sha2": "c8b10cf7a9dca5687577846bd6cc3123edd825f5" } ,{ "testCaseDescription": "ruby-lambda-dash-rocket-delete-insert-test", @@ -114,9 +114,9 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "a81e2ee0fccf03fd464546c3b3ff80b95fed51e1", + "sha1": "c8b10cf7a9dca5687577846bd6cc3123edd825f5", "gitDir": "test/corpus/repos/ruby", - "sha2": "305c4e2f71a9e5a3cc718c7297ec80c95c79d5d2" + "sha2": "c00fa00b907877dc9b60a8010a0a1a452069daea" } ,{ "testCaseDescription": "ruby-lambda-dash-rocket-replacement-test", @@ -157,9 +157,9 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "305c4e2f71a9e5a3cc718c7297ec80c95c79d5d2", + "sha1": "c00fa00b907877dc9b60a8010a0a1a452069daea", "gitDir": "test/corpus/repos/ruby", - "sha2": "f53337b8307d26cf90601e72486f969501b36758" + "sha2": "a64ec24e89a5f19a2d4d3dcb722299b6524466b9" } ,{ "testCaseDescription": "ruby-lambda-dash-rocket-delete-replacement-test", @@ -218,9 +218,9 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "f53337b8307d26cf90601e72486f969501b36758", + "sha1": "a64ec24e89a5f19a2d4d3dcb722299b6524466b9", "gitDir": "test/corpus/repos/ruby", - "sha2": "303643460149af98f21f33fdfbfaac05918c5185" + "sha2": "90b368c40d2af29a5fdefb63fa6a18cca3d52f79" } ,{ "testCaseDescription": "ruby-lambda-dash-rocket-delete-test", @@ -249,9 +249,9 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "303643460149af98f21f33fdfbfaac05918c5185", + "sha1": "90b368c40d2af29a5fdefb63fa6a18cca3d52f79", "gitDir": "test/corpus/repos/ruby", - "sha2": "8325bbcfefda0c2836a9c1ceaa101d5051ace4d2" + "sha2": "25a97a2c7c12d746093e7042815ed2603b97d967" } ,{ "testCaseDescription": "ruby-lambda-dash-rocket-delete-rest-test", @@ -280,7 +280,7 @@ "filePaths": [ "lambda-dash-rocket.rb" ], - "sha1": "8325bbcfefda0c2836a9c1ceaa101d5051ace4d2", + "sha1": "25a97a2c7c12d746093e7042815ed2603b97d967", "gitDir": "test/corpus/repos/ruby", - "sha2": "b36980733a81ff31f4ed514bb037ca7eb4ffa959" + "sha2": "02ecaba524453059d61daa0a218cffd1d2903ba3" }] diff --git a/test/corpus/diff-summaries/ruby/lambda.json b/test/corpus/diff-summaries/ruby/lambda.json index 8efced971..0d075f1e3 100644 --- a/test/corpus/diff-summaries/ruby/lambda.json +++ b/test/corpus/diff-summaries/ruby/lambda.json @@ -25,9 +25,9 @@ "filePaths": [ "lambda.rb" ], - "sha1": "b36980733a81ff31f4ed514bb037ca7eb4ffa959", + "sha1": "02ecaba524453059d61daa0a218cffd1d2903ba3", "gitDir": "test/corpus/repos/ruby", - "sha2": "ddc93877468436184df3851a2560b3a52426dcc3" + "sha2": "722bbeb3cef8e1c1bbd834ceb39d968c4b1bc717" } ,{ "testCaseDescription": "ruby-lambda-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "lambda.rb" ], - "sha1": "ddc93877468436184df3851a2560b3a52426dcc3", + "sha1": "722bbeb3cef8e1c1bbd834ceb39d968c4b1bc717", "gitDir": "test/corpus/repos/ruby", - "sha2": "9c873297e8e7aa034e6c4e3beea264c3be2a1382" + "sha2": "ce093518f72d125982a6afb6bc6fbdf8c3f69e98" } ,{ "testCaseDescription": "ruby-lambda-delete-insert-test", @@ -114,9 +114,9 @@ "filePaths": [ "lambda.rb" ], - "sha1": "9c873297e8e7aa034e6c4e3beea264c3be2a1382", + "sha1": "ce093518f72d125982a6afb6bc6fbdf8c3f69e98", "gitDir": "test/corpus/repos/ruby", - "sha2": "ba3cc098f6ca15243568f8fc29fd398980a724f4" + "sha2": "986fceacbde7e98898efc0f1e111119d99b3065f" } ,{ "testCaseDescription": "ruby-lambda-replacement-test", @@ -157,9 +157,9 @@ "filePaths": [ "lambda.rb" ], - "sha1": "ba3cc098f6ca15243568f8fc29fd398980a724f4", + "sha1": "986fceacbde7e98898efc0f1e111119d99b3065f", "gitDir": "test/corpus/repos/ruby", - "sha2": "229035a27d27aa8f40b93a192a7646a477da71be" + "sha2": "ddd97500f33909cf592f7ed04d500b9c301916b4" } ,{ "testCaseDescription": "ruby-lambda-delete-replacement-test", @@ -218,9 +218,9 @@ "filePaths": [ "lambda.rb" ], - "sha1": "229035a27d27aa8f40b93a192a7646a477da71be", + "sha1": "ddd97500f33909cf592f7ed04d500b9c301916b4", "gitDir": "test/corpus/repos/ruby", - "sha2": "bf3d7c49bfef739f7db38b21a5a79134956e98e6" + "sha2": "b5ae5db3438aff689a65ca9c11e313f42977d43d" } ,{ "testCaseDescription": "ruby-lambda-delete-test", @@ -249,9 +249,9 @@ "filePaths": [ "lambda.rb" ], - "sha1": "bf3d7c49bfef739f7db38b21a5a79134956e98e6", + "sha1": "b5ae5db3438aff689a65ca9c11e313f42977d43d", "gitDir": "test/corpus/repos/ruby", - "sha2": "96f9c1fa9b0995575497448241599c0e4a351e91" + "sha2": "39e9cebeda23f0a2be7daa272a92358fc4b1683c" } ,{ "testCaseDescription": "ruby-lambda-delete-rest-test", @@ -280,7 +280,7 @@ "filePaths": [ "lambda.rb" ], - "sha1": "96f9c1fa9b0995575497448241599c0e4a351e91", + "sha1": "39e9cebeda23f0a2be7daa272a92358fc4b1683c", "gitDir": "test/corpus/repos/ruby", - "sha2": "f679bf7edf87bd0fca0ebb80668a5a7bfb841337" + "sha2": "fef9db3098a17fb9a80aba0913c71bee28f46144" }] diff --git a/test/corpus/diff-summaries/ruby/math_assignment.json b/test/corpus/diff-summaries/ruby/math_assignment.json index 0c5e566d0..5aaf8fba4 100644 --- a/test/corpus/diff-summaries/ruby/math_assignment.json +++ b/test/corpus/diff-summaries/ruby/math_assignment.json @@ -85,9 +85,9 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "373ab541deec6987982cdfbbd9fd506e92f27cb0", + "sha1": "494b30c8648d0c29e8953954ba4b51c70ef6a371", "gitDir": "test/corpus/repos/ruby", - "sha2": "a88cedb7281aca728c86fd38044715bf04f9d556" + "sha2": "59dbe52a987027ab6e97225169dbe92ff801943a" } ,{ "testCaseDescription": "ruby-math_assignment-replacement-insert-test", @@ -251,9 +251,9 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "a88cedb7281aca728c86fd38044715bf04f9d556", + "sha1": "59dbe52a987027ab6e97225169dbe92ff801943a", "gitDir": "test/corpus/repos/ruby", - "sha2": "0b912722ef1c49d7eabf4bf8128e7d5cea0e4729" + "sha2": "892651be7422ca92fa56fc0389196b2946dfe869" } ,{ "testCaseDescription": "ruby-math_assignment-delete-insert-test", @@ -294,9 +294,9 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "0b912722ef1c49d7eabf4bf8128e7d5cea0e4729", + "sha1": "892651be7422ca92fa56fc0389196b2946dfe869", "gitDir": "test/corpus/repos/ruby", - "sha2": "051f78d36c9e5d714024b79540d1cb138ecb4e7d" + "sha2": "6a000d4cec10c4203c4a89557b82f1ba47d49afd" } ,{ "testCaseDescription": "ruby-math_assignment-replacement-test", @@ -337,9 +337,9 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "051f78d36c9e5d714024b79540d1cb138ecb4e7d", + "sha1": "6a000d4cec10c4203c4a89557b82f1ba47d49afd", "gitDir": "test/corpus/repos/ruby", - "sha2": "f35799035aad2201d6368f78ff28f5ae2579aba4" + "sha2": "10bec13947e7749d75a608e4009ccd4b6c96e314" } ,{ "testCaseDescription": "ruby-math_assignment-delete-replacement-test", @@ -458,9 +458,9 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "f35799035aad2201d6368f78ff28f5ae2579aba4", + "sha1": "10bec13947e7749d75a608e4009ccd4b6c96e314", "gitDir": "test/corpus/repos/ruby", - "sha2": "443dcbaa732ad9f039bd6b252d3f1a10fddeed86" + "sha2": "d61583d9c5e5aa41ee478cd3bb8c1376f88566f1" } ,{ "testCaseDescription": "ruby-math_assignment-delete-test", @@ -549,9 +549,9 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "443dcbaa732ad9f039bd6b252d3f1a10fddeed86", + "sha1": "d61583d9c5e5aa41ee478cd3bb8c1376f88566f1", "gitDir": "test/corpus/repos/ruby", - "sha2": "1411e8116eac473060be85825e9d7995d034fbfb" + "sha2": "96677dc6202888ca78c5047e9dd88bf3aed342a7" } ,{ "testCaseDescription": "ruby-math_assignment-delete-rest-test", @@ -640,7 +640,7 @@ "filePaths": [ "math_assignment.rb" ], - "sha1": "1411e8116eac473060be85825e9d7995d034fbfb", + "sha1": "96677dc6202888ca78c5047e9dd88bf3aed342a7", "gitDir": "test/corpus/repos/ruby", - "sha2": "f2e8ebadc1d35b1d4f80edc510f2b8b9b7bbe02d" + "sha2": "c1b7a14d904c1a3cc8f25c1c09aae9b07f211af7" }] diff --git a/test/corpus/diff-summaries/ruby/method-invocation.json b/test/corpus/diff-summaries/ruby/method-invocation.json index 5d3a633eb..864df43ca 100644 --- a/test/corpus/diff-summaries/ruby/method-invocation.json +++ b/test/corpus/diff-summaries/ruby/method-invocation.json @@ -55,9 +55,9 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "f20bca594cf8dd5530687a2b5fca8bdd781d3fd4", + "sha1": "442cf6f3f441a6bce079bf224ea6fc851998b2a3", "gitDir": "test/corpus/repos/ruby", - "sha2": "67ffec884d2e1eb69cecb127cc5c589acd1dbae2" + "sha2": "448fa9a3e9322c325fa8d6d9dfa4c2f7d81b7876" } ,{ "testCaseDescription": "ruby-method-invocation-replacement-insert-test", @@ -176,9 +176,9 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "67ffec884d2e1eb69cecb127cc5c589acd1dbae2", + "sha1": "448fa9a3e9322c325fa8d6d9dfa4c2f7d81b7876", "gitDir": "test/corpus/repos/ruby", - "sha2": "76ab7763b3ff8f29fa169aaf041e145658e02044" + "sha2": "7dd2143a9cd90d19e7c65e9022fb2621285ea700" } ,{ "testCaseDescription": "ruby-method-invocation-delete-insert-test", @@ -297,9 +297,9 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "76ab7763b3ff8f29fa169aaf041e145658e02044", + "sha1": "7dd2143a9cd90d19e7c65e9022fb2621285ea700", "gitDir": "test/corpus/repos/ruby", - "sha2": "765eb73e4d62241068265dc2ec8101dae8fbc7ca" + "sha2": "4a21e513f825d183ff527b748112897db50dd2f9" } ,{ "testCaseDescription": "ruby-method-invocation-replacement-test", @@ -418,9 +418,9 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "765eb73e4d62241068265dc2ec8101dae8fbc7ca", + "sha1": "4a21e513f825d183ff527b748112897db50dd2f9", "gitDir": "test/corpus/repos/ruby", - "sha2": "25b651a33948b9f5eb699efd9d01a15629822b56" + "sha2": "3c1a353255a95d1d12dcd78260cb18a98c6924a1" } ,{ "testCaseDescription": "ruby-method-invocation-delete-replacement-test", @@ -479,9 +479,9 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "25b651a33948b9f5eb699efd9d01a15629822b56", + "sha1": "3c1a353255a95d1d12dcd78260cb18a98c6924a1", "gitDir": "test/corpus/repos/ruby", - "sha2": "f2e4542def4af274e2ca95daed98d105c773b39f" + "sha2": "5c72ad8c8556e59702bb84ac80e1ac0147d7f75f" } ,{ "testCaseDescription": "ruby-method-invocation-delete-test", @@ -540,9 +540,9 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "f2e4542def4af274e2ca95daed98d105c773b39f", + "sha1": "5c72ad8c8556e59702bb84ac80e1ac0147d7f75f", "gitDir": "test/corpus/repos/ruby", - "sha2": "c620dfb166b2a928e37860b74a1e197d351f0436" + "sha2": "49a56c097a2beca870544f12aa85dfa22a9a7f8f" } ,{ "testCaseDescription": "ruby-method-invocation-delete-rest-test", @@ -616,7 +616,7 @@ "filePaths": [ "method-invocation.rb" ], - "sha1": "c620dfb166b2a928e37860b74a1e197d351f0436", + "sha1": "49a56c097a2beca870544f12aa85dfa22a9a7f8f", "gitDir": "test/corpus/repos/ruby", - "sha2": "6b42baf03f8ceaac2256af1e96b0272312ae32f6" + "sha2": "35accad1a4b301d625ef28d0d0c69d6795c4d147" }] diff --git a/test/corpus/diff-summaries/ruby/multiple_assignments.json b/test/corpus/diff-summaries/ruby/multiple_assignments.json index 0fabfb2d5..8efcbdca6 100644 --- a/test/corpus/diff-summaries/ruby/multiple_assignments.json +++ b/test/corpus/diff-summaries/ruby/multiple_assignments.json @@ -25,9 +25,9 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "c227c00365e4313912c8b4a214004baa5ddcae39", + "sha1": "3fe37d3d597c402da8ff7bb81b8ffe78641100ef", "gitDir": "test/corpus/repos/ruby", - "sha2": "be49cd0f162633f56c20825b8af6604be8d6bc76" + "sha2": "0eb822171cf154040db89c6278c7d51d724a0947" } ,{ "testCaseDescription": "ruby-multiple_assignments-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "be49cd0f162633f56c20825b8af6604be8d6bc76", + "sha1": "0eb822171cf154040db89c6278c7d51d724a0947", "gitDir": "test/corpus/repos/ruby", - "sha2": "8b7a51c79d306d429c6af738adf1b58f6b36829d" + "sha2": "a3ebde8a8faee9f71bc549486811bdb142e6d6b8" } ,{ "testCaseDescription": "ruby-multiple_assignments-delete-insert-test", @@ -189,9 +189,9 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "8b7a51c79d306d429c6af738adf1b58f6b36829d", + "sha1": "a3ebde8a8faee9f71bc549486811bdb142e6d6b8", "gitDir": "test/corpus/repos/ruby", - "sha2": "0b07f99e12874c66beaf7dbb4b2b479e1e8a2ae9" + "sha2": "756938eeb8b40a5c1bb40d9d612f7bff74fc0904" } ,{ "testCaseDescription": "ruby-multiple_assignments-replacement-test", @@ -343,9 +343,9 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "0b07f99e12874c66beaf7dbb4b2b479e1e8a2ae9", + "sha1": "756938eeb8b40a5c1bb40d9d612f7bff74fc0904", "gitDir": "test/corpus/repos/ruby", - "sha2": "2f3847cc60cb3c2f2b704b494d4be347b5046c65" + "sha2": "a11bb9d711854e2355f0bd63e7c9b17c2d605f6d" } ,{ "testCaseDescription": "ruby-multiple_assignments-delete-replacement-test", @@ -404,9 +404,9 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "2f3847cc60cb3c2f2b704b494d4be347b5046c65", + "sha1": "a11bb9d711854e2355f0bd63e7c9b17c2d605f6d", "gitDir": "test/corpus/repos/ruby", - "sha2": "4220b0ed6967277d3d711b23d95002260e65fdb9" + "sha2": "3e8556bec3e2c66a2ec18fd36bbb2d8dd29b623d" } ,{ "testCaseDescription": "ruby-multiple_assignments-delete-test", @@ -435,9 +435,9 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "4220b0ed6967277d3d711b23d95002260e65fdb9", + "sha1": "3e8556bec3e2c66a2ec18fd36bbb2d8dd29b623d", "gitDir": "test/corpus/repos/ruby", - "sha2": "47f86bc96cf773937f4a772b8ed0c99f29a133f2" + "sha2": "b666759aa4d7583dfab2f221754bf911a77a14c9" } ,{ "testCaseDescription": "ruby-multiple_assignments-delete-rest-test", @@ -466,7 +466,7 @@ "filePaths": [ "multiple_assignments.rb" ], - "sha1": "47f86bc96cf773937f4a772b8ed0c99f29a133f2", + "sha1": "b666759aa4d7583dfab2f221754bf911a77a14c9", "gitDir": "test/corpus/repos/ruby", - "sha2": "5f3b32964a73924e10ddf0df643c2c37d3210753" + "sha2": "d0173f76e58a5461bc66d9ddc7dac72cd7084102" }] diff --git a/test/corpus/diff-summaries/ruby/number.json b/test/corpus/diff-summaries/ruby/number.json index aa5f7a97d..a29755f53 100644 --- a/test/corpus/diff-summaries/ruby/number.json +++ b/test/corpus/diff-summaries/ruby/number.json @@ -115,9 +115,9 @@ "filePaths": [ "number.rb" ], - "sha1": "c3e52a2eca6408e04b75857f2aae45c4246b8161", + "sha1": "721178a4e6915cfe5e5d55a8e56a5a343dda363b", "gitDir": "test/corpus/repos/ruby", - "sha2": "08ef441f29c391f39f48a3bebd27fcc3699c6492" + "sha2": "915408552382814109a7de567a7973a975219767" } ,{ "testCaseDescription": "ruby-number-replacement-insert-test", @@ -368,9 +368,9 @@ "filePaths": [ "number.rb" ], - "sha1": "08ef441f29c391f39f48a3bebd27fcc3699c6492", + "sha1": "915408552382814109a7de567a7973a975219767", "gitDir": "test/corpus/repos/ruby", - "sha2": "8314c13dec8bf9af2206c833c29de8acbbf82bc5" + "sha2": "12c7841df78baf4060c774668ac3532699a320b8" } ,{ "testCaseDescription": "ruby-number-delete-insert-test", @@ -594,9 +594,9 @@ "filePaths": [ "number.rb" ], - "sha1": "8314c13dec8bf9af2206c833c29de8acbbf82bc5", + "sha1": "12c7841df78baf4060c774668ac3532699a320b8", "gitDir": "test/corpus/repos/ruby", - "sha2": "859ef9097b1bde85bfc204121f5fd45b70d8e81e" + "sha2": "0fdc68ffd737f87e36e885d0efbb5b68e86e688b" } ,{ "testCaseDescription": "ruby-number-replacement-test", @@ -820,9 +820,9 @@ "filePaths": [ "number.rb" ], - "sha1": "859ef9097b1bde85bfc204121f5fd45b70d8e81e", + "sha1": "0fdc68ffd737f87e36e885d0efbb5b68e86e688b", "gitDir": "test/corpus/repos/ruby", - "sha2": "a5888f806abb25cc9ec3314e8df326462cdc1aab" + "sha2": "0ed87d879ec238bf185ec85457d5476357659ebb" } ,{ "testCaseDescription": "ruby-number-delete-replacement-test", @@ -1181,9 +1181,9 @@ "filePaths": [ "number.rb" ], - "sha1": "a5888f806abb25cc9ec3314e8df326462cdc1aab", + "sha1": "0ed87d879ec238bf185ec85457d5476357659ebb", "gitDir": "test/corpus/repos/ruby", - "sha2": "b17078af6cb38161e4f9199bf8156fe9d81e475f" + "sha2": "77a5a98d138dd3febba530d3d269198aa40c9a39" } ,{ "testCaseDescription": "ruby-number-delete-test", @@ -1332,9 +1332,9 @@ "filePaths": [ "number.rb" ], - "sha1": "b17078af6cb38161e4f9199bf8156fe9d81e475f", + "sha1": "77a5a98d138dd3febba530d3d269198aa40c9a39", "gitDir": "test/corpus/repos/ruby", - "sha2": "7831cd6553ca4998f8c7ef33df43116ff66a8ce8" + "sha2": "71b5d786614af36c1e5d1745f164948f3fcb52d6" } ,{ "testCaseDescription": "ruby-number-delete-rest-test", @@ -1453,7 +1453,7 @@ "filePaths": [ "number.rb" ], - "sha1": "7831cd6553ca4998f8c7ef33df43116ff66a8ce8", + "sha1": "71b5d786614af36c1e5d1745f164948f3fcb52d6", "gitDir": "test/corpus/repos/ruby", - "sha2": "d6aafd4830d9adfb1f5b1b94dce91643bd6895ce" + "sha2": "e0dfc6099a7429dae0135d66d3df7e7efbfb94c7" }] diff --git a/test/corpus/diff-summaries/ruby/percent-array.json b/test/corpus/diff-summaries/ruby/percent-array.json index 1571fb6c4..3b32fb8b8 100644 --- a/test/corpus/diff-summaries/ruby/percent-array.json +++ b/test/corpus/diff-summaries/ruby/percent-array.json @@ -25,9 +25,9 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "5fc3f6d7b885446c581e6ec0df77e57a3028c9a0", + "sha1": "661f67b834295a6814d9997ac10f95c3d7c0c3f6", "gitDir": "test/corpus/repos/ruby", - "sha2": "8505796837ab1d2f40ec7d147c7bd5fed09a9261" + "sha2": "67bb5800ffde3f4bd8fc0abc4d2a34abf668bb26" } ,{ "testCaseDescription": "ruby-percent-array-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "8505796837ab1d2f40ec7d147c7bd5fed09a9261", + "sha1": "67bb5800ffde3f4bd8fc0abc4d2a34abf668bb26", "gitDir": "test/corpus/repos/ruby", - "sha2": "123b2fbf89cd6475d2bf836f3b7abc82852051be" + "sha2": "f779ef8945dc0c37028d7b5e19cb1a0e0b3161ee" } ,{ "testCaseDescription": "ruby-percent-array-delete-insert-test", @@ -102,9 +102,9 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "123b2fbf89cd6475d2bf836f3b7abc82852051be", + "sha1": "f779ef8945dc0c37028d7b5e19cb1a0e0b3161ee", "gitDir": "test/corpus/repos/ruby", - "sha2": "b764fd6ed9e4a4d46d0420493d2281782ff18a4c" + "sha2": "bac619c334622acda61ab7081000c50c61f2caf8" } ,{ "testCaseDescription": "ruby-percent-array-replacement-test", @@ -133,9 +133,9 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "b764fd6ed9e4a4d46d0420493d2281782ff18a4c", + "sha1": "bac619c334622acda61ab7081000c50c61f2caf8", "gitDir": "test/corpus/repos/ruby", - "sha2": "a953618d4d76fbfd5b1dcb51a145a3fb82819f52" + "sha2": "6f7f73abf57168c1ba3451b8e722695c660e2de3" } ,{ "testCaseDescription": "ruby-percent-array-delete-replacement-test", @@ -194,9 +194,9 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "a953618d4d76fbfd5b1dcb51a145a3fb82819f52", + "sha1": "6f7f73abf57168c1ba3451b8e722695c660e2de3", "gitDir": "test/corpus/repos/ruby", - "sha2": "b871b3ab846bfaf958024dc6c1f4f5ca371b5e43" + "sha2": "ff3f1ae6925666a3a2701fad29c72084530e068f" } ,{ "testCaseDescription": "ruby-percent-array-delete-test", @@ -225,9 +225,9 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "b871b3ab846bfaf958024dc6c1f4f5ca371b5e43", + "sha1": "ff3f1ae6925666a3a2701fad29c72084530e068f", "gitDir": "test/corpus/repos/ruby", - "sha2": "52dd4d7e1acaa7e955ea0cd8efa548bbd523a9e0" + "sha2": "ccbd23e9781b274439a3f87b9654a72084531619" } ,{ "testCaseDescription": "ruby-percent-array-delete-rest-test", @@ -256,7 +256,7 @@ "filePaths": [ "percent-array.rb" ], - "sha1": "52dd4d7e1acaa7e955ea0cd8efa548bbd523a9e0", + "sha1": "ccbd23e9781b274439a3f87b9654a72084531619", "gitDir": "test/corpus/repos/ruby", - "sha2": "7cb451b01cb4c1eddde132bfd99cad662745a239" + "sha2": "6b12691f9d8fa142b89c383ba3c1caa541078670" }] diff --git a/test/corpus/diff-summaries/ruby/pseudo_variables.json b/test/corpus/diff-summaries/ruby/pseudo_variables.json index f042027e5..7da31a900 100644 --- a/test/corpus/diff-summaries/ruby/pseudo_variables.json +++ b/test/corpus/diff-summaries/ruby/pseudo_variables.json @@ -55,9 +55,9 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "5f3b32964a73924e10ddf0df643c2c37d3210753", + "sha1": "d0173f76e58a5461bc66d9ddc7dac72cd7084102", "gitDir": "test/corpus/repos/ruby", - "sha2": "82a1ff769a2f19665845fe93d228bb24643e859c" + "sha2": "8a945aa50924701a49824b313a174b391332a992" } ,{ "testCaseDescription": "ruby-pseudo_variables-replacement-insert-test", @@ -161,9 +161,9 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "82a1ff769a2f19665845fe93d228bb24643e859c", + "sha1": "8a945aa50924701a49824b313a174b391332a992", "gitDir": "test/corpus/repos/ruby", - "sha2": "947a9e287450611e41feb7ddb7e2d2c417d6722b" + "sha2": "d349a31b46cb79b0870f6ef0d4857177d4bd9bda" } ,{ "testCaseDescription": "ruby-pseudo_variables-delete-insert-test", @@ -261,9 +261,9 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "947a9e287450611e41feb7ddb7e2d2c417d6722b", + "sha1": "d349a31b46cb79b0870f6ef0d4857177d4bd9bda", "gitDir": "test/corpus/repos/ruby", - "sha2": "8092a79dd894a83cfe17c84bba4ef92d3f855fbf" + "sha2": "1a5265505056026cd0e29488f4e2b583e223eeef" } ,{ "testCaseDescription": "ruby-pseudo_variables-replacement-test", @@ -361,9 +361,9 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "8092a79dd894a83cfe17c84bba4ef92d3f855fbf", + "sha1": "1a5265505056026cd0e29488f4e2b583e223eeef", "gitDir": "test/corpus/repos/ruby", - "sha2": "db6693052144dd7d413481b7bb97027a95a2f74e" + "sha2": "5c485485fda969d66c46e89daa112a90efa14ee6" } ,{ "testCaseDescription": "ruby-pseudo_variables-delete-replacement-test", @@ -512,9 +512,9 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "db6693052144dd7d413481b7bb97027a95a2f74e", + "sha1": "5c485485fda969d66c46e89daa112a90efa14ee6", "gitDir": "test/corpus/repos/ruby", - "sha2": "6d853c263d733d9c96dc4bad6e1dfe0c0e38590c" + "sha2": "60510265e9fd68d59ffcb49cb5d702b395a98435" } ,{ "testCaseDescription": "ruby-pseudo_variables-delete-test", @@ -573,9 +573,9 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "6d853c263d733d9c96dc4bad6e1dfe0c0e38590c", + "sha1": "60510265e9fd68d59ffcb49cb5d702b395a98435", "gitDir": "test/corpus/repos/ruby", - "sha2": "84f35ec6b3737273fd763e3efa6c817a271a1cb2" + "sha2": "74513173f920c8a1dfc9981b62a7b376607ffbcd" } ,{ "testCaseDescription": "ruby-pseudo_variables-delete-rest-test", @@ -634,7 +634,7 @@ "filePaths": [ "pseudo_variables.rb" ], - "sha1": "84f35ec6b3737273fd763e3efa6c817a271a1cb2", + "sha1": "74513173f920c8a1dfc9981b62a7b376607ffbcd", "gitDir": "test/corpus/repos/ruby", - "sha2": "9ed5e7ded29383b7a1114f6aa26e6531494ac206" + "sha2": "d800f5802568aacd0cc8d9c7037d0eafd735ccd8" }] diff --git a/test/corpus/diff-summaries/ruby/regex.json b/test/corpus/diff-summaries/ruby/regex.json index 951f13bf5..37f247b10 100644 --- a/test/corpus/diff-summaries/ruby/regex.json +++ b/test/corpus/diff-summaries/ruby/regex.json @@ -25,9 +25,9 @@ "filePaths": [ "regex.rb" ], - "sha1": "b63b722fb3bd3b9be55958ce99c06b713da797c5", + "sha1": "9150744eb0a99e1fd78eb52ecca992f36ad1b418", "gitDir": "test/corpus/repos/ruby", - "sha2": "04897284f36d41e2596b46848696b41084da4b70" + "sha2": "d134778ef7e5b7dcc55f13cb91e78cece8867c47" } ,{ "testCaseDescription": "ruby-regex-replacement-insert-test", @@ -86,9 +86,9 @@ "filePaths": [ "regex.rb" ], - "sha1": "04897284f36d41e2596b46848696b41084da4b70", + "sha1": "d134778ef7e5b7dcc55f13cb91e78cece8867c47", "gitDir": "test/corpus/repos/ruby", - "sha2": "704398f53302a8c05e56535a4e3212774d611f3a" + "sha2": "9080b137284d062ea145c1609e2d5a768d75f351" } ,{ "testCaseDescription": "ruby-regex-delete-insert-test", @@ -144,9 +144,9 @@ "filePaths": [ "regex.rb" ], - "sha1": "704398f53302a8c05e56535a4e3212774d611f3a", + "sha1": "9080b137284d062ea145c1609e2d5a768d75f351", "gitDir": "test/corpus/repos/ruby", - "sha2": "b5302aab69b015e0118d8bc6b0b66974a9a8c024" + "sha2": "262d6bfa33c1d1c5b1bcb582286d3aa52d3f7cd3" } ,{ "testCaseDescription": "ruby-regex-replacement-test", @@ -202,9 +202,9 @@ "filePaths": [ "regex.rb" ], - "sha1": "b5302aab69b015e0118d8bc6b0b66974a9a8c024", + "sha1": "262d6bfa33c1d1c5b1bcb582286d3aa52d3f7cd3", "gitDir": "test/corpus/repos/ruby", - "sha2": "351805b9c97b6c81c02caa460af349e17797ee58" + "sha2": "1df75883e377335b10323f7659d6cad0935d15e4" } ,{ "testCaseDescription": "ruby-regex-delete-replacement-test", @@ -233,9 +233,9 @@ "filePaths": [ "regex.rb" ], - "sha1": "351805b9c97b6c81c02caa460af349e17797ee58", + "sha1": "1df75883e377335b10323f7659d6cad0935d15e4", "gitDir": "test/corpus/repos/ruby", - "sha2": "3ae45478cd1afcc7b8064fd54a1a1f05097a950c" + "sha2": "af093ab51045a205049d86b333a9f0c92ac8bda2" } ,{ "testCaseDescription": "ruby-regex-delete-test", @@ -264,9 +264,9 @@ "filePaths": [ "regex.rb" ], - "sha1": "3ae45478cd1afcc7b8064fd54a1a1f05097a950c", + "sha1": "af093ab51045a205049d86b333a9f0c92ac8bda2", "gitDir": "test/corpus/repos/ruby", - "sha2": "225d3c75f71f63a3bfc5f799b0baddec7f6d1a9a" + "sha2": "12e20f01e84dc3c71de405a764ef00b6aae1dd53" } ,{ "testCaseDescription": "ruby-regex-delete-rest-test", @@ -310,7 +310,7 @@ "filePaths": [ "regex.rb" ], - "sha1": "225d3c75f71f63a3bfc5f799b0baddec7f6d1a9a", + "sha1": "12e20f01e84dc3c71de405a764ef00b6aae1dd53", "gitDir": "test/corpus/repos/ruby", - "sha2": "2412e6cddab136b52b05cdc3103dfcca4551060c" + "sha2": "9fba7cef337267dbe7922eba1d421072ed67a694" }] diff --git a/test/corpus/diff-summaries/ruby/relational-operator.json b/test/corpus/diff-summaries/ruby/relational-operator.json index dd51ac599..6e5760098 100644 --- a/test/corpus/diff-summaries/ruby/relational-operator.json +++ b/test/corpus/diff-summaries/ruby/relational-operator.json @@ -55,9 +55,9 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "2a1f09b1d1349774cff06f3e8a86843745cbcaf6", + "sha1": "1224e874a6308143fc9a6e798258d33e6c3ed73f", "gitDir": "test/corpus/repos/ruby", - "sha2": "6babf717e71596f34936b6229d245a18be765632" + "sha2": "0ab67a99e57c949273853eedd79b51b454c32ed3" } ,{ "testCaseDescription": "ruby-relational-operator-replacement-insert-test", @@ -161,9 +161,9 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "6babf717e71596f34936b6229d245a18be765632", + "sha1": "0ab67a99e57c949273853eedd79b51b454c32ed3", "gitDir": "test/corpus/repos/ruby", - "sha2": "d62aa5e3c2bd1a497c3090468622f0c51a7ca0e3" + "sha2": "d212fd5c1d6b5f5f340f4c6c888de171b6981ef6" } ,{ "testCaseDescription": "ruby-relational-operator-delete-insert-test", @@ -207,9 +207,9 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "d62aa5e3c2bd1a497c3090468622f0c51a7ca0e3", + "sha1": "d212fd5c1d6b5f5f340f4c6c888de171b6981ef6", "gitDir": "test/corpus/repos/ruby", - "sha2": "e0e6d9574d43603cc96b8f5556dcb1dcd05c458e" + "sha2": "8ca7e367fcdafbd25306cd6d7baa6d22aad13d1d" } ,{ "testCaseDescription": "ruby-relational-operator-replacement-test", @@ -253,9 +253,9 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "e0e6d9574d43603cc96b8f5556dcb1dcd05c458e", + "sha1": "8ca7e367fcdafbd25306cd6d7baa6d22aad13d1d", "gitDir": "test/corpus/repos/ruby", - "sha2": "76c91a1e5cb100f638f6061484aebb9cf56baf84" + "sha2": "9fa0c045ca038246b68e9915455b67efc24b6b79" } ,{ "testCaseDescription": "ruby-relational-operator-delete-replacement-test", @@ -344,9 +344,9 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "76c91a1e5cb100f638f6061484aebb9cf56baf84", + "sha1": "9fa0c045ca038246b68e9915455b67efc24b6b79", "gitDir": "test/corpus/repos/ruby", - "sha2": "2b6a196e804dfcaee532e9745b81d15b5611edc4" + "sha2": "38aa5bf14722a633f561cd794ddb32668c15fafa" } ,{ "testCaseDescription": "ruby-relational-operator-delete-test", @@ -405,9 +405,9 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "2b6a196e804dfcaee532e9745b81d15b5611edc4", + "sha1": "38aa5bf14722a633f561cd794ddb32668c15fafa", "gitDir": "test/corpus/repos/ruby", - "sha2": "d3fc94a8c87f1babda7bb15affa110059b1f5fbf" + "sha2": "bb503d88157ab9766a2bd434df103d8183344455" } ,{ "testCaseDescription": "ruby-relational-operator-delete-rest-test", @@ -466,7 +466,7 @@ "filePaths": [ "relational-operator.rb" ], - "sha1": "d3fc94a8c87f1babda7bb15affa110059b1f5fbf", + "sha1": "bb503d88157ab9766a2bd434df103d8183344455", "gitDir": "test/corpus/repos/ruby", - "sha2": "974031486d26060a410989a65cc32fddaacf333c" + "sha2": "bb09e6e770e85fcf15e477514b293f30e3805530" }] diff --git a/test/corpus/diff-summaries/ruby/return.json b/test/corpus/diff-summaries/ruby/return.json index 891679063..9066ef30e 100644 --- a/test/corpus/diff-summaries/ruby/return.json +++ b/test/corpus/diff-summaries/ruby/return.json @@ -25,9 +25,9 @@ "filePaths": [ "return.rb" ], - "sha1": "ded9152f40e0445582ebac66604e15028d780410", + "sha1": "57a47a7eb091ecb604ddda106e5386c6e14307bd", "gitDir": "test/corpus/repos/ruby", - "sha2": "d5688154469df71093bd1e51cae606a3e802c093" + "sha2": "416c98679d33f3a6559d1a7a48ebceed7098b838" } ,{ "testCaseDescription": "ruby-return-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "return.rb" ], - "sha1": "d5688154469df71093bd1e51cae606a3e802c093", + "sha1": "416c98679d33f3a6559d1a7a48ebceed7098b838", "gitDir": "test/corpus/repos/ruby", - "sha2": "6a3f778e062b1ea5bbd488c3d6fd856ed2a93913" + "sha2": "89746d8153c4997c7953db31b27afd7105d4088d" } ,{ "testCaseDescription": "ruby-return-delete-insert-test", @@ -102,9 +102,9 @@ "filePaths": [ "return.rb" ], - "sha1": "6a3f778e062b1ea5bbd488c3d6fd856ed2a93913", + "sha1": "89746d8153c4997c7953db31b27afd7105d4088d", "gitDir": "test/corpus/repos/ruby", - "sha2": "5e70df5404f37415f60cc7aeb2709a80d0252659" + "sha2": "e00ded092e47e63427aae8d08b0c182ded5393f4" } ,{ "testCaseDescription": "ruby-return-replacement-test", @@ -133,9 +133,9 @@ "filePaths": [ "return.rb" ], - "sha1": "5e70df5404f37415f60cc7aeb2709a80d0252659", + "sha1": "e00ded092e47e63427aae8d08b0c182ded5393f4", "gitDir": "test/corpus/repos/ruby", - "sha2": "d3f18bb98e8f619f91e84bf10fd576e99b500456" + "sha2": "8fef501a9ced48a50b9d01169ffecb7308be2681" } ,{ "testCaseDescription": "ruby-return-delete-replacement-test", @@ -194,9 +194,9 @@ "filePaths": [ "return.rb" ], - "sha1": "d3f18bb98e8f619f91e84bf10fd576e99b500456", + "sha1": "8fef501a9ced48a50b9d01169ffecb7308be2681", "gitDir": "test/corpus/repos/ruby", - "sha2": "da96bd6a368a12f8d209c71498b48ea695239437" + "sha2": "5e3030ce3a547abc8a789d2ef825a7798068fa1e" } ,{ "testCaseDescription": "ruby-return-delete-test", @@ -225,9 +225,9 @@ "filePaths": [ "return.rb" ], - "sha1": "da96bd6a368a12f8d209c71498b48ea695239437", + "sha1": "5e3030ce3a547abc8a789d2ef825a7798068fa1e", "gitDir": "test/corpus/repos/ruby", - "sha2": "21c817757c53b79af1b9a88315a396b88009e6bc" + "sha2": "a20b50e0074087bd5c70e5e1134d4b54e7c3258a" } ,{ "testCaseDescription": "ruby-return-delete-rest-test", @@ -256,7 +256,7 @@ "filePaths": [ "return.rb" ], - "sha1": "21c817757c53b79af1b9a88315a396b88009e6bc", + "sha1": "a20b50e0074087bd5c70e5e1134d4b54e7c3258a", "gitDir": "test/corpus/repos/ruby", - "sha2": "0a157f445a6788416f1134be4c2abfa16a1d6ef9" + "sha2": "e2435e46d6dc96b118326f80c48dc9e8289f7a5d" }] diff --git a/test/corpus/diff-summaries/ruby/string.json b/test/corpus/diff-summaries/ruby/string.json index 3f3f0a2b7..f3e556856 100644 --- a/test/corpus/diff-summaries/ruby/string.json +++ b/test/corpus/diff-summaries/ruby/string.json @@ -40,9 +40,9 @@ "filePaths": [ "string.rb" ], - "sha1": "87e378b8da21a23e020a5790e1aa260c7a5e6d64", + "sha1": "dbebf9f96b13c695f31b07ba66a6e4bb01fce2ec", "gitDir": "test/corpus/repos/ruby", - "sha2": "a0a77d12789ba62b55879b9d559e0ad7d7999b5c" + "sha2": "1854b02d8307212b1a0594a1720e9ec98fe2a25d" } ,{ "testCaseDescription": "ruby-string-replacement-insert-test", @@ -116,9 +116,9 @@ "filePaths": [ "string.rb" ], - "sha1": "a0a77d12789ba62b55879b9d559e0ad7d7999b5c", + "sha1": "1854b02d8307212b1a0594a1720e9ec98fe2a25d", "gitDir": "test/corpus/repos/ruby", - "sha2": "9ec9c02019c356e2050a36cdcb535877ab299196" + "sha2": "f205c8cafc9aabf3e12b96bd0572be0537708e63" } ,{ "testCaseDescription": "ruby-string-delete-insert-test", @@ -186,9 +186,9 @@ "filePaths": [ "string.rb" ], - "sha1": "9ec9c02019c356e2050a36cdcb535877ab299196", + "sha1": "f205c8cafc9aabf3e12b96bd0572be0537708e63", "gitDir": "test/corpus/repos/ruby", - "sha2": "72bb3fe246cb1c1212026b40993b3ed7cd9f8937" + "sha2": "7fb67f7500fc0a19e06e0be3ec945356fd74e48f" } ,{ "testCaseDescription": "ruby-string-replacement-test", @@ -256,9 +256,9 @@ "filePaths": [ "string.rb" ], - "sha1": "72bb3fe246cb1c1212026b40993b3ed7cd9f8937", + "sha1": "7fb67f7500fc0a19e06e0be3ec945356fd74e48f", "gitDir": "test/corpus/repos/ruby", - "sha2": "faccf5d4db4380de30ffc96540fbadb39bf7b1d7" + "sha2": "b2ed8b81f87676b91496d95229f5f928f8740be1" } ,{ "testCaseDescription": "ruby-string-delete-replacement-test", @@ -362,9 +362,9 @@ "filePaths": [ "string.rb" ], - "sha1": "faccf5d4db4380de30ffc96540fbadb39bf7b1d7", + "sha1": "b2ed8b81f87676b91496d95229f5f928f8740be1", "gitDir": "test/corpus/repos/ruby", - "sha2": "621c09961eec39be8cb0bf1327b8d21ba86765dd" + "sha2": "03a0ec0455a9d640760e1534aa15c95f8302e991" } ,{ "testCaseDescription": "ruby-string-delete-test", @@ -408,9 +408,9 @@ "filePaths": [ "string.rb" ], - "sha1": "621c09961eec39be8cb0bf1327b8d21ba86765dd", + "sha1": "03a0ec0455a9d640760e1534aa15c95f8302e991", "gitDir": "test/corpus/repos/ruby", - "sha2": "b5ae36adbcb9a278818f5a9576edfafe438673a9" + "sha2": "4a68d24dc05706b185b7078b1e4dd4372136d25f" } ,{ "testCaseDescription": "ruby-string-delete-rest-test", @@ -454,7 +454,7 @@ "filePaths": [ "string.rb" ], - "sha1": "b5ae36adbcb9a278818f5a9576edfafe438673a9", + "sha1": "4a68d24dc05706b185b7078b1e4dd4372136d25f", "gitDir": "test/corpus/repos/ruby", - "sha2": "c4feb251dc42870640b08c70b514d318cfe781bd" + "sha2": "aea601866033d086bde79a5d03ecea338848579b" }] diff --git a/test/corpus/diff-summaries/ruby/subshell.json b/test/corpus/diff-summaries/ruby/subshell.json index 1e4cd12af..afc963b05 100644 --- a/test/corpus/diff-summaries/ruby/subshell.json +++ b/test/corpus/diff-summaries/ruby/subshell.json @@ -25,9 +25,9 @@ "filePaths": [ "subshell.rb" ], - "sha1": "9ed5e7ded29383b7a1114f6aa26e6531494ac206", + "sha1": "d800f5802568aacd0cc8d9c7037d0eafd735ccd8", "gitDir": "test/corpus/repos/ruby", - "sha2": "ef27f7bb64efe205e964cef79e2a6948df7e0ace" + "sha2": "d7f011c017a7945d64db60524b996f503c6f053d" } ,{ "testCaseDescription": "ruby-subshell-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "subshell.rb" ], - "sha1": "ef27f7bb64efe205e964cef79e2a6948df7e0ace", + "sha1": "d7f011c017a7945d64db60524b996f503c6f053d", "gitDir": "test/corpus/repos/ruby", - "sha2": "8af10915e6f8a9e6e450811f5ef6ba85c5f597bf" + "sha2": "d5ec2b88e26b3cbd1fd75f78e28425204b45fb60" } ,{ "testCaseDescription": "ruby-subshell-delete-insert-test", @@ -114,9 +114,9 @@ "filePaths": [ "subshell.rb" ], - "sha1": "8af10915e6f8a9e6e450811f5ef6ba85c5f597bf", + "sha1": "d5ec2b88e26b3cbd1fd75f78e28425204b45fb60", "gitDir": "test/corpus/repos/ruby", - "sha2": "7a86ea9206a7ca91d828c470cbe4a7b7d9b526d2" + "sha2": "395a553f3dd893610d3818a8ff277b3766269355" } ,{ "testCaseDescription": "ruby-subshell-replacement-test", @@ -157,9 +157,9 @@ "filePaths": [ "subshell.rb" ], - "sha1": "7a86ea9206a7ca91d828c470cbe4a7b7d9b526d2", + "sha1": "395a553f3dd893610d3818a8ff277b3766269355", "gitDir": "test/corpus/repos/ruby", - "sha2": "35fee662d38093a5c6228ade976a3424d5774a3c" + "sha2": "39685401784caeb36adabb3338c20577fb3ff69c" } ,{ "testCaseDescription": "ruby-subshell-delete-replacement-test", @@ -218,9 +218,9 @@ "filePaths": [ "subshell.rb" ], - "sha1": "35fee662d38093a5c6228ade976a3424d5774a3c", + "sha1": "39685401784caeb36adabb3338c20577fb3ff69c", "gitDir": "test/corpus/repos/ruby", - "sha2": "c1018edaff59cce3abc72aebe363280e8aafcd59" + "sha2": "93f9a8b87d25d528455f4d9535c8768a53556018" } ,{ "testCaseDescription": "ruby-subshell-delete-test", @@ -249,9 +249,9 @@ "filePaths": [ "subshell.rb" ], - "sha1": "c1018edaff59cce3abc72aebe363280e8aafcd59", + "sha1": "93f9a8b87d25d528455f4d9535c8768a53556018", "gitDir": "test/corpus/repos/ruby", - "sha2": "63184da5e22aea8ebe2f9b4eaec1ca27efd289a7" + "sha2": "9384ab17a1522a13a7ca019080cd6f11a809d8f5" } ,{ "testCaseDescription": "ruby-subshell-delete-rest-test", @@ -280,7 +280,7 @@ "filePaths": [ "subshell.rb" ], - "sha1": "63184da5e22aea8ebe2f9b4eaec1ca27efd289a7", + "sha1": "9384ab17a1522a13a7ca019080cd6f11a809d8f5", "gitDir": "test/corpus/repos/ruby", - "sha2": "0c5adf2d41bac7223c2036085974b4b2e877759a" + "sha2": "39370fd2c53fb0727cb53346182cded1a85ec9d6" }] diff --git a/test/corpus/diff-summaries/ruby/symbol.json b/test/corpus/diff-summaries/ruby/symbol.json index a5939f076..960dc3bfa 100644 --- a/test/corpus/diff-summaries/ruby/symbol.json +++ b/test/corpus/diff-summaries/ruby/symbol.json @@ -55,9 +55,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "d6aafd4830d9adfb1f5b1b94dce91643bd6895ce", + "sha1": "e0dfc6099a7429dae0135d66d3df7e7efbfb94c7", "gitDir": "test/corpus/repos/ruby", - "sha2": "488bed83fa943bfa3a6dd0f2eca0e1f603f0d302" + "sha2": "397084185e450384a086f05649b330ef467f7927" } ,{ "testCaseDescription": "ruby-symbol-replacement-insert-test", @@ -161,9 +161,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "488bed83fa943bfa3a6dd0f2eca0e1f603f0d302", + "sha1": "397084185e450384a086f05649b330ef467f7927", "gitDir": "test/corpus/repos/ruby", - "sha2": "13bdcb2317e0dac601c2530775832adaa30750c3" + "sha2": "131db7a0e4068e170f1ec16239d9d086675de184" } ,{ "testCaseDescription": "ruby-symbol-delete-insert-test", @@ -258,9 +258,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "13bdcb2317e0dac601c2530775832adaa30750c3", + "sha1": "131db7a0e4068e170f1ec16239d9d086675de184", "gitDir": "test/corpus/repos/ruby", - "sha2": "45ff959c0db556f2e79baf65b6cfd9c682b0d4a3" + "sha2": "ff7b16fc3e11ad9a460277f8126cc04d94aec44e" } ,{ "testCaseDescription": "ruby-symbol-replacement-test", @@ -355,9 +355,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "45ff959c0db556f2e79baf65b6cfd9c682b0d4a3", + "sha1": "ff7b16fc3e11ad9a460277f8126cc04d94aec44e", "gitDir": "test/corpus/repos/ruby", - "sha2": "c7a8956d370473a9d04ed8dedff47965c492c11b" + "sha2": "3455ce448591d8f67238b84c2ffc0de909094fb4" } ,{ "testCaseDescription": "ruby-symbol-delete-replacement-test", @@ -506,9 +506,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "c7a8956d370473a9d04ed8dedff47965c492c11b", + "sha1": "3455ce448591d8f67238b84c2ffc0de909094fb4", "gitDir": "test/corpus/repos/ruby", - "sha2": "6fc8f38305b962c42cff9f31b42a58da07db37bc" + "sha2": "1259a3d73317e6661ad419ff8cfe5b6aca91cfff" } ,{ "testCaseDescription": "ruby-symbol-delete-test", @@ -567,9 +567,9 @@ "filePaths": [ "symbol.rb" ], - "sha1": "6fc8f38305b962c42cff9f31b42a58da07db37bc", + "sha1": "1259a3d73317e6661ad419ff8cfe5b6aca91cfff", "gitDir": "test/corpus/repos/ruby", - "sha2": "d55e19fa5ad9a8043de68e1bf7a704b3d5b651df" + "sha2": "d2c4a849e9adec2b6a0580e39120f908cc660f4d" } ,{ "testCaseDescription": "ruby-symbol-delete-rest-test", @@ -628,7 +628,7 @@ "filePaths": [ "symbol.rb" ], - "sha1": "d55e19fa5ad9a8043de68e1bf7a704b3d5b651df", + "sha1": "d2c4a849e9adec2b6a0580e39120f908cc660f4d", "gitDir": "test/corpus/repos/ruby", - "sha2": "87e378b8da21a23e020a5790e1aa260c7a5e6d64" + "sha2": "dbebf9f96b13c695f31b07ba66a6e4bb01fce2ec" }] diff --git a/test/corpus/diff-summaries/ruby/ternary.json b/test/corpus/diff-summaries/ruby/ternary.json index 0c50fb4af..748a37fe9 100644 --- a/test/corpus/diff-summaries/ruby/ternary.json +++ b/test/corpus/diff-summaries/ruby/ternary.json @@ -25,9 +25,9 @@ "filePaths": [ "ternary.rb" ], - "sha1": "6b57b197843618cba197cd2ac9191b14ea4dbf3f", + "sha1": "dcea220369c536157838aeb07cfc34e85a8910cf", "gitDir": "test/corpus/repos/ruby", - "sha2": "664a0aae059077fb54f29d92408e4b51e4df4870" + "sha2": "adfbbb5f18f75297465731bf091cee01a9518508" } ,{ "testCaseDescription": "ruby-ternary-replacement-insert-test", @@ -68,9 +68,9 @@ "filePaths": [ "ternary.rb" ], - "sha1": "664a0aae059077fb54f29d92408e4b51e4df4870", + "sha1": "adfbbb5f18f75297465731bf091cee01a9518508", "gitDir": "test/corpus/repos/ruby", - "sha2": "641280e3defa8283f99b9f5c218423ae5d17b79b" + "sha2": "ed353949c920d94f3649ca6f31263360121e18dd" } ,{ "testCaseDescription": "ruby-ternary-delete-insert-test", @@ -111,9 +111,9 @@ "filePaths": [ "ternary.rb" ], - "sha1": "641280e3defa8283f99b9f5c218423ae5d17b79b", + "sha1": "ed353949c920d94f3649ca6f31263360121e18dd", "gitDir": "test/corpus/repos/ruby", - "sha2": "e1dedde8eef07d10efc1adf5d403a51e701405fc" + "sha2": "16d9d69a758adcf7e5fbad091c8f0ba2aadc232a" } ,{ "testCaseDescription": "ruby-ternary-replacement-test", @@ -154,9 +154,9 @@ "filePaths": [ "ternary.rb" ], - "sha1": "e1dedde8eef07d10efc1adf5d403a51e701405fc", + "sha1": "16d9d69a758adcf7e5fbad091c8f0ba2aadc232a", "gitDir": "test/corpus/repos/ruby", - "sha2": "d707e85f1cd9b7183a2792c482c04769335c6cb3" + "sha2": "c192322e023ddb6085c65798d90d8a2abaeb385c" } ,{ "testCaseDescription": "ruby-ternary-delete-replacement-test", @@ -197,9 +197,9 @@ "filePaths": [ "ternary.rb" ], - "sha1": "d707e85f1cd9b7183a2792c482c04769335c6cb3", + "sha1": "c192322e023ddb6085c65798d90d8a2abaeb385c", "gitDir": "test/corpus/repos/ruby", - "sha2": "ab1fa762c4bfc6a0f6536062f17d90f674830a1f" + "sha2": "ca6961354eccc79838ae5b5a358f020ad48218be" } ,{ "testCaseDescription": "ruby-ternary-delete-test", @@ -228,9 +228,9 @@ "filePaths": [ "ternary.rb" ], - "sha1": "ab1fa762c4bfc6a0f6536062f17d90f674830a1f", + "sha1": "ca6961354eccc79838ae5b5a358f020ad48218be", "gitDir": "test/corpus/repos/ruby", - "sha2": "bd5a7feb32ae768f6959810fcc042bc16dc14783" + "sha2": "6b3ff2f679d7300d3572a7caa5b9e8d6bd86c0bd" } ,{ "testCaseDescription": "ruby-ternary-delete-rest-test", @@ -259,7 +259,7 @@ "filePaths": [ "ternary.rb" ], - "sha1": "bd5a7feb32ae768f6959810fcc042bc16dc14783", + "sha1": "6b3ff2f679d7300d3572a7caa5b9e8d6bd86c0bd", "gitDir": "test/corpus/repos/ruby", - "sha2": "f20bca594cf8dd5530687a2b5fca8bdd781d3fd4" + "sha2": "442cf6f3f441a6bce079bf224ea6fc851998b2a3" }] diff --git a/test/corpus/diff-summaries/ruby/unless.json b/test/corpus/diff-summaries/ruby/unless.json index 36fbfd0d7..e0a49f464 100644 --- a/test/corpus/diff-summaries/ruby/unless.json +++ b/test/corpus/diff-summaries/ruby/unless.json @@ -25,9 +25,9 @@ "filePaths": [ "unless.rb" ], - "sha1": "9bef18b9a0f7469bdc1d3df685726cf857a5f129", + "sha1": "7340d1b1527c380aeb2eed40391ff47c05a41f5d", "gitDir": "test/corpus/repos/ruby", - "sha2": "19437306d2c04ab481b8998a7d210698db1f83ab" + "sha2": "e1497b3e97bd9ae12d78c5c7067769c0a4369074" } ,{ "testCaseDescription": "ruby-unless-replacement-insert-test", @@ -86,9 +86,9 @@ "filePaths": [ "unless.rb" ], - "sha1": "19437306d2c04ab481b8998a7d210698db1f83ab", + "sha1": "e1497b3e97bd9ae12d78c5c7067769c0a4369074", "gitDir": "test/corpus/repos/ruby", - "sha2": "6241d6d4ae0fc14b2f5fbc6b959eaf8ff167c21a" + "sha2": "3dc52f637f6a00a876096b76ce6a50f01f43a588" } ,{ "testCaseDescription": "ruby-unless-delete-insert-test", @@ -186,9 +186,9 @@ "filePaths": [ "unless.rb" ], - "sha1": "6241d6d4ae0fc14b2f5fbc6b959eaf8ff167c21a", + "sha1": "3dc52f637f6a00a876096b76ce6a50f01f43a588", "gitDir": "test/corpus/repos/ruby", - "sha2": "c79e975f049304d09d23ccfd66b81b7fffee55b6" + "sha2": "658e809b01435a507d0e24dad847d363119d2780" } ,{ "testCaseDescription": "ruby-unless-replacement-test", @@ -286,9 +286,9 @@ "filePaths": [ "unless.rb" ], - "sha1": "c79e975f049304d09d23ccfd66b81b7fffee55b6", + "sha1": "658e809b01435a507d0e24dad847d363119d2780", "gitDir": "test/corpus/repos/ruby", - "sha2": "d27725d1b234a5010556432241aeb4aea58878cc" + "sha2": "8a63661b0ee9c547bba3886746058cec3b730650" } ,{ "testCaseDescription": "ruby-unless-delete-replacement-test", @@ -317,9 +317,9 @@ "filePaths": [ "unless.rb" ], - "sha1": "d27725d1b234a5010556432241aeb4aea58878cc", + "sha1": "8a63661b0ee9c547bba3886746058cec3b730650", "gitDir": "test/corpus/repos/ruby", - "sha2": "3a616c7a915b841a8abf7e2ba33e4028dd7d2688" + "sha2": "a2c07440b36dc1f1f7708ca20111824803220629" } ,{ "testCaseDescription": "ruby-unless-delete-test", @@ -348,9 +348,9 @@ "filePaths": [ "unless.rb" ], - "sha1": "3a616c7a915b841a8abf7e2ba33e4028dd7d2688", + "sha1": "a2c07440b36dc1f1f7708ca20111824803220629", "gitDir": "test/corpus/repos/ruby", - "sha2": "5b55e9cb95f761a799b3ba1ac21bb2deb43238de" + "sha2": "c254082cf681058b19e462e2f257f0bed67a5f4d" } ,{ "testCaseDescription": "ruby-unless-delete-rest-test", @@ -394,7 +394,7 @@ "filePaths": [ "unless.rb" ], - "sha1": "5b55e9cb95f761a799b3ba1ac21bb2deb43238de", + "sha1": "c254082cf681058b19e462e2f257f0bed67a5f4d", "gitDir": "test/corpus/repos/ruby", - "sha2": "e5f91fa8a9472bd4f913919d53f81feb07f00c0c" + "sha2": "cd14ab159a72c2a383cb89c4fa126cf6e3ed3fc7" }] diff --git a/test/corpus/diff-summaries/ruby/until.json b/test/corpus/diff-summaries/ruby/until.json index 8ed0b345d..f5d704a60 100644 --- a/test/corpus/diff-summaries/ruby/until.json +++ b/test/corpus/diff-summaries/ruby/until.json @@ -40,9 +40,9 @@ "filePaths": [ "until.rb" ], - "sha1": "ede2d0505ee561764e289f1285a594c5366f8b18", + "sha1": "4e1a7f819b009030a17ea8193928b933a786d458", "gitDir": "test/corpus/repos/ruby", - "sha2": "4efa7ec32b5e5fe2579495d30ddb49ffe0988f35" + "sha2": "faea03d2baa168826ed5fa5cc0ff731e64dfcc47" } ,{ "testCaseDescription": "ruby-until-replacement-insert-test", @@ -101,9 +101,9 @@ "filePaths": [ "until.rb" ], - "sha1": "4efa7ec32b5e5fe2579495d30ddb49ffe0988f35", + "sha1": "faea03d2baa168826ed5fa5cc0ff731e64dfcc47", "gitDir": "test/corpus/repos/ruby", - "sha2": "6d97fe13e776eee43edcdab6f95c3de295c82cae" + "sha2": "dbe65a7dd4718a9ad80ca7b2f05e2dfd39407e57" } ,{ "testCaseDescription": "ruby-until-delete-insert-test", @@ -147,9 +147,9 @@ "filePaths": [ "until.rb" ], - "sha1": "6d97fe13e776eee43edcdab6f95c3de295c82cae", + "sha1": "dbe65a7dd4718a9ad80ca7b2f05e2dfd39407e57", "gitDir": "test/corpus/repos/ruby", - "sha2": "8f1db57eb4ccfecc9586823faaff877a231d2503" + "sha2": "5efb799af684b0fbcb2129d6ab27ddcea8099b16" } ,{ "testCaseDescription": "ruby-until-replacement-test", @@ -193,9 +193,9 @@ "filePaths": [ "until.rb" ], - "sha1": "8f1db57eb4ccfecc9586823faaff877a231d2503", + "sha1": "5efb799af684b0fbcb2129d6ab27ddcea8099b16", "gitDir": "test/corpus/repos/ruby", - "sha2": "4eaaf559513e46b434e506f2344923222a7f887b" + "sha2": "1f80d67c3e8b3ec60c7b452cccf555d4fa73f24f" } ,{ "testCaseDescription": "ruby-until-delete-replacement-test", @@ -269,9 +269,9 @@ "filePaths": [ "until.rb" ], - "sha1": "4eaaf559513e46b434e506f2344923222a7f887b", + "sha1": "1f80d67c3e8b3ec60c7b452cccf555d4fa73f24f", "gitDir": "test/corpus/repos/ruby", - "sha2": "991c006091a4f9e4b35d9ad107b77e10a6ffc415" + "sha2": "54aedf6e631862d1041ed3c14e3239469b1aab9b" } ,{ "testCaseDescription": "ruby-until-delete-test", @@ -315,9 +315,9 @@ "filePaths": [ "until.rb" ], - "sha1": "991c006091a4f9e4b35d9ad107b77e10a6ffc415", + "sha1": "54aedf6e631862d1041ed3c14e3239469b1aab9b", "gitDir": "test/corpus/repos/ruby", - "sha2": "a2d0ae5d3c521a27c9fa6bdbe6d550e5f77dc142" + "sha2": "a343bb89c749cfbc2583dec40a0d8032d80b6262" } ,{ "testCaseDescription": "ruby-until-delete-rest-test", @@ -346,7 +346,7 @@ "filePaths": [ "until.rb" ], - "sha1": "a2d0ae5d3c521a27c9fa6bdbe6d550e5f77dc142", + "sha1": "a343bb89c749cfbc2583dec40a0d8032d80b6262", "gitDir": "test/corpus/repos/ruby", - "sha2": "f1de4246afdf907f460eadfe3074a290648ca505" + "sha2": "596e6d8e917c6812d54b92ea7196ef1c5d6c320d" }] diff --git a/test/corpus/diff-summaries/ruby/while.json b/test/corpus/diff-summaries/ruby/while.json index 68c3e5cfb..c16fc79d5 100644 --- a/test/corpus/diff-summaries/ruby/while.json +++ b/test/corpus/diff-summaries/ruby/while.json @@ -40,9 +40,9 @@ "filePaths": [ "while.rb" ], - "sha1": "3faf6b4a5390ba8aad1fdb3f70df3957c60fb478", + "sha1": "527e349d0690325c5a85363b1a551da9ad74af48", "gitDir": "test/corpus/repos/ruby", - "sha2": "cc12f9fdcde163bcb399ca3c113803130b53cfb1" + "sha2": "0313cfc05aa9d852b4bc95e8987c9269f53d6f2a" } ,{ "testCaseDescription": "ruby-while-replacement-insert-test", @@ -101,9 +101,9 @@ "filePaths": [ "while.rb" ], - "sha1": "cc12f9fdcde163bcb399ca3c113803130b53cfb1", + "sha1": "0313cfc05aa9d852b4bc95e8987c9269f53d6f2a", "gitDir": "test/corpus/repos/ruby", - "sha2": "fb6ef89e4824dbdd1d984111815fe9e245cb6fb0" + "sha2": "3c39f7b92e21039def7cf725ea975a9a4738b642" } ,{ "testCaseDescription": "ruby-while-delete-insert-test", @@ -147,9 +147,9 @@ "filePaths": [ "while.rb" ], - "sha1": "fb6ef89e4824dbdd1d984111815fe9e245cb6fb0", + "sha1": "3c39f7b92e21039def7cf725ea975a9a4738b642", "gitDir": "test/corpus/repos/ruby", - "sha2": "b0c3cf0e6d042a0c7a69d2b9494f72bdb42a6304" + "sha2": "7eb3d56cb4c2a645f57759d18b162d3b62aa4acd" } ,{ "testCaseDescription": "ruby-while-replacement-test", @@ -193,9 +193,9 @@ "filePaths": [ "while.rb" ], - "sha1": "b0c3cf0e6d042a0c7a69d2b9494f72bdb42a6304", + "sha1": "7eb3d56cb4c2a645f57759d18b162d3b62aa4acd", "gitDir": "test/corpus/repos/ruby", - "sha2": "06f91003d2e38ea31895a7e8ba82df962f20b0b4" + "sha2": "d91d6c6aa3c7980df943e7fc883b1cf8320ac7aa" } ,{ "testCaseDescription": "ruby-while-delete-replacement-test", @@ -269,9 +269,9 @@ "filePaths": [ "while.rb" ], - "sha1": "06f91003d2e38ea31895a7e8ba82df962f20b0b4", + "sha1": "d91d6c6aa3c7980df943e7fc883b1cf8320ac7aa", "gitDir": "test/corpus/repos/ruby", - "sha2": "bf34d750737f7521279dd295e9627c16ca77dc1e" + "sha2": "2037dcd1c763d943b1b7948351a27128b015744b" } ,{ "testCaseDescription": "ruby-while-delete-test", @@ -315,9 +315,9 @@ "filePaths": [ "while.rb" ], - "sha1": "bf34d750737f7521279dd295e9627c16ca77dc1e", + "sha1": "2037dcd1c763d943b1b7948351a27128b015744b", "gitDir": "test/corpus/repos/ruby", - "sha2": "92a41549b0ffd8d6f9509840a185e7d566ad6c31" + "sha2": "6d4a3b78eef56bc97b4890ac8d104df5886d5f01" } ,{ "testCaseDescription": "ruby-while-delete-rest-test", @@ -346,7 +346,7 @@ "filePaths": [ "while.rb" ], - "sha1": "92a41549b0ffd8d6f9509840a185e7d566ad6c31", + "sha1": "6d4a3b78eef56bc97b4890ac8d104df5886d5f01", "gitDir": "test/corpus/repos/ruby", - "sha2": "ede2d0505ee561764e289f1285a594c5366f8b18" + "sha2": "4e1a7f819b009030a17ea8193928b933a786d458" }] diff --git a/test/corpus/diff-summaries/ruby/yield.json b/test/corpus/diff-summaries/ruby/yield.json index bb599d259..d072a2ee9 100644 --- a/test/corpus/diff-summaries/ruby/yield.json +++ b/test/corpus/diff-summaries/ruby/yield.json @@ -25,9 +25,9 @@ "filePaths": [ "yield.rb" ], - "sha1": "0a157f445a6788416f1134be4c2abfa16a1d6ef9", + "sha1": "e2435e46d6dc96b118326f80c48dc9e8289f7a5d", "gitDir": "test/corpus/repos/ruby", - "sha2": "da8e9ecc7479dea9be140ec804c66b3b53ac0499" + "sha2": "340d2356ad5fbf4dfbe5b6b6595a775b05245a3b" } ,{ "testCaseDescription": "ruby-yield-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "yield.rb" ], - "sha1": "da8e9ecc7479dea9be140ec804c66b3b53ac0499", + "sha1": "340d2356ad5fbf4dfbe5b6b6595a775b05245a3b", "gitDir": "test/corpus/repos/ruby", - "sha2": "d5db2c99f27bef2dfd44d25f4ef0e387ab15c635" + "sha2": "1502e10ceeeb8e28cb4ae8578ddb3adde0e46b2a" } ,{ "testCaseDescription": "ruby-yield-delete-insert-test", @@ -102,9 +102,9 @@ "filePaths": [ "yield.rb" ], - "sha1": "d5db2c99f27bef2dfd44d25f4ef0e387ab15c635", + "sha1": "1502e10ceeeb8e28cb4ae8578ddb3adde0e46b2a", "gitDir": "test/corpus/repos/ruby", - "sha2": "34e35a6eac8eed2a818fcde82aefc75e03e6545a" + "sha2": "207a3ba17791f553465852dc522f8e3dcf796f2e" } ,{ "testCaseDescription": "ruby-yield-replacement-test", @@ -133,9 +133,9 @@ "filePaths": [ "yield.rb" ], - "sha1": "34e35a6eac8eed2a818fcde82aefc75e03e6545a", + "sha1": "207a3ba17791f553465852dc522f8e3dcf796f2e", "gitDir": "test/corpus/repos/ruby", - "sha2": "d42b7467eea717b2ff903355a7c533f2375ec682" + "sha2": "56df673250d09227fc07e0cc2871ebb01d3c223f" } ,{ "testCaseDescription": "ruby-yield-delete-replacement-test", @@ -194,9 +194,9 @@ "filePaths": [ "yield.rb" ], - "sha1": "d42b7467eea717b2ff903355a7c533f2375ec682", + "sha1": "56df673250d09227fc07e0cc2871ebb01d3c223f", "gitDir": "test/corpus/repos/ruby", - "sha2": "17cf5e7ef9aa26ebcc323862d1cb240f20e96272" + "sha2": "607c840ee5cfc008cf809e6c041f7dfdf64d1798" } ,{ "testCaseDescription": "ruby-yield-delete-test", @@ -225,9 +225,9 @@ "filePaths": [ "yield.rb" ], - "sha1": "17cf5e7ef9aa26ebcc323862d1cb240f20e96272", + "sha1": "607c840ee5cfc008cf809e6c041f7dfdf64d1798", "gitDir": "test/corpus/repos/ruby", - "sha2": "cc7f1dba253d434b6d2fa01dca442ab509d1dfdc" + "sha2": "06a3a7f05bbb9cddc351bb66655adf32f7f99bc0" } ,{ "testCaseDescription": "ruby-yield-delete-rest-test", @@ -256,7 +256,7 @@ "filePaths": [ "yield.rb" ], - "sha1": "cc7f1dba253d434b6d2fa01dca442ab509d1dfdc", + "sha1": "06a3a7f05bbb9cddc351bb66655adf32f7f99bc0", "gitDir": "test/corpus/repos/ruby", - "sha2": "3faf6b4a5390ba8aad1fdb3f70df3957c60fb478" + "sha2": "527e349d0690325c5a85363b1a551da9ad74af48" }] diff --git a/test/corpus/generated/ruby.json b/test/corpus/generated/ruby.json index abb2575e0..e18035e9c 100644 --- a/test/corpus/generated/ruby.json +++ b/test/corpus/generated/ruby.json @@ -241,6 +241,13 @@ "insert": "lambda { foo }", "replacement": "lambda { |x| x + 1 }", "testCaseFilePath": "test/corpus/diff-summaries/ruby/lambda.json" + }, + { + "syntax": "for", + "repoFilePath": "for.rb", + "insert": "for x in y\n f\nend", + "replacement": "for i in [1,2,3] do\n print i\nend", + "testCaseFilePath": "test/corpus/diff-summaries/ruby/for.json" } ] } diff --git a/test/corpus/repos/ruby b/test/corpus/repos/ruby index f679bf7ed..09a0c42b5 160000 --- a/test/corpus/repos/ruby +++ b/test/corpus/repos/ruby @@ -1 +1 @@ -Subproject commit f679bf7edf87bd0fca0ebb80668a5a7bfb841337 +Subproject commit 09a0c42b5ca283bcf37028cd916f12b3d621f02e