Skip to content

Commit a30f522

Browse files
committed
simplify require
1 parent ac1d25e commit a30f522

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pusher.gemspec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# -*- encoding: utf-8 -*-
22

3-
# Copied from https://github.com/bundler/bundler/blob/524add155d6b90c679db21b03f0bd9f877f21ab0/bundler.gemspec#L3-L5
4-
# but made less cryptic
5-
$LOAD_PATH.unshift(File.expand_path('../lib/', __FILE__))
6-
require "pusher/version"
3+
require File.expand_path('../lib/pusher/version', __FILE__)
74

85
Gem::Specification.new do |s|
96
s.name = "pusher"

0 commit comments

Comments
 (0)