From 72950568dde05bfe8a69ce4bbf6338fdebf3062f Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Sun, 9 Jul 2017 15:06:36 +0300 Subject: Use frozen-string-literal in ActiveSupport --- activesupport/lib/active_support/duration/iso8601_parser.rb | 1 + activesupport/lib/active_support/duration/iso8601_serializer.rb | 1 + 2 files changed, 2 insertions(+) (limited to 'activesupport/lib/active_support/duration') diff --git a/activesupport/lib/active_support/duration/iso8601_parser.rb b/activesupport/lib/active_support/duration/iso8601_parser.rb index 78a00b5e4f..10f9e1fd0f 100644 --- a/activesupport/lib/active_support/duration/iso8601_parser.rb +++ b/activesupport/lib/active_support/duration/iso8601_parser.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "strscan" require_relative "../core_ext/regexp" diff --git a/activesupport/lib/active_support/duration/iso8601_serializer.rb b/activesupport/lib/active_support/duration/iso8601_serializer.rb index 83c3a46692..829f935e3a 100644 --- a/activesupport/lib/active_support/duration/iso8601_serializer.rb +++ b/activesupport/lib/active_support/duration/iso8601_serializer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require_relative "../core_ext/object/blank" require_relative "../core_ext/hash/transform_values" -- cgit v1.2.3