sewing_kit 0.97.0 → 0.97.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sewing_kit/version.rb +1 -1
- data/lib/sewing_kit/webpack/dev.rb +8 -6
- 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: ae66d53ee5a35b745004c59d955e495c840af4c8204c8bcd6328e9a9acb0a87e
|
4
|
+
data.tar.gz: 31dd864b4cc05a7397fec4d1d1ce4fcb0c5b68b92af57ddabd942916c5444d24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7330810f9744170432fdd669f09bb528c9ecd862c9242049937dad4857bffaa2daa12d723b7c24d5076e1756517a90476f527172f342a32c8719ffc535121d
|
7
|
+
data.tar.gz: f7a7b8a02f408bb7a603e083f2638d8373cda0622e53540ffccee6a42f8456bdb1e36b3fd3a037e218d3e389a041cef31b24e03a0ff1891fb86cfc361ee5fe57
|
data/lib/sewing_kit/version.rb
CHANGED
@@ -50,11 +50,13 @@ module SewingKit
|
|
50
50
|
|
51
51
|
def command
|
52
52
|
command_list = [
|
53
|
+
'node',
|
54
|
+
heap_config,
|
53
55
|
sewing_kit_bin,
|
54
56
|
'dev',
|
55
57
|
'--logLevel',
|
56
58
|
log_level,
|
57
|
-
].concat(options)
|
59
|
+
].compact.concat(options)
|
58
60
|
|
59
61
|
if debug_mode?
|
60
62
|
command_list.push(['--debug'])
|
@@ -63,13 +65,13 @@ module SewingKit
|
|
63
65
|
command_list.join(' ')
|
64
66
|
end
|
65
67
|
|
66
|
-
def
|
68
|
+
def heap_config
|
67
69
|
heap_size = SewingKit.configuration.development_options[:heap]
|
68
|
-
|
69
|
-
|
70
|
-
end
|
70
|
+
return "--max-old-space-size=#{heap_size}" if heap_size
|
71
|
+
end
|
71
72
|
|
72
|
-
|
73
|
+
def sewing_kit_bin
|
74
|
+
bin = SewingKit.configuration.dev_server_sewing_kit_bin
|
73
75
|
raise NodeSewingKitNotInstalled unless File.exist?(bin)
|
74
76
|
bin
|
75
77
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sewing_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.97.
|
4
|
+
version: 0.97.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Sauve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|