grand_central-dev_tools 1.0.1 → 1.0.2

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: 819535886a6d1d73f86add7223de795ee8afeeffa06647a7a5da8675d80f5270
4
- data.tar.gz: 821888a47e45e95b05c6b6e4bceb8c58112bac666ec63e94b9754761a906b221
3
+ metadata.gz: efef3d0416a9500ec429ea0d36dafc7ea723d6c4abdc8abda83c296679890b3b
4
+ data.tar.gz: 824c84ef70b9c63190936e0b2e10d3a732f69dd766f024cf049da4ef6362ba48
5
5
  SHA512:
6
- metadata.gz: 65c5ab309c9167a32f5b357dae4e41b97f2048a591d56e4c81428af795c5e806a581351b67b422529cb4ca3cf9709671238bbe14967d346e5a3abee18110a61b
7
- data.tar.gz: 0c7fbfacd1a7261aee20ce3da4b87a7f7bed593af84861c9b97f5c7a00211f3fafea8b6b1f9ac99616367d1140b9ddd485955a350b3227df70ada7829bd98ddd
6
+ metadata.gz: 00d7d3161761cd53ba750576e5cb45cd91c7737491dd6589e71b0929f968cc849a9f95e5c89726026c100bb520f5c493db5da1725666061b1c2742a6ef4e5979
7
+ data.tar.gz: 5b67d705b3222d13c08140ca759f3abb2d6fb9f434202a6414871034be81b0f0145a3b5a3111378b214079f6cf12c4599193ef04d21aecbf43b9266f3e13ec0b
@@ -1,5 +1,5 @@
1
1
  module GrandCentral
2
2
  module DevTools
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -129,6 +129,8 @@ module GrandCentral
129
129
 
130
130
  def serialize_value value
131
131
  case value
132
+ when NativeValue
133
+ `value.toString()`
132
134
  when String, Numeric, true, false, nil, Time, Date
133
135
  code(value.inspect)
134
136
  when Array
@@ -149,6 +151,12 @@ module GrandCentral
149
151
  end
150
152
  end
151
153
 
154
+ module NativeValue
155
+ def self.=== value
156
+ `!(value && value.$$class)`
157
+ end
158
+ end
159
+
152
160
  class Placeholder
153
161
  include Clearwater::BlackBoxNode
154
162
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grand_central-dev_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Gaskins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-28 00:00:00.000000000 Z
11
+ date: 2018-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler