Skip to content

Commit 3c4f380

Browse files
committed
Simplify gemspec load path setup using require_relative.
1 parent a957faf commit 3c4f380

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tikkie-api.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# frozen_string_literal: true
22

3-
lib = File.expand_path('lib', __dir__)
4-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5-
require 'tikkie/api/version'
3+
require_relative 'lib/tikkie/api/version'
64

75
Gem::Specification.new do |spec|
86
spec.name = 'tikkie-api'

0 commit comments

Comments
 (0)