aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-11 02:33:41 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-11 02:33:41 +0900
commit7e78d2cc94b9fa32e0cc418af0a096f48bdb190c (patch)
treed07ec79a1783e85aff932acb6b5a1e6dafce21be /activestorage
parente81f20702a69ab5d8a8a150a5d1d178c0e1da792 (diff)
downloadrails-7e78d2cc94b9fa32e0cc418af0a096f48bdb190c.tar.gz
rails-7e78d2cc94b9fa32e0cc418af0a096f48bdb190c.tar.bz2
rails-7e78d2cc94b9fa32e0cc418af0a096f48bdb190c.zip
Add missing `# frozen_string_literal: true`
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/app/models/active_storage/blob/analyzable.rb2
-rw-r--r--activestorage/app/models/active_storage/blob/representable.rb2
-rw-r--r--activestorage/lib/active_storage/errors.rb2
3 files changed, 6 insertions, 0 deletions
diff --git a/activestorage/app/models/active_storage/blob/analyzable.rb b/activestorage/app/models/active_storage/blob/analyzable.rb
index 9667990033..5bda6e6d73 100644
--- a/activestorage/app/models/active_storage/blob/analyzable.rb
+++ b/activestorage/app/models/active_storage/blob/analyzable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "active_storage/analyzer/null_analyzer"
module ActiveStorage::Blob::Analyzable
diff --git a/activestorage/app/models/active_storage/blob/representable.rb b/activestorage/app/models/active_storage/blob/representable.rb
index fb6a55fa73..aca97b1245 100644
--- a/activestorage/app/models/active_storage/blob/representable.rb
+++ b/activestorage/app/models/active_storage/blob/representable.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module ActiveStorage::Blob::Representable
extend ActiveSupport::Concern
diff --git a/activestorage/lib/active_storage/errors.rb b/activestorage/lib/active_storage/errors.rb
index db2c7f6bf5..f099b13f5b 100644
--- a/activestorage/lib/active_storage/errors.rb
+++ b/activestorage/lib/active_storage/errors.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module ActiveStorage
class InvariableError < StandardError; end
class UnpreviewableError < StandardError; end