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 +4 -4
- data/lib/grand_central/dev_tools/version.rb +1 -1
- data/opal/grand_central/dev_tools.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efef3d0416a9500ec429ea0d36dafc7ea723d6c4abdc8abda83c296679890b3b
|
4
|
+
data.tar.gz: 824c84ef70b9c63190936e0b2e10d3a732f69dd766f024cf049da4ef6362ba48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00d7d3161761cd53ba750576e5cb45cd91c7737491dd6589e71b0929f968cc849a9f95e5c89726026c100bb520f5c493db5da1725666061b1c2742a6ef4e5979
|
7
|
+
data.tar.gz: 5b67d705b3222d13c08140ca759f3abb2d6fb9f434202a6414871034be81b0f0145a3b5a3111378b214079f6cf12c4599193ef04d21aecbf43b9266f3e13ec0b
|
@@ -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.
|
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-
|
11
|
+
date: 2018-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|