kelredd-useful 0.3.0 → 0.3.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.
- data/lib/useful/erb_helpers/links.rb +1 -1
- data/lib/useful/version.rb +1 -1
- metadata +3 -3
|
@@ -160,7 +160,7 @@ module Useful::ErbHelpers::Links
|
|
|
160
160
|
href = ""
|
|
161
161
|
href += ['/'].include?(src[0..0]) ? src : "/#{options[:default_path]}/#{src}"
|
|
162
162
|
href += options[:extension] unless src.include?(options[:extension])
|
|
163
|
-
href += "?#{options[:timestamp]}" if options[:timestamp]
|
|
163
|
+
href += "?#{options[:timestamp]}" if options[:timestamp] && !src.include?('?')
|
|
164
164
|
href
|
|
165
165
|
end
|
|
166
166
|
end
|
data/lib/useful/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 3
|
|
8
|
-
-
|
|
9
|
-
version: 0.3.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.3.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Kelly Redding
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-03-
|
|
17
|
+
date: 2010-03-30 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|