From e41e10bb0e8dd094062dda0eae86dcc9a30c43f1 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sat, 8 Aug 2020 23:55:18 -0600 Subject: upgrade to Prawn 2.3.0 --- scripts/switch-to-prawn-master.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/switch-to-prawn-master.rb b/scripts/switch-to-prawn-master.rb index 36190f4c..f4e3e49e 100644 --- a/scripts/switch-to-prawn-master.rb +++ b/scripts/switch-to-prawn-master.rb @@ -2,6 +2,5 @@ require 'fileutils' # NOTE it's necessary to hot patch the installed gem so that RubyGems can find it without Bundler prawn_spec = Gem::Specification.find_by_name 'prawn' -File.write prawn_spec.spec_file, (prawn_spec.to_ruby.gsub %r/(pdf-core.+?)~> 0\.7\.0/, '\1~> 0.8.1') FileUtils.rm_r prawn_spec.gem_dir, secure: true if Dir.exist? prawn_spec.gem_dir Process.wait Process.spawn %(git clone --depth=1 https://github.com/prawnpdf/prawn #{File.basename prawn_spec.gem_dir}), chdir: prawn_spec.gems_dir -- cgit v1.2.3