ro 1.4.0 → 1.4.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.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/lib/ro.rb +1 -1
  3. data/lib/ro/node.rb +2 -2
  4. data/ro.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGQ4YmNjZjdkMGVkY2NjZjU2YzU1MWJlYmQyM2MxMThlZjA2YjIzNg==
4
+ YmMwNWRkNzQwZDA3ZWIxM2VjZjI3NDNlM2QxMWE2ZDlhZGJhNDMyNQ==
5
5
  data.tar.gz: !binary |-
6
- ZDczNDBhYzQ1ODNiN2I5Yzk3NTE1MmNhM2QxNTFmMjNjY2Q0N2NjZA==
6
+ YjI5MTExNGEzZDc2ZTg1YjY3OTk0MTY3Mjg2MDZkNzkwMGFjNmNiYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzA0NzEwODRhNTc5Njg0ZTZlMzU3ZTY3NmI0NzYwMTJjNWM1OTMwNWQ0OTA1
10
- ODY4ODFhYzk2MDAxOTJhNmMxNjE5YmQyOTg5ZTI2MWYwYzVkN2Y2ZGJjMjc1
11
- MjlhNGE0OTVmM2IxYmU4MDk3MmI4MjU5NWNiNTc5ZTgxMzBlOGU=
9
+ YTJlM2E0MGEyZWEyZGQ2ZTA0ZTQ0OTE0NGIxMTVhNDk5NjFkNmMyNGM5MjA5
10
+ YTlkZmYzNTg5NTM2ZGQ0NDI4YjFiNGNiZjk0ZjYzOWFmZjA0NDM1YThkZTQ4
11
+ Y2IxM2MyNDQwZTcwZWI1NDQ0MjdlOTMwY2FhNDEyMzhiNWJmNTI=
12
12
  data.tar.gz: !binary |-
13
- YWNjNjdjNTc0MWNjMGM0YmU4NmZlMjg1MzhhYTc4NzQyMThkN2I2NGY0MWU5
14
- YzMyNWJkMTU4NTEwOGUxMzNmYTcyMzE5MGMyODkwNDYyNmM2YWY2ZGVhNzU4
15
- NjE3NzMyMTIxM2ExZGMxZTJjZDI0ODFiZTc0Zjk0NmMzYTM3NjM=
13
+ NzcwMWVhZWNkM2E4YjYxY2NjNWYzM2E2ZGYyNzY5MDZjZDM4N2QxZDdhNWQ0
14
+ OTY1ZDU0YjBiZjE3ZTk5MmVlYWYyMzRjNTEzZTdiOTMwMjE3NGU5NzgzNjZl
15
+ ZDM1ZmQ4NmEwMmMyZDI2YmY1OWVmOGMxZjY2YjYyMDBiZWUwY2Y=
data/lib/ro.rb CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  #
12
12
  module Ro
13
- Version = '1.4.0' unless defined?(Version)
13
+ Version = '1.4.1' unless defined?(Version)
14
14
 
15
15
  def version
16
16
  Ro::Version
@@ -141,7 +141,7 @@ module Ro
141
141
  def url_for(*args, &block)
142
142
  options = Map.options_for!(args)
143
143
 
144
- cache_buster = options.delete('_') != false
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 cache_buster
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
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "ro"
6
- spec.version = "1.4.0"
6
+ spec.version = "1.4.1"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "ro"
9
9
  spec.description = "description: ro kicks the ass"
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.0
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-08 00:00:00.000000000 Z
11
+ date: 2014-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: map