diff --git a/ext/extconf.rb b/ext/extconf.rb index 6000846..d3a7794 100644 --- a/ext/extconf.rb +++ b/ext/extconf.rb @@ -17,7 +17,7 @@ def probe end def version - WkhtmltopdfInstaller::GEM_VERSION + WkhtmltopdfInstaller::BINARIES_VERSION end def makefile_dir @@ -25,9 +25,9 @@ def makefile_dir end # Some examples: -# "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/0.12.5.2/wkhtmltox-0.12.5.2-linux_amd64.deb" -# "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/0.12.5.2/wkhtmltox-0.12.5.2-linux_i386.deb" -# "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/0.12.5.2/wkhtmltox-0.12.5.2-macos_cocoa.pkg" +# "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/0.12.6-1/wkhtmltox-0.12.6-1-linux_amd64.deb" +# "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/0.12.6-1/wkhtmltox-0.12.6-1-linux_i386.deb" +# "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/0.12.6-1/wkhtmltox-0.12.6-1-macos_cocoa.pkg" def package_url "https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases/download/#{version}/wkhtmltox-#{version}-#{probe.platform}.#{probe.ext}" diff --git a/lib/wkhtmltopdf_installer/version.rb b/lib/wkhtmltopdf_installer/version.rb index b52917f..ef3e21c 100644 --- a/lib/wkhtmltopdf_installer/version.rb +++ b/lib/wkhtmltopdf_installer/version.rb @@ -1,5 +1,11 @@ +# frozen_string_literal: true + module WkhtmltopdfInstaller - VERSION = '0.12.5'.freeze - RELEASE_ITERATION = 3 + # VERSION corresponds to wkhtmltopdf's version + VERSION = '0.12.6' + RELEASE_ITERATION = 1 GEM_VERSION = "#{VERSION}.#{RELEASE_ITERATION}" + + # This is a version of binaries from https://github.com/vovayartsev/wkhtmltopdf-installer-ruby/releases + BINARIES_VERSION = "0.12.6-1" end