Skip to content

Commit 9692873

Browse files
FIX: ruby 2.6.6 compatible
1 parent fb13180 commit 9692873

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

lib/miro.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
require "color"
44
require "tempfile"
55
require "open-uri"
6-
require png_lib = (RUBY_ENGINE != "jruby" ? "oily_png" : "chunky_png") # Load the C extension oily_png unless jruby is the platform in use.
7-
6+
require png_lib = "chunky_png"
87
require "miro/dominant_colors"
98

109
module Miro

lib/miro/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Miro
2-
VERSION = "0.4.0"
2+
VERSION = "0.4.1"
33
end

miro.gemspec

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Gem::Specification.new do |gem|
1313
gem.add_dependency "terrapin"
1414
gem.add_dependency "color"
1515
gem.add_dependency "chunky_png"
16-
gem.add_dependency "oily_png" if RUBY_ENGINE != "jruby"
1716

1817
gem.add_development_dependency "rspec"
1918
gem.add_development_dependency "fakeweb"

0 commit comments

Comments
 (0)