pdf_cover 0.1.3 → 0.1.4

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: 041bf2b0b4e8d17761d818adaa3cca98ea8dee87
4
- data.tar.gz: 0feac95e45afb8f755c5a89627e68159043fab91
3
+ metadata.gz: 25df97778fee656bffdf8fd3bc52cb42e554c43d
4
+ data.tar.gz: 75fdc0c927f65e3dbf7d6d9b689af46f12ec4b47
5
5
  SHA512:
6
- metadata.gz: 99b3463fccb8ecba16cf1343c18aae6f1a2554a40962a135ee05d1b5156547b375fc1bfb6c32bcdb98ef925a3595c5334594ed70f0bbe67f91ed113ecc6f9c75
7
- data.tar.gz: dc3e1bc0fd69838228e004e5fab13db3108d0c2cac1c3c7ed76e36ae539072b5b90160f843159f8c5be28f0f9310d4b8db2700729a82f03aaa846169f42356b3
6
+ metadata.gz: cefbf74ed928e7b33de7554cd107a9d56aec18caf605488cf23376e00c8ffa54214ee90755560c787746f0924d69738dd5cfefeca00be0128102cddcc25ea39a
7
+ data.tar.gz: 70af3e25382ee8b3ee02f3791520d69562859e6d83187c520953607353303a32394fe8db259589cbf7aa7f1d888cef2a1fa320098a59d5a331547f36c6e8e22e
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PdfCover [![Build Status](https://api.travis-ci.org/xing/pdf_cover.svg)](https://travis-ci.org/xing/pdf_cover) [![Code Climate](https://codeclimate.com/github/xing/pdf_cover/badges/gpa.svg)](https://codeclimate.com/github/xing/pdf_cover) [![Coverage Status](https://coveralls.io/repos/github/xing/pdf_cover/badge.svg?branch=master)](https://coveralls.io/github/xing/pdf_cover?branch=master)
1
+ # PdfCover [![Build Status](https://travis-ci.org/xing/pdf_cover.svg?branch=master)](https://travis-ci.org/xing/pdf_cover) [![Code Climate](https://codeclimate.com/github/xing/pdf_cover/badges/gpa.svg)](https://codeclimate.com/github/xing/pdf_cover) [![Coverage Status](https://coveralls.io/repos/github/xing/pdf_cover/badge.svg?branch=master)](https://coveralls.io/github/xing/pdf_cover?branch=master)
2
2
 
3
3
  With this gem you can easily have attachments for PDF files that have associated
4
4
  images generated for their first page.
@@ -1,3 +1,3 @@
1
1
  module PdfCover
2
- VERSION = "0.1.3".freeze
2
+ VERSION = "0.1.4".freeze
3
3
  end
data/lib/pdf_cover.rb CHANGED
@@ -33,7 +33,7 @@ module PdfCover
33
33
  process pdf_cover: [options[:quality], options[:resolution]]
34
34
 
35
35
  define_method :full_filename do |for_file = model.logo.file|
36
- for_file.gsub(/pdf$/, "jpeg")
36
+ for_file.gsub(/pdf$/i, "jpeg")
37
37
  end
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf_cover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan González
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print