summaryrefslogtreecommitdiff
path: root/lib/bundler/version.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-08 16:45:35 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-08 16:45:35 +0200
commit83e93785a0e9ecb553b90e383307c9bbeeba268e (patch)
tree77a2d97ab1c91d35ea8c175e80a56720de85ebcb /lib/bundler/version.rb
parentc0c898b79db48c09158bcc9c335de66b55b5061c (diff)
downloadbundler-83e93785a0e9ecb553b90e383307c9bbeeba268e.tar.gz
Cleanup more stuff only needed for old rubies
Diffstat (limited to 'lib/bundler/version.rb')
-rw-r--r--lib/bundler/version.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/bundler/version.rb b/lib/bundler/version.rb
index ba6312a5cd..cfd6300950 100644
--- a/lib/bundler/version.rb
+++ b/lib/bundler/version.rb
@@ -1,13 +1,10 @@
# frozen_string_literal: false
-# Ruby 1.9.3 and old RubyGems don't play nice with frozen version strings
-# rubocop:disable MutableConstant
-
module Bundler
# We're doing this because we might write tests that deal
# with other versions of bundler and we are unsure how to
# handle this better.
- VERSION = "2.1.0.pre.1" unless defined?(::Bundler::VERSION)
+ VERSION = "2.1.0.pre.1".freeze unless defined?(::Bundler::VERSION)
def self.overwrite_loaded_gem_version
begin