lib/assembly-objectfile.rb in assembly-objectfile-1.10.0 vs lib/assembly-objectfile.rb in assembly-objectfile-1.10.1

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module Assembly # the path to the gem, used to access profiles stored with the gem - PATH_TO_GEM = File.expand_path(File.dirname(__FILE__) + '/..') + PATH_TO_GEM = File.expand_path("#{File.dirname(__FILE__)}/..") # if input image is not one of these mime types, it will not be regarded as a valid image for the purpose of generating a JP2 derivative VALID_IMAGE_MIMETYPES = ['image/jpeg', 'image/tiff', 'image/tif', 'image/png'].freeze # if input file has one of these extensions in a 3D object, it will get the 3d resource type