volay.gemspec in volay-2.0.0 vs volay.gemspec in volay-2.1.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-require File.expand_path('../lib/volay/version', __FILE__)
+require File.expand_path('lib/volay/version', __dir__)
Gem::Specification.new do |s|
s.name = 'volay'
s.version = Volay::VERSION
s.authors = ['Pierre Rambaud']
@@ -10,10 +10,10 @@
s.license = 'GPL-3.0'
s.summary = 'The Volume system tray'
s.homepage = 'http://github.com/PierreRambaud/volay'
s.description = 'Really simple volume system tray written in ruby.'
s.executables = ['volay']
- s.files = File.read(File.expand_path('../MANIFEST', __FILE__)).split("\n")
+ s.files = File.read(File.expand_path('MANIFEST', __dir__)).split("\n")
s.required_ruby_version = '> 2.3'
s.add_dependency 'glib2', '~>3.2'
s.add_dependency 'gtk3', '~>3.2'