omniauth-multipassword.gemspec in omniauth-multipassword-0.4.2 vs omniauth-multipassword.gemspec in omniauth-multipassword-2.0.0.rc1
- old
+ new
@@ -1,20 +1,26 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/omniauth/multipassword/version', __FILE__)
+# frozen_string_literal: true
+require File.expand_path('lib/omniauth/multipassword/version', __dir__)
+
Gem::Specification.new do |gem|
- gem.authors = ["Jan Graichen"]
- gem.email = ["jg@altimos.de"]
- gem.description = "A OmniAuth strategy to authenticate using different passwort strategies."
- gem.summary = "A OmniAuth strategy to authenticate using different passwort strategies."
- gem.homepage = "https://github.com/jgraichen/omniauth-multipassword"
+ gem.authors = ['Jan Graichen']
+ gem.email = ['jgraichen@altimos.de']
+ gem.description = 'A OmniAuth strategy to authenticate using different passwort strategies.'
+ gem.summary = 'A OmniAuth strategy to authenticate using different passwort strategies.'
+ gem.homepage = 'https://github.com/jgraichen/omniauth-multipassword'
gem.license = 'MIT'
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ gem.required_ruby_version = '>= 2.5'
+ gem.metadata = {
+ 'rubygems_mfa_required' => 'true',
+ }
+
+ gem.executables = `git ls-files -- bin/*`.split("\n").map {|f| File.basename(f) }
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.name = "omniauth-multipassword"
- gem.require_paths = ["lib"]
+ gem.name = 'omniauth-multipassword'
+ gem.require_paths = ['lib']
gem.version = Omniauth::Multipassword::VERSION
- gem.add_dependency 'omniauth', '~> 1.0'
+ gem.add_dependency 'omniauth', '~> 2.0'
end