nanoc-opal 0.1.0 → 0.1.1

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: 5fd8ae9f6e8a263d05f9afd31fc38f491c2cdd63fd1dd06ffc1817de79ae6a1e
4
- data.tar.gz: 05ee7181c1995d0d68c47fcfe7721dc8649ca70675d9032a4e37d91e72b041fb
3
+ metadata.gz: da12f5c4b2255bc56481b9eb69afdf1cecb665f991a1c833defae2d6ebb96535
4
+ data.tar.gz: '08db3914b8ab4f96d99b9dad6ff7ba1eec13d0d2957611d24f04379e10b756e5'
5
5
  SHA512:
6
- metadata.gz: f28bee9886bd6b47269043f56bdc02c4d730b7a7098372a8979dd5b1b2ec1a9f8f2d20c5e2190318ae0157e8f363878d2723d6506482aa1b822ee3f6767bb24e
7
- data.tar.gz: 49c64094b95c72e8572a471d058cb942cf333f72a7922d5a38c11e941bf0f431e48ca9977adae4891e7f5faaae760bbec5337f088785454dd7715afb27647b5a
6
+ metadata.gz: 5e1a28acbae318520aa02d67f2421861bc0a0bb93c0fe3996dd49897a3572367753b453a6d1ca73102554b68d487d78df3f10347f6b524d56a9e04659f6df38f
7
+ data.tar.gz: e250adf9d317854f062b9d29a8d2f127c74a84a4522f0544dbcfaab271088eb3dde0d798a1dabc1b3239813dc986999be27c40e5196fcf6295cda1a9751ebf3c
data/NEWS.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # nanoc-opal news
2
2
 
3
+ ## 0.1.1 (2023-01-16)
4
+
5
+ - Compile source maps
6
+
3
7
  ## 0.1.0 (2023-01-16)
4
8
 
5
9
  - Initial pre-release.
@@ -28,7 +28,7 @@ module Nanoc
28
28
 
29
29
  builder = ::Opal::Builder.new(**params)
30
30
  builder.build_str(string, fn)
31
- code = builder.to_s
31
+ code = builder.to_s + "\n" + builder.source_map.to_data_uri_comment
32
32
 
33
33
  prefix = File.dirname(item.identifier.to_s)
34
34
  prefix += '/' unless prefix.end_with? '/'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Opal
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-opal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hmdne
@@ -55,7 +55,7 @@ licenses:
55
55
  - MIT
56
56
  metadata:
57
57
  rubygems_mfa_required: 'true'
58
- source_code_uri: https://github.com/hmdne/nanoc-opal/tree/nanoc-opal-v0.1.0/nanoc-opal
58
+ source_code_uri: https://github.com/hmdne/nanoc-opal/tree/nanoc-opal-v0.1.1/nanoc-opal
59
59
  post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths: