mirror of
https://github.com/github/semantic.git
synced 2024-11-23 16:37:50 +03:00
Parse yield and return
This commit is contained in:
parent
eb52ca6f90
commit
1b6c70f4ee
@ -120,6 +120,8 @@ data Category
|
||||
| Subshell
|
||||
-- | A conditional assignment expression.
|
||||
| ConditionalAssignment
|
||||
-- | A yield statement.
|
||||
| Yield
|
||||
deriving (Eq, Generic, Ord, Show)
|
||||
|
||||
-- Instances
|
||||
@ -177,6 +179,7 @@ instance Arbitrary Category where
|
||||
, pure Interpolation
|
||||
, pure Subshell
|
||||
, pure ConditionalAssignment
|
||||
, pure Yield
|
||||
, Other <$> arbitrary
|
||||
]
|
||||
|
||||
|
@ -205,6 +205,7 @@ toTermName source term = case unwrap term of
|
||||
S.Object kvs -> "{ " <> intercalate ", " (toTermName' <$> kvs) <> " }"
|
||||
S.Pair a _ -> toTermName' a <> ": …"
|
||||
S.Return expr -> maybe "empty" toTermName' expr
|
||||
S.Yield expr -> maybe "empty" toTermName' expr
|
||||
S.Error _ -> termNameFromSource term
|
||||
S.If expr _ _ -> termNameFromSource expr
|
||||
S.For clauses _ -> termNameFromChildren term clauses
|
||||
@ -346,6 +347,7 @@ instance HasCategory Category where
|
||||
C.Interpolation -> "interpolation"
|
||||
C.Subshell -> "subshell command"
|
||||
C.ConditionalAssignment -> "conditional assignment"
|
||||
C.Yield -> "yield statement"
|
||||
|
||||
instance HasField fields Category => HasCategory (SyntaxTerm leaf fields) where
|
||||
toCategoryName = toCategoryName . category . extract
|
||||
|
@ -40,6 +40,7 @@ termConstructor source sourceSpan name range children
|
||||
("method_declaration", [ identifier, params, exprs ]) -> S.Method identifier (toList (unwrap params)) (toList (unwrap exprs))
|
||||
("method_declaration", [ identifier, exprs ]) -> S.Method identifier [] (toList (unwrap exprs))
|
||||
("return_statement", _) -> S.Return (listToMaybe children)
|
||||
("yield", _) -> S.Yield (listToMaybe children)
|
||||
_ | name `elem` ["boolean_and", "boolean_or", "bitwise_or", "bitwise_and", "shift", "relational", "comparison"]
|
||||
-> S.Operator children
|
||||
(_, []) -> S.Leaf . toText $ slice range source
|
||||
@ -83,4 +84,5 @@ categoryForRubyName = \case
|
||||
"string" -> StringLiteral
|
||||
"subshell" -> Subshell
|
||||
"symbol" -> SymbolLiteral
|
||||
"yield" -> Yield
|
||||
s -> Other s
|
||||
|
@ -92,6 +92,7 @@ termFields info syntax = "range" .= characterRange info : "category" .= category
|
||||
S.Object pairs -> childrenFields pairs
|
||||
S.Pair a b -> childrenFields [a, b]
|
||||
S.Return expr -> [ "returnExpression" .= expr ]
|
||||
S.Yield expr -> [ "yieldExpression" .= expr ]
|
||||
S.Constructor expr -> [ "constructorExpression" .= expr ]
|
||||
S.Comment _ -> []
|
||||
S.Commented comments child -> childrenFields (comments <> maybeToList child)
|
||||
|
@ -86,6 +86,7 @@ styleName category = "category-" <> case category of
|
||||
C.Interpolation -> "interpolation"
|
||||
C.Subshell -> "subshell"
|
||||
C.ConditionalAssignment -> "conditional_assignment"
|
||||
C.Yield -> "yield_statement"
|
||||
|
||||
-- | Pick the class name for a split patch.
|
||||
splitPatchToClassName :: SplitPatch a -> AttributeValue
|
||||
|
@ -78,6 +78,7 @@ data Syntax a f
|
||||
| Export (Maybe f) [f]
|
||||
-- | A conditional assignment represents expressions whose operator classifies as conditional (e.g. ||= or &&=).
|
||||
| ConditionalAssignment { conditionalAssignmentId :: f, value :: f }
|
||||
| Yield (Maybe f)
|
||||
deriving (Eq, Foldable, Functor, Generic, Generic1, Mergeable, Ord, Show, Traversable)
|
||||
|
||||
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "423e582521581b9600f2a288304f2db8aa78964e",
|
||||
"sha1": "ed05c5b9395b5564308f1d52ae931bd39d5a3cb6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "13f98c430aa96a9ca70537cfe3218452ed30ec42"
|
||||
"sha2": "37d8e777a7c7053b616fc3464401816e9debc60c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "13f98c430aa96a9ca70537cfe3218452ed30ec42",
|
||||
"sha1": "37d8e777a7c7053b616fc3464401816e9debc60c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "43d5ec6db2fe76a8d1801cb23eb16562e5c15ff8"
|
||||
"sha2": "6e3c3687efe728b53e432442d5b1b218256aaa8c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-insert-test",
|
||||
@ -114,9 +114,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "43d5ec6db2fe76a8d1801cb23eb16562e5c15ff8",
|
||||
"sha1": "6e3c3687efe728b53e432442d5b1b218256aaa8c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "8ca625d79135b4a70f68c94d5a208c182478efbd"
|
||||
"sha2": "a8d6c7910ad10207593280b82f477240775f26c2"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-replacement-test",
|
||||
@ -157,9 +157,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "8ca625d79135b4a70f68c94d5a208c182478efbd",
|
||||
"sha1": "a8d6c7910ad10207593280b82f477240775f26c2",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9035ad72c504e9ed3f0ebdbfbdf3a40996d0743a"
|
||||
"sha2": "8762d8b6f0e414e2d4f8c60de052f1c575456dda"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-replacement-test",
|
||||
@ -218,9 +218,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "9035ad72c504e9ed3f0ebdbfbdf3a40996d0743a",
|
||||
"sha1": "8762d8b6f0e414e2d4f8c60de052f1c575456dda",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "cabfaba1b0b52ffae8a94efe5f6139b4cbfd69ed"
|
||||
"sha2": "944e46624bb6e5b9ac385719c04d784575fcf0bc"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-test",
|
||||
@ -249,9 +249,9 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "cabfaba1b0b52ffae8a94efe5f6139b4cbfd69ed",
|
||||
"sha1": "944e46624bb6e5b9ac385719c04d784575fcf0bc",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2db28a1aa6756c7ad5c0ad6ea9ce673190b06d07"
|
||||
"sha2": "630a48ac0c5225843bc9de7a04123c1981e5b0e6"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-assignment-delete-rest-test",
|
||||
@ -280,7 +280,7 @@
|
||||
"filePaths": [
|
||||
"assignment.rb"
|
||||
],
|
||||
"sha1": "2db28a1aa6756c7ad5c0ad6ea9ce673190b06d07",
|
||||
"sha1": "630a48ac0c5225843bc9de7a04123c1981e5b0e6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f79ae6e404ace92bec4e913e41c835a3deeb054f"
|
||||
"sha2": "90fc7487dac1e27b923cec7b75b374ba2b4e0cbd"
|
||||
}]
|
||||
|
@ -55,9 +55,9 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "63c2a0e8a0760588033e72f28e614abb695ce22f",
|
||||
"sha1": "ecd0c71ac9f51287bfe007d4fe5757bc0cb87115",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f7d7362bd25c1b163cf4be2f0179e760a8126297"
|
||||
"sha2": "5ed82f67d4b361daa5a8b5b656eb810591f0060e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-bitwise-operator-replacement-insert-test",
|
||||
@ -146,9 +146,9 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "f7d7362bd25c1b163cf4be2f0179e760a8126297",
|
||||
"sha1": "5ed82f67d4b361daa5a8b5b656eb810591f0060e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ae4f93a769a86e49554b852b77a5a03f19793afc"
|
||||
"sha2": "caf53d058a01d7dbb56ca378cc3a4056fe9fac6e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-bitwise-operator-delete-insert-test",
|
||||
@ -177,9 +177,9 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "ae4f93a769a86e49554b852b77a5a03f19793afc",
|
||||
"sha1": "caf53d058a01d7dbb56ca378cc3a4056fe9fac6e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c3b20c5628570f9198d85a9b5d1da2ddb6be7a17"
|
||||
"sha2": "b56f4a9cdfb6c0c694281e4ea247fbac4e55b042"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-bitwise-operator-replacement-test",
|
||||
@ -208,9 +208,9 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "c3b20c5628570f9198d85a9b5d1da2ddb6be7a17",
|
||||
"sha1": "b56f4a9cdfb6c0c694281e4ea247fbac4e55b042",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "faacde11fbe9fad9dc546ac35370f6005f66a389"
|
||||
"sha2": "5a7f6943d102ffad3b35071cb197035c21c8c970"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-bitwise-operator-delete-replacement-test",
|
||||
@ -269,9 +269,9 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "faacde11fbe9fad9dc546ac35370f6005f66a389",
|
||||
"sha1": "5a7f6943d102ffad3b35071cb197035c21c8c970",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0cb257a2523b2fe7eed77ea0c0dcc6529537f815"
|
||||
"sha2": "7a13e259d8a003827ceb87a1e38965ce4ab64863"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-bitwise-operator-delete-test",
|
||||
@ -330,9 +330,9 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "0cb257a2523b2fe7eed77ea0c0dcc6529537f815",
|
||||
"sha1": "7a13e259d8a003827ceb87a1e38965ce4ab64863",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3af0195b09c10b17cc8bcb9a36794b274c081c43"
|
||||
"sha2": "ca1d11bf8d602b1247df8d91851baff490dee129"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-bitwise-operator-delete-rest-test",
|
||||
@ -376,7 +376,7 @@
|
||||
"filePaths": [
|
||||
"bitwise-operator.rb"
|
||||
],
|
||||
"sha1": "3af0195b09c10b17cc8bcb9a36794b274c081c43",
|
||||
"sha1": "ca1d11bf8d602b1247df8d91851baff490dee129",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "aefe753ea24cbc3cab4e8b118d71a3058b882d42"
|
||||
"sha2": "279db06fb4c7847ecafcd8cda4ea46d4613e25b7"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "ef1f1c6078e38df7c5229a9082bcdd131c802e9c",
|
||||
"sha1": "51eb292b3d6f22fe526a1a95a5592789d46e23ba",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "211260abe70db7cc56010fa4398a07f2ef8763cc"
|
||||
"sha2": "6d28ce3ff8c9503fe73c8e5aa0ba5f158d6dfb50"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "211260abe70db7cc56010fa4398a07f2ef8763cc",
|
||||
"sha1": "6d28ce3ff8c9503fe73c8e5aa0ba5f158d6dfb50",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "8f4a455421849f613b43780a1861c62c6b5a6a78"
|
||||
"sha2": "a6aacb4339067d0c15a6017559c7ae4b977d88be"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
|
||||
@ -84,9 +84,9 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "8f4a455421849f613b43780a1861c62c6b5a6a78",
|
||||
"sha1": "a6aacb4339067d0c15a6017559c7ae4b977d88be",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ef4e136fc621078c0c252211903115ed47c20cb5"
|
||||
"sha2": "1754faaf16a425d9f343e39200d587ecf5cdadf4"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-boolean-operator-replacement-test",
|
||||
@ -97,9 +97,9 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "ef4e136fc621078c0c252211903115ed47c20cb5",
|
||||
"sha1": "1754faaf16a425d9f343e39200d587ecf5cdadf4",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "e39829a76f7bda6fb22a2cb03e47f08f7bf23e42"
|
||||
"sha2": "5e64ae2abc05974c32fa6ded4755a7ed88be871a"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
|
||||
@ -128,9 +128,9 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "e39829a76f7bda6fb22a2cb03e47f08f7bf23e42",
|
||||
"sha1": "5e64ae2abc05974c32fa6ded4755a7ed88be871a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a98ef53dbd25141826320c011ee83e6bb5488257"
|
||||
"sha2": "42f38edf5abfc94ef5c8fbd754d7cc5ac7331aa6"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-boolean-operator-delete-test",
|
||||
@ -159,9 +159,9 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "a98ef53dbd25141826320c011ee83e6bb5488257",
|
||||
"sha1": "42f38edf5abfc94ef5c8fbd754d7cc5ac7331aa6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d710f417d71d8c13824bbfdbd019c0153e12eaca"
|
||||
"sha2": "13523cfbc72998e2dd0c3809830bfab762af14da"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
|
||||
@ -190,7 +190,7 @@
|
||||
"filePaths": [
|
||||
"boolean-operator.rb"
|
||||
],
|
||||
"sha1": "d710f417d71d8c13824bbfdbd019c0153e12eaca",
|
||||
"sha1": "13523cfbc72998e2dd0c3809830bfab762af14da",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d2272b2d98b259851cc4b4edfe7aa22d1688c347"
|
||||
"sha2": "e5dae92ef9693410368f65b0d45a11fe87c237da"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "5b64bff98de465bdaf6249a267c8e1ebd59c6a7d",
|
||||
"sha1": "7c7d0bfdbc8d260f7594c926c2b5bb182784c2b6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "99fa0d3e898cd523a027a9145629a07ff0510324"
|
||||
"sha2": "b82c5b32eebb08ecf827a9924b56fd71dbb1bdcd"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-case-statement-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "99fa0d3e898cd523a027a9145629a07ff0510324",
|
||||
"sha1": "b82c5b32eebb08ecf827a9924b56fd71dbb1bdcd",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f10e46f8e2eee9bbe78c725f10889473dcea580c"
|
||||
"sha2": "44e4404a7986c07b78d3c06f57649452ba54a87c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-case-statement-delete-insert-test",
|
||||
@ -102,9 +102,9 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "f10e46f8e2eee9bbe78c725f10889473dcea580c",
|
||||
"sha1": "44e4404a7986c07b78d3c06f57649452ba54a87c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "06709bb498c0d2b32dcd48bfb1352365326002ff"
|
||||
"sha2": "8d15215717180e16bbb4e7ec9fb1f06e86d56e62"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-case-statement-replacement-test",
|
||||
@ -133,9 +133,9 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "06709bb498c0d2b32dcd48bfb1352365326002ff",
|
||||
"sha1": "8d15215717180e16bbb4e7ec9fb1f06e86d56e62",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "61703bb8b57584f12ef84f2d462a24d757121c7c"
|
||||
"sha2": "b1f757c099b8327591e8bbdb0df695c4a7085be0"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-case-statement-delete-replacement-test",
|
||||
@ -194,9 +194,9 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "61703bb8b57584f12ef84f2d462a24d757121c7c",
|
||||
"sha1": "b1f757c099b8327591e8bbdb0df695c4a7085be0",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d965069cc1b667cb8916b231f5ef3e2a5eae6076"
|
||||
"sha2": "a0adc3c1367a1d0322cd61d43704b8492bb0a6e1"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-case-statement-delete-test",
|
||||
@ -225,9 +225,9 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "d965069cc1b667cb8916b231f5ef3e2a5eae6076",
|
||||
"sha1": "a0adc3c1367a1d0322cd61d43704b8492bb0a6e1",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1ae4fe9806a8549e8ea904a967970f88ad165425"
|
||||
"sha2": "3fafbee3d9d0167cabb71f2dc5b47bc469ec882b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-case-statement-delete-rest-test",
|
||||
@ -256,7 +256,7 @@
|
||||
"filePaths": [
|
||||
"case-statement.rb"
|
||||
],
|
||||
"sha1": "1ae4fe9806a8549e8ea904a967970f88ad165425",
|
||||
"sha1": "3fafbee3d9d0167cabb71f2dc5b47bc469ec882b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "419792e05169589c02ce92c9444ab2a237d6a418"
|
||||
"sha2": "34022ada691bc55e900a46f0df216769f09523d4"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "419792e05169589c02ce92c9444ab2a237d6a418",
|
||||
"sha1": "34022ada691bc55e900a46f0df216769f09523d4",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "61dbe8f498303cdf938cbf8f4e3aeda76c832516"
|
||||
"sha2": "0b4e2255b668296e258445b6e7540215a07012f5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-replacement-insert-test",
|
||||
@ -42,38 +42,22 @@
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
4,
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'Foo' class"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "61dbe8f498303cdf938cbf8f4e3aeda76c832516",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "54265e3982102d6f9cfe411ef0bed2f6fb134c3e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-delete-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"class.rb": [
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
4,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
3,
|
||||
6,
|
||||
4
|
||||
]
|
||||
}
|
||||
@ -87,40 +71,35 @@
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "54265e3982102d6f9cfe411ef0bed2f6fb134c3e",
|
||||
"sha1": "0b4e2255b668296e258445b6e7540215a07012f5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "22248498b148c335198758757e506d064432268f"
|
||||
"sha2": "d30ed0e0d9e0134b8c4511646e7a23870dbefd45"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-replacement-test",
|
||||
"testCaseDescription": "ruby-class-delete-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"class.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'Foo' class"
|
||||
}
|
||||
]
|
||||
},
|
||||
"changes": {},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "22248498b148c335198758757e506d064432268f",
|
||||
"sha1": "d30ed0e0d9e0134b8c4511646e7a23870dbefd45",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "6bfbbf4cd19ff169a63f0a31c8385e25ab01b144"
|
||||
"sha2": "e5ce3c9ba5d93a57eac74451222b7d6cd07a3d83"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-replacement-test",
|
||||
"expectedResult": {
|
||||
"changes": {},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "e5ce3c9ba5d93a57eac74451222b7d6cd07a3d83",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "55f4775dbe671208c32278b43f3e31927b1c7218"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-delete-replacement-test",
|
||||
@ -135,7 +114,68 @@
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'Foo' class"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
4,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
6,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'Foo' class"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
4,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
6,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'Foo' class"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "55f4775dbe671208c32278b43f3e31927b1c7218",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0d62a06db07a89173c0067be73bb9c0924658933"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-delete-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"class.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
@ -149,52 +189,9 @@
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "6bfbbf4cd19ff169a63f0a31c8385e25ab01b144",
|
||||
"sha1": "0d62a06db07a89173c0067be73bb9c0924658933",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "dbd381eeea7fc946d04586de6b9db9b44dd8b6de"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-delete-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"class.rb": [
|
||||
{
|
||||
"span": {
|
||||
"replace": [
|
||||
{
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
{
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"summary": "Replaced the 'Foo' class with the '\n' top level"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "dbd381eeea7fc946d04586de6b9db9b44dd8b6de",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "aa7eb83a0fbc952536fee1fbb5ce10dc87497a3e"
|
||||
"sha2": "2956a9ddc219628c6ed2a3b339b13d6dff5c18b8"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-class-delete-rest-test",
|
||||
@ -209,12 +206,12 @@
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
1
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the '\n' top level"
|
||||
"summary": "Deleted the 'Foo' class"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -223,7 +220,7 @@
|
||||
"filePaths": [
|
||||
"class.rb"
|
||||
],
|
||||
"sha1": "aa7eb83a0fbc952536fee1fbb5ce10dc87497a3e",
|
||||
"sha1": "2956a9ddc219628c6ed2a3b339b13d6dff5c18b8",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2317ed81c651e2425e11ce1310ba0a9243a8458c"
|
||||
"sha2": "f8910c25faf46e769f70c04b569b25342713e245"
|
||||
}]
|
||||
|
@ -7,9 +7,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "f79ae6e404ace92bec4e913e41c835a3deeb054f",
|
||||
"sha1": "90fc7487dac1e27b923cec7b75b374ba2b4e0cbd",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5e972727341cfc1597a4154cf9ef15ec6e5ffdbe"
|
||||
"sha2": "c46764532ec40f0a4023e099c2eab94e4017feda"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-replacement-insert-test",
|
||||
@ -20,9 +20,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "5e972727341cfc1597a4154cf9ef15ec6e5ffdbe",
|
||||
"sha1": "c46764532ec40f0a4023e099c2eab94e4017feda",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d3bcb8bdcd94fdba8af50dddcb9bd7143e933017"
|
||||
"sha2": "3979dfb3bb750d1e586e462430b9fdc78a85e282"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-insert-test",
|
||||
@ -33,9 +33,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "d3bcb8bdcd94fdba8af50dddcb9bd7143e933017",
|
||||
"sha1": "3979dfb3bb750d1e586e462430b9fdc78a85e282",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "cd40c253d6097e8a6f43f143c997ccae1cbed856"
|
||||
"sha2": "38a9335b804e3a73b0d66db2e71887a7e8935105"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-replacement-test",
|
||||
@ -46,9 +46,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "cd40c253d6097e8a6f43f143c997ccae1cbed856",
|
||||
"sha1": "38a9335b804e3a73b0d66db2e71887a7e8935105",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f477e37d194468441334329730c9dca3e22819b8"
|
||||
"sha2": "9bc6dacfbc8f71916c60e535d695a4fef5f7ae28"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-replacement-test",
|
||||
@ -59,9 +59,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "f477e37d194468441334329730c9dca3e22819b8",
|
||||
"sha1": "9bc6dacfbc8f71916c60e535d695a4fef5f7ae28",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "abb463febeb56584321f9351e1c84e0d0def6deb"
|
||||
"sha2": "cf5b2e57da306048ce94e4796e8f012487ba3596"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-test",
|
||||
@ -72,9 +72,9 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "abb463febeb56584321f9351e1c84e0d0def6deb",
|
||||
"sha1": "cf5b2e57da306048ce94e4796e8f012487ba3596",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b159270805c1b36322b750dd7570c892f067f299"
|
||||
"sha2": "2c740c5ed3c6ad6591e350ece38c714b83a15d7c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comment-delete-rest-test",
|
||||
@ -85,7 +85,7 @@
|
||||
"filePaths": [
|
||||
"comment.rb"
|
||||
],
|
||||
"sha1": "b159270805c1b36322b750dd7570c892f067f299",
|
||||
"sha1": "2c740c5ed3c6ad6591e350ece38c714b83a15d7c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "76d081f1def91f166bad87972eadb249588b9eaa"
|
||||
"sha2": "c43fb1d8035cf645196a8cb479a041c10bdffa2a"
|
||||
}]
|
||||
|
@ -40,9 +40,9 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "9f47c143ce2b1d15366059f64c0744d375e7e059",
|
||||
"sha1": "45e66c38ec7fe7d2efc8dd8d375c67b1acbea95d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "bcf70ca27ab0c12a4d60ffadb6a7d953c63465e4"
|
||||
"sha2": "c5bfb359fd83de40b231d819a7c15ff16b7353d6"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comparision-operator-replacement-insert-test",
|
||||
@ -116,9 +116,9 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "bcf70ca27ab0c12a4d60ffadb6a7d953c63465e4",
|
||||
"sha1": "c5bfb359fd83de40b231d819a7c15ff16b7353d6",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4943698c76623a46398efae74818f83ad8c364e9"
|
||||
"sha2": "052a945ca4127f93a392f8bd9767e1e9e6e70f8f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
|
||||
@ -129,9 +129,9 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "4943698c76623a46398efae74818f83ad8c364e9",
|
||||
"sha1": "052a945ca4127f93a392f8bd9767e1e9e6e70f8f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "04188aef896de2e18c62b4571aa2d0997ad3602b"
|
||||
"sha2": "9d962b9732a7e2924e1f2bd0441c645a599f5c46"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comparision-operator-replacement-test",
|
||||
@ -142,9 +142,9 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "04188aef896de2e18c62b4571aa2d0997ad3602b",
|
||||
"sha1": "9d962b9732a7e2924e1f2bd0441c645a599f5c46",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ed16943fe4a32af120e6c2f7d9a8667249667f6f"
|
||||
"sha2": "9e4504f402b582ce9582926cd37017aa1ef9035f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comparision-operator-delete-replacement-test",
|
||||
@ -188,9 +188,9 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "ed16943fe4a32af120e6c2f7d9a8667249667f6f",
|
||||
"sha1": "9e4504f402b582ce9582926cd37017aa1ef9035f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0b46a278d9c55d2a63b74da95583edd1e89a0b0f"
|
||||
"sha2": "94b51f7cc2709f17b3bc999234f769527cb5f102"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comparision-operator-delete-test",
|
||||
@ -234,9 +234,9 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "0b46a278d9c55d2a63b74da95583edd1e89a0b0f",
|
||||
"sha1": "94b51f7cc2709f17b3bc999234f769527cb5f102",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4ef6114db51cdc244ecda2859728c51fc3b1b20c"
|
||||
"sha2": "1b29fa3b23c42a8ad1dee9cc0b5555ba519911b5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-comparision-operator-delete-rest-test",
|
||||
@ -280,7 +280,7 @@
|
||||
"filePaths": [
|
||||
"comparision-operator.rb"
|
||||
],
|
||||
"sha1": "4ef6114db51cdc244ecda2859728c51fc3b1b20c",
|
||||
"sha1": "1b29fa3b23c42a8ad1dee9cc0b5555ba519911b5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "63c2a0e8a0760588033e72f28e614abb695ce22f"
|
||||
"sha2": "ecd0c71ac9f51287bfe007d4fe5757bc0cb87115"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "f528e42a19e2fb87e591e8d0f06b0c0e2fc30b4a",
|
||||
"sha1": "2cd88afdb6b8c6ca420a7a7b2d4458ec33e04264",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d513346e043c55281125eb2d8bc397cb94bc9bd0"
|
||||
"sha2": "45dde0c2f31ba0ebc3f6f7f77876d304a881599b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-conditional_assignment-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "d513346e043c55281125eb2d8bc397cb94bc9bd0",
|
||||
"sha1": "45dde0c2f31ba0ebc3f6f7f77876d304a881599b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2cd5c30b411dafc042f4668ccc799cd0cb7c0b00"
|
||||
"sha2": "44d52f1b5b0f8e46bd864d6344250035c74a443f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-conditional_assignment-delete-insert-test",
|
||||
@ -114,9 +114,9 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "2cd5c30b411dafc042f4668ccc799cd0cb7c0b00",
|
||||
"sha1": "44d52f1b5b0f8e46bd864d6344250035c74a443f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "68bef255e2abc5182624892056dccb922a0c0939"
|
||||
"sha2": "4573aefe22238f7ff9ed237e379d494108d40d78"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-conditional_assignment-replacement-test",
|
||||
@ -157,9 +157,9 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "68bef255e2abc5182624892056dccb922a0c0939",
|
||||
"sha1": "4573aefe22238f7ff9ed237e379d494108d40d78",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "61b55e2d9e03db693d274d5618028bb9180b96c9"
|
||||
"sha2": "7e48914159902b9dedb56404dccfd578b7d3672e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-conditional_assignment-delete-replacement-test",
|
||||
@ -218,9 +218,9 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "61b55e2d9e03db693d274d5618028bb9180b96c9",
|
||||
"sha1": "7e48914159902b9dedb56404dccfd578b7d3672e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "60197eac28993df0d16d35a3ad0a38a7be165a6b"
|
||||
"sha2": "82578acce2d0826254f22b938f29c49870019433"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-conditional_assignment-delete-test",
|
||||
@ -249,9 +249,9 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "60197eac28993df0d16d35a3ad0a38a7be165a6b",
|
||||
"sha1": "82578acce2d0826254f22b938f29c49870019433",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "11c5a363ab221071896e7f6b66828a32886994bb"
|
||||
"sha2": "85538c6d937d72692a7a73ba503aea9a0f849dfa"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-conditional_assignment-delete-rest-test",
|
||||
@ -280,7 +280,7 @@
|
||||
"filePaths": [
|
||||
"conditional_assignment.rb"
|
||||
],
|
||||
"sha1": "11c5a363ab221071896e7f6b66828a32886994bb",
|
||||
"sha1": "85538c6d937d72692a7a73ba503aea9a0f849dfa",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c4cc6c2f5a5f5ebbed6fc7613d35fc2f58bad6c3"
|
||||
"sha2": "fedc461180ccd749bcdfdcadea2847e8f78e1256"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "9138a807f42b792a37a5d79940d22c5a10410459",
|
||||
"sha1": "4dd99e31291357d4582650347d28792ea87b58a1",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "7861e9fe6cdbe1260b49624c0e71265d9323cd19"
|
||||
"sha2": "f0e429c193230d13106376071983525008f63cc4"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-replacement-insert-test",
|
||||
@ -68,9 +68,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "7861e9fe6cdbe1260b49624c0e71265d9323cd19",
|
||||
"sha1": "f0e429c193230d13106376071983525008f63cc4",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4af17ec6c7026857d7260b1cb8bfe56b893653b0"
|
||||
"sha2": "fb22f1364166d8b4ebe14e7a1db061d621a4ba7e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-insert-test",
|
||||
@ -111,9 +111,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "4af17ec6c7026857d7260b1cb8bfe56b893653b0",
|
||||
"sha1": "fb22f1364166d8b4ebe14e7a1db061d621a4ba7e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1e26b91bc20637a52ca7869907e657dd9cd1486d"
|
||||
"sha2": "0f08440c058692818be874df2ae9b162d7e276b2"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-replacement-test",
|
||||
@ -154,9 +154,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "1e26b91bc20637a52ca7869907e657dd9cd1486d",
|
||||
"sha1": "0f08440c058692818be874df2ae9b162d7e276b2",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4de36111316f2943f1adbd2ebfdd6a18fc35ab15"
|
||||
"sha2": "6ff5fb35cba1643e4758546c1067dec95ede5267"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-replacement-test",
|
||||
@ -197,9 +197,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "4de36111316f2943f1adbd2ebfdd6a18fc35ab15",
|
||||
"sha1": "6ff5fb35cba1643e4758546c1067dec95ede5267",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1fffd41e523e0322b1d962eaadf232a9f42e4d17"
|
||||
"sha2": "2df9125ea2137cea7697e080cd9974286ccaf87c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-test",
|
||||
@ -336,9 +336,9 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "1fffd41e523e0322b1d962eaadf232a9f42e4d17",
|
||||
"sha1": "2df9125ea2137cea7697e080cd9974286ccaf87c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "da5ccbc80d3ce58868fc2e880d56a8e28b34e791"
|
||||
"sha2": "109309d3a7bb24f4ada540435f22dedeaf7d81c3"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-delimiter-delete-rest-test",
|
||||
@ -430,7 +430,7 @@
|
||||
"filePaths": [
|
||||
"delimiter.rb"
|
||||
],
|
||||
"sha1": "da5ccbc80d3ce58868fc2e880d56a8e28b34e791",
|
||||
"sha1": "109309d3a7bb24f4ada540435f22dedeaf7d81c3",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "104e6d32e5d8a1fbcd9557785a8ebd03051fb8cf"
|
||||
"sha2": "38bbc085e304083bd11915696df1b699c64c4d3a"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "1ab4a0b3a358a2193b89efaea09a1f22869906a4",
|
||||
"sha1": "432d7948afbf85c24f2472865dd3f60cff3b6aaa",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f0a2cd0b35ffd0c3d6b063b9e51e41a5f77b9547"
|
||||
"sha2": "1fcb74136a3291ba9973ae38ff53b5cc046f6101"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-hash-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "f0a2cd0b35ffd0c3d6b063b9e51e41a5f77b9547",
|
||||
"sha1": "1fcb74136a3291ba9973ae38ff53b5cc046f6101",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "951f918a624477eb5729f81fc3df2e2321dfaaad"
|
||||
"sha2": "4cbdd8ff6e42eb7a4b392472550de18354c9efb7"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-hash-delete-insert-test",
|
||||
@ -186,9 +186,9 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "951f918a624477eb5729f81fc3df2e2321dfaaad",
|
||||
"sha1": "4cbdd8ff6e42eb7a4b392472550de18354c9efb7",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2f191fbeb3e09f41ae945480a6f132c5f7e8f276"
|
||||
"sha2": "d125c707db6793d6d78e5acdfb274744a7b8f5cc"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-hash-replacement-test",
|
||||
@ -301,9 +301,9 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "2f191fbeb3e09f41ae945480a6f132c5f7e8f276",
|
||||
"sha1": "d125c707db6793d6d78e5acdfb274744a7b8f5cc",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0e693235302979f1d107cfbd4e9f39ff55fb2539"
|
||||
"sha2": "1aa4bdfd9f4af93d60d51bca0e914292b918bf76"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-hash-delete-replacement-test",
|
||||
@ -362,9 +362,9 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "0e693235302979f1d107cfbd4e9f39ff55fb2539",
|
||||
"sha1": "1aa4bdfd9f4af93d60d51bca0e914292b918bf76",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0f16bdd5111620611b8426beb254b5877cca6c0b"
|
||||
"sha2": "9f5ae459a9f9ed37cad56de424b17306882e47f5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-hash-delete-test",
|
||||
@ -393,9 +393,9 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "0f16bdd5111620611b8426beb254b5877cca6c0b",
|
||||
"sha1": "9f5ae459a9f9ed37cad56de424b17306882e47f5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c7a1c21c5248b078f851bef00424437313b8b1a9"
|
||||
"sha2": "525a9b939014ea1e82f016fb4b9e9a098c7be63b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-hash-delete-rest-test",
|
||||
@ -424,7 +424,7 @@
|
||||
"filePaths": [
|
||||
"hash.rb"
|
||||
],
|
||||
"sha1": "c7a1c21c5248b078f851bef00424437313b8b1a9",
|
||||
"sha1": "525a9b939014ea1e82f016fb4b9e9a098c7be63b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ef1f1c6078e38df7c5229a9082bcdd131c802e9c"
|
||||
"sha2": "51eb292b3d6f22fe526a1a95a5592789d46e23ba"
|
||||
}]
|
||||
|
@ -40,9 +40,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "db31effc5e4e3bc2205e6dc34aacf5100ddd791d",
|
||||
"sha1": "ea8d8967bc283ce53bb73dd83dc2b6221f357b56",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1e025e2895bd49478d2405431a897b40c819a860"
|
||||
"sha2": "7b3c1a444ba182a2e5e599cd07ecff241057ba86"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-replacement-insert-test",
|
||||
@ -116,9 +116,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "1e025e2895bd49478d2405431a897b40c819a860",
|
||||
"sha1": "7b3c1a444ba182a2e5e599cd07ecff241057ba86",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0b818697b31cb102031f660f94027249d881440b"
|
||||
"sha2": "78a781aaa4f8f0a3497ecc8596dba4000ebecaf5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-insert-test",
|
||||
@ -186,9 +186,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "0b818697b31cb102031f660f94027249d881440b",
|
||||
"sha1": "78a781aaa4f8f0a3497ecc8596dba4000ebecaf5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f5ade9dc945c49f29bb3795e5f04a3d3bec60bc7"
|
||||
"sha2": "e0fcdab038825b4af5244ec352acf7ae5cafee48"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-replacement-test",
|
||||
@ -256,9 +256,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "f5ade9dc945c49f29bb3795e5f04a3d3bec60bc7",
|
||||
"sha1": "e0fcdab038825b4af5244ec352acf7ae5cafee48",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1fc2ad792667c92fc797921761b5e814b6163604"
|
||||
"sha2": "3971231b1b0a8925a6cbbcf95b4ad06cfca22071"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-replacement-test",
|
||||
@ -362,9 +362,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "1fc2ad792667c92fc797921761b5e814b6163604",
|
||||
"sha1": "3971231b1b0a8925a6cbbcf95b4ad06cfca22071",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4f860315c13ffbf48dcda90d42b8a021346eb9b9"
|
||||
"sha2": "439f266c3c9e42a07f0b5593988e346f80706753"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-test",
|
||||
@ -408,9 +408,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "4f860315c13ffbf48dcda90d42b8a021346eb9b9",
|
||||
"sha1": "439f266c3c9e42a07f0b5593988e346f80706753",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b36d6327a7428f6c1079db81bb34abcc59f8c092"
|
||||
"sha2": "cda57f0023343a66d495760a1c18702970b2b50a"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-interpolation-delete-rest-test",
|
||||
@ -454,7 +454,7 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "b36d6327a7428f6c1079db81bb34abcc59f8c092",
|
||||
"sha1": "cda57f0023343a66d495760a1c18702970b2b50a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9138a807f42b792a37a5d79940d22c5a10410459"
|
||||
"sha2": "4dd99e31291357d4582650347d28792ea87b58a1"
|
||||
}]
|
||||
|
@ -85,9 +85,9 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "104e6d32e5d8a1fbcd9557785a8ebd03051fb8cf",
|
||||
"sha1": "38bbc085e304083bd11915696df1b699c64c4d3a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "37e692f54262e2c9680110316b18d2ec87cf615a"
|
||||
"sha2": "31d6bdbe6f14a5f57accf2b25a75db94ed50ad8f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-math_assignment-replacement-insert-test",
|
||||
@ -251,9 +251,9 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "37e692f54262e2c9680110316b18d2ec87cf615a",
|
||||
"sha1": "31d6bdbe6f14a5f57accf2b25a75db94ed50ad8f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4c32e5b741f7023c0d5ae53187826f2aec11221f"
|
||||
"sha2": "f1c23cb0714170719c6087667b296c509cf32f7e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-math_assignment-delete-insert-test",
|
||||
@ -294,9 +294,9 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "4c32e5b741f7023c0d5ae53187826f2aec11221f",
|
||||
"sha1": "f1c23cb0714170719c6087667b296c509cf32f7e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3f89bfb689a36444fae96420c07cafcedf810e0d"
|
||||
"sha2": "34d503cb63f0d4e9f5b53b1a9f9534deeea9742d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-math_assignment-replacement-test",
|
||||
@ -337,9 +337,9 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "3f89bfb689a36444fae96420c07cafcedf810e0d",
|
||||
"sha1": "34d503cb63f0d4e9f5b53b1a9f9534deeea9742d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a0934ef018fd5156079cdaef1c10c157cb82bb12"
|
||||
"sha2": "12c747d8f7fc1212cb8ccc35fa7388d6caecec55"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-math_assignment-delete-replacement-test",
|
||||
@ -458,9 +458,9 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "a0934ef018fd5156079cdaef1c10c157cb82bb12",
|
||||
"sha1": "12c747d8f7fc1212cb8ccc35fa7388d6caecec55",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "8d85de2996ef79b6fbbccc55b572fce6141f0a05"
|
||||
"sha2": "cf14b7f112afc355f3e073a35a69b8ea485aa7bc"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-math_assignment-delete-test",
|
||||
@ -549,9 +549,9 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "8d85de2996ef79b6fbbccc55b572fce6141f0a05",
|
||||
"sha1": "cf14b7f112afc355f3e073a35a69b8ea485aa7bc",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "241b39ba005d4bb9f7ead5db8d7ba3c8604fa827"
|
||||
"sha2": "c937009c41cd5d235b74de16366001ea639fde00"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-math_assignment-delete-rest-test",
|
||||
@ -640,7 +640,7 @@
|
||||
"filePaths": [
|
||||
"math_assignment.rb"
|
||||
],
|
||||
"sha1": "241b39ba005d4bb9f7ead5db8d7ba3c8604fa827",
|
||||
"sha1": "c937009c41cd5d235b74de16366001ea639fde00",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f528e42a19e2fb87e591e8d0f06b0c0e2fc30b4a"
|
||||
"sha2": "2cd88afdb6b8c6ca420a7a7b2d4458ec33e04264"
|
||||
}]
|
||||
|
@ -55,9 +55,9 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "3c420fbf503a410bbdee4ca6b19a244c8901e3ec",
|
||||
"sha1": "594f2f2b8f5dd265329c5911e66866f120934461",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a0fc7c75712b9a1e50388eb8af8e68389da88c04"
|
||||
"sha2": "af4afb4cec8c89fe7f9ee4327b0c347369bbd825"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-method-invocation-replacement-insert-test",
|
||||
@ -176,9 +176,9 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "a0fc7c75712b9a1e50388eb8af8e68389da88c04",
|
||||
"sha1": "af4afb4cec8c89fe7f9ee4327b0c347369bbd825",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a70994adcb4bc9459a4e542b9e1138364cd7fed9"
|
||||
"sha2": "54d34d525b92e40d215ba7fa486946385ac64cba"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-method-invocation-delete-insert-test",
|
||||
@ -297,9 +297,9 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "a70994adcb4bc9459a4e542b9e1138364cd7fed9",
|
||||
"sha1": "54d34d525b92e40d215ba7fa486946385ac64cba",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "cdf303c92be57204ba1696e2b2efbd5554b5027d"
|
||||
"sha2": "b24ae60298ca0c1dac80c174f18bc9c564941bab"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-method-invocation-replacement-test",
|
||||
@ -418,9 +418,9 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "cdf303c92be57204ba1696e2b2efbd5554b5027d",
|
||||
"sha1": "b24ae60298ca0c1dac80c174f18bc9c564941bab",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "cb1e902a63dae75ecdfcccbeed68ac93ab6e145e"
|
||||
"sha2": "2208cf9babe36d4dc74889481695a6b229b1baf3"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-method-invocation-delete-replacement-test",
|
||||
@ -479,9 +479,9 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "cb1e902a63dae75ecdfcccbeed68ac93ab6e145e",
|
||||
"sha1": "2208cf9babe36d4dc74889481695a6b229b1baf3",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "f53e8959adf5fbaf159899142f54a046fcd003ff"
|
||||
"sha2": "a57e647fbdfbc55b3236f42e4acc05f9842d6283"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-method-invocation-delete-test",
|
||||
@ -540,9 +540,9 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "f53e8959adf5fbaf159899142f54a046fcd003ff",
|
||||
"sha1": "a57e647fbdfbc55b3236f42e4acc05f9842d6283",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a2a903f3e0be4e0730152e55731882883556afef"
|
||||
"sha2": "9952a1ced1931af394a077db743fab12d55cc75e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-method-invocation-delete-rest-test",
|
||||
@ -616,7 +616,7 @@
|
||||
"filePaths": [
|
||||
"method-invocation.rb"
|
||||
],
|
||||
"sha1": "a2a903f3e0be4e0730152e55731882883556afef",
|
||||
"sha1": "9952a1ced1931af394a077db743fab12d55cc75e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5b64bff98de465bdaf6249a267c8e1ebd59c6a7d"
|
||||
"sha2": "7c7d0bfdbc8d260f7594c926c2b5bb182784c2b6"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "c4cc6c2f5a5f5ebbed6fc7613d35fc2f58bad6c3",
|
||||
"sha1": "fedc461180ccd749bcdfdcadea2847e8f78e1256",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "271ab2adffd2dba300c8caf2fbd6bdc76ddeb638"
|
||||
"sha2": "ee2150771f6ba0ef97af95c419c7461eedbe783f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-multiple_assignments-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "271ab2adffd2dba300c8caf2fbd6bdc76ddeb638",
|
||||
"sha1": "ee2150771f6ba0ef97af95c419c7461eedbe783f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "8f5320c73b3c5b4a387cfe557eadc9793057d501"
|
||||
"sha2": "08369e6e3e583247c7f831af7f9b76bc66cc0204"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-multiple_assignments-delete-insert-test",
|
||||
@ -189,9 +189,9 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "8f5320c73b3c5b4a387cfe557eadc9793057d501",
|
||||
"sha1": "08369e6e3e583247c7f831af7f9b76bc66cc0204",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2eb04a41af247919836ff9e1bb93c02c598f4c41"
|
||||
"sha2": "7d020867187112373b7466812c0d451db7f29e27"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-multiple_assignments-replacement-test",
|
||||
@ -343,9 +343,9 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "2eb04a41af247919836ff9e1bb93c02c598f4c41",
|
||||
"sha1": "7d020867187112373b7466812c0d451db7f29e27",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a215b4ea8c1ae477922d07613bded45977b35315"
|
||||
"sha2": "d9763e2b54115c57c04c4d923a29aa21d2e7e713"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-multiple_assignments-delete-replacement-test",
|
||||
@ -404,9 +404,9 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "a215b4ea8c1ae477922d07613bded45977b35315",
|
||||
"sha1": "d9763e2b54115c57c04c4d923a29aa21d2e7e713",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b6ea1223a29253b2ef7233ebd81b47410f9e549a"
|
||||
"sha2": "72b8a9bc53cb6d0c31d1270748e04a8fb86bec8f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-multiple_assignments-delete-test",
|
||||
@ -435,9 +435,9 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "b6ea1223a29253b2ef7233ebd81b47410f9e549a",
|
||||
"sha1": "72b8a9bc53cb6d0c31d1270748e04a8fb86bec8f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "6cc2909d975e3dccdeb9dd306a7a293604069370"
|
||||
"sha2": "0c2f990a9f18b618e391a0a45f64242264f1cb08"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-multiple_assignments-delete-rest-test",
|
||||
@ -466,7 +466,7 @@
|
||||
"filePaths": [
|
||||
"multiple_assignments.rb"
|
||||
],
|
||||
"sha1": "6cc2909d975e3dccdeb9dd306a7a293604069370",
|
||||
"sha1": "0c2f990a9f18b618e391a0a45f64242264f1cb08",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c21e0287ca02aa41fba0f1b7f0a98e4015940e9a"
|
||||
"sha2": "50818b1f0b8c8c2dc06dfb04a65d425fed793372"
|
||||
}]
|
||||
|
@ -115,9 +115,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "76d081f1def91f166bad87972eadb249588b9eaa",
|
||||
"sha1": "c43fb1d8035cf645196a8cb479a041c10bdffa2a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ffdf74f6df091c617c654c6f519133cdfde7c9c3"
|
||||
"sha2": "b3bf0ad494f1baeec2da0cea712ca86f09ad5b2c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-replacement-insert-test",
|
||||
@ -368,9 +368,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "ffdf74f6df091c617c654c6f519133cdfde7c9c3",
|
||||
"sha1": "b3bf0ad494f1baeec2da0cea712ca86f09ad5b2c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "498df0893fe63e85b860053e3fd1b94e07a68e78"
|
||||
"sha2": "e845151a2bf998730c975d4b68bf470a0ccd5d44"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-insert-test",
|
||||
@ -594,9 +594,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "498df0893fe63e85b860053e3fd1b94e07a68e78",
|
||||
"sha1": "e845151a2bf998730c975d4b68bf470a0ccd5d44",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "172bd522714f518344c8b1ac78db26b2468fa3d3"
|
||||
"sha2": "bb656c2d0ded405a802be4d4dda39970d5399d83"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-replacement-test",
|
||||
@ -820,9 +820,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "172bd522714f518344c8b1ac78db26b2468fa3d3",
|
||||
"sha1": "bb656c2d0ded405a802be4d4dda39970d5399d83",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0723972308cbf9c24f37120988dab114c1275bcf"
|
||||
"sha2": "146e1aae1062725bc36c1ded67276326c0cc5cea"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-replacement-test",
|
||||
@ -1181,9 +1181,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "0723972308cbf9c24f37120988dab114c1275bcf",
|
||||
"sha1": "146e1aae1062725bc36c1ded67276326c0cc5cea",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b096529cba7823397ddb4ed55237e038c96ef50f"
|
||||
"sha2": "afa938aa3bf0f5b168b2624623b0208a580169d7"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-test",
|
||||
@ -1332,9 +1332,9 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "b096529cba7823397ddb4ed55237e038c96ef50f",
|
||||
"sha1": "afa938aa3bf0f5b168b2624623b0208a580169d7",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "5b64e178eea62f18e3c99879663b4a85ee66936b"
|
||||
"sha2": "76ade03c85f54f7caa48dea98f006aa35d58f379"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-number-delete-rest-test",
|
||||
@ -1453,7 +1453,7 @@
|
||||
"filePaths": [
|
||||
"number.rb"
|
||||
],
|
||||
"sha1": "5b64e178eea62f18e3c99879663b4a85ee66936b",
|
||||
"sha1": "76ade03c85f54f7caa48dea98f006aa35d58f379",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d5a056ab2b759ea0018d21585b12830387119bea"
|
||||
"sha2": "233b537be8331a10ec6e74bd70478cdb6fa7e395"
|
||||
}]
|
||||
|
@ -55,9 +55,9 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "c21e0287ca02aa41fba0f1b7f0a98e4015940e9a",
|
||||
"sha1": "50818b1f0b8c8c2dc06dfb04a65d425fed793372",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2814b2aef6f76fe1c5b0ec31dc89f8ee973fe31e"
|
||||
"sha2": "a64ded3a6f763e6c457155b0d9377309137736a9"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-pseudo_variables-replacement-insert-test",
|
||||
@ -161,9 +161,9 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "2814b2aef6f76fe1c5b0ec31dc89f8ee973fe31e",
|
||||
"sha1": "a64ded3a6f763e6c457155b0d9377309137736a9",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "49b869be57afda30d44cc931750ce5db50c6d56b"
|
||||
"sha2": "682a9d2ad30753739cc3fad8e09b2a22b8c05d06"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-pseudo_variables-delete-insert-test",
|
||||
@ -261,9 +261,9 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "49b869be57afda30d44cc931750ce5db50c6d56b",
|
||||
"sha1": "682a9d2ad30753739cc3fad8e09b2a22b8c05d06",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "e550fc0562f0f18f467940dbdbee4a9ccbdb7895"
|
||||
"sha2": "1fbd5cf0f04a6bfd3ba601f53a4ce4b25add920d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-pseudo_variables-replacement-test",
|
||||
@ -361,9 +361,9 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "e550fc0562f0f18f467940dbdbee4a9ccbdb7895",
|
||||
"sha1": "1fbd5cf0f04a6bfd3ba601f53a4ce4b25add920d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "867e238d1c05656474088568f4cb7b3661d92eac"
|
||||
"sha2": "b889920f7501f410843dd7a002e2bb6fe9c11378"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-pseudo_variables-delete-replacement-test",
|
||||
@ -512,9 +512,9 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "867e238d1c05656474088568f4cb7b3661d92eac",
|
||||
"sha1": "b889920f7501f410843dd7a002e2bb6fe9c11378",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0e362f983a031695f99af592c327b2101a275856"
|
||||
"sha2": "6726aa12f169a535c9040daacb85352b2e9d03a5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-pseudo_variables-delete-test",
|
||||
@ -573,9 +573,9 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "0e362f983a031695f99af592c327b2101a275856",
|
||||
"sha1": "6726aa12f169a535c9040daacb85352b2e9d03a5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "17a1674cc9fbd7eadf12b03dafce114e7a1761dd"
|
||||
"sha2": "285e61dbd12ab5d4e8a619f32ca3b35a80ab107a"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-pseudo_variables-delete-rest-test",
|
||||
@ -634,7 +634,7 @@
|
||||
"filePaths": [
|
||||
"pseudo_variables.rb"
|
||||
],
|
||||
"sha1": "17a1674cc9fbd7eadf12b03dafce114e7a1761dd",
|
||||
"sha1": "285e61dbd12ab5d4e8a619f32ca3b35a80ab107a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9a74860fcf612c11ac183a88983717d52e486e26"
|
||||
"sha2": "5f04037dc58e65a9717a9c9f7f829d96c6801e86"
|
||||
}]
|
||||
|
@ -55,9 +55,9 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "d2272b2d98b259851cc4b4edfe7aa22d1688c347",
|
||||
"sha1": "e5dae92ef9693410368f65b0d45a11fe87c237da",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "12d89ee3505d38610d396fc013fd72a9a6a9d4ea"
|
||||
"sha2": "a7eda7229943330cf8cb7d514448c65b7dd3194c"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-relational-operator-replacement-insert-test",
|
||||
@ -161,9 +161,9 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "12d89ee3505d38610d396fc013fd72a9a6a9d4ea",
|
||||
"sha1": "a7eda7229943330cf8cb7d514448c65b7dd3194c",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a71819935054c41a02c2f67b11488a6d206f3e7a"
|
||||
"sha2": "97d3628824bda877994ce52048e8d38cfeab800f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-relational-operator-delete-insert-test",
|
||||
@ -207,9 +207,9 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "a71819935054c41a02c2f67b11488a6d206f3e7a",
|
||||
"sha1": "97d3628824bda877994ce52048e8d38cfeab800f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d483a48579fd82cf293622d1f493b919cb95cc1f"
|
||||
"sha2": "3cb30ac7524ac82ae33b72a296a830c0a4bd0db8"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-relational-operator-replacement-test",
|
||||
@ -253,9 +253,9 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "d483a48579fd82cf293622d1f493b919cb95cc1f",
|
||||
"sha1": "3cb30ac7524ac82ae33b72a296a830c0a4bd0db8",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3500b371e09d3d44f9d49826c75d4525d9c9da07"
|
||||
"sha2": "64b464e17b3af60be6ea1b1af8c64261cc0f5660"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-relational-operator-delete-replacement-test",
|
||||
@ -344,9 +344,9 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "3500b371e09d3d44f9d49826c75d4525d9c9da07",
|
||||
"sha1": "64b464e17b3af60be6ea1b1af8c64261cc0f5660",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2bc5e7888ac5854ce9d249aa1c728ea26a6d41f9"
|
||||
"sha2": "c58f6de1465d18377b402cd2ea496425d23ffdb4"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-relational-operator-delete-test",
|
||||
@ -405,9 +405,9 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "2bc5e7888ac5854ce9d249aa1c728ea26a6d41f9",
|
||||
"sha1": "c58f6de1465d18377b402cd2ea496425d23ffdb4",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "404c343187b9d675e6e3d0ab33a6036c5570cff0"
|
||||
"sha2": "e6ddfc6429e66be5d06a8527da58930133098495"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-relational-operator-delete-rest-test",
|
||||
@ -466,7 +466,7 @@
|
||||
"filePaths": [
|
||||
"relational-operator.rb"
|
||||
],
|
||||
"sha1": "404c343187b9d675e6e3d0ab33a6036c5570cff0",
|
||||
"sha1": "e6ddfc6429e66be5d06a8527da58930133098495",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9f47c143ce2b1d15366059f64c0744d375e7e059"
|
||||
"sha2": "45e66c38ec7fe7d2efc8dd8d375c67b1acbea95d"
|
||||
}]
|
||||
|
262
test/corpus/diff-summaries/ruby/return.json
Normal file
262
test/corpus/diff-summaries/ruby/return.json
Normal file
@ -0,0 +1,262 @@
|
||||
[{
|
||||
"testCaseDescription": "ruby-return-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'foo' return statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "f8910c25faf46e769f70c04b569b25342713e245",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d092898df0a455d1ff4600af718814f3cf41f4fd"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-return-replacement-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
7
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'empty' return statement"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'foo' return statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "d092898df0a455d1ff4600af718814f3cf41f4fd",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2a70b62f81324dc0a44e0f3fe28a4b0a48cbe95d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-return-delete-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
8
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'foo' identifier"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "2a70b62f81324dc0a44e0f3fe28a4b0a48cbe95d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4d3246fd3d339957426b9d029a1c0df96825f8f8"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-return-replacement-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
8
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'foo' identifier"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "4d3246fd3d339957426b9d029a1c0df96825f8f8",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "e9fb936a86eec95c975916df98892903e439460d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-return-delete-replacement-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
7
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'empty' return statement"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'foo' return statement"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
7
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'empty' return statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "e9fb936a86eec95c975916df98892903e439460d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "85a7914e4baecc4b7d1d13001ff3362686572a4e"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-return-delete-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'foo' return statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "85a7914e4baecc4b7d1d13001ff3362686572a4e",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "8b0a9a2fe04ea4820ad96d50abb557d2d90f2954"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-return-delete-rest-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"return.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
7
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'empty' return statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"return.rb"
|
||||
],
|
||||
"sha1": "8b0a9a2fe04ea4820ad96d50abb557d2d90f2954",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "2e09554ca2bd6ae92b16ca375058109f576bd2cf"
|
||||
}]
|
@ -40,9 +40,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "710829f5df6c9d25a506fc45c47bb1a2b6a73506",
|
||||
"sha1": "2640cfd0d7b6c27951cca79b20413db4b30d50aa",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "470f3293df12ac13859cf93944cc87886a954b5e"
|
||||
"sha2": "3725654274f2ecea34fa81d619048f66b9b4d280"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-replacement-insert-test",
|
||||
@ -116,9 +116,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "470f3293df12ac13859cf93944cc87886a954b5e",
|
||||
"sha1": "3725654274f2ecea34fa81d619048f66b9b4d280",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "75457c9fda12bae8385d7cf56c141730cd8f0d26"
|
||||
"sha2": "038ec6fc447b3b0f656f9e6f480c6885e10fcf4b"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-insert-test",
|
||||
@ -186,9 +186,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "75457c9fda12bae8385d7cf56c141730cd8f0d26",
|
||||
"sha1": "038ec6fc447b3b0f656f9e6f480c6885e10fcf4b",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c60da563087c734349b2816c2e8d2699169a0836"
|
||||
"sha2": "9c981faddc78f0281130d5d7846ea852a3bfd137"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-replacement-test",
|
||||
@ -256,9 +256,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "c60da563087c734349b2816c2e8d2699169a0836",
|
||||
"sha1": "9c981faddc78f0281130d5d7846ea852a3bfd137",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b81a78ad78f4c334cb53bbc0e17f6b47f66d439c"
|
||||
"sha2": "9d7357af70e8c5cd3ba201ef9b26b05559a2cd2a"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-replacement-test",
|
||||
@ -362,9 +362,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "b81a78ad78f4c334cb53bbc0e17f6b47f66d439c",
|
||||
"sha1": "9d7357af70e8c5cd3ba201ef9b26b05559a2cd2a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4c3c4bf30d52d00fda123600b01968c7cdded6f9"
|
||||
"sha2": "70050e002e402bb43cf6281b8323a610e0a738fb"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-test",
|
||||
@ -408,9 +408,9 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "4c3c4bf30d52d00fda123600b01968c7cdded6f9",
|
||||
"sha1": "70050e002e402bb43cf6281b8323a610e0a738fb",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ef2becb8fa2171eae42057cad4aafb1032dc511b"
|
||||
"sha2": "7c2e1222dc5da57b714bfaad952b12fe0fa6b2a0"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-string-delete-rest-test",
|
||||
@ -454,7 +454,7 @@
|
||||
"filePaths": [
|
||||
"string.rb"
|
||||
],
|
||||
"sha1": "ef2becb8fa2171eae42057cad4aafb1032dc511b",
|
||||
"sha1": "7c2e1222dc5da57b714bfaad952b12fe0fa6b2a0",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "db31effc5e4e3bc2205e6dc34aacf5100ddd791d"
|
||||
"sha2": "ea8d8967bc283ce53bb73dd83dc2b6221f357b56"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "9a74860fcf612c11ac183a88983717d52e486e26",
|
||||
"sha1": "5f04037dc58e65a9717a9c9f7f829d96c6801e86",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "53114e9ff780d05491fb701c1be3363da35b3b91"
|
||||
"sha2": "27d1f39691433533ca78e5698036a230fe6b7f33"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-subshell-replacement-insert-test",
|
||||
@ -71,9 +71,9 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "53114e9ff780d05491fb701c1be3363da35b3b91",
|
||||
"sha1": "27d1f39691433533ca78e5698036a230fe6b7f33",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "cae821a984f7de50a2c1e803a8a0b9d7620d20b6"
|
||||
"sha2": "081f41e2d658e9e88dd4075c0964a67d45caa9c0"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-subshell-delete-insert-test",
|
||||
@ -114,9 +114,9 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "cae821a984f7de50a2c1e803a8a0b9d7620d20b6",
|
||||
"sha1": "081f41e2d658e9e88dd4075c0964a67d45caa9c0",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c26bca5c2480b2da923251f7e3d35fa9e227ad30"
|
||||
"sha2": "53dbe05a1f8d37bc313b1519a9de411e05e810e0"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-subshell-replacement-test",
|
||||
@ -157,9 +157,9 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "c26bca5c2480b2da923251f7e3d35fa9e227ad30",
|
||||
"sha1": "53dbe05a1f8d37bc313b1519a9de411e05e810e0",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "4c5d9a605e44d9178dd421c696341703f194f8a6"
|
||||
"sha2": "2741a3e098e1b5b60f4126578cee93a34af695a3"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-subshell-delete-replacement-test",
|
||||
@ -218,9 +218,9 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "4c5d9a605e44d9178dd421c696341703f194f8a6",
|
||||
"sha1": "2741a3e098e1b5b60f4126578cee93a34af695a3",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "0a2f3ea07bf0900cd4c8776a6ff5430a51d66a29"
|
||||
"sha2": "e3335b6a03bdc12d882889abe2fced47853c5ed5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-subshell-delete-test",
|
||||
@ -249,9 +249,9 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "0a2f3ea07bf0900cd4c8776a6ff5430a51d66a29",
|
||||
"sha1": "e3335b6a03bdc12d882889abe2fced47853c5ed5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "28cbf41fd94fcbb2b3c9902b7f617fc93e4a967a"
|
||||
"sha2": "b6c83d388e9dfda6473c56cad026836070ec551d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-subshell-delete-rest-test",
|
||||
@ -280,7 +280,7 @@
|
||||
"filePaths": [
|
||||
"subshell.rb"
|
||||
],
|
||||
"sha1": "28cbf41fd94fcbb2b3c9902b7f617fc93e4a967a",
|
||||
"sha1": "b6c83d388e9dfda6473c56cad026836070ec551d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "1ab4a0b3a358a2193b89efaea09a1f22869906a4"
|
||||
"sha2": "432d7948afbf85c24f2472865dd3f60cff3b6aaa"
|
||||
}]
|
||||
|
@ -55,9 +55,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "d5a056ab2b759ea0018d21585b12830387119bea",
|
||||
"sha1": "233b537be8331a10ec6e74bd70478cdb6fa7e395",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "9a15ef50731d07030921e02ee0c6c29065da7548"
|
||||
"sha2": "eeb0d3e6df7c6c0955a447f545083b79fc918002"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-replacement-insert-test",
|
||||
@ -161,9 +161,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "9a15ef50731d07030921e02ee0c6c29065da7548",
|
||||
"sha1": "eeb0d3e6df7c6c0955a447f545083b79fc918002",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "36209cc7a4e3a9390b1d8182f7ab833c16e876b9"
|
||||
"sha2": "5e5677e85c5b03528319c11293d01fafd93e0fff"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-insert-test",
|
||||
@ -258,9 +258,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "36209cc7a4e3a9390b1d8182f7ab833c16e876b9",
|
||||
"sha1": "5e5677e85c5b03528319c11293d01fafd93e0fff",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "dece944eccdcb9b800dc0dce6befbcdb427b8873"
|
||||
"sha2": "725554053616d5501d95d22faaa18bf12da733f1"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-replacement-test",
|
||||
@ -355,9 +355,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "dece944eccdcb9b800dc0dce6befbcdb427b8873",
|
||||
"sha1": "725554053616d5501d95d22faaa18bf12da733f1",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "78a3e875d829319c214e671740aa98f0c5794e32"
|
||||
"sha2": "ebedfc92e5d61b2287224b2dfbe585c4a6cca89d"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-replacement-test",
|
||||
@ -506,9 +506,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "78a3e875d829319c214e671740aa98f0c5794e32",
|
||||
"sha1": "ebedfc92e5d61b2287224b2dfbe585c4a6cca89d",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "807b7293ddfe5a6856b80e8ec39247007863fc4e"
|
||||
"sha2": "d63268ca14f2994d6a837b5e84cd071e8b9f8165"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-test",
|
||||
@ -567,9 +567,9 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "807b7293ddfe5a6856b80e8ec39247007863fc4e",
|
||||
"sha1": "d63268ca14f2994d6a837b5e84cd071e8b9f8165",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3c68e4f31eb1afc4d16877e842375ab4a72200e5"
|
||||
"sha2": "6990875db340f2906e88835b37a955df69d4f5f2"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-symbol-delete-rest-test",
|
||||
@ -628,7 +628,7 @@
|
||||
"filePaths": [
|
||||
"symbol.rb"
|
||||
],
|
||||
"sha1": "3c68e4f31eb1afc4d16877e842375ab4a72200e5",
|
||||
"sha1": "6990875db340f2906e88835b37a955df69d4f5f2",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "710829f5df6c9d25a506fc45c47bb1a2b6a73506"
|
||||
"sha2": "2640cfd0d7b6c27951cca79b20413db4b30d50aa"
|
||||
}]
|
||||
|
@ -25,9 +25,9 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "aefe753ea24cbc3cab4e8b118d71a3058b882d42",
|
||||
"sha1": "279db06fb4c7847ecafcd8cda4ea46d4613e25b7",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "96f81f96aad5ae563d0b59be7aa884a93ea4ed60"
|
||||
"sha2": "67784bd6010976a3bbb484f13c113d64c2df36e1"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-ternary-replacement-insert-test",
|
||||
@ -68,9 +68,9 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "96f81f96aad5ae563d0b59be7aa884a93ea4ed60",
|
||||
"sha1": "67784bd6010976a3bbb484f13c113d64c2df36e1",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "6262b26c479de34ded2dcafa32385a377872f7bf"
|
||||
"sha2": "3e365f7aaa13dd5c93ae7c0352b1081a9c49d0a7"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-ternary-delete-insert-test",
|
||||
@ -111,9 +111,9 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "6262b26c479de34ded2dcafa32385a377872f7bf",
|
||||
"sha1": "3e365f7aaa13dd5c93ae7c0352b1081a9c49d0a7",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a78c3e316d337e2763463d4ef09dbfb93567f179"
|
||||
"sha2": "9c9deeb3a60bd9cf763a60c789f54f326ee99f08"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-ternary-replacement-test",
|
||||
@ -154,9 +154,9 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "a78c3e316d337e2763463d4ef09dbfb93567f179",
|
||||
"sha1": "9c9deeb3a60bd9cf763a60c789f54f326ee99f08",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "c6d1108352e2af11f02b6c454f415fd22d2cd6c0"
|
||||
"sha2": "26007b128511147daed250b41158549e1d27631a"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-ternary-delete-replacement-test",
|
||||
@ -197,9 +197,9 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "c6d1108352e2af11f02b6c454f415fd22d2cd6c0",
|
||||
"sha1": "26007b128511147daed250b41158549e1d27631a",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "b45cd30c89aba981f109619fd7d5f6e8bb4e65b3"
|
||||
"sha2": "fc6e4ba387f179b95a336ead0bb8148d9c86dcec"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-ternary-delete-test",
|
||||
@ -240,9 +240,9 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "b45cd30c89aba981f109619fd7d5f6e8bb4e65b3",
|
||||
"sha1": "fc6e4ba387f179b95a336ead0bb8148d9c86dcec",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "ed6e64333fb33818c9fff58df038f49e63685df6"
|
||||
"sha2": "8074610181409e835411b12a17e136e7f378331f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-ternary-delete-rest-test",
|
||||
@ -271,7 +271,7 @@
|
||||
"filePaths": [
|
||||
"ternary.rb"
|
||||
],
|
||||
"sha1": "ed6e64333fb33818c9fff58df038f49e63685df6",
|
||||
"sha1": "8074610181409e835411b12a17e136e7f378331f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3c420fbf503a410bbdee4ca6b19a244c8901e3ec"
|
||||
"sha2": "594f2f2b8f5dd265329c5911e66866f120934461"
|
||||
}]
|
||||
|
262
test/corpus/diff-summaries/ruby/yield.json
Normal file
262
test/corpus/diff-summaries/ruby/yield.json
Normal file
@ -0,0 +1,262 @@
|
||||
[{
|
||||
"testCaseDescription": "ruby-yield-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'foo' yield statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "39ae806b1ae634068395b35085944e405461348f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "890cb263430ac399399afd829334ed051d690a27"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-yield-replacement-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'empty' yield statement"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'foo' yield statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "890cb263430ac399399afd829334ed051d690a27",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "3a0e976f298467135bc50d49cf557552008fc97f"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-yield-delete-insert-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
1,
|
||||
7
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'foo' identifier"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "3a0e976f298467135bc50d49cf557552008fc97f",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "075f4112d52bbfaa890d4eb965d490712fa20aac"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-yield-replacement-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
7
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'foo' identifier"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "075f4112d52bbfaa890d4eb965d490712fa20aac",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "a7e34fab4b84241bfd724a05fccfc6d5f62274c5"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-yield-delete-replacement-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'empty' yield statement"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'foo' yield statement"
|
||||
},
|
||||
{
|
||||
"span": {
|
||||
"insert": {
|
||||
"start": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
2,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Added the 'empty' yield statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "a7e34fab4b84241bfd724a05fccfc6d5f62274c5",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "cd77d25b8e2161e68ddab6a4710f60a58bd86d23"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-yield-delete-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'foo' yield statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "cd77d25b8e2161e68ddab6a4710f60a58bd86d23",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "d5871bc2a7e304070a570e98a6e3c7ff02c587f3"
|
||||
}
|
||||
,{
|
||||
"testCaseDescription": "ruby-yield-delete-rest-test",
|
||||
"expectedResult": {
|
||||
"changes": {
|
||||
"yield.rb": [
|
||||
{
|
||||
"span": {
|
||||
"delete": {
|
||||
"start": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"end": [
|
||||
1,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"summary": "Deleted the 'empty' yield statement"
|
||||
}
|
||||
]
|
||||
},
|
||||
"errors": {}
|
||||
},
|
||||
"filePaths": [
|
||||
"yield.rb"
|
||||
],
|
||||
"sha1": "d5871bc2a7e304070a570e98a6e3c7ff02c587f3",
|
||||
"gitDir": "test/corpus/repos/ruby",
|
||||
"sha2": "dbe070995f875acff55ccfcf16c77c9f733468a0"
|
||||
}]
|
@ -148,8 +148,22 @@
|
||||
"syntax": "class",
|
||||
"repoFilePath": "class.rb",
|
||||
"insert": "class Foo < Super\n def test; end\nend",
|
||||
"replacement": "",
|
||||
"replacement": "class Foo\n def test; end\nend",
|
||||
"testCaseFilePath": "test/corpus/diff-summaries/ruby/class.json"
|
||||
},
|
||||
{
|
||||
"syntax": "return",
|
||||
"repoFilePath": "return.rb",
|
||||
"insert": "return foo",
|
||||
"replacement": "return",
|
||||
"testCaseFilePath": "test/corpus/diff-summaries/ruby/return.json"
|
||||
},
|
||||
{
|
||||
"syntax": "yield",
|
||||
"repoFilePath": "yield.rb",
|
||||
"insert": "yield foo",
|
||||
"replacement": "yield",
|
||||
"testCaseFilePath": "test/corpus/diff-summaries/ruby/yield.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 2317ed81c651e2425e11ce1310ba0a9243a8458c
|
||||
Subproject commit dbe070995f875acff55ccfcf16c77c9f733468a0
|
Loading…
Reference in New Issue
Block a user