Dex_Rack 0.1.6 → 0.1.7

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/Dex_Rack.rb CHANGED
@@ -152,17 +152,21 @@ class Dex_Rack
152
152
  last_file = nil
153
153
  str = ""
154
154
  s.split("\n").each { |l|
155
+
155
156
  file, num, code = l.split(':')
156
- str.<< %!
157
- <div class="line">
158
- <span class="num">#{num}</span>
159
- <span class="code">#{escape_html code}</span>
160
- </div>!
157
+
161
158
  str.<< %!
162
- <div class="file">#{escape_html file}</div>
159
+ <div class="file">#{escape_html file}</div>
163
160
  ! if file != last_file
164
161
 
162
+ str.<< %!
163
+ <div class="line">
164
+ <span class="num">#{num}</span>
165
+ <span class="code">#{escape_html code}</span>
166
+ </div>!
167
+
165
168
  last_file = file
169
+
166
170
  }
167
171
 
168
172
  str
@@ -183,7 +183,7 @@ div.line {
183
183
  }
184
184
 
185
185
  div.file {
186
- margin: 0 0 10px 0;
186
+ margin: 15px 0 0 0;
187
187
  font-weight: bold;
188
188
  padding: 5px;
189
189
  }
@@ -1,5 +1,5 @@
1
1
  require "sinatra/base"
2
2
 
3
3
  class Dex_Rack < Sinatra::Base
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dex_Rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: