elegant 1.2.0 → 1.2.1

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: f2e7cd7cced97c061f7a69326ed86bc86be3f443
4
- data.tar.gz: d4f2e63d066cc775673f4959a0d909d9a2cd18e0
3
+ metadata.gz: ebad26d71b81a671c0fce9e6a2f3ffd39e0a7212
4
+ data.tar.gz: 6783d9d82cdcf92fc203171202dff580ea2d6b7d
5
5
  SHA512:
6
- metadata.gz: a0aed6189b36da2bd4b9add5999f11f757f4eae33abe67fe543b1534fffea0f9e32fd325357dcd9286afb24842f7c21c0c264fcdc70c7fa99befb73605ac2c46
7
- data.tar.gz: 1160b31beb3d9d7feac865ab4af73e34a197a7d106e05a3a6346a91e957bf9689e00bf525eabdea3ffdf63dd2fe12530fa22b30490ce8ac66180f1a32add3233
6
+ metadata.gz: 9fa38c1aad362ee772386b6f5fd0f33a78cf3bd48f0a6769085e82d930457e9d291fd2b3443bba37333090ef70e4cf7f26a4d54149706538b20b086a5f10d344
7
+ data.tar.gz: be697ed20f5b1f7dabd962af754cf175fcc7e3b5b39df0ecf1dcf26f52f494a81c22637d19a2cb5780779f40a6421457dd064c1f9ec130aeb56536e315334ad5
@@ -6,6 +6,11 @@ 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.2.1 - 2016.02.22
10
+
11
+ * [BUGFIX] Don’t try to render GIF images in PDF files since Prawn does not support them.
12
+ * [ENHANCEMENT] Update homepage on rubygems.org.
13
+
9
14
  ## 1.2.0 - 2016.01.21
10
15
 
11
16
  * [ENHANCEMENT] White background below the logo
data/README.md CHANGED
@@ -3,13 +3,13 @@ Elegant
3
3
 
4
4
  Elegant provides a nice layout for PDF reports generated in Ruby.
5
5
 
6
- The **source code** is available on [GitHub](https://github.com/Fullscreen/elegant) and the **documentation** on [RubyDoc](http://www.rubydoc.info/github/Fullscreen/elegant/master/Elegant/Interface).
6
+ The **source code** is available on [GitHub](https://github.com/claudiob/elegant) and the **documentation** on [RubyDoc](http://www.rubydoc.info/github/claudiob/elegant/master/Elegant/Interface).
7
7
 
8
- [![Build Status](http://img.shields.io/travis/Fullscreen/elegant/master.svg)](https://travis-ci.org/Fullscreen/elegant)
9
- [![Coverage Status](http://img.shields.io/coveralls/Fullscreen/elegant/master.svg)](https://coveralls.io/r/Fullscreen/elegant)
10
- [![Dependency Status](http://img.shields.io/gemnasium/Fullscreen/elegant.svg)](https://gemnasium.com/Fullscreen/elegant)
11
- [![Code Climate](http://img.shields.io/codeclimate/github/Fullscreen/elegant.svg)](https://codeclimate.com/github/Fullscreen/elegant)
12
- [![Online docs](http://img.shields.io/badge/docs-✓-green.svg)](http://www.rubydoc.info/github/Fullscreen/elegant/master/Elegant)
8
+ [![Build Status](http://img.shields.io/travis/claudiob/elegant/master.svg)](https://travis-ci.org/claudiob/elegant)
9
+ [![Coverage Status](http://img.shields.io/coveralls/claudiob/elegant/master.svg)](https://coveralls.io/r/claudiob/elegant)
10
+ [![Dependency Status](http://img.shields.io/gemnasium/claudiob/elegant.svg)](https://gemnasium.com/claudiob/elegant)
11
+ [![Code Climate](http://img.shields.io/codeclimate/github/claudiob/elegant.svg)](https://codeclimate.com/github/claudiob/elegant)
12
+ [![Online docs](http://img.shields.io/badge/docs-✓-green.svg)](http://www.rubydoc.info/github/claudiob/elegant/master/Elegant)
13
13
  [![Gem Version](http://img.shields.io/gem/v/elegant.svg)](http://rubygems.org/gems/elegant)
14
14
 
15
15
  Elegant is a library built on top of [Prawn](http://prawnpdf.org) to generate PDF files in Ruby.
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = %q{An elegant layout for PDF reports generated in Ruby.}
12
12
  spec.description = %q{Elegant expands Prawn providing a new class to generate new pages with an elegant layout.}
13
- spec.homepage = 'https://github.com/Fullscreen/elegant'
13
+ spec.homepage = 'https://github.com/claudiob/elegant'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.required_ruby_version = '>= 2.1' # 2.0 does not have Array#to_h
@@ -69,7 +69,7 @@ module Elegant
69
69
  top = bounds.top + @logo_height / 2
70
70
  options = {width: @logo_width, height: @logo_height, at: [left, top]}
71
71
  image open(@logo[:url]), options
72
- rescue OpenURI::HTTPError, OpenSSL::SSL::SSLError, SocketError
72
+ rescue OpenURI::HTTPError, OpenSSL::SSL::SSLError, SocketError, Prawn::Errors::UnsupportedImageType
73
73
  end
74
74
 
75
75
  # Writes the heading for the document in the top-right corner of each page,
@@ -1,3 +1,3 @@
1
1
  module Elegant
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-24 00:00:00.000000000 Z
11
+ date: 2016-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn
@@ -139,7 +139,7 @@ files:
139
139
  - lib/elegant/images/default_watermark.png
140
140
  - lib/elegant/typography.rb
141
141
  - lib/elegant/version.rb
142
- homepage: https://github.com/Fullscreen/elegant
142
+ homepage: https://github.com/claudiob/elegant
143
143
  licenses:
144
144
  - MIT
145
145
  metadata: {}