html_mockup 0.3.2 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/html_mockup/cli.rb +1 -1
- metadata +3 -3
data/lib/html_mockup/cli.rb
CHANGED
@@ -130,7 +130,7 @@ module HtmlMockup
|
|
130
130
|
(doc/"*[@#{attribute}]").each do |tag|
|
131
131
|
next unless tag[attribute] =~ /\A\//
|
132
132
|
if true_file = resolve_path(cur_dir + up_to_root + tag[attribute].sub(/\A\//,""))
|
133
|
-
tag[attribute] = true_file.relative_path_from(cur_dir)
|
133
|
+
tag[attribute] = true_file.relative_path_from(cur_dir).to_s
|
134
134
|
else
|
135
135
|
puts "Could not resolve link #{tag[attribute]} in #{file_name}"
|
136
136
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html_mockup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flurin Egger
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-05-10 00:00:00 +02:00
|
13
13
|
default_executable: mockup
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -54,7 +54,7 @@ files:
|
|
54
54
|
- lib/html_mockup/template.rb
|
55
55
|
- lib/html_mockup/w3c_validator.rb
|
56
56
|
- README.rdoc
|
57
|
-
has_rdoc:
|
57
|
+
has_rdoc: false
|
58
58
|
homepage: http://github.com/flurin/html_mockup
|
59
59
|
licenses: []
|
60
60
|
|