daikon 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/daikon.gemspec +2 -2
- data/lib/daikon.rb +2 -1
- data/lib/daikon/client.rb +4 -2
- metadata +4 -4
data/daikon.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{daikon}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Nick Quaranto"]
|
12
|
-
s.date = %q{2010-12-
|
12
|
+
s.date = %q{2010-12-16}
|
13
13
|
s.default_executable = %q{daikon}
|
14
14
|
s.description = %q{daikon, a radishapp.com client}
|
15
15
|
s.email = %q{nick@quaran.to}
|
data/lib/daikon.rb
CHANGED
@@ -9,6 +9,7 @@ require 'stringio'
|
|
9
9
|
require 'system_timer'
|
10
10
|
require 'daemons'
|
11
11
|
require 'json'
|
12
|
+
require 'net/https'
|
12
13
|
require 'net/http/persistent'
|
13
14
|
require 'redis'
|
14
15
|
|
@@ -26,5 +27,5 @@ require 'daikon/monitor'
|
|
26
27
|
require 'daikon/redis_hacks'
|
27
28
|
|
28
29
|
module Daikon
|
29
|
-
VERSION = "0.5.
|
30
|
+
VERSION = "0.5.4"
|
30
31
|
end
|
data/lib/daikon/client.rb
CHANGED
@@ -18,9 +18,11 @@ module Daikon
|
|
18
18
|
self.config = config
|
19
19
|
self.logger = logger
|
20
20
|
self.redis = connect
|
21
|
-
self.http = Net::HTTP::Persistent.new
|
22
21
|
self.monitor = Monitor.new(connect, logger)
|
23
|
-
|
22
|
+
|
23
|
+
self.http = Net::HTTP::Persistent.new
|
24
|
+
self.http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
25
|
+
self.http.headers['Authorization'] = config.api_key
|
24
26
|
|
25
27
|
log "Started Daikon v#{VERSION}"
|
26
28
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daikon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nick Quaranto
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-16 00:00:00 -05:00
|
19
19
|
default_executable: daikon
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|