Skip to content

Commit

Permalink
Update gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 8, 2019
1 parent 89ef91e commit 4fda3ce
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions timeout.gemspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "timeout/version"
begin
require_relative "lib/timeout/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end

Gem::Specification.new do |spec|
spec.name = "timeout"
spec.version = Timeout::VERSION
spec.authors = ["Hiroshi SHIBATA"]
spec.email = ["hsbt@ruby-lang.org"]
spec.authors = ["Yukihiro Matsumoto"]
spec.email = ["matz@ruby-lang.org"]

spec.summary = %q{Auto-terminate potentially long-running operations in Ruby.}
spec.description = %q{Auto-terminate potentially long-running operations in Ruby.}
Expand Down

0 comments on commit 4fda3ce

Please sign in to comment.