prawn-disable_word_break 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +4 -1
- data/README.md +2 -2
- data/lib/prawn/disable_word_break/version.rb +1 -1
- data/lib/prawn/disable_word_break/wrap.rb +3 -2
- data/lib/prawn/disable_word_break.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe741e9c74de8e63f4652ac96a2c3c67a32ded6d34611396854b06d30aa77b50
|
4
|
+
data.tar.gz: c99cd3c08e37c7fa0cfde535628214b6d9239f261d394275277fde940261baa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b62be2f008301e4570d20ed00474d79e2066adc14e2453bd071e982242961d75c8596b5ddc79a73de8b7a3c5a8c4107f5b1009eb7771011eca5b5adaef7f8a15
|
7
|
+
data.tar.gz: 11923e4ab33f1467bee0aba64e1ef1b3e253c8c1d901bd238b5cd7fdac04e457b98dfe556b80b41843fe555a5b2d75f223a0f3068d29e19c6449e74e2375a40c
|
data/.github/workflows/test.yml
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Prawn::DisableWordBreak
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/prawn-disable_word_break.svg)](https://badge.fury.io/rb/prawn-disable_word_break)
|
4
|
-
[![Test](https://github.com/hidakatsuya/prawn-disable_word_break/workflows/
|
4
|
+
[![Test](https://github.com/hidakatsuya/prawn-disable_word_break/actions/workflows/test.yml/badge.svg)](https://github.com/hidakatsuya/prawn-disable_word_break/actions/workflows/test.yml)
|
5
5
|
|
6
6
|
Prawn::DisableWordBreak is an extension that disables word-breaking by character such as space and hyphen to [Prawn](https://github.com/prawnpdf/prawn).
|
7
7
|
|
@@ -14,7 +14,7 @@ See [feature test](test/features/text_line_wrapping_test.rb) for details.
|
|
14
14
|
Add this line to your application's Gemfile:
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
gem 'prawn-disable_word_break'
|
17
|
+
gem 'prawn-disable_word_break'
|
18
18
|
```
|
19
19
|
|
20
20
|
And then execute:
|
@@ -5,5 +5,6 @@ require 'prawn'
|
|
5
5
|
require_relative 'disable_word_break/version'
|
6
6
|
require_relative 'disable_word_break/wrap'
|
7
7
|
|
8
|
-
Prawn::
|
9
|
-
Prawn::Text::Formatted::
|
8
|
+
Prawn::DisableWordBreak::Wrap.tap do |mod|
|
9
|
+
Prawn::Text::Formatted::Wrap.prepend(mod) unless Prawn::Text::Formatted::Wrap.include?(mod)
|
10
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-disable_word_break
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katsuya Hidaka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|