ro 1.4.0 → 1.4.1
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 +2 -2
- 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
|
+
YmMwNWRkNzQwZDA3ZWIxM2VjZjI3NDNlM2QxMWE2ZDlhZGJhNDMyNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjI5MTExNGEzZDc2ZTg1YjY3OTk0MTY3Mjg2MDZkNzkwMGFjNmNiYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTJlM2E0MGEyZWEyZGQ2ZTA0ZTQ0OTE0NGIxMTVhNDk5NjFkNmMyNGM5MjA5
|
10
|
+
YTlkZmYzNTg5NTM2ZGQ0NDI4YjFiNGNiZjk0ZjYzOWFmZjA0NDM1YThkZTQ4
|
11
|
+
Y2IxM2MyNDQwZTcwZWI1NDQ0MjdlOTMwY2FhNDEyMzhiNWJmNTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzcwMWVhZWNkM2E4YjYxY2NjNWYzM2E2ZGYyNzY5MDZjZDM4N2QxZDdhNWQ0
|
14
|
+
OTY1ZDU0YjBiZjE3ZTk5MmVlYWYyMzRjNTEzZTdiOTMwMjE3NGU5NzgzNjZl
|
15
|
+
ZDM1ZmQ4NmEwMmMyZDI2YmY1OWVmOGMxZjY2YjYyMDBiZWUwY2Y=
|
data/lib/ro.rb
CHANGED
data/lib/ro/node.rb
CHANGED
@@ -141,7 +141,7 @@ module Ro
|
|
141
141
|
def url_for(*args, &block)
|
142
142
|
options = Map.options_for!(args)
|
143
143
|
|
144
|
-
|
144
|
+
timestamp = options.delete('timestamp')
|
145
145
|
|
146
146
|
path_info = Ro.relative_path_for(args)
|
147
147
|
|
@@ -165,7 +165,7 @@ module Ro
|
|
165
165
|
path = candidates.first
|
166
166
|
path_info = path.gsub(/^#{ Regexp.escape(Ro.root) }/, '')
|
167
167
|
|
168
|
-
if
|
168
|
+
if timestamp
|
169
169
|
#options['_'] = Ro.md5(IO.binread(path))
|
170
170
|
timestamp = File.stat(path).mtime.utc.to_i
|
171
171
|
options['_'] = timestamp
|
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.4.
|
4
|
+
version: 1.4.1
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: map
|