wicked_pdf 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/wicked_pdf/binary.rb +1 -1
- data/lib/wicked_pdf/version.rb +1 -1
- data/wicked_pdf.gemspec +0 -1
- 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: efc167edf11352423548ba65167d53beb2e8e60691fb788df361d19c636e7f45
|
4
|
+
data.tar.gz: e4c6e40dbbb8ba3867e3fbfa1aadbd151c87355f898dbad629f58a2e39f8a4c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 345c533e38faa42be7700d76e6ff761583c1856f30bf12c55fbff410c77d224f5ed0f7698006316e3565d656a9e4db5cef1936f5ec718957e3652cce85e35b03
|
7
|
+
data.tar.gz: 00b0cb2ee4c76840d71d984f39987dc04ea23a854d2f38c01b3f21f18ecb7f60c980f477e3eb94a8c1b2b79cda43cb050f521d0003d9306b31cebd8b273dd5ea
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
## [master branch] - Unreleased
|
6
6
|
### Breaking Changes
|
7
7
|
|
8
|
+
## [2.6.3]
|
9
|
+
### Fixes
|
10
|
+
- [Fix typo of #possible_binary_locations](https://github.com/mileszs/wicked_pdf/pull/1025)
|
11
|
+
- [Drop unused executables gemspec directive](https://github.com/mileszs/wicked_pdf/pull/1024)
|
12
|
+
|
8
13
|
## [2.6.2]
|
9
14
|
### Fixes
|
10
15
|
- [Fix undefined local variable or method 'block' for render_to_string](https://github.com/mileszs/wicked_pdf/pull/962)
|
data/lib/wicked_pdf/binary.rb
CHANGED
@@ -45,7 +45,7 @@ class WickedPdf
|
|
45
45
|
def find_binary_path
|
46
46
|
exe_path ||= WickedPdf.config[:exe_path] unless WickedPdf.config.empty?
|
47
47
|
exe_path ||= possible_which_path
|
48
|
-
exe_path ||=
|
48
|
+
exe_path ||= possible_binary_locations.map { |l| File.expand_path("#{l}/#{EXE_NAME}") }.find { |location| File.exist?(location) }
|
49
49
|
exe_path || ''
|
50
50
|
end
|
51
51
|
|
data/lib/wicked_pdf/version.rb
CHANGED
data/wicked_pdf.gemspec
CHANGED
@@ -23,7 +23,6 @@ DESC
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.2')
|
25
25
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
26
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
27
26
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
28
27
|
spec.require_paths = ['lib']
|
29
28
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wicked_pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Z. Sterrett
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-05-
|
12
|
+
date: 2022-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|