automaildoc 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7dcf5243373c83e1fb94b1498d2b665c431271c4
4
- data.tar.gz: 58d0b68aa9b9346ab6568e2699a60abd143771fb
3
+ metadata.gz: 4790b575cb77c8ff9a3e7326d1ee77b75df129de
4
+ data.tar.gz: 4e60c88e84df7f890defd9daf06871e3fd8eda5e
5
5
  SHA512:
6
- metadata.gz: d173fcc0cd49abf00ae5eab30e854d84419d32c9daff30efff2ea569d4924d9fe497f6a42206c04b68409547117227ed107d345a95c03667e486df5f372077e3
7
- data.tar.gz: 95e185fc0374c3d78f168577e84fe282a3565f9ece1629008c8e733647b0ba97ac76d9f249270df7c70a659f61ec646b89b6a645027331fc0514e494527ca09f
6
+ metadata.gz: 3a764ff13d188441103318ba42ac3dd373a051305f58a87311ebf9155a399e45699859d5fc0d92152fb2d0f6ac36d874fdde9f8210b06b467e0a324ca19c6360
7
+ data.tar.gz: 40dc4aa242b636ac14d64ee0152f8e16c984dd8bb508e117bb2dc8c8feed8cc377bb5903f6be8aa36bd6840a538444601fc79ab9dc5053b2bb4edf7101fb3d38
@@ -1,11 +1,17 @@
1
1
  ## Change Log
2
2
 
3
+ ### 0.1.2
4
+
5
+ #### Fixes
6
+
7
+ - A link in table of content got able to have line break because it has been broken in a case when it's so long.
8
+
3
9
  ### 0.1.1
4
10
 
5
11
  #### Improvements
6
12
 
7
13
  - Custom description is available now.
8
- - Table of content shows not each subject but each mail's description.
14
+ - Table of content shows not each subject but each mail's description.
9
15
 
10
16
  ### 0.1.0
11
17
 
@@ -79,6 +79,17 @@
79
79
  width: 66%;
80
80
  }
81
81
  }
82
+ a.link-to-mail {
83
+ word-break: break-all;
84
+ white-space: pre;
85
+ white-space: pre-wrap;
86
+ white-space: pre-line;
87
+ white-space: -pre-wrap;
88
+ white-space: -o-pre-wrap;
89
+ white-space: -moz-pre-wrap;
90
+ white-space: -hp-pre-wrap;
91
+ word-wrap: break-word;
92
+ }
82
93
  hr {
83
94
  margin: 16px 0px
84
95
  }
@@ -92,7 +103,7 @@
92
103
  <ul>
93
104
  <% @mails.each do |mail| %>
94
105
  <li>
95
- <a href="#<%= mail.id %>"><%= mail.description %></a>
106
+ <a class="link-to-mail" href="#<%= mail.id %>"><%= mail.description %></a>
96
107
  </li>
97
108
  <% end %>
98
109
  </ul>
@@ -1,3 +1,3 @@
1
1
  module Automaildoc
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: automaildoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masato Ohba
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-04 00:00:00.000000000 Z
11
+ date: 2017-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec