bormashino 0.1.6 → 0.1.7

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: 5a99890edb18fa7c816a6c559640b99eac3ef69431a4085565c3a2d71d0d9972
4
- data.tar.gz: 5c6a2cde12f3e4d1150b4395f04d9e970078fd275dd8dd7beae11f7765610a50
3
+ metadata.gz: 19046da45e61a5eb600c18e2081d09bd9637ff1b940d05945ec248560de9db01
4
+ data.tar.gz: f288a032b1ca977e44080893ad30d86de44e4d6f08718cea2f9b66240cc3c5d4
5
5
  SHA512:
6
- metadata.gz: 4d3a8387730fa96251441d2d023749eedbabf757ecea260d887e1363595d4be06ab78c0733782d350f53071e32811f301a3ace964202ff76d344c1f1f36b44c9
7
- data.tar.gz: b144c2b03fcca6e2ae0486c53a4e1223a06c33c0cfb005a4dc0885831519c687997e68cf616a981965f27d8e7d342d1370491979a838344883aae48fdbe82259
6
+ metadata.gz: 6ae99fa09be0419565a648ec7d3f9d01613dbf0f4dd1df12d7db866f4d27aaf5ae38ce107dc1186174ee93fff6a224d2d1864eb686e63520745445ad88c782af
7
+ data.tar.gz: c3041acff2f933a2863e0f20f7207b5c1a2a6b423a81a9aa58822a38a5127baaba3679ee1caae0b5529950ec9663e75af8cd6d989baf238621f6a4fb42c460d1
@@ -14,7 +14,7 @@ TMP = 'tmp'.freeze
14
14
  DIGEST = 'js/ruby-digest.js'.freeze
15
15
 
16
16
  namespace :bormashino do
17
- desc 'ruby.wasm及びwasi-vfsをダウンロードする'
17
+ desc 'download ruby.wasm and wasi-vfs'
18
18
  task :download do
19
19
  system "curl -L #{RUBY_RELEASE} | tar xz"
20
20
  FileUtils.rm(File.join(RUBY_ROOT, '/usr/local/lib/libruby-static.a'))
@@ -36,7 +36,7 @@ namespace :bormashino do
36
36
  system 'chmod u+x wasi-vfs'
37
37
  end
38
38
 
39
- desc 'wasi_vfsでアプリに使用するRubyスクリプト群を埋め込む'
39
+ desc 'embed ruby scripts with wasi-vfs'
40
40
  task :pack, [:additional_args] do |_, args|
41
41
  gem_dir = Gem::Specification.find_by_name('bormashino').gem_dir
42
42
 
@@ -52,7 +52,7 @@ namespace :bormashino do
52
52
  ].compact.join(' '))
53
53
  end
54
54
 
55
- desc 'pack済みのruby.wasmのMD5を取りファイル名につけてコピーし、import用のJSを出力する'
55
+ desc 'add MD5 to packed ruby.wasm and write JS for importing'
56
56
  task :digest, [:destination] do |_, args|
57
57
  digest = Digest::MD5.file('tmp/ruby.wasm').hexdigest
58
58
  FileUtils.cp('tmp/ruby.wasm', "#{args[:destination]}/ruby.#{digest}.wasm")
@@ -62,7 +62,7 @@ namespace :bormashino do
62
62
  }
63
63
  end
64
64
 
65
- desc '指定ディレクトリ中のdigest付きruby.wasmを削除する'
65
+ desc 'clean built ruby.wasm files'
66
66
  task :delete_wasms, [:target] do |_, args|
67
67
  Dir.glob(File.join(args[:target], 'ruby.*.wasm')).each { |f| FileUtils.rm(f) }
68
68
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bormashino
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bormashino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichiro Yasuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-14 00:00:00.000000000 Z
11
+ date: 2022-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_pure