Gemfile in sanitize_email-2.0.0 vs Gemfile in sanitize_email-2.0.1
- old
+ new
@@ -1,13 +1,26 @@
-source "http://rubygems.org"
+# frozen_string_literal: true
+
+source 'https://rubygems.org'
+
+git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
+
+group :test do
+ ruby_version = Gem::Version.new(RUBY_VERSION)
+ if ruby_version >= Gem::Version.new('2.1')
+ gem 'rubocop', '~> 0.53.0'
+ gem 'rubocop-rspec', '~> 1.24.0'
+ end
+ gem 'byebug' if ruby_version >= Gem::Version.new('2.0')
+end
# Specify your gem's dependencies in sanitize_email.gemspec
gemspec