origen_doc_helpers 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/templates/shared/_register.html.erb +9 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21e11bbcc80ff339bededd853ce5841d32557e1d
|
4
|
+
data.tar.gz: d18fed9d16abc208a24386a57eeda59bdd058034
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de31f7120554896056beecd98a9764e3d202f271f0b55a206fa6609955eaf02dd4c1565cb6b8fde004b37e2e7f2fe28f58269d3ccccb2ec67d63790e5ab5e1d
|
7
|
+
data.tar.gz: 196abe9267e4754a2c699042c6b941a55f1378cb9ed2127272c42450b721f6e694d9794cb1c3d1ebfbf220e8fe4c5774e7de22f793914d1ac995aeb9a04a1888
|
data/config/version.rb
CHANGED
@@ -56,12 +56,14 @@
|
|
56
56
|
%#############################################
|
57
57
|
<tr class="read">
|
58
58
|
<td class="heading">R</td>
|
59
|
+
% alignment_done = false
|
59
60
|
% reg.named_bits :include_spacers => true do |name, bit|
|
60
61
|
% if _bit_in_range?(bit, max_bit, min_bit)
|
61
|
-
% if max_bit > (reg.size - 1)
|
62
|
+
% if max_bit > (reg.size - 1) && !alignment_done
|
62
63
|
% (max_bit - (reg.size - 1)).times do
|
63
64
|
<td class="spacer"></td>
|
64
65
|
% end
|
66
|
+
% alignment_done = true
|
65
67
|
% end
|
66
68
|
% if bit.size > 1
|
67
69
|
% if name
|
@@ -114,12 +116,14 @@
|
|
114
116
|
%#############################################
|
115
117
|
<tr class="write">
|
116
118
|
<td class="heading">W</td>
|
119
|
+
% alignment_done = false
|
117
120
|
% reg.named_bits :include_spacers => true do |name, bit|
|
118
121
|
% if _bit_in_range?(bit, max_bit, min_bit)
|
119
|
-
% if max_bit > (reg.size - 1)
|
122
|
+
% if max_bit > (reg.size - 1) && !alignment_done
|
120
123
|
% (max_bit - (reg.size - 1)).times do
|
121
124
|
<td class="spacer"></td>
|
122
125
|
% end
|
126
|
+
% alignment_done = true
|
123
127
|
% end
|
124
128
|
% if bit.size > 1
|
125
129
|
% if name
|
@@ -166,12 +170,14 @@
|
|
166
170
|
%#############################################
|
167
171
|
<tr class="reset">
|
168
172
|
<td class="heading">Reset</td>
|
173
|
+
% alignment_done = false
|
169
174
|
% reg.named_bits :include_spacers => true do |name, bit|
|
170
175
|
% if _bit_in_range?(bit, max_bit, min_bit)
|
171
|
-
% if max_bit > (reg.size - 1)
|
176
|
+
% if max_bit > (reg.size - 1) && !alignment_done
|
172
177
|
% (max_bit - (reg.size - 1)).times do
|
173
178
|
<td class="spacer"></td>
|
174
179
|
% end
|
180
|
+
% alignment_done = true
|
175
181
|
% end
|
176
182
|
% if bit.size > 1
|
177
183
|
% if name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_doc_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|