daikon 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{daikon}
8
- s.version = "0.5.9"
8
+ s.version = "0.5.10"
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{2011-01-09}
12
+ s.date = %q{2011-01-10}
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}
@@ -34,10 +34,10 @@ Gem::Specification.new do |s|
34
34
  "lib/daikon/client.rb",
35
35
  "lib/daikon/configuration.rb",
36
36
  "lib/daikon/daemon.rb",
37
+ "lib/daikon/heroku.crt",
37
38
  "lib/daikon/monitor.rb",
38
39
  "lib/daikon/namespace_tools.rb",
39
40
  "lib/daikon/redis_hacks.rb",
40
- "lib/daikon/ssl_radishapp_com.crt",
41
41
  "spec/client_spec.rb",
42
42
  "spec/configuration_spec.rb",
43
43
  "spec/daemon_spec.rb",
@@ -25,5 +25,5 @@ require 'daikon/monitor'
25
25
  require 'daikon/redis_hacks'
26
26
 
27
27
  module Daikon
28
- VERSION = "0.5.9"
28
+ VERSION = "0.5.10"
29
29
  end
@@ -25,7 +25,7 @@ module Daikon
25
25
  if server_uri.scheme == "https"
26
26
  self.http.verify_mode = OpenSSL::SSL::VERIFY_PEER
27
27
  self.http.use_ssl = true
28
- self.http.ca_file = File.join(File.dirname(__FILE__), "ssl_radishapp_com.crt")
28
+ self.http.ca_file = File.join(File.dirname(__FILE__), "heroku.crt")
29
29
  end
30
30
 
31
31
  log "Started Daikon v#{VERSION}"
@@ -2,7 +2,7 @@ module Daikon
2
2
  class Configuration
3
3
  FLAGS = %w[-h -p -k -f -s]
4
4
  OPTIONS = %w[redis_host redis_port api_key field_id server_prefix]
5
- DEFAULTS = %w[127.0.0.1 6379 1234567890 1 https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LEqkRS+w
31
+ VgVB6CULi9RVBOLcFZW/bGFF++7HGpaJXRDS5eQP/e5qCfdtHvWiX+6ATIGSMg2F
32
+ ZAMPAo0wVmrMYkQaVNpmxEmyYdEJp8oxjyMahjVsDUptCPqMTmY2nFm7bRM89D/6
33
+ fIqWtKWH1nfGK3IIYlQN13GIN5p26GrF139Hq9Ndu5ABl/oLFkaM+qu6CyDY5Y26
34
+ KNE9hEj2Zvtw2btKLtP0w2ROlxU+AIQb1mbYrldVIkYMmuHfDt8MUI4TwR+Ip6uT
35
+ 638=
36
+ -----END CERTIFICATE-----
@@ -80,7 +80,7 @@ describe Daikon::Client, "fetching commands" do
80
80
 
81
81
  context "with default configuration" do
82
82
  let(:api_key) { config.api_key }
83
- let(:server) { "https://ssl.radishapp.com" }
83
+ let(:server) { "https://radish.heroku.com" }
84
84
  let(:config) { Daikon::Configuration.new([]) }
85
85
 
86
86
  it_should_behave_like "a command api consumer"
@@ -151,7 +151,7 @@ describe Daikon::Client, "report info" do
151
151
 
152
152
  context "with default configuration" do
153
153
  let(:api_key) { config.api_key }
154
- let(:server) { "https://ssl.radishapp.com" }
154
+ let(:server) { "https://radish.heroku.com" }
155
155
  let(:config) { Daikon::Configuration.new }
156
156
 
157
157
  it_should_behave_like "a info api consumer"
@@ -199,7 +199,7 @@ describe Daikon::Client, "rotate monitor" do
199
199
 
200
200
  context "with default configuration" do
201
201
  let(:api_key) { config.api_key }
202
- let(:server) { "https://ssl.radishapp.com" }
202
+ let(:server) { "https://radish.heroku.com" }
203
203
  let(:config) { Daikon::Configuration.new }
204
204
 
205
205
  it_should_behave_like "a monitor api consumer"
@@ -218,7 +218,7 @@ describe Daikon::Client, "pretty printing results" do
218
218
  subject { Daikon::Client.new }
219
219
  let(:body) { {"13" => "LRANGE foo 0 -1"}.to_json }
220
220
  let(:list) { %w[apples bananas carrots] }
221
- let(:server) { "https://ssl.radishapp.com" }
221
+ let(:server) { "https://radish.heroku.com" }
222
222
  let(:config) { Daikon::Configuration.new }
223
223
 
224
224
  before do
@@ -21,7 +21,7 @@ describe Daikon::Configuration do
21
21
  subject.redis_port.should == "6379"
22
22
  subject.api_key.should == "1234567890"
23
23
  subject.field_id.should == "1"
24
- subject.server_prefix == "radishapp.com"
24
+ subject.server_prefix == "radish.heroku.com"
25
25
  end
26
26
  end
27
27
 
@@ -51,6 +51,6 @@ describe Daikon::Configuration do
51
51
  subject.redis_port.should == "9001"
52
52
  subject.api_key.should == "deadbeef"
53
53
  subject.field_id.should == "1"
54
- subject.server_prefix == "radishapp.com"
54
+ subject.server_prefix == "radish.heroku.com"
55
55
  end
56
56
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 9
9
- version: 0.5.9
8
+ - 10
9
+ version: 0.5.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nick Quaranto
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-09 00:00:00 -05:00
17
+ date: 2011-01-10 00:00:00 -05:00
18
18
  default_executable: daikon
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -165,10 +165,10 @@ files:
165
165
  - lib/daikon/client.rb
166
166
  - lib/daikon/configuration.rb
167
167
  - lib/daikon/daemon.rb
168
+ - lib/daikon/heroku.crt
168
169
  - lib/daikon/monitor.rb
169
170
  - lib/daikon/namespace_tools.rb
170
171
  - lib/daikon/redis_hacks.rb
171
- - lib/daikon/ssl_radishapp_com.crt
172
172
  - spec/client_spec.rb
173
173
  - spec/configuration_spec.rb
174
174
  - spec/daemon_spec.rb
@@ -1,30 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIFJTCCBA2gAwIBAgIQcsxsWCTlj171j4hr+J7qMTANBgkqhkiG9w0BAQUFADCB
3
- iTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
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