Skip to content
This repository was archived by the owner on Sep 2, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion leantesting.gemspec
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
6 changes: 3 additions & 3 deletions lib/BaseClass/EntityHandler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -182,4 +182,4 @@ def enforce(obj, supports)
end

end
end
end
1 change: 1 addition & 0 deletions lib/loader.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Global inclusions
require 'bundler'
require 'curl'
Copy link
Member

@cyakimov cyakimov Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't be require 'curb' ?

Bundler.require(:default)

# Relative autopath inclusion
Expand Down