aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/activemodel.gemspec
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2017-07-16 20:11:16 +0300
committerKir Shatrov <shatrov@me.com>2017-07-16 20:11:16 +0300
commitd7b1521db83998fb57811ecc9d12b68e610a44bd (patch)
tree8789a99dad9b1cfbb8c7a1e58c7681f9d05df1ab /activemodel/activemodel.gemspec
parent83f39a3bcf3f50d12d41bff4a110c57e2e4be605 (diff)
downloadrails-d7b1521db83998fb57811ecc9d12b68e610a44bd.tar.gz
rails-d7b1521db83998fb57811ecc9d12b68e610a44bd.tar.bz2
rails-d7b1521db83998fb57811ecc9d12b68e610a44bd.zip
Use frozen string literal in activemodel/
Diffstat (limited to 'activemodel/activemodel.gemspec')
-rw-r--r--activemodel/activemodel.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/activemodel.gemspec b/activemodel/activemodel.gemspec
index 18a35678f1..a070a2898c 100644
--- a/activemodel/activemodel.gemspec
+++ b/activemodel/activemodel.gemspec
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
Gem::Specification.new do |s|