kelredd-useful 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -3,7 +3,7 @@ module Useful
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 3
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
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-07 00:00:00 -06:00
17
+ date: 2010-03-30 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency