origen_doc_helpers 0.5.1 → 0.5.2
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 +20 -8
- 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: ebbd238b54a19683203a725637f6c2734b65c188
|
4
|
+
data.tar.gz: b19db5c9ac282ad9cadccc0084969e58201b2bb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a132f22c09f808879511749593ac122e8ca918cd69ee7c1132edcf7713ec3a90cbe6f7b5e5545a0eedaef5774cae518bd63c7bc4727246d477cc22779da721a9
|
7
|
+
data.tar.gz: ef35859c17efbc5c635a61606e11d8f73365e92fa71094691993ce6ed3b12458571928a6c75a43c251a3e66fccd332d2881c638929acddd67e0e883e5c9deac6
|
data/config/version.rb
CHANGED
@@ -71,9 +71,9 @@
|
|
71
71
|
% bit_name = "#{name}[#{bit.size - 1}:0]"
|
72
72
|
<td class="<%= _bit_rw(bit) %>" colspan="<%= _num_bits_in_range(bit, max_bit, min_bit) %>">
|
73
73
|
% if options[:descriptions] && !bit.description.empty?
|
74
|
-
<span><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%= bit_name %></a></span>
|
74
|
+
<span title="<%= name %>"><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%= bit_name %></a></span>
|
75
75
|
% else
|
76
|
-
<span><%= bit_name %></span>
|
76
|
+
<span title="<%= name %>"><%= bit_name %></span>
|
77
77
|
% end
|
78
78
|
</td>
|
79
79
|
% else
|
@@ -95,10 +95,16 @@
|
|
95
95
|
% else
|
96
96
|
% if name
|
97
97
|
% if bit.readable?
|
98
|
+
% if name.size > 10
|
99
|
+
% bit_name = "#{name[0..2]}...#{name[-3..-1]}"
|
100
|
+
%# bit_name = "bit#{bit.position}*"
|
101
|
+
% else
|
102
|
+
% bit_name = name
|
103
|
+
% end
|
98
104
|
% if options[:descriptions] && !bit.description.empty?
|
99
|
-
<td class="<%= _bit_rw(bit) %>"><span><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%=
|
105
|
+
<td class="<%= _bit_rw(bit) %>"><span title="<%= name %>"><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%= bit_name %></a></span></td>
|
100
106
|
% else
|
101
|
-
<td class="<%= _bit_rw(bit) %>"><span
|
107
|
+
<td class="<%= _bit_rw(bit) %>"><span title="<%= name %>"><%= bit_name %></span></td>
|
102
108
|
% end
|
103
109
|
% else
|
104
110
|
<td class="<%= _bit_rw(bit) %>"></td>
|
@@ -131,9 +137,9 @@
|
|
131
137
|
% bit_name = "#{name}[#{bit.size - 1}:0]"
|
132
138
|
<td class="<%= _bit_rw(bit) %>" colspan="<%= _num_bits_in_range(bit, max_bit, min_bit) %>">
|
133
139
|
% if options[:descriptions] && !bit.description.empty?
|
134
|
-
<span><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%= bit_name %></a></span>
|
140
|
+
<span title="<%= name %>"><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%= bit_name %></a></span>
|
135
141
|
% else
|
136
|
-
<span><%= bit_name %></span>
|
142
|
+
<span title="<%= name %>"><%= bit_name %></span>
|
137
143
|
% end
|
138
144
|
</td>
|
139
145
|
% else
|
@@ -149,10 +155,16 @@
|
|
149
155
|
% else
|
150
156
|
% if name
|
151
157
|
% if !bit.readable?
|
158
|
+
% if name.size > 10
|
159
|
+
% bit_name = "#{name[0..2]}...#{name[-3..-1]}"
|
160
|
+
%# bit_name = "bit#{bit.position}*"
|
161
|
+
% else
|
162
|
+
% bit_name = name
|
163
|
+
% end
|
152
164
|
% if options[:descriptions] && !bit.description.empty?
|
153
|
-
<td class="<%= _bit_rw(bit) %>"><span><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%=
|
165
|
+
<td class="<%= _bit_rw(bit) %>"><span title="<%= name %>"><a href="#<%= "#{reg.name}_#{name}_#{bit.position}" %>"><%= bit_name %></a></span></td>
|
154
166
|
% else
|
155
|
-
<td class="<%= _bit_rw(bit) %>"><span
|
167
|
+
<td class="<%= _bit_rw(bit) %>"><span title="<%= name %>"><%= bit_name %></span></td>
|
156
168
|
% end
|
157
169
|
% else
|
158
170
|
<td class="<%= _bit_rw(bit) %>"></td>
|
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.2
|
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-
|
11
|
+
date: 2017-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|