Skip to content

Commit

Permalink
Prep for 2.0.1 release + resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
practicingruby committed Mar 23, 2015
2 parents e249f3e + 842dab6 commit 024ec0d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: ruby
rvm:
- 2.0.0
- 2.1.4
- 2.2.0
- 2.0
- 2.1
- 2.2
- rbx-2
- jruby
env:
Expand Down
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## PrawnPDF 2.0.1 -- 2015-03-23

### Fix regression in draw_text() with rotation

Due to missing tests, a typo snuck into the `draw_text()` method in PDF::Core,
preventing it from working properly when called with the `:rotate` option.

This issue has been resolved, and a test has been added to Prawn's test suite.
Speaking more generally, we need to improve the condition of the tests for
`PDF::Core`, and make a clear separation between Prawn's test suite and
PDF::Core's tests. Currently there are lots of little gaps that can lead
to this sort of problem.

[Robert S. Gerus, [pdf-core#15](https://github.com/prawnpdf/pdf-core/pull/15)]

## PrawnPDF 2.0.0 -- 2015-02-26

### Changes to supported Ruby versions
Expand Down Expand Up @@ -271,7 +286,7 @@ for more information.
### Text box now has an option to disable wrapping by character.

This feature is useful for preventing mid-word breaks when used in combination with the
`:shink_to_fit` overflow option. See the following example practical use case:
`:shrink_to_fit` overflow option. See the following example practical use case:

```ruby
# An example shared by Simon Mansfield
Expand Down
2 changes: 1 addition & 1 deletion lib/prawn/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# encoding: utf-8

module Prawn
VERSION = "2.0.0"
VERSION = "2.0.1"
end
2 changes: 1 addition & 1 deletion manual/text/positioned_text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# accordingly. Even if you don't provide a <code>:width</code> option the text
# will flow to a new line if it reaches the right border.
#
# Given that said, <code>text_box</code> is the better option available.
# Given that, <code>text_box</code> is the better option available.
#
require File.expand_path(File.join(File.dirname(__FILE__),
%w[.. example_helper]))
Expand Down

0 comments on commit 024ec0d

Please sign in to comment.