lively 0.15.0 → 0.15.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: b53e8a7bba336aef8ef7170bdf1aac5870b036ad7e4069c92d2b391c7413664d
4
- data.tar.gz: 2ca053c24f1f25540b53e44fec743b7445cb139abb8d8f4f44d302fefb0a5bfb
3
+ metadata.gz: '07469e970281882fcfabf5e48456ad080d3d8c50890756770e7c5117d4478a55'
4
+ data.tar.gz: e849ea73c4678924639ebf3e5a1a946512b890fc925f281e13f85f96eafa691d
5
5
  SHA512:
6
- metadata.gz: 8655863e04c5eb0d4d7a0306eed6d81a679f51d73304d4d81888f3ac0c56c99ffb20b6ed281ea4b35ed5557c89055f1098697bb6570f317c2d8561babebe5925
7
- data.tar.gz: 0425a8509065b052bae71e87bd546b229a570555461845713ab663394a115884c6d8f7610966e3213ece45d9a6c74914be206b576adb13828574263e1663f8d2
6
+ metadata.gz: 28479cb9dbcbd3e685c92ee563e40b6265d2b1902cc450db1b512bd7cf9f3c638016c715e1712c7de91d6b17da09c675ce733caca8e1a64752e0fa6b01046b87
7
+ data.tar.gz: 3f26c085865775b05b8a01d5e3218d129eb69cc1bbdfeae70f4fe5ede6fd7fb3b8a0487382d56862904d80fc38b6b76575aa4ba33e5fe94037b0dd1518fc9c24
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/lively/assets.rb CHANGED
@@ -101,6 +101,8 @@ module Lively
101
101
  # @parameter path [String] The relative path to expand.
102
102
  # @returns [String | Nil] The absolute path if valid, `nil` if the file doesn't exist.
103
103
  def expand_path(path)
104
+ path = path.split("/").map(&URI.method(:decode_uri_component))
105
+
104
106
  root = File.realpath(@root)
105
107
  path = File.realpath(File.join(@root, path))
106
108
 
@@ -5,5 +5,5 @@
5
5
 
6
6
  # @namespace
7
7
  module Lively
8
- VERSION = "0.15.0"
8
+ VERSION = "0.15.1"
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lively
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file