diff --git a/leantesting.gemspec b/leantesting.gemspec index 4058aac..fe09520 100644 --- a/leantesting.gemspec +++ b/leantesting.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'leantesting' - s.version = '1.2.0' + s.version = '1.2.1' s.date = '2016-04-12' s.platform = Gem::Platform::RUBY s.summary = 'Lean Testing Ruby SDK' diff --git a/lib/BaseClass/EntityHandler.rb b/lib/BaseClass/EntityHandler.rb index 1d2e013..912a228 100644 --- a/lib/BaseClass/EntityHandler.rb +++ b/lib/BaseClass/EntityHandler.rb @@ -76,8 +76,8 @@ def all(filters = nil) # SDKInvalidArgException if provided id param is not an integer. # def find(id) - if !id.is_a? Fixnum - raise SDKInvalidArgException, '`id` must be of type Fixnum' + if !id.is_a? Integer + raise SDKInvalidArgException, '`id` must be of type Integer' end end @@ -182,4 +182,4 @@ def enforce(obj, supports) end end -end \ No newline at end of file +end diff --git a/lib/loader.rb b/lib/loader.rb index 2706012..39dc8ed 100644 --- a/lib/loader.rb +++ b/lib/loader.rb @@ -1,5 +1,6 @@ # Global inclusions require 'bundler' +require 'curl' Bundler.require(:default) # Relative autopath inclusion