isomorfeus-asset-manager 0.19.1 → 0.19.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: d3342cc6c4c4b8cb604bf6e7b53043aa534688a06bd5f3c2be536cee51de0334
4
- data.tar.gz: 51c294beb9e50397d60b20b90b2ee4381e5c4f56f9e06a070b0ec89ebe2ee35a
3
+ metadata.gz: fe48bc13745c886fd9b60e7283e5e072f294a3fc29cef4f15c68bbf8321b5f36
4
+ data.tar.gz: 9cfba00c3f49652a27630612a6784c884d61e1e5a5fd39ca9c6ec5ddb35b71ec
5
5
  SHA512:
6
- metadata.gz: c981a9cc7ba7a26e1ea8b0fc167351c8f1c03d755ffeecd0a1e3b6a62d803e2524b91927c39acf7a1f04047189a675fb1c4572c2df4bc9ffe46293e30b7897b4
7
- data.tar.gz: 73e4d8aac8cc7b1a55ecca4f91d00611b901ebd02e0ba551b360e2a7146b15bfc70b38b4506e0bf0c34157e92358cebc4be14e788d79c8bfbadc6ae9d9285abb
6
+ metadata.gz: de2fb9ac546e3225d7edb06638ad0ea8b37141009c84faf093dad3936669357f412016861a79a9622dddfc9e8b344923c2721827b8080ae6c9fdde06d252c6bd
7
+ data.tar.gz: fed8f5bf397c1e9b09f71082b4f961f1aadae0cb6a70c68eb9f56f0fb64600ff706018445475b8ff8555825689e514cf71f5a329f80a4a4957db050010b31dae
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  class AssetManager
3
- VERSION = '0.19.1'
3
+ VERSION = '0.19.2'
4
4
  end
5
5
  end
@@ -57,8 +57,8 @@ module Isomorfeus
57
57
  @context ||= ExecJS.permissive_compile(init_js)
58
58
  end
59
59
 
60
- def delete_context
61
- @context = nil
60
+ def stop_context
61
+ ExecJS::Runtimes::Speednode.stop_context(@context)
62
62
  end
63
63
 
64
64
  def compile_ruby(file)
@@ -172,7 +172,7 @@ module Isomorfeus
172
172
  puts "\n#{analysis}\n"
173
173
  end
174
174
 
175
- delete_context if Isomorfeus.production? # no need to keep node running, let it get garbage collected
175
+ stop_context if Isomorfeus.production? # no need to keep node running all the time
176
176
 
177
177
  handle_errors(asset_key, result)
178
178
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-asset-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.6.3
47
+ version: 0.7.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.6.3
54
+ version: 0.7.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: listen
57
57
  requirement: !ruby/object:Gem::Requirement