roda-sprocket_assets 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 0fb058c56c73037d8c4648c0ddc7692873a7f4ef
4
- data.tar.gz: 9e191ab6f00304a7d371b4e45db0ac59dab67703
3
+ metadata.gz: ba4ee869c32b67a012175a8dcbd0abcc865b8c11
4
+ data.tar.gz: f2587df40871d84962af6397150a51a61e89a680
5
5
  SHA512:
6
- metadata.gz: 556893f353794a0a4708c64769bf010cba131f81d672f66712a7e84bb37b427d8a27450255d006dcbd18eacd3a3fafbfa0d374d2ae56e1e4f583e4ed8c7644a9
7
- data.tar.gz: 53aa0bedb8a50e444e9425fbf320b6fc26f381f48d6e1b400b2cee5755bcf0087cd42b3e636ef94a2b612dd70d4abc29590a0fba37e17f9dadea0093f51d310a
6
+ metadata.gz: f8ef126dfd655821f09c19f3d1157bd99fea7d15f873d8163cd09035bccfe6787e3c5be507aae972e6402c242c12576ac7c9b2674c4e536c8ab320a1df960f17
7
+ data.tar.gz: 774507eb9805df7b17d9929c4390fe9c43a693e09b18dc76c5fa5e31a6cf55388761dc190b5f2f98275158a463a8832fe72fd442f06a84d249ff7ac2067cc1c6
@@ -35,7 +35,7 @@ class Roda
35
35
  opts[:prefix].each do |prefix|
36
36
  # Support absolute asset paths
37
37
  # https://github.com/kalasjocke/sinatra-asset-pipeline/pull/54
38
- if prefix.last == '/'
38
+ if prefix[-1,1] == '/'
39
39
  paths = if Pathname.new(prefix).absolute?
40
40
  Dir[File.join(prefix)]
41
41
  else
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "roda-sprocket_assets"
7
- spec.version = '0.0.8'
7
+ spec.version = '0.0.9'
8
8
  spec.authors = ["cj"]
9
9
  spec.email = ["cjlazell@gmail.com"]
10
10
  spec.summary = %q{Use sprockets to serve assets in roda.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-sprocket_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-30 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roda