1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00

Parse while and until statements and modifiers

This commit is contained in:
Timothy Clem 2016-10-26 12:54:21 -07:00
parent 986a3572d4
commit 013f6392ff
35 changed files with 1076 additions and 352 deletions

View File

@ -122,6 +122,8 @@ data Category
| ConditionalAssignment
-- | A yield statement.
| Yield
-- | An until expression.
| Until
deriving (Eq, Generic, Ord, Show)
-- Instances
@ -180,6 +182,7 @@ instance Arbitrary Category where
, pure Subshell
, pure ConditionalAssignment
, pure Yield
, pure Until
, Other <$> arbitrary
]

View File

@ -201,7 +201,6 @@ toTermName source term = case unwrap term of
S.Switch expr _ -> toTermName' expr
S.Ternary expr _ -> toTermName' expr
S.MathAssignment id _ -> toTermName' id
S.ConditionalAssignment id _ -> toTermName' id
S.Operator _ -> termNameFromSource term
S.Object kvs -> "{ " <> intercalate ", " (toTermName' <$> kvs) <> " }"
S.Pair a _ -> toTermName' a <> ": …"
@ -226,6 +225,8 @@ toTermName source term = case unwrap term of
S.Export Nothing expr -> "{ " <> intercalate ", " (termNameFromSource <$> expr) <> " }"
S.Export (Just identifier) [] -> "{ " <> toTermName' identifier <> " }"
S.Export (Just identifier) expr -> "{ " <> intercalate ", " (termNameFromSource <$> expr) <> " }" <> " from " <> toTermName' identifier
S.ConditionalAssignment id _ -> toTermName' id
S.Until expr _ -> toTermName' expr
where toTermName' = toTermName source
termNameFromChildren term children = termNameFromRange (unionRangesFrom (range term) (range <$> children))
termNameFromSource term = termNameFromRange (range term)
@ -350,6 +351,7 @@ instance HasCategory Category where
C.Subshell -> "subshell command"
C.ConditionalAssignment -> "conditional assignment"
C.Yield -> "yield statement"
C.Until -> "until statement"
instance HasField fields Category => HasCategory (SyntaxTerm leaf fields) where
toCategoryName = toCategoryName . category . extract

View File

@ -53,7 +53,7 @@ termConstructor source sourceSpan name range children
("comment", _) -> S.Comment . toText $ slice range source
("if_statement", [ expr, thenClause, elseClause ]) -> toElseIf expr thenClause elseClause
("if_statement", [ expr, thenClause ]) -> S.If expr thenClause []
("while_statement", [ expr, body ]) -> S.While expr body
("while_statement", [ expr, body ]) -> S.While expr (Just body)
("do_statement", [ expr, body ]) -> S.DoWhile expr body
("throw_statement", [ expr ]) -> S.Throw expr
("new_expression", [ expr ]) -> S.Constructor expr

View File

@ -40,6 +40,12 @@ 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)
("until_modifier", [ lhs, condition ]) -> S.Until condition (Just lhs)
("until_statement", [ expr, body ]) -> S.Until expr (Just body)
("until_statement", [ expr ]) -> S.Until expr Nothing
("while_modifier", [ lhs, condition ]) -> S.While condition (Just lhs)
("while_statement", [ expr, body ]) -> S.While expr (Just body)
("while_statement", [ expr ]) -> S.While expr Nothing
("yield", _) -> S.Yield (listToMaybe children)
_ | name `elem` ["boolean_and", "boolean_or", "bitwise_or", "bitwise_and", "shift", "relational", "comparison"]
-> S.Operator children
@ -84,5 +90,9 @@ categoryForRubyName = \case
"string" -> StringLiteral
"subshell" -> Subshell
"symbol" -> SymbolLiteral
"until_modifier" -> Until
"until_statement" -> Until
"while_modifier" -> While
"while_statement" -> While
"yield" -> Yield
s -> Other s

View File

@ -85,14 +85,12 @@ termFields info syntax = "range" .= characterRange info : "category" .= category
S.VarDecl decl -> [ "variableDeclaration" .= decl ]
S.VarAssignment id value -> [ "varIdentifier" .= id ] <> [ "value" .= value ]
S.MathAssignment id value -> [ "mathIdentifier" .= id ] <> [ "value" .= value ]
S.ConditionalAssignment id value -> [ "conditionalIdentifier" .= id ] <> [ "value" .= value ]
S.Ternary expr cases -> [ "ternaryExpression" .= expr ] <> [ "cases" .= cases ]
S.Operator syntaxes -> [ "operatorSyntaxes" .= syntaxes ]
S.SubscriptAccess id property -> [ "subscriptId" .= id ] <> [ "property" .= property ]
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)
@ -105,6 +103,9 @@ termFields info syntax = "range" .= characterRange info : "category" .= category
S.Module identifier definitions-> [ "moduleIdentifier" .= identifier ] <> [ "definitions" .= definitions ]
S.Import identifier expr -> [ "importIdentifier" .= identifier ] <> [ "importStatements" .= expr ]
S.Export identifier expr -> [ "exportIdentifier" .= identifier ] <> [ "exportStatements" .= expr ]
S.ConditionalAssignment id value -> [ "conditionalIdentifier" .= id ] <> [ "value" .= value ]
S.Yield expr -> [ "yieldExpression" .= expr ]
S.Until expr body -> [ "untilExpr" .= expr ] <> [ "untilBody" .= body ]
where childrenFields c = [ "children" .= c ]
patchFields :: (KeyValue kv, HasField fields Category, HasField fields Range) => SplitPatch (SyntaxTerm leaf fields) -> [kv]

View File

@ -87,6 +87,7 @@ styleName category = "category-" <> case category of
C.Subshell -> "subshell"
C.ConditionalAssignment -> "conditional_assignment"
C.Yield -> "yield_statement"
C.Until -> "until"
-- | Pick the class name for a split patch.
splitPatchToClassName :: SplitPatch a -> AttributeValue

View File

@ -59,7 +59,7 @@ data Syntax a f
| Error [f]
| For [f] f
| DoWhile { doWhileBody :: f, doWhileExpr :: f }
| While { whileExpr :: f, whileBody :: f }
| While { whileExpr :: f, whileBody :: Maybe f }
| Return (Maybe f)
| Throw f
| Constructor f
@ -79,6 +79,7 @@ data Syntax a f
-- | A conditional assignment represents expressions whose operator classifies as conditional (e.g. ||= or &&=).
| ConditionalAssignment { conditionalAssignmentId :: f, value :: f }
| Yield (Maybe f)
| Until { untilExpr :: f, untilBody :: Maybe f }
deriving (Eq, Foldable, Functor, Generic, Generic1, Mergeable, Ord, Show, Traversable)

View File

@ -25,9 +25,9 @@
"filePaths": [
"assignment.rb"
],
"sha1": "ed05c5b9395b5564308f1d52ae931bd39d5a3cb6",
"sha1": "dbe070995f875acff55ccfcf16c77c9f733468a0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "37d8e777a7c7053b616fc3464401816e9debc60c"
"sha2": "c2a6427888616547e6d596c73e20b964f242f524"
}
,{
"testCaseDescription": "ruby-assignment-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"assignment.rb"
],
"sha1": "37d8e777a7c7053b616fc3464401816e9debc60c",
"sha1": "c2a6427888616547e6d596c73e20b964f242f524",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6e3c3687efe728b53e432442d5b1b218256aaa8c"
"sha2": "ed37a24b34d3b7671d612cae1c3916c7e64af9af"
}
,{
"testCaseDescription": "ruby-assignment-delete-insert-test",
@ -114,9 +114,9 @@
"filePaths": [
"assignment.rb"
],
"sha1": "6e3c3687efe728b53e432442d5b1b218256aaa8c",
"sha1": "ed37a24b34d3b7671d612cae1c3916c7e64af9af",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a8d6c7910ad10207593280b82f477240775f26c2"
"sha2": "079bb446538cab7c7f8412e2be5658a7392a2282"
}
,{
"testCaseDescription": "ruby-assignment-replacement-test",
@ -157,9 +157,9 @@
"filePaths": [
"assignment.rb"
],
"sha1": "a8d6c7910ad10207593280b82f477240775f26c2",
"sha1": "079bb446538cab7c7f8412e2be5658a7392a2282",
"gitDir": "test/corpus/repos/ruby",
"sha2": "8762d8b6f0e414e2d4f8c60de052f1c575456dda"
"sha2": "82ebe030bc3abae2174270fc74bf8b6da7ece0b9"
}
,{
"testCaseDescription": "ruby-assignment-delete-replacement-test",
@ -218,9 +218,9 @@
"filePaths": [
"assignment.rb"
],
"sha1": "8762d8b6f0e414e2d4f8c60de052f1c575456dda",
"sha1": "82ebe030bc3abae2174270fc74bf8b6da7ece0b9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "944e46624bb6e5b9ac385719c04d784575fcf0bc"
"sha2": "daf048f202bdeb6af383f6cfcbcf2ff44a02fe58"
}
,{
"testCaseDescription": "ruby-assignment-delete-test",
@ -249,9 +249,9 @@
"filePaths": [
"assignment.rb"
],
"sha1": "944e46624bb6e5b9ac385719c04d784575fcf0bc",
"sha1": "daf048f202bdeb6af383f6cfcbcf2ff44a02fe58",
"gitDir": "test/corpus/repos/ruby",
"sha2": "630a48ac0c5225843bc9de7a04123c1981e5b0e6"
"sha2": "11f0fd1f00bbb5b313d8dafe10f8d0856e45feb4"
}
,{
"testCaseDescription": "ruby-assignment-delete-rest-test",
@ -280,7 +280,7 @@
"filePaths": [
"assignment.rb"
],
"sha1": "630a48ac0c5225843bc9de7a04123c1981e5b0e6",
"sha1": "11f0fd1f00bbb5b313d8dafe10f8d0856e45feb4",
"gitDir": "test/corpus/repos/ruby",
"sha2": "90fc7487dac1e27b923cec7b75b374ba2b4e0cbd"
"sha2": "e99784383316ead7925ed506864844104fc8f534"
}]

View File

@ -55,9 +55,9 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "ecd0c71ac9f51287bfe007d4fe5757bc0cb87115",
"sha1": "a847285255523b2f12866a9edb22ad1f63293e54",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5ed82f67d4b361daa5a8b5b656eb810591f0060e"
"sha2": "5fdcd994ec65cbc656cf7cc9d40787208500e999"
}
,{
"testCaseDescription": "ruby-bitwise-operator-replacement-insert-test",
@ -146,9 +146,9 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "5ed82f67d4b361daa5a8b5b656eb810591f0060e",
"sha1": "5fdcd994ec65cbc656cf7cc9d40787208500e999",
"gitDir": "test/corpus/repos/ruby",
"sha2": "caf53d058a01d7dbb56ca378cc3a4056fe9fac6e"
"sha2": "1f97faed5eb93153a90f250f6ccdb3b7cf5e3da4"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-insert-test",
@ -177,9 +177,9 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "caf53d058a01d7dbb56ca378cc3a4056fe9fac6e",
"sha1": "1f97faed5eb93153a90f250f6ccdb3b7cf5e3da4",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b56f4a9cdfb6c0c694281e4ea247fbac4e55b042"
"sha2": "528d4ea121aa4df38981a5c6ecc8fe933aa01ae0"
}
,{
"testCaseDescription": "ruby-bitwise-operator-replacement-test",
@ -208,9 +208,9 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "b56f4a9cdfb6c0c694281e4ea247fbac4e55b042",
"sha1": "528d4ea121aa4df38981a5c6ecc8fe933aa01ae0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5a7f6943d102ffad3b35071cb197035c21c8c970"
"sha2": "b3c59614e88e6b175e198eb6800db4d97856d1af"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-replacement-test",
@ -269,9 +269,9 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "5a7f6943d102ffad3b35071cb197035c21c8c970",
"sha1": "b3c59614e88e6b175e198eb6800db4d97856d1af",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7a13e259d8a003827ceb87a1e38965ce4ab64863"
"sha2": "ca791f749ebda7db0c5f26312ca92920667d05c5"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-test",
@ -330,9 +330,9 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "7a13e259d8a003827ceb87a1e38965ce4ab64863",
"sha1": "ca791f749ebda7db0c5f26312ca92920667d05c5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "ca1d11bf8d602b1247df8d91851baff490dee129"
"sha2": "b446ed8b312c076ef9bf01144e8c17c9f6891432"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-rest-test",
@ -376,7 +376,7 @@
"filePaths": [
"bitwise-operator.rb"
],
"sha1": "ca1d11bf8d602b1247df8d91851baff490dee129",
"sha1": "b446ed8b312c076ef9bf01144e8c17c9f6891432",
"gitDir": "test/corpus/repos/ruby",
"sha2": "279db06fb4c7847ecafcd8cda4ea46d4613e25b7"
"sha2": "5036f0b3423bc672f1aff35b244665a17dc2dad9"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "51eb292b3d6f22fe526a1a95a5592789d46e23ba",
"sha1": "de51643f43d1fd9e94a202129b4d0fa9237079b9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6d28ce3ff8c9503fe73c8e5aa0ba5f158d6dfb50"
"sha2": "117acd26f18d2ad3695b5c7ec006cfdc868c1135"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "6d28ce3ff8c9503fe73c8e5aa0ba5f158d6dfb50",
"sha1": "117acd26f18d2ad3695b5c7ec006cfdc868c1135",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a6aacb4339067d0c15a6017559c7ae4b977d88be"
"sha2": "53de33de6c1047783c79bb15eef13b2a4eb35cfb"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
@ -84,9 +84,9 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "a6aacb4339067d0c15a6017559c7ae4b977d88be",
"sha1": "53de33de6c1047783c79bb15eef13b2a4eb35cfb",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1754faaf16a425d9f343e39200d587ecf5cdadf4"
"sha2": "b0ca2977dd3e30c3de654e1299896591615e9cd8"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
@ -97,9 +97,9 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "1754faaf16a425d9f343e39200d587ecf5cdadf4",
"sha1": "b0ca2977dd3e30c3de654e1299896591615e9cd8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5e64ae2abc05974c32fa6ded4755a7ed88be871a"
"sha2": "2babebcfb8f104b0b06869f967fca79f5959cf96"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
@ -128,9 +128,9 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "5e64ae2abc05974c32fa6ded4755a7ed88be871a",
"sha1": "2babebcfb8f104b0b06869f967fca79f5959cf96",
"gitDir": "test/corpus/repos/ruby",
"sha2": "42f38edf5abfc94ef5c8fbd754d7cc5ac7331aa6"
"sha2": "5e65c356a508df6dda37793c5e2b7899a0625459"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-test",
@ -159,9 +159,9 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "42f38edf5abfc94ef5c8fbd754d7cc5ac7331aa6",
"sha1": "5e65c356a508df6dda37793c5e2b7899a0625459",
"gitDir": "test/corpus/repos/ruby",
"sha2": "13523cfbc72998e2dd0c3809830bfab762af14da"
"sha2": "cc4581c3f35c5c5976e193b1922d1771f30dde7e"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
@ -190,7 +190,7 @@
"filePaths": [
"boolean-operator.rb"
],
"sha1": "13523cfbc72998e2dd0c3809830bfab762af14da",
"sha1": "cc4581c3f35c5c5976e193b1922d1771f30dde7e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e5dae92ef9693410368f65b0d45a11fe87c237da"
"sha2": "30fc582bda0a17ec0c227f5aa92c121413043048"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "7c7d0bfdbc8d260f7594c926c2b5bb182784c2b6",
"sha1": "de1541a2d2b633afe148956bc9c19123aab2e94e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b82c5b32eebb08ecf827a9924b56fd71dbb1bdcd"
"sha2": "277907f632257286acb44350584bba38ea230891"
}
,{
"testCaseDescription": "ruby-case-statement-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "b82c5b32eebb08ecf827a9924b56fd71dbb1bdcd",
"sha1": "277907f632257286acb44350584bba38ea230891",
"gitDir": "test/corpus/repos/ruby",
"sha2": "44e4404a7986c07b78d3c06f57649452ba54a87c"
"sha2": "dd9b1d31fd4a54bd9dcfdb55ea6c0d4eb7dd4443"
}
,{
"testCaseDescription": "ruby-case-statement-delete-insert-test",
@ -102,9 +102,9 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "44e4404a7986c07b78d3c06f57649452ba54a87c",
"sha1": "dd9b1d31fd4a54bd9dcfdb55ea6c0d4eb7dd4443",
"gitDir": "test/corpus/repos/ruby",
"sha2": "8d15215717180e16bbb4e7ec9fb1f06e86d56e62"
"sha2": "0ffafa01943d143099f34f8f0d0f40a72a8648e3"
}
,{
"testCaseDescription": "ruby-case-statement-replacement-test",
@ -133,9 +133,9 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "8d15215717180e16bbb4e7ec9fb1f06e86d56e62",
"sha1": "0ffafa01943d143099f34f8f0d0f40a72a8648e3",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b1f757c099b8327591e8bbdb0df695c4a7085be0"
"sha2": "c30695565ec93d092c36dccd55c2e78e1bcebf64"
}
,{
"testCaseDescription": "ruby-case-statement-delete-replacement-test",
@ -194,9 +194,9 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "b1f757c099b8327591e8bbdb0df695c4a7085be0",
"sha1": "c30695565ec93d092c36dccd55c2e78e1bcebf64",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a0adc3c1367a1d0322cd61d43704b8492bb0a6e1"
"sha2": "229d72d47563deaf6541452754b304b8c81250f3"
}
,{
"testCaseDescription": "ruby-case-statement-delete-test",
@ -225,9 +225,9 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "a0adc3c1367a1d0322cd61d43704b8492bb0a6e1",
"sha1": "229d72d47563deaf6541452754b304b8c81250f3",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3fafbee3d9d0167cabb71f2dc5b47bc469ec882b"
"sha2": "5ed6d6b6edc7247e65211fcd8c6e6b0b83b3f09e"
}
,{
"testCaseDescription": "ruby-case-statement-delete-rest-test",
@ -256,7 +256,7 @@
"filePaths": [
"case-statement.rb"
],
"sha1": "3fafbee3d9d0167cabb71f2dc5b47bc469ec882b",
"sha1": "5ed6d6b6edc7247e65211fcd8c6e6b0b83b3f09e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "34022ada691bc55e900a46f0df216769f09523d4"
"sha2": "05c1858021133708f8094d7722756af7283ad77a"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"class.rb"
],
"sha1": "34022ada691bc55e900a46f0df216769f09523d4",
"sha1": "05c1858021133708f8094d7722756af7283ad77a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0b4e2255b668296e258445b6e7540215a07012f5"
"sha2": "563c7137762ee74deaf2173f5c5e8aa0d8a7ec96"
}
,{
"testCaseDescription": "ruby-class-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"class.rb"
],
"sha1": "0b4e2255b668296e258445b6e7540215a07012f5",
"sha1": "563c7137762ee74deaf2173f5c5e8aa0d8a7ec96",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d30ed0e0d9e0134b8c4511646e7a23870dbefd45"
"sha2": "b529e85ea459d9d8960104353224825ab28fd875"
}
,{
"testCaseDescription": "ruby-class-delete-insert-test",
@ -84,9 +84,9 @@
"filePaths": [
"class.rb"
],
"sha1": "d30ed0e0d9e0134b8c4511646e7a23870dbefd45",
"sha1": "b529e85ea459d9d8960104353224825ab28fd875",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e5ce3c9ba5d93a57eac74451222b7d6cd07a3d83"
"sha2": "6429e61b8d2da450887d55346dd11047756ebf49"
}
,{
"testCaseDescription": "ruby-class-replacement-test",
@ -97,9 +97,9 @@
"filePaths": [
"class.rb"
],
"sha1": "e5ce3c9ba5d93a57eac74451222b7d6cd07a3d83",
"sha1": "6429e61b8d2da450887d55346dd11047756ebf49",
"gitDir": "test/corpus/repos/ruby",
"sha2": "55f4775dbe671208c32278b43f3e31927b1c7218"
"sha2": "014439eedfa9b56832ee03759563019d7f7c998e"
}
,{
"testCaseDescription": "ruby-class-delete-replacement-test",
@ -158,9 +158,9 @@
"filePaths": [
"class.rb"
],
"sha1": "55f4775dbe671208c32278b43f3e31927b1c7218",
"sha1": "014439eedfa9b56832ee03759563019d7f7c998e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0d62a06db07a89173c0067be73bb9c0924658933"
"sha2": "c117b3febd0461214035735ebe9c15167aee8379"
}
,{
"testCaseDescription": "ruby-class-delete-test",
@ -189,9 +189,9 @@
"filePaths": [
"class.rb"
],
"sha1": "0d62a06db07a89173c0067be73bb9c0924658933",
"sha1": "c117b3febd0461214035735ebe9c15167aee8379",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2956a9ddc219628c6ed2a3b339b13d6dff5c18b8"
"sha2": "08610ea47c60cc3ffce9f3db7f698f3c2c98ebbb"
}
,{
"testCaseDescription": "ruby-class-delete-rest-test",
@ -220,7 +220,7 @@
"filePaths": [
"class.rb"
],
"sha1": "2956a9ddc219628c6ed2a3b339b13d6dff5c18b8",
"sha1": "08610ea47c60cc3ffce9f3db7f698f3c2c98ebbb",
"gitDir": "test/corpus/repos/ruby",
"sha2": "f8910c25faf46e769f70c04b569b25342713e245"
"sha2": "36d430c782308b030e22fb5a49104d8986b545b5"
}]

View File

@ -7,9 +7,9 @@
"filePaths": [
"comment.rb"
],
"sha1": "90fc7487dac1e27b923cec7b75b374ba2b4e0cbd",
"sha1": "e99784383316ead7925ed506864844104fc8f534",
"gitDir": "test/corpus/repos/ruby",
"sha2": "c46764532ec40f0a4023e099c2eab94e4017feda"
"sha2": "d861d0d0f5296f86bf3fad8d8b6d2a8f7098ee91"
}
,{
"testCaseDescription": "ruby-comment-replacement-insert-test",
@ -20,9 +20,9 @@
"filePaths": [
"comment.rb"
],
"sha1": "c46764532ec40f0a4023e099c2eab94e4017feda",
"sha1": "d861d0d0f5296f86bf3fad8d8b6d2a8f7098ee91",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3979dfb3bb750d1e586e462430b9fdc78a85e282"
"sha2": "fcb58fb96a419c67fc7eae0fca1b20501311f2e5"
}
,{
"testCaseDescription": "ruby-comment-delete-insert-test",
@ -33,9 +33,9 @@
"filePaths": [
"comment.rb"
],
"sha1": "3979dfb3bb750d1e586e462430b9fdc78a85e282",
"sha1": "fcb58fb96a419c67fc7eae0fca1b20501311f2e5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "38a9335b804e3a73b0d66db2e71887a7e8935105"
"sha2": "0a25db1547be7a3620075135b58d3d7ad6f69c0f"
}
,{
"testCaseDescription": "ruby-comment-replacement-test",
@ -46,9 +46,9 @@
"filePaths": [
"comment.rb"
],
"sha1": "38a9335b804e3a73b0d66db2e71887a7e8935105",
"sha1": "0a25db1547be7a3620075135b58d3d7ad6f69c0f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9bc6dacfbc8f71916c60e535d695a4fef5f7ae28"
"sha2": "a5c4acfb5917b17444d4bdcd128528001473c161"
}
,{
"testCaseDescription": "ruby-comment-delete-replacement-test",
@ -59,9 +59,9 @@
"filePaths": [
"comment.rb"
],
"sha1": "9bc6dacfbc8f71916c60e535d695a4fef5f7ae28",
"sha1": "a5c4acfb5917b17444d4bdcd128528001473c161",
"gitDir": "test/corpus/repos/ruby",
"sha2": "cf5b2e57da306048ce94e4796e8f012487ba3596"
"sha2": "2beadfed6bb45a4837ca90b64fa2ddee85dbe0fa"
}
,{
"testCaseDescription": "ruby-comment-delete-test",
@ -72,9 +72,9 @@
"filePaths": [
"comment.rb"
],
"sha1": "cf5b2e57da306048ce94e4796e8f012487ba3596",
"sha1": "2beadfed6bb45a4837ca90b64fa2ddee85dbe0fa",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2c740c5ed3c6ad6591e350ece38c714b83a15d7c"
"sha2": "f3fc5127e0acf16e34eccc12415d917c9048ed80"
}
,{
"testCaseDescription": "ruby-comment-delete-rest-test",
@ -85,7 +85,7 @@
"filePaths": [
"comment.rb"
],
"sha1": "2c740c5ed3c6ad6591e350ece38c714b83a15d7c",
"sha1": "f3fc5127e0acf16e34eccc12415d917c9048ed80",
"gitDir": "test/corpus/repos/ruby",
"sha2": "c43fb1d8035cf645196a8cb479a041c10bdffa2a"
"sha2": "172fba5170a853f36a390b31ed346d5cf84e22de"
}]

View File

@ -40,9 +40,9 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "45e66c38ec7fe7d2efc8dd8d375c67b1acbea95d",
"sha1": "cb54ea2dade6d4e1cf4e439f5f0309e687f4741b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "c5bfb359fd83de40b231d819a7c15ff16b7353d6"
"sha2": "0c32d82cad149ef917de04e9e9e99e2510783971"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-insert-test",
@ -116,9 +116,9 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "c5bfb359fd83de40b231d819a7c15ff16b7353d6",
"sha1": "0c32d82cad149ef917de04e9e9e99e2510783971",
"gitDir": "test/corpus/repos/ruby",
"sha2": "052a945ca4127f93a392f8bd9767e1e9e6e70f8f"
"sha2": "d58f6c0a04b786b89b8d57abdc2b319ce24fa130"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
@ -129,9 +129,9 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "052a945ca4127f93a392f8bd9767e1e9e6e70f8f",
"sha1": "d58f6c0a04b786b89b8d57abdc2b319ce24fa130",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9d962b9732a7e2924e1f2bd0441c645a599f5c46"
"sha2": "b04c402471d028a074244a9f2bc2a82c716d82db"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-test",
@ -142,9 +142,9 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "9d962b9732a7e2924e1f2bd0441c645a599f5c46",
"sha1": "b04c402471d028a074244a9f2bc2a82c716d82db",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9e4504f402b582ce9582926cd37017aa1ef9035f"
"sha2": "f41b455e38f70d170f1afd415e6cd072c0f0d4c0"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-replacement-test",
@ -188,9 +188,9 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "9e4504f402b582ce9582926cd37017aa1ef9035f",
"sha1": "f41b455e38f70d170f1afd415e6cd072c0f0d4c0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "94b51f7cc2709f17b3bc999234f769527cb5f102"
"sha2": "be5be662d80bd38679ea3732e24d19bf316c4939"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-test",
@ -234,9 +234,9 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "94b51f7cc2709f17b3bc999234f769527cb5f102",
"sha1": "be5be662d80bd38679ea3732e24d19bf316c4939",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1b29fa3b23c42a8ad1dee9cc0b5555ba519911b5"
"sha2": "b2ec1eea7bc8da2b4185715f2e3169cbfd79fcba"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-rest-test",
@ -280,7 +280,7 @@
"filePaths": [
"comparision-operator.rb"
],
"sha1": "1b29fa3b23c42a8ad1dee9cc0b5555ba519911b5",
"sha1": "b2ec1eea7bc8da2b4185715f2e3169cbfd79fcba",
"gitDir": "test/corpus/repos/ruby",
"sha2": "ecd0c71ac9f51287bfe007d4fe5757bc0cb87115"
"sha2": "a847285255523b2f12866a9edb22ad1f63293e54"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "2cd88afdb6b8c6ca420a7a7b2d4458ec33e04264",
"sha1": "8d3d06426c583c9284b9a1878db5ee06bf1a6719",
"gitDir": "test/corpus/repos/ruby",
"sha2": "45dde0c2f31ba0ebc3f6f7f77876d304a881599b"
"sha2": "a9e5c32cbf8c20088a3e37a8fcb5563c386c0051"
}
,{
"testCaseDescription": "ruby-conditional_assignment-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "45dde0c2f31ba0ebc3f6f7f77876d304a881599b",
"sha1": "a9e5c32cbf8c20088a3e37a8fcb5563c386c0051",
"gitDir": "test/corpus/repos/ruby",
"sha2": "44d52f1b5b0f8e46bd864d6344250035c74a443f"
"sha2": "a3700664fbef982988928d9fd3e6612a31eb9123"
}
,{
"testCaseDescription": "ruby-conditional_assignment-delete-insert-test",
@ -114,9 +114,9 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "44d52f1b5b0f8e46bd864d6344250035c74a443f",
"sha1": "a3700664fbef982988928d9fd3e6612a31eb9123",
"gitDir": "test/corpus/repos/ruby",
"sha2": "4573aefe22238f7ff9ed237e379d494108d40d78"
"sha2": "9f7f345ec6102e6e1b5906fbda62491eacd70591"
}
,{
"testCaseDescription": "ruby-conditional_assignment-replacement-test",
@ -157,9 +157,9 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "4573aefe22238f7ff9ed237e379d494108d40d78",
"sha1": "9f7f345ec6102e6e1b5906fbda62491eacd70591",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7e48914159902b9dedb56404dccfd578b7d3672e"
"sha2": "f7fa90801b61a2f360d0c2e204f6d4256268da88"
}
,{
"testCaseDescription": "ruby-conditional_assignment-delete-replacement-test",
@ -218,9 +218,9 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "7e48914159902b9dedb56404dccfd578b7d3672e",
"sha1": "f7fa90801b61a2f360d0c2e204f6d4256268da88",
"gitDir": "test/corpus/repos/ruby",
"sha2": "82578acce2d0826254f22b938f29c49870019433"
"sha2": "01cf791250c1ee7a2ced1d24f7b1db538ad6fc5e"
}
,{
"testCaseDescription": "ruby-conditional_assignment-delete-test",
@ -249,9 +249,9 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "82578acce2d0826254f22b938f29c49870019433",
"sha1": "01cf791250c1ee7a2ced1d24f7b1db538ad6fc5e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "85538c6d937d72692a7a73ba503aea9a0f849dfa"
"sha2": "48292e17a823b393e29553f3e72e0da12e2af0f6"
}
,{
"testCaseDescription": "ruby-conditional_assignment-delete-rest-test",
@ -280,7 +280,7 @@
"filePaths": [
"conditional_assignment.rb"
],
"sha1": "85538c6d937d72692a7a73ba503aea9a0f849dfa",
"sha1": "48292e17a823b393e29553f3e72e0da12e2af0f6",
"gitDir": "test/corpus/repos/ruby",
"sha2": "fedc461180ccd749bcdfdcadea2847e8f78e1256"
"sha2": "a5b425c3900c29ea53d0f2a44d8f7390729f6c81"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "4dd99e31291357d4582650347d28792ea87b58a1",
"sha1": "7339f692ac4448fdbb9a0d8396faaec7ad69c22d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "f0e429c193230d13106376071983525008f63cc4"
"sha2": "4ccb7685b3ef0525241fc609922e075870e94111"
}
,{
"testCaseDescription": "ruby-delimiter-replacement-insert-test",
@ -68,9 +68,9 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "f0e429c193230d13106376071983525008f63cc4",
"sha1": "4ccb7685b3ef0525241fc609922e075870e94111",
"gitDir": "test/corpus/repos/ruby",
"sha2": "fb22f1364166d8b4ebe14e7a1db061d621a4ba7e"
"sha2": "ddde7ddf2f08f7272f0b1c568153148bb746d32d"
}
,{
"testCaseDescription": "ruby-delimiter-delete-insert-test",
@ -111,9 +111,9 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "fb22f1364166d8b4ebe14e7a1db061d621a4ba7e",
"sha1": "ddde7ddf2f08f7272f0b1c568153148bb746d32d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0f08440c058692818be874df2ae9b162d7e276b2"
"sha2": "8e02a86fe4d069745c5cdadc589093a13887e3b2"
}
,{
"testCaseDescription": "ruby-delimiter-replacement-test",
@ -154,9 +154,9 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "0f08440c058692818be874df2ae9b162d7e276b2",
"sha1": "8e02a86fe4d069745c5cdadc589093a13887e3b2",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6ff5fb35cba1643e4758546c1067dec95ede5267"
"sha2": "21affb5a86156afee74fc2c804f9d7e4b4ea4d7b"
}
,{
"testCaseDescription": "ruby-delimiter-delete-replacement-test",
@ -197,9 +197,9 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "6ff5fb35cba1643e4758546c1067dec95ede5267",
"sha1": "21affb5a86156afee74fc2c804f9d7e4b4ea4d7b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2df9125ea2137cea7697e080cd9974286ccaf87c"
"sha2": "cf5572e4a62114cad84a5c36db8c7437cba38c64"
}
,{
"testCaseDescription": "ruby-delimiter-delete-test",
@ -336,9 +336,9 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "2df9125ea2137cea7697e080cd9974286ccaf87c",
"sha1": "cf5572e4a62114cad84a5c36db8c7437cba38c64",
"gitDir": "test/corpus/repos/ruby",
"sha2": "109309d3a7bb24f4ada540435f22dedeaf7d81c3"
"sha2": "cf7fb4ce922d27cb5752f6238382afd8f85e4d20"
}
,{
"testCaseDescription": "ruby-delimiter-delete-rest-test",
@ -430,7 +430,7 @@
"filePaths": [
"delimiter.rb"
],
"sha1": "109309d3a7bb24f4ada540435f22dedeaf7d81c3",
"sha1": "cf7fb4ce922d27cb5752f6238382afd8f85e4d20",
"gitDir": "test/corpus/repos/ruby",
"sha2": "38bbc085e304083bd11915696df1b699c64c4d3a"
"sha2": "0468cfe94e73c0817aad8cb9b49ad1afaff3ef95"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"hash.rb"
],
"sha1": "432d7948afbf85c24f2472865dd3f60cff3b6aaa",
"sha1": "1c87798abbd891d199110983fdd41f5722708aa1",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1fcb74136a3291ba9973ae38ff53b5cc046f6101"
"sha2": "f6a6c6a3c7f81c96b5e2fe4c04c9c21afec7e7c2"
}
,{
"testCaseDescription": "ruby-hash-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"hash.rb"
],
"sha1": "1fcb74136a3291ba9973ae38ff53b5cc046f6101",
"sha1": "f6a6c6a3c7f81c96b5e2fe4c04c9c21afec7e7c2",
"gitDir": "test/corpus/repos/ruby",
"sha2": "4cbdd8ff6e42eb7a4b392472550de18354c9efb7"
"sha2": "a2cb55ff6ec9fcfa46c1a7b69888a7a82ee68045"
}
,{
"testCaseDescription": "ruby-hash-delete-insert-test",
@ -186,9 +186,9 @@
"filePaths": [
"hash.rb"
],
"sha1": "4cbdd8ff6e42eb7a4b392472550de18354c9efb7",
"sha1": "a2cb55ff6ec9fcfa46c1a7b69888a7a82ee68045",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d125c707db6793d6d78e5acdfb274744a7b8f5cc"
"sha2": "700437cb39f029fab5664c23150b1ed84bb334c0"
}
,{
"testCaseDescription": "ruby-hash-replacement-test",
@ -301,9 +301,9 @@
"filePaths": [
"hash.rb"
],
"sha1": "d125c707db6793d6d78e5acdfb274744a7b8f5cc",
"sha1": "700437cb39f029fab5664c23150b1ed84bb334c0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1aa4bdfd9f4af93d60d51bca0e914292b918bf76"
"sha2": "517d88d55027f43606b6bde6c189d619de10346c"
}
,{
"testCaseDescription": "ruby-hash-delete-replacement-test",
@ -362,9 +362,9 @@
"filePaths": [
"hash.rb"
],
"sha1": "1aa4bdfd9f4af93d60d51bca0e914292b918bf76",
"sha1": "517d88d55027f43606b6bde6c189d619de10346c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9f5ae459a9f9ed37cad56de424b17306882e47f5"
"sha2": "5e2eb76e8cedb905d90c20d250196290e65e8375"
}
,{
"testCaseDescription": "ruby-hash-delete-test",
@ -393,9 +393,9 @@
"filePaths": [
"hash.rb"
],
"sha1": "9f5ae459a9f9ed37cad56de424b17306882e47f5",
"sha1": "5e2eb76e8cedb905d90c20d250196290e65e8375",
"gitDir": "test/corpus/repos/ruby",
"sha2": "525a9b939014ea1e82f016fb4b9e9a098c7be63b"
"sha2": "fb12290393529374f8f2717b5595e53b3e29f837"
}
,{
"testCaseDescription": "ruby-hash-delete-rest-test",
@ -424,7 +424,7 @@
"filePaths": [
"hash.rb"
],
"sha1": "525a9b939014ea1e82f016fb4b9e9a098c7be63b",
"sha1": "fb12290393529374f8f2717b5595e53b3e29f837",
"gitDir": "test/corpus/repos/ruby",
"sha2": "51eb292b3d6f22fe526a1a95a5592789d46e23ba"
"sha2": "de51643f43d1fd9e94a202129b4d0fa9237079b9"
}]

