lib/paperclip-compression/base.rb in kt-paperclip-compression-1.2.0 vs lib/paperclip-compression/base.rb in kt-paperclip-compression-1.2.1

- old
+ new

@@ -73,10 +73,10 @@ def copy_to_tempfile FileUtils.cp(@src_path, @dst_path) end def catalina? - major = OS.host_os.match(/darwin(\d+)\./)[1].to_i + major = OS.host_os.match(/darwin(\d+)\.?/)[1].to_i major >= 19 end end # Informs developers when a method is intended to be defined in # sub-classes.