ruby_desk 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ruby_desk/connector.rb +1 -1
- data/lib/ruby_desk/time_report.rb +0 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.1
|
data/lib/ruby_desk/connector.rb
CHANGED
@@ -66,7 +66,7 @@ module RubyDesk
|
|
66
66
|
params[:api_token] ||= @api_token
|
67
67
|
params[:api_key] ||= @api_key
|
68
68
|
end
|
69
|
-
params[:api_sig] = sign(params) if options[:sign] || options[:auth]
|
69
|
+
params[:api_sig] = sign(params) if options[:secure] && (options[:sign] || options[:auth])
|
70
70
|
url = (options[:secure] ? "https" : "http") + "://"
|
71
71
|
url << options[:base_url] << path
|
72
72
|
url << ".#{options[:format]}" if options[:format]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_desk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 1
|
10
|
+
version: 0.8.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ahmed ElDawy
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-07 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|