From 4b77c6d989e3da3d663683d82eae47163cdf3d37 Mon Sep 17 00:00:00 2001 From: noellabo Date: Fri, 18 Feb 2022 16:06:20 +0900 Subject: [PATCH] Fix workaround for blurhash --- Gemfile | 2 +- Gemfile.lock | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 8231cd421..22c41d4b3 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,7 @@ gem 'aws-sdk-s3', '~> 1.98', require: false gem 'fog-core', '<= 2.1.0' gem 'fog-openstack', '~> 0.3', require: false gem 'paperclip', '~> 6.0' -gem 'blurhash', '~> 0.1' +gem 'blurhash', git: 'https://github.com/fedibird/blurhash.git', ref: '9542517a0f88d189be0dc7f190fb4c8abf9821e7' gem 'active_model_serializers', '~> 0.10' gem 'active_record_extended', git: 'https://github.com/GeorgeKaraszi/ActiveRecordExtended.git', ref: '8c9d1a3e72aabf1a4f1fbeeb93a6e0f170fd0c3e' diff --git a/Gemfile.lock b/Gemfile.lock index bddb19143..23c43b094 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,6 +8,14 @@ GIT ar_outer_joins (~> 0.2) pg (< 3.0) +GIT + remote: https://github.com/fedibird/blurhash.git + revision: 9542517a0f88d189be0dc7f190fb4c8abf9821e7 + ref: 9542517a0f88d189be0dc7f190fb4c8abf9821e7 + specs: + blurhash (0.1.5) + ffi (~> 1.14) + GEM remote: https://rubygems.org/ specs: @@ -114,8 +122,6 @@ GEM bindata (2.4.10) binding_of_caller (1.0.0) debug_inspector (>= 0.0.1) - blurhash (0.1.5) - ffi (~> 1.14) bootsnap (1.6.0) msgpack (~> 1.0) brakeman (5.1.1) @@ -699,7 +705,7 @@ DEPENDENCIES aws-sdk-s3 (~> 1.98) better_errors (~> 2.9) binding_of_caller (~> 1.0) - blurhash (~> 0.1) + blurhash! bootsnap (~> 1.6.0) brakeman (~> 5.1) browser