wicked_pdf 1.2.1 → 1.2.2

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
  SHA256:
3
- metadata.gz: ba824825c16cbfd77df10355d2c0d79df2ca6c88dedcd4173b4bdd7ff960f1ea
4
- data.tar.gz: 506255faf5b255f4c779523b59f70f25381a4e945efbe1494bd5bc013b931d46
3
+ metadata.gz: 50ba6bd10f9e6f6a29b3db9d8b6df69bbcea50b76aa3c663f44a42dc0475d60f
4
+ data.tar.gz: 68639e18162e3d3af6c825a9d72fc35af3f32e3c6e29dedd879be43b40db3d32
5
5
  SHA512:
6
- metadata.gz: 64ec066b2af98b34506a4df1181901a534d5c481e39ff72dc64e70ee39d660f29446f910b92543ab95c575ae13625a52f6b2ba6f96c08b8f3417a084d2532839
7
- data.tar.gz: 0714a03eeab244cdd18b79656dbd83a68674ae9a98eaaebd179c5dffb13323ba98104c9c7a9a75141c497e5d1f43956157380159800e4aa1f86503b2862562d4
6
+ metadata.gz: d3390768c498abe569a314347239660b3b2e82bae7a28498d0da98085883da680f33fc8ffa01140775cd70f4c0fde1683bbdf1a7bfceec7ae3b2ec63c39db263
7
+ data.tar.gz: bfa9bfceba95a83d81932729d0cf59db57339b01844c1dfcb94ad244b1b1f8f9e78c279b6811bdb14e9b54d41b1712f61b630c0f60b48d84086326f3ef30c4e8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [1.2.2] - 2019-04-13
6
+ ### Fixes
7
+ - [Fix issue loading Pty on Windows](https://github.com/mileszs/wicked_pdf/pull/820)
8
+ - [Fix conflict with remotipart causing SystemStackError](https://github.com/mileszs/wicked_pdf/pull/821)
9
+
5
10
  ## [1.2.1] - 2019-03-16
6
11
  ### Changed
7
12
  - [Fix `SystemStackError` in some setups](https://github.com/mileszs/wicked_pdf/pull/813)
@@ -118,7 +123,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
118
123
  - Asset helpers no longer add a file extension if it already is specified with one
119
124
 
120
125
  # Compare Releases
121
- - [1.2.1...HEAD](https://github.com/mileszs/wicked_pdf/compare/1.2.1...HEAD)
126
+ - [1.2.2...HEAD](https://github.com/mileszs/wicked_pdf/compare/1.2.2...HEAD)
127
+ - [1.2.1...1.2.2](https://github.com/mileszs/wicked_pdf/compare/1.2.1...1.2.2)
122
128
  - [1.2.0...1.2.1](https://github.com/mileszs/wicked_pdf/compare/1.1.0...1.2.0)
123
129
  - [1.1.0...1.2.0](https://github.com/mileszs/wicked_pdf/compare/1.1.0...1.2.0)
124
130
  - [1.0.6...1.1.0](https://github.com/mileszs/wicked_pdf/compare/1.0.6...1.1.0)
@@ -1,6 +1,6 @@
1
1
  class WickedPdf
2
2
  module Progress
3
- require 'pty' # no support for windows
3
+ require 'pty' if RbConfig::CONFIG['target_os'] !~ /mswin|mingw/ # no support for windows
4
4
  require 'English'
5
5
 
6
6
  def track_progress?(options)
@@ -8,7 +8,7 @@ class WickedPdf
8
8
  if Rails::VERSION::MAJOR >= 4
9
9
 
10
10
  class WickedRailtie < Rails::Railtie
11
- initializer 'wicked_pdf.register' do |_app|
11
+ initializer 'wicked_pdf.register', :after => 'remotipart.controller_helper' do |_app|
12
12
  if ActionController::Base.respond_to?(:prepend) &&
13
13
  Object.method(:new).respond_to?(:super_method)
14
14
  ActionController::Base.send :prepend, PdfHelper
@@ -1,3 +1,3 @@
1
1
  class WickedPdf
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '1.2.2'.freeze
3
3
  end
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: 1.2.1
4
+ version: 1.2.2
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: 2019-03-18 00:00:00.000000000 Z
12
+ date: 2019-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport