jekyll-importmap 0.1.0 → 0.1.1

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: fa320c90e7d34c61fe7157d25b4464ce980a873076985d57fd382ddba33be652
4
- data.tar.gz: 3bcff1f36209602db237935d31515213c53f5441aec8e3d95d346a1aeea3bab1
3
+ metadata.gz: 1f846c42361c7da6b6bac17de40f7d49d371d492edf7cedaee988aaa8acf8736
4
+ data.tar.gz: 4533b6d72f8cd5d654ae602f527eb9c5e6e583f10c4d76895f47f32b486ea96c
5
5
  SHA512:
6
- metadata.gz: c1e6329ab9473f26e0b7ef4d870837ef5d82e66a612c000a60db7980de1a2a173dd7efaa96e95dc089c42ccd2233cae137ee6eec13722ff98a471575463e3027
7
- data.tar.gz: 18d080b8a381adfc3709a72066f68db45ed64ad3d086cf43e97e23276cffe5e46e5efa07286fb1945530e28595473ad9b56496c11062b9837fe871d279aa69b5
6
+ metadata.gz: 56dac94721fadb3a3be47564011703297c7abb6dedd81e263031d589d9c9bcd83400c58f37e3f13dd00f0e3444b14d0d97f9855aebe502e8af424359d7c81db0
7
+ data.tar.gz: ea08f250e99326219589c8f94344e713d557b765b6efe00845b146ff91daadeab77e356d166cf4c2085dfd01e33e55f1b51077d6814fc2f03a7cbfe98057430d
@@ -5,6 +5,6 @@ module Liquid; class Tag; end; end
5
5
 
6
6
  module Jekyll
7
7
  class ImportmapTag < Liquid::Tag
8
- VERSION = "0.1.0"
8
+ VERSION = "0.1.1"
9
9
  end
10
10
  end
@@ -11,12 +11,13 @@ module Jekyll
11
11
  module Importmap; end
12
12
 
13
13
  ES_MODULE_SHIM = "https://ga.jspm.io/npm:es-module-shims@1.8.3/dist/es-module-shims.js"
14
- IMPORTMAP_PATH = "/importmap.rb"
14
+ IMPORTMAP_PATH = "importmap.rb"
15
15
 
16
16
  class ImportmapTag < Liquid::Tag
17
17
  def initialize(tag_name, text, tokens)
18
18
  super
19
- root_path = Pathname.new(Jekyll.configuration['source'])
19
+ #root_path = Pathname.new(Jekyll.configuration['source']) + '/'
20
+ root_path = Dir.pwd + '/'
20
21
  @importmap = Jekyll::Importmap::Map.new.draw(root_path.join(IMPORTMAP_PATH))
21
22
  @entry_point = "application"
22
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-importmap
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
  - Nathan Kidd
@@ -34,16 +34,16 @@ dependencies:
34
34
  name: importmap-rails
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0'
39
+ version: 2.0.1
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ">="
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0'
46
+ version: 2.0.1
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement