Skip to content

Commit efa4c06

Browse files
committed
Merge pull request #113 from LuckDragon82/issue-109
Issue 109 - remove load path
2 parents a2d7952 + 046adc1 commit efa4c06

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

lib/opentok.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require "opentok/version"
21
require "opentok/opentok"
32

43
# Namespace for classes and modules in the OpenTok 2.2 Ruby SDK.

lib/opentok/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require "opentok/exceptions"
2-
require "extensions/hash"
2+
require "opentok/extensions/hash"
33

44
require "active_support/inflector"
55
require "httparty"
File renamed without changes.

opentok.gemspec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# coding: utf-8
2-
lib = File.expand_path('../lib', __FILE__)
3-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require "opentok/version"
2+
require File.expand_path("../lib/opentok/version.rb", __FILE__)
53

64
Gem::Specification.new do |spec|
75
spec.name = "opentok"
@@ -17,7 +15,6 @@ Gem::Specification.new do |spec|
1715
spec.files = `git ls-files -z`.split("\x0")
1816
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
1917
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20-
spec.require_paths = ["lib"]
2118

2219
spec.add_development_dependency "bundler", "~> 1.5"
2320
spec.add_development_dependency "rake", "~> 10.1.1"

0 commit comments

Comments
 (0)