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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21e11bbcc80ff339bededd853ce5841d32557e1d
4
- data.tar.gz: d18fed9d16abc208a24386a57eeda59bdd058034
3
+ metadata.gz: ebbd238b54a19683203a725637f6c2734b65c188
4
+ data.tar.gz: b19db5c9ac282ad9cadccc0084969e58201b2bb5
5
5
  SHA512:
6
- metadata.gz: 8de31f7120554896056beecd98a9764e3d202f271f0b55a206fa6609955eaf02dd4c1565cb6b8fde004b37e2e7f2fe28f58269d3ccccb2ec67d63790e5ab5e1d
7
- data.tar.gz: 196abe9267e4754a2c699042c6b941a55f1378cb9ed2127272c42450b721f6e694d9794cb1c3d1ebfbf220e8fe4c5774e7de22f793914d1ac995aeb9a04a1888
6
+ metadata.gz: a132f22c09f808879511749593ac122e8ca918cd69ee7c1132edcf7713ec3a90cbe6f7b5e5545a0eedaef5774cae518bd63c7bc4727246d477cc22779da721a9
7
+ data.tar.gz: ef35859c17efbc5c635a61606e11d8f73365e92fa71094691993ce6ed3b12458571928a6c75a43c251a3e66fccd332d2881c638929acddd67e0e883e5c9deac6
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenDocHelpers
2
2
  MAJOR = 0
3
3
  MINOR = 5
4
- BUGFIX = 1
4
+ BUGFIX = 2
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -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}" %>"><%= name %></a></span></td>
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><%= name %></span></td>
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}" %>"><%= name %></a></span></td>
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><%= name %></span></td>
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2017-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen