ro 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/ro.rb +1 -1
- data/lib/ro/node.rb +5 -4
- data/ro.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWU0NTRiNzMyN2ExMGM5NDJlNjE1ZDk5ZDdmNTM5YmQ1ZTE3ZWYwNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWE5ZmM3MzkzYjdlZmIwMmQxMzQ2M2NlNGVlNWViNGNkOGU2ZjI0Yw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGViMmM1OTQ0YzdhOGMxMzM3OTllMDBkZjVkNTM5NzY3MWMyMTYxYTE2MGJj
|
10
|
+
MDMxOTVkMWRjMjgxMzVhODRlMDcwZTcxYjk1MDJjMTA5ODBiZmUyNThmN2Jm
|
11
|
+
NjMwODJlZmU1MjNmZDRmYWQzMjQ5MWYyN2JmMmY2NmEwZDRhMWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzUxZGZkNTM4NjE5NzI3M2VmNzdiODk3Zjk4NWIzYmJiOTk1ZTIxYzlkYjQ5
|
14
|
+
ODBkMjIyYjNiMzA3NDYzZGQ2MjhmMGQ3NzEwYmNkMzM1YzcyYTdhZmQ2ZTI4
|
15
|
+
NzMyMjgxOWQ0OTY1OTBlZGY4ZTZlOTgzODk0MzE2NjVjMTY4ZTQ=
|
data/lib/ro.rb
CHANGED
data/lib/ro/node.rb
CHANGED
@@ -161,9 +161,12 @@ module Ro
|
|
161
161
|
case candidates.size
|
162
162
|
when 0
|
163
163
|
raise ArgumentError.new("no asset matching #{ globs.inspect }")
|
164
|
-
|
165
|
-
|
164
|
+
else
|
165
|
+
if candidates.size > 1
|
166
|
+
::Kernel.warn("many assets in (#{ candidates.inspect }) R teh match 4 #{ globs.inspect }")
|
167
|
+
end
|
166
168
|
|
169
|
+
path = candidates.first
|
167
170
|
path_info = path.gsub(/^#{ Regexp.escape(Ro.root) }/, '')
|
168
171
|
|
169
172
|
if cache_buster
|
@@ -171,8 +174,6 @@ module Ro
|
|
171
174
|
timestamp = File.stat(path).mtime.utc.to_i
|
172
175
|
options['_'] = timestamp
|
173
176
|
end
|
174
|
-
else
|
175
|
-
raise ArgumentError.new("too many assets (#{ candidates.inspect }) matching #{ globs.inspect }")
|
176
177
|
end
|
177
178
|
|
178
179
|
url = File.join(Ro.route, path_info)
|
data/ro.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ara T. Howard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: map
|