isomorfeus-puppetmaster 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15e9e4489049aa4200345e6d13ad409cbc2ef7c7972ef2cd5db102b64f3dec1c
4
- data.tar.gz: 40fe9fb73dcb739e21c49eb2e9c28c72926d151b1e588b6155bb3f999ff88592
3
+ metadata.gz: 416e12d0f64bdfe0ac0d9d21aed38f299509c496094c9836cc3fa7ec98eec6d2
4
+ data.tar.gz: f43d2d13018ae9b9235439c37621d04eba6864f13328e73a017b8558a45f051b
5
5
  SHA512:
6
- metadata.gz: 323ace6f65009c749f0de5180475c00f29c8637331fff5bd6cf9ac99ffd80582b22830fc8594780a02021bea50014f5bf541adef8bee6b7024a645a0ae4958ab
7
- data.tar.gz: '09369cf80cef929cbea6734ef3464ea4df59ad582636fedb3c28354ad0e4eb1452af4434d6746972203cb01763a74f2d2d06559abcc616ea077cb910f00b9f88'
6
+ metadata.gz: 19727d05d7e416a0a6f78131e25205d9ff37c23590753c928ed633ddc4997d2eed038da15804b279bf3f87236be9904fd05037c53aa4cb7d63db7d6b3f844e18
7
+ data.tar.gz: 3d43d96f8c4bcce4547f1bf5d13a8f2cc2d38f0322a174a567f23a3065c4421dd1971d1fa8b3c20b2608ce9fc6169a75e4cd81a4248a5068d5918a90bbbe024b
@@ -17,7 +17,12 @@ class Puppeteer::ExecutionContext
17
17
  if (Array.isArray(o)) {
18
18
  for (let i = 0; i < o.length; i++) o[i] = conv(o[i]);
19
19
  } else {
20
- for (let i in o) o[i] = conv(o[i]);
20
+ let d;
21
+ for (let i in o) {
22
+ d = Object.getOwnPropertyDescriptor(o, i);
23
+ if (d && d.writable)
24
+ o[i] = conv(o[i]);
25
+ }
21
26
  }
22
27
  }
23
28
  return o;
@@ -54,7 +59,12 @@ class Puppeteer::ExecutionContext
54
59
  if (Array.isArray(o)) {
55
60
  for (let i = 0; i < o.length; i++) o[i] = conv(o[i]);
56
61
  } else {
57
- for (let i in o) o[i] = conv(o[i]);
62
+ let d;
63
+ for (let i in o) {
64
+ d = Object.getOwnPropertyDescriptor(o, i);
65
+ if (d && d.writable)
66
+ o[i] = conv(o[i]);
67
+ }
58
68
  }
59
69
  }
60
70
  return o;
@@ -123,7 +133,12 @@ class Puppeteer::ExecutionContext
123
133
  if (Array.isArray(o)) {
124
134
  for (let i = 0; i < o.length; i++) o[i] = conv(o[i]);
125
135
  } else {
126
- for (let i in o) o[i] = conv(o[i]);
136
+ let d;
137
+ for (let i in o) {
138
+ d = Object.getOwnPropertyDescriptor(o, i);
139
+ if (d && d.writable)
140
+ o[i] = conv(o[i]);
141
+ }
127
142
  }
128
143
  }
129
144
  return o;
@@ -1,3 +1,3 @@
1
1
  module Isomorfeus
2
- PUPPETMASTER_VERSION = '0.9.0'
2
+ PUPPETMASTER_VERSION = '0.9.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-puppetmaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann