forked from rojo-rbx/rojo
Upgrade to Insta master to get bugfix.
Map sorting in Insta was previously not recursive. As of this PR, it is! https://github.com/mitsuhiko/insta/pull/80 Since it hasn't made it into a release yet, but is important for Rojo to have snapshot determinism, we're moving temporarily to depend on Insta via Git.
This commit is contained in:
@@ -4,23 +4,23 @@ expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-2:
|
||||
Id: id-2
|
||||
Parent: ~
|
||||
Name: add_folder
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children:
|
||||
- id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
id-3:
|
||||
Id: id-3
|
||||
Parent: id-2
|
||||
Name: my-new-folder
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children: []
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: add_folder
|
||||
Parent: ~
|
||||
Properties: {}
|
||||
id-3:
|
||||
Children: []
|
||||
ClassName: Folder
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: my-new-folder
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
messageCursor: 1
|
||||
sessionId: id-1
|
||||
|
||||
@@ -4,13 +4,13 @@ expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-2:
|
||||
Id: id-2
|
||||
Parent: ~
|
||||
Name: add_folder
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children: []
|
||||
ClassName: Folder
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: add_folder
|
||||
Parent: ~
|
||||
Properties: {}
|
||||
messageCursor: 0
|
||||
sessionId: id-1
|
||||
|
||||
@@ -4,16 +4,16 @@ expression: "subscribe_response.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- removedInstances: []
|
||||
addedInstances:
|
||||
- addedInstances:
|
||||
id-3:
|
||||
Id: id-3
|
||||
Parent: id-2
|
||||
Name: my-new-folder
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children: []
|
||||
ClassName: Folder
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: my-new-folder
|
||||
Parent: id-2
|
||||
Properties: {}
|
||||
removedInstances: []
|
||||
updatedInstances: []
|
||||
sessionId: id-1
|
||||
|
||||
@@ -4,13 +4,13 @@ expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-2:
|
||||
Id: id-2
|
||||
Parent: ~
|
||||
Name: empty
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children: []
|
||||
ClassName: Folder
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: true
|
||||
Name: empty
|
||||
Parent: ~
|
||||
Properties: {}
|
||||
messageCursor: 0
|
||||
sessionId: id-1
|
||||
|
||||
@@ -4,16 +4,16 @@ expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-2:
|
||||
Id: id-2
|
||||
Parent: ~
|
||||
Name: just_txt
|
||||
Children: []
|
||||
ClassName: StringValue
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: just_txt
|
||||
Parent: ~
|
||||
Properties:
|
||||
Value:
|
||||
Type: String
|
||||
Value: "Hello, world!"
|
||||
Children: []
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
messageCursor: 0
|
||||
sessionId: id-1
|
||||
|
||||
@@ -4,39 +4,39 @@ expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-2:
|
||||
Id: id-2
|
||||
Parent: ~
|
||||
Name: scripts
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children:
|
||||
- id-3
|
||||
- id-4
|
||||
ClassName: Folder
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: scripts
|
||||
Parent: ~
|
||||
Properties: {}
|
||||
id-3:
|
||||
Id: id-3
|
||||
Parent: id-2
|
||||
Name: bar
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: bar
|
||||
Parent: id-2
|
||||
Properties:
|
||||
Source:
|
||||
Type: String
|
||||
Value: "-- Hello, from bar!"
|
||||
id-4:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
id-4:
|
||||
Id: id-4
|
||||
Parent: id-2
|
||||
Name: foo
|
||||
ClassName: ModuleScript
|
||||
Parent: id-2
|
||||
Properties:
|
||||
Source:
|
||||
Type: String
|
||||
Value: Updated foo!
|
||||
Children: []
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
messageCursor: 1
|
||||
sessionId: id-1
|
||||
|
||||
@@ -4,39 +4,39 @@ expression: "read_response.intern_and_redact(&mut redactions, root_id)"
|
||||
---
|
||||
instances:
|
||||
id-2:
|
||||
Id: id-2
|
||||
Parent: ~
|
||||
Name: scripts
|
||||
ClassName: Folder
|
||||
Properties: {}
|
||||
Children:
|
||||
- id-3
|
||||
- id-4
|
||||
ClassName: Folder
|
||||
Id: id-2
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: scripts
|
||||
Parent: ~
|
||||
Properties: {}
|
||||
id-3:
|
||||
Id: id-3
|
||||
Parent: id-2
|
||||
Name: bar
|
||||
Children: []
|
||||
ClassName: Script
|
||||
Id: id-3
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
Name: bar
|
||||
Parent: id-2
|
||||
Properties:
|
||||
Source:
|
||||
Type: String
|
||||
Value: "-- Hello, from bar!"
|
||||
id-4:
|
||||
Children: []
|
||||
ClassName: ModuleScript
|
||||
Id: id-4
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
id-4:
|
||||
Id: id-4
|
||||
Parent: id-2
|
||||
Name: foo
|
||||
ClassName: ModuleScript
|
||||
Parent: id-2
|
||||
Properties:
|
||||
Source:
|
||||
Type: String
|
||||
Value: "-- Hello, from foo!"
|
||||
Children: []
|
||||
Metadata:
|
||||
ignoreUnknownInstances: false
|
||||
messageCursor: 0
|
||||
sessionId: id-1
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
---
|
||||
source: rojo-test/src/serve_test.rs
|
||||
expression: redactions.redacted_yaml(subscribe_response)
|
||||
expression: "subscribe_response.intern_and_redact(&mut redactions, ())"
|
||||
---
|
||||
messageCursor: 1
|
||||
messages:
|
||||
- removedInstances: []
|
||||
addedInstances: {}
|
||||
- addedInstances: {}
|
||||
removedInstances: []
|
||||
updatedInstances:
|
||||
- id: id-4
|
||||
- changedClassName: ~
|
||||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedClassName: ~
|
||||
changedProperties:
|
||||
Source:
|
||||
Type: String
|
||||
Value: Updated foo!
|
||||
changedMetadata: ~
|
||||
id: id-4
|
||||
sessionId: id-1
|
||||
|
||||
Reference in New Issue
Block a user