prep release
This commit is contained in:
parent
2aec04db69
commit
061323a09f
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
module Middleman
|
module Middleman
|
||||||
# Current Version
|
# Current Version
|
||||||
# @return [String]
|
# @return [String]
|
||||||
VERSION = '3.0.4' unless const_defined?(:VERSION)
|
VERSION = '3.0.5' unless const_defined?(:VERSION)
|
||||||
end
|
end
|
||||||
|
|
|
@ -126,7 +126,7 @@ module Middleman
|
||||||
args[url_arg_index] = url.url
|
args[url_arg_index] = url.url
|
||||||
elsif url.include? '://'
|
elsif url.include? '://'
|
||||||
raise "Can't use the relative option with an external URL" if relative
|
raise "Can't use the relative option with an external URL" if relative
|
||||||
else
|
elsif current_resource
|
||||||
# Handle relative urls
|
# Handle relative urls
|
||||||
current_source_dir = Pathname('/' + current_resource.path).dirname
|
current_source_dir = Pathname('/' + current_resource.path).dirname
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.add_dependency("middleman-core", Middleman::VERSION)
|
s.add_dependency("middleman-core", Middleman::VERSION)
|
||||||
s.add_dependency("middleman-more", Middleman::VERSION)
|
s.add_dependency("middleman-more", Middleman::VERSION)
|
||||||
s.add_dependency("middleman-sprockets", "~> 3.0.1")
|
s.add_dependency("middleman-sprockets", "~> 3.0.2")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue