fastlyctl 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlyctl/clone_utils.rb +5 -0
- data/lib/fastlyctl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e7366467cff6fc4a40cc52ce8908c5c8837a1986ae7fa41946c7557eac7fbd1
|
4
|
+
data.tar.gz: 9fbffee30c37fe452ef4f3926cb0883424611bdd39644a910a7a43296f10463a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaa3d3b4722e98d457621c71c07a16d7d9e548aa5cbe2629b585ccd0215408edeeb85091c0f9b44d794fca21339f0428996289f1c7f18c08aca7326c8187ddfd
|
7
|
+
data.tar.gz: 583f7cbbd87214d59271a4ed90841325cf3c0a918420a49270347ef0771d307d06693e59ac2b70d1da02905c6f9fda590f8427e7ccac3e1fa5460753e697e488
|
@@ -69,6 +69,11 @@ module FastlyCTL
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
if type == "dictionary" && obj["write_only"] === true
|
73
|
+
puts "Unable to clone the contents of a write only dictionary. Creating empty dictionary instead..."
|
74
|
+
return obj
|
75
|
+
end
|
76
|
+
|
72
77
|
return obj unless meta.key?(:child)
|
73
78
|
new_obj_id = obj["id"]
|
74
79
|
child = meta[:child]
|
data/lib/fastlyctl/version.rb
CHANGED