lingohub 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -78,7 +78,7 @@ class Lingohub::Client
78
78
  uri = uri + "auth_token=#{credentials[:username]}"
79
79
  end
80
80
 
81
- #puts "---- URI --- #{uri} - #{args}"
81
+ #puts "---- URI --- #{uri} - #{args} - credentials #{credentials}"
82
82
  response = resource(uri, credentials).send(*args)
83
83
 
84
84
  response
@@ -15,7 +15,7 @@ module Lingohub::Command
15
15
  end
16
16
 
17
17
  def host
18
- ENV['LINGOHUB_HOST'] || 'api.lingohub.com'
18
+ ENV['LINGOHUB_HOST'] || 'https://api.lingohub.com'
19
19
  end
20
20
 
21
21
  # just a stub; will raise if not authenticated
@@ -1,4 +1,4 @@
1
1
  module Lingohub
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  API_VERSION = 'v1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lingohub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-12 00:00:00.000000000 Z
12
+ date: 2015-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client