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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3ff6e61fc266fedb6875186c971f06296b055d2bb02a8e9c90fd432086c16df
4
- data.tar.gz: c2f3e3245be9b049184bc72baae907009773d1f89ba5c69aba669f195c397305
3
+ metadata.gz: 0e7366467cff6fc4a40cc52ce8908c5c8837a1986ae7fa41946c7557eac7fbd1
4
+ data.tar.gz: 9fbffee30c37fe452ef4f3926cb0883424611bdd39644a910a7a43296f10463a
5
5
  SHA512:
6
- metadata.gz: 615b36475eff2a4511a0219823ef6aff66be34a1e03edce842651f951f225ab4473ca7eaf70afe99a7bbfb54fafb0a0d61ecc65ea77a45f975cf4b8e989a9714
7
- data.tar.gz: ca36f9bcf1ad670c10ee70addaa7165f7efeb8c5260c1da78d3f6870633f8ac4f284652b8a709f6d2bceef55305927d42fbe974b8918c9be1993d8c8618c8038
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]
@@ -1,3 +1,3 @@
1
1
  module FastlyCTL
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlyctl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Basile