View File

@ -40,9 +40,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "ea8d8967bc283ce53bb73dd83dc2b6221f357b56",
"sha1": "c8841f2ba4ed29d8843d6f058af226adcd61bb08",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7b3c1a444ba182a2e5e599cd07ecff241057ba86"
"sha2": "3c6f5aeeaaecd2991448f7c2a9e859a8c3c040d2"
}
,{
"testCaseDescription": "ruby-interpolation-replacement-insert-test",
@ -116,9 +116,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "7b3c1a444ba182a2e5e599cd07ecff241057ba86",
"sha1": "3c6f5aeeaaecd2991448f7c2a9e859a8c3c040d2",
"gitDir": "test/corpus/repos/ruby",
"sha2": "78a781aaa4f8f0a3497ecc8596dba4000ebecaf5"
"sha2": "031f4b902849e67bf47f3a8470543003a4de7f74"
}
,{
"testCaseDescription": "ruby-interpolation-delete-insert-test",
@ -186,9 +186,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "78a781aaa4f8f0a3497ecc8596dba4000ebecaf5",
"sha1": "031f4b902849e67bf47f3a8470543003a4de7f74",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e0fcdab038825b4af5244ec352acf7ae5cafee48"
"sha2": "954976b55fa5656948b7748e67adb6ad52b1b850"
}
,{
"testCaseDescription": "ruby-interpolation-replacement-test",
@ -256,9 +256,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "e0fcdab038825b4af5244ec352acf7ae5cafee48",
"sha1": "954976b55fa5656948b7748e67adb6ad52b1b850",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3971231b1b0a8925a6cbbcf95b4ad06cfca22071"
"sha2": "2ceec8f262b77c382cf38e7b76bfa15c36b1e1ff"
}
,{
"testCaseDescription": "ruby-interpolation-delete-replacement-test",
@ -362,9 +362,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "3971231b1b0a8925a6cbbcf95b4ad06cfca22071",
"sha1": "2ceec8f262b77c382cf38e7b76bfa15c36b1e1ff",
"gitDir": "test/corpus/repos/ruby",
"sha2": "439f266c3c9e42a07f0b5593988e346f80706753"
"sha2": "79df1aa24f1c707bbbb85f4e35dd5b048b412fbb"
}
,{
"testCaseDescription": "ruby-interpolation-delete-test",
@ -408,9 +408,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "439f266c3c9e42a07f0b5593988e346f80706753",
"sha1": "79df1aa24f1c707bbbb85f4e35dd5b048b412fbb",
"gitDir": "test/corpus/repos/ruby",
"sha2": "cda57f0023343a66d495760a1c18702970b2b50a"
"sha2": "ec7ce604c49453c69d3801ce0c89caed1541d314"
}
,{
"testCaseDescription": "ruby-interpolation-delete-rest-test",
@ -454,7 +454,7 @@
"filePaths": [
"symbol.rb"
],
"sha1": "cda57f0023343a66d495760a1c18702970b2b50a",
"sha1": "ec7ce604c49453c69d3801ce0c89caed1541d314",
"gitDir": "test/corpus/repos/ruby",
"sha2": "4dd99e31291357d4582650347d28792ea87b58a1"
"sha2": "7339f692ac4448fdbb9a0d8396faaec7ad69c22d"
}]

View File

@ -85,9 +85,9 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "38bbc085e304083bd11915696df1b699c64c4d3a",
"sha1": "0468cfe94e73c0817aad8cb9b49ad1afaff3ef95",
"gitDir": "test/corpus/repos/ruby",
"sha2": "31d6bdbe6f14a5f57accf2b25a75db94ed50ad8f"
"sha2": "78c838912a14a8aaa9157b018970884f444126b5"
}
,{
"testCaseDescription": "ruby-math_assignment-replacement-insert-test",
@ -251,9 +251,9 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "31d6bdbe6f14a5f57accf2b25a75db94ed50ad8f",
"sha1": "78c838912a14a8aaa9157b018970884f444126b5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "f1c23cb0714170719c6087667b296c509cf32f7e"
"sha2": "3887ee9329a564baca3b7bb8156d9583db8d11a0"
}
,{
"testCaseDescription": "ruby-math_assignment-delete-insert-test",
@ -294,9 +294,9 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "f1c23cb0714170719c6087667b296c509cf32f7e",
"sha1": "3887ee9329a564baca3b7bb8156d9583db8d11a0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "34d503cb63f0d4e9f5b53b1a9f9534deeea9742d"
"sha2": "627535012be63bf36e8e0ed4a7bd0b18ccd3b76d"
}
,{
"testCaseDescription": "ruby-math_assignment-replacement-test",
@ -337,9 +337,9 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "34d503cb63f0d4e9f5b53b1a9f9534deeea9742d",
"sha1": "627535012be63bf36e8e0ed4a7bd0b18ccd3b76d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "12c747d8f7fc1212cb8ccc35fa7388d6caecec55"
"sha2": "143dd57d22d7b171c45e2412f86f24a5a7dcac52"
}
,{
"testCaseDescription": "ruby-math_assignment-delete-replacement-test",
@ -458,9 +458,9 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "12c747d8f7fc1212cb8ccc35fa7388d6caecec55",
"sha1": "143dd57d22d7b171c45e2412f86f24a5a7dcac52",
"gitDir": "test/corpus/repos/ruby",
"sha2": "cf14b7f112afc355f3e073a35a69b8ea485aa7bc"
"sha2": "80d7dd77036557b81e11f114ac57de24c96d9f2d"
}
,{
"testCaseDescription": "ruby-math_assignment-delete-test",
@ -549,9 +549,9 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "cf14b7f112afc355f3e073a35a69b8ea485aa7bc",
"sha1": "80d7dd77036557b81e11f114ac57de24c96d9f2d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "c937009c41cd5d235b74de16366001ea639fde00"
"sha2": "71f573aaa177010514f0185ef19b985809b035f8"
}
,{
"testCaseDescription": "ruby-math_assignment-delete-rest-test",
@ -640,7 +640,7 @@
"filePaths": [
"math_assignment.rb"
],
"sha1": "c937009c41cd5d235b74de16366001ea639fde00",
"sha1": "71f573aaa177010514f0185ef19b985809b035f8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2cd88afdb6b8c6ca420a7a7b2d4458ec33e04264"
"sha2": "8d3d06426c583c9284b9a1878db5ee06bf1a6719"
}]

