Skip to content

Commit

Permalink
Bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor Barannik committed May 10, 2017
1 parent 752aec5 commit d020d7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ def initialize(options = {})
else
raise 'Currently only supports basic authentication'
end
@services_options = configure_services_options(options, header)
@services_options = configure_services_options(header, options)
end

def set_access_token(username, password)
{ 'Authorization' => "Basic #{Base64.encode64(username + ':' + password)[0..-2]}", 'Content-Type' => 'application/json' }
end

def configure_services_options(options = {}, header)
def configure_services_options(header, options = {})
{
header: header,
base_url: options[:base_url],
Expand Down
2 changes: 2 additions & 0 deletions lib/tmj_ruby/services/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module Services
# @see https://www.kanoah.com/docs/public-api/1.0/ more info regarding test cases can be found here
#
class TestCase < TMJ::Services::Base
include TMJ::Helper::TestCase

# Creates new test case
#
# @param [Hash] body
Expand Down
2 changes: 1 addition & 1 deletion lib/tmj_ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module TMJ
VERSION = '0.1.1'.freeze
VERSION = '0.1.2'.freeze
end

0 comments on commit d020d7f

Please sign in to comment.