telegram-bot.gemspec in telegram-bot-0.16.1 vs telegram-bot.gemspec in telegram-bot-0.16.3
- old
+ new
@@ -1,6 +1,8 @@
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'telegram/bot/version'
Gem::Specification.new do |spec|
spec.name = 'telegram-bot'
@@ -9,9 +11,13 @@
spec.email = ['melentievm@gmail.com']
spec.summary = 'Library for building Telegram Bots with Rails integration'
spec.homepage = 'https://github.com/telegram-bot-rb/telegram-bot'
spec.license = 'MIT'
+
+ spec.metadata = {
+ 'rubygems_mfa_required' => 'true',
+ }
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']