telegram-bot-ruby.gemspec in telegram-bot-ruby-1.0.0 vs telegram-bot-ruby.gemspec in telegram-bot-ruby-2.0.0
- old
+ new
@@ -1,10 +1,7 @@
# frozen_string_literal: true
-lib = File.expand_path('lib', __dir__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-
-require 'telegram/bot/version'
+require_relative 'lib/telegram/bot/version'
Gem::Specification.new do |spec|
spec.name = 'telegram-bot-ruby'
spec.version = Telegram::Bot::VERSION
spec.authors = ['Alexander Tipugin']