View File

@ -55,9 +55,9 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "594f2f2b8f5dd265329c5911e66866f120934461",
"sha1": "862d6fb62b501d39f4d4446fe100c241eeb473e3",
"gitDir": "test/corpus/repos/ruby",
"sha2": "af4afb4cec8c89fe7f9ee4327b0c347369bbd825"
"sha2": "655a9a41983d13481b93d7411c381f5ef8f05887"
}
,{
"testCaseDescription": "ruby-method-invocation-replacement-insert-test",
@ -176,9 +176,9 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "af4afb4cec8c89fe7f9ee4327b0c347369bbd825",
"sha1": "655a9a41983d13481b93d7411c381f5ef8f05887",
"gitDir": "test/corpus/repos/ruby",
"sha2": "54d34d525b92e40d215ba7fa486946385ac64cba"
"sha2": "49e3d2b2526217ed713a1513e225a5d4495f4f8d"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-insert-test",
@ -297,9 +297,9 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "54d34d525b92e40d215ba7fa486946385ac64cba",
"sha1": "49e3d2b2526217ed713a1513e225a5d4495f4f8d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b24ae60298ca0c1dac80c174f18bc9c564941bab"
"sha2": "6be5bb369913d7c11f0397f8b42345cd3fff0cc4"
}
,{
"testCaseDescription": "ruby-method-invocation-replacement-test",
@ -418,9 +418,9 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "b24ae60298ca0c1dac80c174f18bc9c564941bab",
"sha1": "6be5bb369913d7c11f0397f8b42345cd3fff0cc4",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2208cf9babe36d4dc74889481695a6b229b1baf3"
"sha2": "a5e7c1c3a30596cb72a51c4866e4b4296400e05b"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-replacement-test",
@ -479,9 +479,9 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "2208cf9babe36d4dc74889481695a6b229b1baf3",
"sha1": "a5e7c1c3a30596cb72a51c4866e4b4296400e05b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a57e647fbdfbc55b3236f42e4acc05f9842d6283"
"sha2": "4727b88ed53f7963d73b9efadfd7f22958280fd8"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-test",
@ -540,9 +540,9 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "a57e647fbdfbc55b3236f42e4acc05f9842d6283",
"sha1": "4727b88ed53f7963d73b9efadfd7f22958280fd8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9952a1ced1931af394a077db743fab12d55cc75e"
"sha2": "e58e3be198dd214b7b567f7be6904d08e52f556c"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-rest-test",
@ -616,7 +616,7 @@
"filePaths": [
"method-invocation.rb"
],
"sha1": "9952a1ced1931af394a077db743fab12d55cc75e",
"sha1": "e58e3be198dd214b7b567f7be6904d08e52f556c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7c7d0bfdbc8d260f7594c926c2b5bb182784c2b6"
"sha2": "de1541a2d2b633afe148956bc9c19123aab2e94e"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "fedc461180ccd749bcdfdcadea2847e8f78e1256",
"sha1": "a5b425c3900c29ea53d0f2a44d8f7390729f6c81",
"gitDir": "test/corpus/repos/ruby",
"sha2": "ee2150771f6ba0ef97af95c419c7461eedbe783f"
"sha2": "bab3cc51516d1e5073e6b91d39a10a21ef6fbced"
}
,{
"testCaseDescription": "ruby-multiple_assignments-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "ee2150771f6ba0ef97af95c419c7461eedbe783f",
"sha1": "bab3cc51516d1e5073e6b91d39a10a21ef6fbced",
"gitDir": "test/corpus/repos/ruby",
"sha2": "08369e6e3e583247c7f831af7f9b76bc66cc0204"
"sha2": "86b54f9781e8365704b4f33563eb6b319a828d65"
}
,{
"testCaseDescription": "ruby-multiple_assignments-delete-insert-test",
@ -189,9 +189,9 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "08369e6e3e583247c7f831af7f9b76bc66cc0204",
"sha1": "86b54f9781e8365704b4f33563eb6b319a828d65",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7d020867187112373b7466812c0d451db7f29e27"
"sha2": "ae325e4a7f452e86f8dd9ea53d21819b18ee4210"
}
,{
"testCaseDescription": "ruby-multiple_assignments-replacement-test",
@ -343,9 +343,9 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "7d020867187112373b7466812c0d451db7f29e27",
"sha1": "ae325e4a7f452e86f8dd9ea53d21819b18ee4210",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d9763e2b54115c57c04c4d923a29aa21d2e7e713"
"sha2": "66b3e81dba05e2d97cd58d7a47859eb942bd52bf"
}
,{
"testCaseDescription": "ruby-multiple_assignments-delete-replacement-test",
@ -404,9 +404,9 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "d9763e2b54115c57c04c4d923a29aa21d2e7e713",
"sha1": "66b3e81dba05e2d97cd58d7a47859eb942bd52bf",
"gitDir": "test/corpus/repos/ruby",
"sha2": "72b8a9bc53cb6d0c31d1270748e04a8fb86bec8f"
"sha2": "f2880f81116e09f2340444dee12b3e9a5461821f"
}
,{
"testCaseDescription": "ruby-multiple_assignments-delete-test",
@ -435,9 +435,9 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "72b8a9bc53cb6d0c31d1270748e04a8fb86bec8f",
"sha1": "f2880f81116e09f2340444dee12b3e9a5461821f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0c2f990a9f18b618e391a0a45f64242264f1cb08"
"sha2": "8499e4a86eb1a8d577038bcbe0a0ffe484be1e81"
}
,{
"testCaseDescription": "ruby-multiple_assignments-delete-rest-test",
@ -466,7 +466,7 @@
"filePaths": [
"multiple_assignments.rb"
],
"sha1": "0c2f990a9f18b618e391a0a45f64242264f1cb08",
"sha1": "8499e4a86eb1a8d577038bcbe0a0ffe484be1e81",
"gitDir": "test/corpus/repos/ruby",
"sha2": "50818b1f0b8c8c2dc06dfb04a65d425fed793372"
"sha2": "6c3a0c55d0c6af41ea654538747a31447b4aa162"
}]

View File

@ -115,9 +115,9 @@
"filePaths": [
"number.rb"
],
"sha1": "c43fb1d8035cf645196a8cb479a041c10bdffa2a",
"sha1": "172fba5170a853f36a390b31ed346d5cf84e22de",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b3bf0ad494f1baeec2da0cea712ca86f09ad5b2c"
"sha2": "089992e0cb69191dfe659911fbc9c6d61dd9dc3e"
}
,{
"testCaseDescription": "ruby-number-replacement-insert-test",
@ -368,9 +368,9 @@
"filePaths": [
"number.rb"
],
"sha1": "b3bf0ad494f1baeec2da0cea712ca86f09ad5b2c",
"sha1": "089992e0cb69191dfe659911fbc9c6d61dd9dc3e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e845151a2bf998730c975d4b68bf470a0ccd5d44"
"sha2": "ed08125f50c591a5dd994d82c4fc6fac7469ce98"
}
,{
"testCaseDescription": "ruby-number-delete-insert-test",
@ -594,9 +594,9 @@
"filePaths": [
"number.rb"
],
"sha1": "e845151a2bf998730c975d4b68bf470a0ccd5d44",
"sha1": "ed08125f50c591a5dd994d82c4fc6fac7469ce98",
"gitDir": "test/corpus/repos/ruby",
"sha2": "bb656c2d0ded405a802be4d4dda39970d5399d83"
"sha2": "521250699232938e097ca79de8ae69ab7cf17f0b"
}
,{
"testCaseDescription": "ruby-number-replacement-test",
@ -820,9 +820,9 @@
"filePaths": [
"number.rb"
],
"sha1": "bb656c2d0ded405a802be4d4dda39970d5399d83",
"sha1": "521250699232938e097ca79de8ae69ab7cf17f0b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "146e1aae1062725bc36c1ded67276326c0cc5cea"
"sha2": "5a9339f8f394c546ae833fb2624d5543d95b027a"
}
,{
"testCaseDescription": "ruby-number-delete-replacement-test",
@ -1181,9 +1181,9 @@
"filePaths": [
"number.rb"
],
"sha1": "146e1aae1062725bc36c1ded67276326c0cc5cea",
"sha1": "5a9339f8f394c546ae833fb2624d5543d95b027a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "afa938aa3bf0f5b168b2624623b0208a580169d7"
"sha2": "c9e7be9923082f00d72a5bd6d169f64fb460fae6"
}
,{
"testCaseDescription": "ruby-number-delete-test",
@ -1332,9 +1332,9 @@
"filePaths": [
"number.rb"
],
"sha1": "afa938aa3bf0f5b168b2624623b0208a580169d7",
"sha1": "c9e7be9923082f00d72a5bd6d169f64fb460fae6",
"gitDir": "test/corpus/repos/ruby",
"sha2": "76ade03c85f54f7caa48dea98f006aa35d58f379"
"sha2": "6b544082ac5cc6bc56744b9425fba8ae3d4a4eca"
}
,{
"testCaseDescription": "ruby-number-delete-rest-test",
@ -1453,7 +1453,7 @@
"filePaths": [
"number.rb"
],
"sha1": "76ade03c85f54f7caa48dea98f006aa35d58f379",
"sha1": "6b544082ac5cc6bc56744b9425fba8ae3d4a4eca",
"gitDir": "test/corpus/repos/ruby",
"sha2": "233b537be8331a10ec6e74bd70478cdb6fa7e395"
"sha2": "1e071d6360c24716ece6e938cfe0c2ca42e14b5d"
}]

View File

