jekyll-importmap 0.1.5 → 0.1.6

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: f4d3e32e67c8bbd4f9c741fac224eed261d9a2de798f70b3d4c5ed7614ae8f7e
4
- data.tar.gz: df0448d2695ae924457b9f02cbe9fbb81a3d007e35efb12c4956f7f3ae3db0f8
3
+ metadata.gz: fcbca8d3eb68354403dafbf2502eff2aa26d91aeeac77027ba6cadb0423a9d68
4
+ data.tar.gz: 88e0cf570ed90888f4bf7651f332808e458b9785b789c3abdda5dbb45781852a
5
5
  SHA512:
6
- metadata.gz: a844ed6530e64213327adce53c34f6f7590760c531d3d8e234aa52497e4b9d7ac661c49a0cf76f0f9e11d84a17a183c55760d27a452b92891760c7eef179c53d
7
- data.tar.gz: 457bc63b81735fc0355eeff51fc5e903a9392183afc7687ffecfdb6b6fca4915ea27a532602217015f36310c11555215af73ddfb23dbe833d38e1198f192f32a
6
+ metadata.gz: 41b49c18099048820a9d2e86ac34b6d4e0e0596178122697caa5254453dee3a8c77db870176389925b9e73eaef2c4f128cc375fc469cabe654ac6df1d7ab0c15
7
+ data.tar.gz: 566f4ba6489a78700d0001eba036f31f95e1cc48d1de70c4a9ccc8c6b63063ac70bb9079ff2338318fb7987d573ecd30a9762f9e64d523e377ac152d99f12cd3
@@ -1,16 +1,16 @@
1
1
  module Jekyll::Importmap
2
- JS_PATH = ''
2
+ JS_PATH = '/'
3
3
 
4
4
  class Resolver
5
5
  def self.path_to_asset(path)
6
- 'https://' + self.url + JS_PATH + '/' + path
6
+ self.url + JS_PATH + path
7
7
  end
8
8
 
9
9
  def self.host_or_url
10
10
  if Jekyll.configuration['url']
11
11
  Jekyll.configuration['url']
12
12
  else
13
- Jekyll.configuration['host'] + ':' + Jekyll.configuration['port']
13
+ 'https://' + Jekyll.configuration['host'] + ':' + Jekyll.configuration['port']
14
14
  end
15
15
  end
16
16
  def self.base_url
@@ -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.5"
8
+ VERSION = "0.1.6"
9
9
  end
10
10
  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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kidd