npm_ext 0.1.3 → 0.1.4

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: 014df2845c93a8f9bb6d14c4d9b11d921af128104a0cdc52f492d639325d4a22
4
- data.tar.gz: 1397cb03abb4af017e079d6c4b8d1fdfbfe2062e1cfcffdcc2bcf20806701552
3
+ metadata.gz: 27ffa525453e8eb743255eb79866ae2c5e0ee6399b04a24c538c4141810e9297
4
+ data.tar.gz: d098315971c4c017236b4572804e63ac06172e5b2ebc0973e7e2aff11c14d5b7
5
5
  SHA512:
6
- metadata.gz: 8779ec6d715fc7d00659a00c0090961b37c055815c69831379be633efb6f26ee6aa285a4eef4a72c37b26948f68385b573fd0b6b9e4b1ca635318abba6e142cb
7
- data.tar.gz: d2606c9a071219009b30255e0dde9b84658662253f2efc6eaf15eaa5478227fb166a49578e978ffcaef4bae7b433cdff660575f1cc2104175d411e949f491f1f
6
+ metadata.gz: 19068b4ab14096926db6dcd50e258083a41b4f8ba58efeda55cdd1c98e1211dcc2997640674bad2bdbf73baf0cff6ce44cf01d7751ea4f8f1819c8a6c233928e
7
+ data.tar.gz: 03a986f10cd2e5ea11ec4ca33fead5072bc250fae247d29cd6c979bec00b695f6a1ec2937d3c67426bf43ec9a27f41f2ab85b63ffc1d2eabec7aa94639ca0b94
data/lib/npm_ext/mkmf.rb CHANGED
@@ -77,7 +77,7 @@ module NpmExt
77
77
  #{configs.map { |_, x| "\tnpx rollup --config #{x[:rollup_config]}" }.join("\n")}
78
78
  \trm -rf npm_ext.so
79
79
  \tnode -e 'const fs = require("fs"); fs.writeFileSync("npm_ext.so", JSON.stringify(Object.fromEntries(#{configs.transform_values { |x| x[:output_js] }.to_a.to_json}.map(([k, v]) => [k, fs.readFileSync(v, "utf8")]))))'
80
- cleanup:
80
+ clean:
81
81
  \trm -rf node_modules
82
82
  \trm -rf rollup.config.*.js
83
83
  \trm -rf *npm_ext.js
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NpmExt
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: npm_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandra Østermark