@ -55,9 +55,9 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "50818b1f0b8c8c2dc06dfb04a65d425fed793372",
"sha1": "6c3a0c55d0c6af41ea654538747a31447b4aa162",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a64ded3a6f763e6c457155b0d9377309137736a9"
"sha2": "3916d7909a1c0a60c177bd2f6f3dbb11515d7868"
}
,{
"testCaseDescription": "ruby-pseudo_variables-replacement-insert-test",
@ -161,9 +161,9 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "a64ded3a6f763e6c457155b0d9377309137736a9",
"sha1": "3916d7909a1c0a60c177bd2f6f3dbb11515d7868",
"gitDir": "test/corpus/repos/ruby",
"sha2": "682a9d2ad30753739cc3fad8e09b2a22b8c05d06"
"sha2": "c1b6a8ba54d849c09c32cc3e4fabb96fbf050e58"
}
,{
"testCaseDescription": "ruby-pseudo_variables-delete-insert-test",
@ -261,9 +261,9 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "682a9d2ad30753739cc3fad8e09b2a22b8c05d06",
"sha1": "c1b6a8ba54d849c09c32cc3e4fabb96fbf050e58",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1fbd5cf0f04a6bfd3ba601f53a4ce4b25add920d"
"sha2": "edaa3ed6b1c70da9ff7b83afd30ba3275f6792d7"
}
,{
"testCaseDescription": "ruby-pseudo_variables-replacement-test",
@ -361,9 +361,9 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "1fbd5cf0f04a6bfd3ba601f53a4ce4b25add920d",
"sha1": "edaa3ed6b1c70da9ff7b83afd30ba3275f6792d7",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b889920f7501f410843dd7a002e2bb6fe9c11378"
"sha2": "598079c1fe0ad5b82ff54a3bcd3a767333b074db"
}
,{
"testCaseDescription": "ruby-pseudo_variables-delete-replacement-test",
@ -512,9 +512,9 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "b889920f7501f410843dd7a002e2bb6fe9c11378",
"sha1": "598079c1fe0ad5b82ff54a3bcd3a767333b074db",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6726aa12f169a535c9040daacb85352b2e9d03a5"
"sha2": "da6a794da4858065b9de4792a1386120a2c149ad"
}
,{
"testCaseDescription": "ruby-pseudo_variables-delete-test",
@ -573,9 +573,9 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "6726aa12f169a535c9040daacb85352b2e9d03a5",
"sha1": "da6a794da4858065b9de4792a1386120a2c149ad",
"gitDir": "test/corpus/repos/ruby",
"sha2": "285e61dbd12ab5d4e8a619f32ca3b35a80ab107a"
"sha2": "109681c2fba1c03f945dae68fde85a266205a3ff"
}
,{
"testCaseDescription": "ruby-pseudo_variables-delete-rest-test",
@ -634,7 +634,7 @@
"filePaths": [
"pseudo_variables.rb"
],
"sha1": "285e61dbd12ab5d4e8a619f32ca3b35a80ab107a",
"sha1": "109681c2fba1c03f945dae68fde85a266205a3ff",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5f04037dc58e65a9717a9c9f7f829d96c6801e86"
"sha2": "999c49ddf94ec81e5f622445db2c28e89c29be41"
}]

View File

@ -55,9 +55,9 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "e5dae92ef9693410368f65b0d45a11fe87c237da",
"sha1": "30fc582bda0a17ec0c227f5aa92c121413043048",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a7eda7229943330cf8cb7d514448c65b7dd3194c"
"sha2": "7bb636e82da295f0259b25fb58a6c6d8e8d3a4da"
}
,{
"testCaseDescription": "ruby-relational-operator-replacement-insert-test",
@ -161,9 +161,9 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "a7eda7229943330cf8cb7d514448c65b7dd3194c",
"sha1": "7bb636e82da295f0259b25fb58a6c6d8e8d3a4da",
"gitDir": "test/corpus/repos/ruby",
"sha2": "97d3628824bda877994ce52048e8d38cfeab800f"
"sha2": "28cd98afff95d19762e79e2b1d382af1a074410b"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-insert-test",
@ -207,9 +207,9 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "97d3628824bda877994ce52048e8d38cfeab800f",
"sha1": "28cd98afff95d19762e79e2b1d382af1a074410b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3cb30ac7524ac82ae33b72a296a830c0a4bd0db8"
"sha2": "7cfc5e5b6bb46b39393d0332e76f2afb807d3864"
}
,{
"testCaseDescription": "ruby-relational-operator-replacement-test",
@ -253,9 +253,9 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "3cb30ac7524ac82ae33b72a296a830c0a4bd0db8",
"sha1": "7cfc5e5b6bb46b39393d0332e76f2afb807d3864",
"gitDir": "test/corpus/repos/ruby",
"sha2": "64b464e17b3af60be6ea1b1af8c64261cc0f5660"
"sha2": "9469f90862180726c1745702c4a14c0446e38e5e"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-replacement-test",
@ -344,9 +344,9 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "64b464e17b3af60be6ea1b1af8c64261cc0f5660",
"sha1": "9469f90862180726c1745702c4a14c0446e38e5e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "c58f6de1465d18377b402cd2ea496425d23ffdb4"
"sha2": "bed9e8b8cd4e9010795dad7e2cf45a1d18233136"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-test",
@ -405,9 +405,9 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "c58f6de1465d18377b402cd2ea496425d23ffdb4",
"sha1": "bed9e8b8cd4e9010795dad7e2cf45a1d18233136",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e6ddfc6429e66be5d06a8527da58930133098495"
"sha2": "8b51bc7b7727697a50a1ba9c09f35d0b3fc85487"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-rest-test",
@ -466,7 +466,7 @@
"filePaths": [
"relational-operator.rb"
],
"sha1": "e6ddfc6429e66be5d06a8527da58930133098495",
"sha1": "8b51bc7b7727697a50a1ba9c09f35d0b3fc85487",
"gitDir": "test/corpus/repos/ruby",
"sha2": "45e66c38ec7fe7d2efc8dd8d375c67b1acbea95d"
"sha2": "cb54ea2dade6d4e1cf4e439f5f0309e687f4741b"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"return.rb"
],
"sha1": "f8910c25faf46e769f70c04b569b25342713e245",
"sha1": "36d430c782308b030e22fb5a49104d8986b545b5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d092898df0a455d1ff4600af718814f3cf41f4fd"
"sha2": "a4cf8bf9724a20225a7fe18fe34f2773f428045a"
}
,{
"testCaseDescription": "ruby-return-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"return.rb"
],
"sha1": "d092898df0a455d1ff4600af718814f3cf41f4fd",
"sha1": "a4cf8bf9724a20225a7fe18fe34f2773f428045a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2a70b62f81324dc0a44e0f3fe28a4b0a48cbe95d"
"sha2": "f64b9a98259feea252731e4215e4fb86289c7954"
}
,{
"testCaseDescription": "ruby-return-delete-insert-test",
@ -102,9 +102,9 @@
"filePaths": [
"return.rb"
],
"sha1": "2a70b62f81324dc0a44e0f3fe28a4b0a48cbe95d",
"sha1": "f64b9a98259feea252731e4215e4fb86289c7954",
"gitDir": "test/corpus/repos/ruby",
"sha2": "4d3246fd3d339957426b9d029a1c0df96825f8f8"
"sha2": "b45516f8af54c3ad25829acab3bc730b2f15fe52"
}
,{
"testCaseDescription": "ruby-return-replacement-test",
@ -133,9 +133,9 @@
"filePaths": [
"return.rb"
],
"sha1": "4d3246fd3d339957426b9d029a1c0df96825f8f8",
"sha1": "b45516f8af54c3ad25829acab3bc730b2f15fe52",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e9fb936a86eec95c975916df98892903e439460d"
"sha2": "29c1410de64cfa8de37bf9c80c332ad8aad3f299"
}
,{
"testCaseDescription": "ruby-return-delete-replacement-test",
@ -194,9 +194,9 @@
"filePaths": [
"return.rb"
],
"sha1": "e9fb936a86eec95c975916df98892903e439460d",
"sha1": "29c1410de64cfa8de37bf9c80c332ad8aad3f299",
"gitDir": "test/corpus/repos/ruby",
"sha2": "85a7914e4baecc4b7d1d13001ff3362686572a4e"
"sha2": "8da1cba5addd2b864c52c06c2bbe9ee9bc7e3d76"
}
,{
"testCaseDescription": "ruby-return-delete-test",
@ -225,9 +225,9 @@
"filePaths": [
"return.rb"
],
"sha1": "85a7914e4baecc4b7d1d13001ff3362686572a4e",
"sha1": "8da1cba5addd2b864c52c06c2bbe9ee9bc7e3d76",
"gitDir": "test/corpus/repos/ruby",
"sha2": "8b0a9a2fe04ea4820ad96d50abb557d2d90f2954"
"sha2": "6c5b99adfb765f45cea64184afa65571a219374f"
}
,{
"testCaseDescription": "ruby-return-delete-rest-test",
@ -256,7 +256,7 @@
"filePaths": [
"return.rb"
],
"sha1": "8b0a9a2fe04ea4820ad96d50abb557d2d90f2954",
"sha1": "6c5b99adfb765f45cea64184afa65571a219374f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2e09554ca2bd6ae92b16ca375058109f576bd2cf"
"sha2": "7de63c31cbe1320f2a2ed76af1c45c2f1b9ecf7e"
}]

View File

