elegant 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/elegant/document.rb +1 -1
- data/lib/elegant/version.rb +1 -1
- 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: 71086f754d84de1cefce3f26f368ee7b35dca6ed
|
4
|
+
data.tar.gz: b0b2a2efd39a1a684fb4d0410b0a95fab6185354
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d464e48963c95b78a4511da7c85b7730d7eaedd834a4e18126413066d13ab2e1ed01712543180cf1ccbcaedf790d8c2ff84dde7554b49b9d403aec79c32b2555
|
7
|
+
data.tar.gz: 43e91120f1a7ef0bec95ecab3e2d7e48008e5f658c4d8df14b137e62ef158c5e7a8a9caa40ceb3afc65567303833835d8dfee2d87e0a0691f7226cf3567cbf08
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ For more information about changelogs, check
|
|
6
6
|
[Keep a Changelog](http://keepachangelog.com) and
|
7
7
|
[Vandamme](http://tech-angels.github.io/vandamme).
|
8
8
|
|
9
|
+
## 1.1.0 - 2015.11.12
|
10
|
+
|
11
|
+
* [ENHANCEMENT] Taller title (now has room for two lines)
|
12
|
+
|
9
13
|
## 1.0.0 - 2015.11.03
|
10
14
|
|
11
15
|
* [FEATURE] New `Elegant::Document` class with `title` method.
|
data/lib/elegant/document.rb
CHANGED
@@ -43,7 +43,7 @@ module Elegant
|
|
43
43
|
|
44
44
|
width = bounds.width - @header.title_padding
|
45
45
|
title = text_options.merge text: text.upcase, color: '556270', size: 14
|
46
|
-
options = {width: width, height:
|
46
|
+
options = {width: width, height: 30, at: [0, cursor]}
|
47
47
|
formatted_text_box [title], options
|
48
48
|
|
49
49
|
move_down 30
|
data/lib/elegant/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elegant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- claudiob
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|