Skip to content

Commit

Permalink
Release 0.12.6-1
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayartsev committed Jul 11, 2020
1 parent 26b8f2f commit ccebed0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ def probe
end

def version
WkhtmltopdfInstaller::GEM_VERSION
WkhtmltopdfInstaller::BINARIES_VERSION
end

def makefile_dir
File.dirname(__FILE__)
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}"
Expand Down
10 changes: 8 additions & 2 deletions lib/wkhtmltopdf_installer/version.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ccebed0

Please sign in to comment.