@ -40,9 +40,9 @@
"filePaths": [
"string.rb"
],
"sha1": "2640cfd0d7b6c27951cca79b20413db4b30d50aa",
"sha1": "5a3246245397bcf82daf396ea5a16002a200bdc6",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3725654274f2ecea34fa81d619048f66b9b4d280"
"sha2": "ede22d75d8577d8f764378ebb45d3ec2971a0ada"
}
,{
"testCaseDescription": "ruby-string-replacement-insert-test",
@ -116,9 +116,9 @@
"filePaths": [
"string.rb"
],
"sha1": "3725654274f2ecea34fa81d619048f66b9b4d280",
"sha1": "ede22d75d8577d8f764378ebb45d3ec2971a0ada",
"gitDir": "test/corpus/repos/ruby",
"sha2": "038ec6fc447b3b0f656f9e6f480c6885e10fcf4b"
"sha2": "fdba707ef8c63ec24ceb317d36cab89b31f3ea61"
}
,{
"testCaseDescription": "ruby-string-delete-insert-test",
@ -186,9 +186,9 @@
"filePaths": [
"string.rb"
],
"sha1": "038ec6fc447b3b0f656f9e6f480c6885e10fcf4b",
"sha1": "fdba707ef8c63ec24ceb317d36cab89b31f3ea61",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9c981faddc78f0281130d5d7846ea852a3bfd137"
"sha2": "0e0eee6394888031a1acad48376a4f39b07bff28"
}
,{
"testCaseDescription": "ruby-string-replacement-test",
@ -256,9 +256,9 @@
"filePaths": [
"string.rb"
],
"sha1": "9c981faddc78f0281130d5d7846ea852a3bfd137",
"sha1": "0e0eee6394888031a1acad48376a4f39b07bff28",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9d7357af70e8c5cd3ba201ef9b26b05559a2cd2a"
"sha2": "c0aea01564c8ee699314d50dd6c88bde86002c21"
}
,{
"testCaseDescription": "ruby-string-delete-replacement-test",
@ -362,9 +362,9 @@
"filePaths": [
"string.rb"
],
"sha1": "9d7357af70e8c5cd3ba201ef9b26b05559a2cd2a",
"sha1": "c0aea01564c8ee699314d50dd6c88bde86002c21",
"gitDir": "test/corpus/repos/ruby",
"sha2": "70050e002e402bb43cf6281b8323a610e0a738fb"
"sha2": "530b861046c2608296f72a5afef57db0b0b196b3"
}
,{
"testCaseDescription": "ruby-string-delete-test",
@ -408,9 +408,9 @@
"filePaths": [
"string.rb"
],
"sha1": "70050e002e402bb43cf6281b8323a610e0a738fb",
"sha1": "530b861046c2608296f72a5afef57db0b0b196b3",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7c2e1222dc5da57b714bfaad952b12fe0fa6b2a0"
"sha2": "2286277df823158222619921ecd1dbf93060c0f8"
}
,{
"testCaseDescription": "ruby-string-delete-rest-test",
@ -454,7 +454,7 @@
"filePaths": [
"string.rb"
],
"sha1": "7c2e1222dc5da57b714bfaad952b12fe0fa6b2a0",
"sha1": "2286277df823158222619921ecd1dbf93060c0f8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "ea8d8967bc283ce53bb73dd83dc2b6221f357b56"
"sha2": "c8841f2ba4ed29d8843d6f058af226adcd61bb08"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"subshell.rb"
],
"sha1": "5f04037dc58e65a9717a9c9f7f829d96c6801e86",
"sha1": "999c49ddf94ec81e5f622445db2c28e89c29be41",
"gitDir": "test/corpus/repos/ruby",
"sha2": "27d1f39691433533ca78e5698036a230fe6b7f33"
"sha2": "6b322075b40c0fdda7c2551a422c8fb283e3ebf5"
}
,{
"testCaseDescription": "ruby-subshell-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"subshell.rb"
],
"sha1": "27d1f39691433533ca78e5698036a230fe6b7f33",
"sha1": "6b322075b40c0fdda7c2551a422c8fb283e3ebf5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "081f41e2d658e9e88dd4075c0964a67d45caa9c0"
"sha2": "bdbfdf82c5fd2b5963b94eed5745b3f85e9ba2e7"
}
,{
"testCaseDescription": "ruby-subshell-delete-insert-test",
@ -114,9 +114,9 @@
"filePaths": [
"subshell.rb"
],
"sha1": "081f41e2d658e9e88dd4075c0964a67d45caa9c0",
"sha1": "bdbfdf82c5fd2b5963b94eed5745b3f85e9ba2e7",
"gitDir": "test/corpus/repos/ruby",
"sha2": "53dbe05a1f8d37bc313b1519a9de411e05e810e0"
"sha2": "64b92d77ce50ee8a5e54c1e9ed444440b9ce40cc"
}
,{
"testCaseDescription": "ruby-subshell-replacement-test",
@ -157,9 +157,9 @@
"filePaths": [
"subshell.rb"
],
"sha1": "53dbe05a1f8d37bc313b1519a9de411e05e810e0",
"sha1": "64b92d77ce50ee8a5e54c1e9ed444440b9ce40cc",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2741a3e098e1b5b60f4126578cee93a34af695a3"
"sha2": "3283d0c2360f93e89dd2cdab15b49d97b46bce53"
}
,{
"testCaseDescription": "ruby-subshell-delete-replacement-test",
@ -218,9 +218,9 @@
"filePaths": [
"subshell.rb"
],
"sha1": "2741a3e098e1b5b60f4126578cee93a34af695a3",
"sha1": "3283d0c2360f93e89dd2cdab15b49d97b46bce53",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e3335b6a03bdc12d882889abe2fced47853c5ed5"
"sha2": "298afe77eb9bfe2b66ad748f9ab450e2a7b77b8c"
}
,{
"testCaseDescription": "ruby-subshell-delete-test",
@ -249,9 +249,9 @@
"filePaths": [
"subshell.rb"
],
"sha1": "e3335b6a03bdc12d882889abe2fced47853c5ed5",
"sha1": "298afe77eb9bfe2b66ad748f9ab450e2a7b77b8c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b6c83d388e9dfda6473c56cad026836070ec551d"
"sha2": "4535a3c9c5666a5bfdf7778904f9df863bd0de56"
}
,{
"testCaseDescription": "ruby-subshell-delete-rest-test",
@ -280,7 +280,7 @@
"filePaths": [
"subshell.rb"
],
"sha1": "b6c83d388e9dfda6473c56cad026836070ec551d",
"sha1": "4535a3c9c5666a5bfdf7778904f9df863bd0de56",
"gitDir": "test/corpus/repos/ruby",
"sha2": "432d7948afbf85c24f2472865dd3f60cff3b6aaa"
"sha2": "1c87798abbd891d199110983fdd41f5722708aa1"
}]

View File

@ -55,9 +55,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "233b537be8331a10ec6e74bd70478cdb6fa7e395",
"sha1": "1e071d6360c24716ece6e938cfe0c2ca42e14b5d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "eeb0d3e6df7c6c0955a447f545083b79fc918002"
"sha2": "2c6942d0ce734b5e4eebd693267ef0d7bd291fff"
}
,{
"testCaseDescription": "ruby-symbol-replacement-insert-test",
@ -161,9 +161,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "eeb0d3e6df7c6c0955a447f545083b79fc918002",
"sha1": "2c6942d0ce734b5e4eebd693267ef0d7bd291fff",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5e5677e85c5b03528319c11293d01fafd93e0fff"
"sha2": "3a4b401cf9e370017053f464bcc81dc93b6fe604"
}
,{
"testCaseDescription": "ruby-symbol-delete-insert-test",
@ -258,9 +258,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "5e5677e85c5b03528319c11293d01fafd93e0fff",
"sha1": "3a4b401cf9e370017053f464bcc81dc93b6fe604",
"gitDir": "test/corpus/repos/ruby",
"sha2": "725554053616d5501d95d22faaa18bf12da733f1"
"sha2": "552e6392f182942934f403458ee7463bec3ae3d9"
}
,{
"testCaseDescription": "ruby-symbol-replacement-test",
@ -355,9 +355,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "725554053616d5501d95d22faaa18bf12da733f1",
"sha1": "552e6392f182942934f403458ee7463bec3ae3d9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "ebedfc92e5d61b2287224b2dfbe585c4a6cca89d"
"sha2": "062c56ae7197c5c9cbc0499361f0498625955e54"
}
,{
"testCaseDescription": "ruby-symbol-delete-replacement-test",
@ -506,9 +506,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "ebedfc92e5d61b2287224b2dfbe585c4a6cca89d",
"sha1": "062c56ae7197c5c9cbc0499361f0498625955e54",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d63268ca14f2994d6a837b5e84cd071e8b9f8165"
"sha2": "ba579039894c6329f0f625ff28d8188aa906c602"
}
,{
"testCaseDescription": "ruby-symbol-delete-test",
@ -567,9 +567,9 @@
"filePaths": [
"symbol.rb"
],
"sha1": "d63268ca14f2994d6a837b5e84cd071e8b9f8165",
"sha1": "ba579039894c6329f0f625ff28d8188aa906c602",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6990875db340f2906e88835b37a955df69d4f5f2"
"sha2": "a4536baab46d3818f5fd0943abcf4ab4453830fb"
}
,{
"testCaseDescription": "ruby-symbol-delete-rest-test",
@ -628,7 +628,7 @@
"filePaths": [
"symbol.rb"
],
"sha1": "6990875db340f2906e88835b37a955df69d4f5f2",
"sha1": "a4536baab46d3818f5fd0943abcf4ab4453830fb",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2640cfd0d7b6c27951cca79b20413db4b30d50aa"
"sha2": "5a3246245397bcf82daf396ea5a16002a200bdc6"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"ternary.rb"
],
"sha1": "279db06fb4c7847ecafcd8cda4ea46d4613e25b7",
"sha1": "5036f0b3423bc672f1aff35b244665a17dc2dad9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "67784bd6010976a3bbb484f13c113d64c2df36e1"
"sha2": "58c4614af75bcb1e2e7fb4910df026331a599115"
}
,{
"testCaseDescription": "ruby-ternary-replacement-insert-test",
@ -68,9 +68,9 @@
"filePaths": [
"ternary.rb"
],
"sha1": "67784bd6010976a3bbb484f13c113d64c2df36e1",
"sha1": "58c4614af75bcb1e2e7fb4910df026331a599115",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3e365f7aaa13dd5c93ae7c0352b1081a9c49d0a7"
"sha2": "66eff045b64ea62d03c6a1b9b7366fbdd1e63d00"
}
,{
"testCaseDescription": "ruby-ternary-delete-insert-test",
@ -111,9 +111,9 @@
"filePaths": [
"ternary.rb"
],
"sha1": "3e365f7aaa13dd5c93ae7c0352b1081a9c49d0a7",
"sha1": "66eff045b64ea62d03c6a1b9b7366fbdd1e63d00",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9c9deeb3a60bd9cf763a60c789f54f326ee99f08"
"sha2": "0fed0fc3629c1aeb382a0d3ad450c4944c03ee0e"
}
,{
"testCaseDescription": "ruby-ternary-replacement-test",
@ -154,9 +154,9 @@
"filePaths": [
"ternary.rb"
],
"sha1": "9c9deeb3a60bd9cf763a60c789f54f326ee99f08",
"sha1": "0fed0fc3629c1aeb382a0d3ad450c4944c03ee0e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "26007b128511147daed250b41158549e1d27631a"
"sha2": "630585462752fa18618550b8976c8b96c140e3f8"
}
,{
"testCaseDescription": "ruby-ternary-delete-replacement-test",
@ -197,9 +197,9 @@
"filePaths": [
"ternary.rb"
],
"sha1": "26007b128511147daed250b41158549e1d27631a",
"sha1": "630585462752fa18618550b8976c8b96c140e3f8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "fc6e4ba387f179b95a336ead0bb8148d9c86dcec"
"sha2": "253a68ae184ba377e3e34503fa6d33168df67ed5"
}
,{
"testCaseDescription": "ruby-ternary-delete-test",
@ -208,30 +208,18 @@
"ternary.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
26
]
},
{
"start": [
1,
1
],
"end": [
2,
1
]
}
]
"delete": {
"start": [
1,
1
],
"end": [
1,
26
]
}
},
"summary": "Replaced the 'condition' ternary expression with the 'if condition then case 1 else case2\n' at line 1, column 1 - line 2, column 1"
"summary": "Deleted the 'condition' ternary expression"
}
]
},
@ -240,9 +228,9 @@
"filePaths": [
"ternary.rb"
],
"sha1": "fc6e4ba387f179b95a336ead0bb8148d9c86dcec",
"sha1": "253a68ae184ba377e3e34503fa6d33168df67ed5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "8074610181409e835411b12a17e136e7f378331f"
"sha2": "258e0667eb64ea5cccbd290a11b83ff05fb57fa2"
}
,{
"testCaseDescription": "ruby-ternary-delete-rest-test",
@ -271,7 +259,7 @@
"filePaths": [
"ternary.rb"
],
"sha1": "8074610181409e835411b12a17e136e7f378331f",
"sha1": "258e0667eb64ea5cccbd290a11b83ff05fb57fa2",
"gitDir": "test/corpus/repos/ruby",
"sha2": "594f2f2b8f5dd265329c5911e66866f120934461"
"sha2": "862d6fb62b501d39f4d4446fe100c241eeb473e3"
}]

View File

@ -0,0 +1,352 @@
[{
"testCaseDescription": "ruby-until-insert-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
2,
4
]
}
},
"summary": "Added the 'foo' until statement"
},
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
3,
15
]
}
},
"summary": "Added the 'done' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "96e2c4849703c2f2721e8842e064e6f3b28ef36a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "db0fa838abaaaf852833d314fb179fcd6f675191"
}
,{
"testCaseDescription": "ruby-until-replacement-insert-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
3,
4
]
}
},
"summary": "Added the 'foo' until statement"
},
{
"span": {
"insert": {
"start": [
4,
1
],
"end": [
5,
4
]
}
},
"summary": "Added the 'foo' until statement"
},
{
"span": {
"insert": {
"start": [
6,
1
],
"end": [
6,
15
]
}
},
"summary": "Added the 'done' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "db0fa838abaaaf852833d314fb179fcd6f675191",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0d55985168dda313f99958fd8e5246a37feb2fdb"
}
,{
"testCaseDescription": "ruby-until-delete-insert-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"delete": {
"start": [
2,
3
],
"end": [
2,
6
]
}
},
"summary": "Deleted the 'bar' identifier"
},
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
3,
15
]
}
},
"summary": "Added the 'done' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "0d55985168dda313f99958fd8e5246a37feb2fdb",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d2579337b6f5502f4fc51965c93f24312871892f"
}
,{
"testCaseDescription": "ruby-until-replacement-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"insert": {
"start": [
2,
3
],
"end": [
2,
6
]
}
},
"summary": "Added the 'bar' identifier"
},
{
"span": {
"delete": {
"start": [
3,
1
],
"end": [
3,
15
]
}
},
"summary": "Deleted the 'done' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "d2579337b6f5502f4fc51965c93f24312871892f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "dd027ed970e4af424dd1b61a0f1e5f0fdb81c14f"
}
,{
"testCaseDescription": "ruby-until-delete-replacement-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
3,
4
]
}
},
"summary": "Deleted the 'foo' until statement"
},
{
"span": {
"delete": {
"start": [
4,
1
],
"end": [
5,
4
]
}
},
"summary": "Deleted the 'foo' until statement"
},
{
"span": {
"delete": {
"start": [
6,
1
],
"end": [
6,
15
]
}
},
"summary": "Deleted the 'done' until statement"
},
{
"span": {
"insert": {
"start": [
4,
1
],
"end": [
6,
4
]
}
},
"summary": "Added the 'foo' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "dd027ed970e4af424dd1b61a0f1e5f0fdb81c14f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b2363b0c7e492a99ce4c4a2a076e067deb85d763"
}
,{
"testCaseDescription": "ruby-until-delete-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
2,
4
]
}
},
"summary": "Deleted the 'foo' until statement"
},
{
"span": {
"delete": {
"start": [
3,
1
],
"end": [
3,
15
]
}
},
"summary": "Deleted the 'done' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "b2363b0c7e492a99ce4c4a2a076e067deb85d763",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b6a4adcc8865c690730aa091cfe4ae41c7af59ca"
}
,{
"testCaseDescription": "ruby-until-delete-rest-test",
"expectedResult": {
"changes": {
"until.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
3,
4
]
}
},
"summary": "Deleted the 'foo' until statement"
}
]
},
"errors": {}
},
"filePaths": [
"until.rb"
],
"sha1": "b6a4adcc8865c690730aa091cfe4ae41c7af59ca",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d713cc7718b03b581f0a0ac3d2ee917f9f5276f0"
}]

View File

@ -0,0 +1,352 @@
[{
"testCaseDescription": "ruby-while-insert-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
2,
4
]
}
},
"summary": "Added the 'foo' while statement"
},
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
3,
14
]
}
},
"summary": "Added the 'run' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "be1c1b085e88545406e186efe90d434bd23adf65",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3d304a766de2d77facdf678c747a425bcf8e374c"
}
,{
"testCaseDescription": "ruby-while-replacement-insert-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
3,
4
]
}
},
"summary": "Added the 'foo' while statement"
},
{
"span": {
"insert": {
"start": [
4,
1
],
"end": [
5,
4
]
}
},
"summary": "Added the 'foo' while statement"
},
{
"span": {
"insert": {
"start": [
6,
1
],
"end": [
6,
14
]
}
},
"summary": "Added the 'run' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "3d304a766de2d77facdf678c747a425bcf8e374c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e72f7ed4a1048f2b423011d7c0e0d38c0991d708"
}
,{
"testCaseDescription": "ruby-while-delete-insert-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"delete": {
"start": [
2,
3
],
"end": [
2,
6
]
}
},
"summary": "Deleted the 'bar' identifier"
},
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
3,
14
]
}
},
"summary": "Added the 'run' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "e72f7ed4a1048f2b423011d7c0e0d38c0991d708",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3bd7fc7838f843578c793dc2b03c01a0691f18d1"
}
,{
"testCaseDescription": "ruby-while-replacement-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"insert": {
"start": [
2,
3
],
"end": [
2,
6
]
}
},
"summary": "Added the 'bar' identifier"
},
{
"span": {
"delete": {
"start": [
3,
1
],
"end": [
3,
14
]
}
},
"summary": "Deleted the 'run' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "3bd7fc7838f843578c793dc2b03c01a0691f18d1",
"gitDir": "test/corpus/repos/ruby",
"sha2": "895766b520264089cca6a8dd11c8494af1a7e37a"
}
,{
"testCaseDescription": "ruby-while-delete-replacement-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
3,
4
]
}
},
"summary": "Deleted the 'foo' while statement"
},
{
"span": {
"delete": {
"start": [
4,
1
],
"end": [
5,
4
]
}
},
"summary": "Deleted the 'foo' while statement"
},
{
"span": {
"delete": {
"start": [
6,
1
],
"end": [
6,
14
]
}
},
"summary": "Deleted the 'run' while statement"
},
{
"span": {
"insert": {
"start": [
4,
1
],
"end": [
6,
4
]
}
},
"summary": "Added the 'foo' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "895766b520264089cca6a8dd11c8494af1a7e37a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3027f2bd415ad7524ac1b12865fca61387e8811d"
}
,{
"testCaseDescription": "ruby-while-delete-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
2,
4
]
}
},
"summary": "Deleted the 'foo' while statement"
},
{
"span": {
"delete": {
"start": [
3,
1
],
"end": [
3,
14
]
}
},
"summary": "Deleted the 'run' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "3027f2bd415ad7524ac1b12865fca61387e8811d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "fdb1c9535eaa5b5f9e242248ae4cbbc633864971"
}
,{
"testCaseDescription": "ruby-while-delete-rest-test",
"expectedResult": {
"changes": {
"while.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
3,
4
]
}
},
"summary": "Deleted the 'foo' while statement"
}
]
},
"errors": {}
},
"filePaths": [
"while.rb"
],
"sha1": "fdb1c9535eaa5b5f9e242248ae4cbbc633864971",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b3019463f3d9fbf1c167e5587fbdac3d3b4409ad"
}]

View File

@ -25,9 +25,9 @@
"filePaths": [
"yield.rb"
],
"sha1": "39ae806b1ae634068395b35085944e405461348f",
"sha1": "7de63c31cbe1320f2a2ed76af1c45c2f1b9ecf7e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "890cb263430ac399399afd829334ed051d690a27"
"sha2": "1a0f45a94914df274d477c17bbef6cc00a441fe6"
}
,{
"testCaseDescription": "ruby-yield-replacement-insert-test",
@ -71,9 +71,9 @@
"filePaths": [
"yield.rb"
],
"sha1": "890cb263430ac399399afd829334ed051d690a27",
"sha1": "1a0f45a94914df274d477c17bbef6cc00a441fe6",
"gitDir": "test/corpus/repos/ruby",
"sha2": "3a0e976f298467135bc50d49cf557552008fc97f"
"sha2": "26fe5e31cbe4c6b42187c241779fcc6c3868d0fc"
}
,{
"testCaseDescription": "ruby-yield-delete-insert-test",
@ -102,9 +102,9 @@
"filePaths": [
"yield.rb"
],
"sha1": "3a0e976f298467135bc50d49cf557552008fc97f",
"sha1": "26fe5e31cbe4c6b42187c241779fcc6c3868d0fc",
"gitDir": "test/corpus/repos/ruby",
"sha2": "075f4112d52bbfaa890d4eb965d490712fa20aac"
"sha2": "86362937320631bc2b2b593535826fbcc28af759"
}
,{
"testCaseDescription": "ruby-yield-replacement-test",
@ -133,9 +133,9 @@
"filePaths": [
"yield.rb"
],
"sha1": "075f4112d52bbfaa890d4eb965d490712fa20aac",
"sha1": "86362937320631bc2b2b593535826fbcc28af759",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a7e34fab4b84241bfd724a05fccfc6d5f62274c5"
"sha2": "395c85f60d60158787c1bb40d5fe7cfa1a12de4e"
}
,{
"testCaseDescription": "ruby-yield-delete-replacement-test",
@ -194,9 +194,9 @@
"filePaths": [
"yield.rb"
],
"sha1": "a7e34fab4b84241bfd724a05fccfc6d5f62274c5",
"sha1": "395c85f60d60158787c1bb40d5fe7cfa1a12de4e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "cd77d25b8e2161e68ddab6a4710f60a58bd86d23"
"sha2": "854b99d4feb128b7181135e60c3dbbc182df21ad"
}
,{
"testCaseDescription": "ruby-yield-delete-test",
@ -225,9 +225,9 @@
"filePaths": [
"yield.rb"
],
"sha1": "cd77d25b8e2161e68ddab6a4710f60a58bd86d23",
"sha1": "854b99d4feb128b7181135e60c3dbbc182df21ad",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d5871bc2a7e304070a570e98a6e3c7ff02c587f3"
"sha2": "d9b6f6c5a47f7f8f11cc41dcb831e168963ff5b3"
}
,{
"testCaseDescription": "ruby-yield-delete-rest-test",
@ -256,7 +256,7 @@
"filePaths": [
"yield.rb"
],
"sha1": "d5871bc2a7e304070a570e98a6e3c7ff02c587f3",
"sha1": "d9b6f6c5a47f7f8f11cc41dcb831e168963ff5b3",
"gitDir": "test/corpus/repos/ruby",
"sha2": "dbe070995f875acff55ccfcf16c77c9f733468a0"
"sha2": "8c66e54252fffce9f1d2be5ec107d23b27c3c3f2"
}]

View File

@ -164,6 +164,20 @@
"insert": "yield foo",
"replacement": "yield",
"testCaseFilePath": "test/corpus/diff-summaries/ruby/yield.json"
},
{
"syntax": "while",
"repoFilePath": "while.rb",
"insert": "while foo do\nend\nfoo while run",
"replacement": "while foo\n bar\nend",
"testCaseFilePath": "test/corpus/diff-summaries/ruby/while.json"
},
{
"syntax": "until",
"repoFilePath": "until.rb",
"insert": "until foo do\nend\nfoo until done",
"replacement": "until foo\n bar\nend",
"testCaseFilePath": "test/corpus/diff-summaries/ruby/until.json"
}
]
}

@ -1 +1 @@
Subproject commit dbe070995f875acff55ccfcf16c77c9f733468a0
Subproject commit d713cc7718b03b581f0a0ac3d2ee917f9f5276f0

@ -1 +1 @@
Subproject commit 16b3b54f58372cc662e41a26be067feb555a0752
Subproject commit 726d48568c1757302e1ac87b3713be3851d92f84