From 33e540f00ed45f6c659814b4e7417aade2b1599b Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Thu, 9 Jul 2020 10:48:27 +0200 Subject: [PATCH] hop --- Gemfile.lock | 6 ++++++ app/validators/status_length_validator.rb | 2 +- yarn.lock | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index fef4d342b..405830e57 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -796,3 +796,9 @@ DEPENDENCIES webmock (~> 3.8) webpacker (~> 5.1) webpush + +RUBY VERSION + ruby 2.6.6p146 + +BUNDLED WITH + 2.1.4 diff --git a/app/validators/status_length_validator.rb b/app/validators/status_length_validator.rb index 93bae2fa8..482cf1ad3 100644 --- a/app/validators/status_length_validator.rb +++ b/app/validators/status_length_validator.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class StatusLengthValidator < ActiveModel::Validator - MAX_CHARS = 500 + MAX_CHARS = 7777 def validate(status) return unless status.local? && !status.reblog? diff --git a/yarn.lock b/yarn.lock index 14ab9d4a8..43e038bd2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2564,7 +2564,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.11.1, browserslist@^4.12.0, browserslist@^4.8.5: +browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.8.5: version "4.12.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.12.0.tgz#06c6d5715a1ede6c51fc39ff67fd647f740b656d" integrity sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg==