xray-rails 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/_xray_bar.html.erb +0 -5
- data/lib/xray/version.rb +1 -1
- data/lib/xray-rails.rb +3 -0
- metadata +4 -4
data/lib/xray/version.rb
CHANGED
data/lib/xray-rails.rb
CHANGED
@@ -81,6 +81,9 @@ module Xray
|
|
81
81
|
# <!-- XRAY END 123 -->
|
82
82
|
def self.augment_template(source, path)
|
83
83
|
id = next_id
|
84
|
+
if source.include?('<!DOCTYPE')
|
85
|
+
return source
|
86
|
+
end
|
84
87
|
# skim doesn't allow html comments, so use skim's comment syntax if it's skim
|
85
88
|
if path =~ /\.(skim)(\.|$)/
|
86
89
|
augmented = "/!XRAY START #{id} #{path}\n#{source}\n/!XRAY END #{id}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xray-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -205,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
205
|
version: '0'
|
206
206
|
segments:
|
207
207
|
- 0
|
208
|
-
hash:
|
208
|
+
hash: 3439184786098868926
|
209
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
210
|
none: false
|
211
211
|
requirements:
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
version: '0'
|
215
215
|
segments:
|
216
216
|
- 0
|
217
|
-
hash:
|
217
|
+
hash: 3439184786098868926
|
218
218
|
requirements: []
|
219
219
|
rubyforge_project:
|
220
220
|
rubygems_version: 1.8.23
|