daikon 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/daikon.gemspec +2 -2
- data/lib/daikon.rb +1 -1
- data/lib/daikon/configuration.rb +1 -1
- data/spec/client_spec.rb +4 -4
- metadata +43 -56
data/Rakefile
CHANGED
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.6"
|
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{
|
12
|
+
s.date = %q{2011-01-09}
|
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
data/lib/daikon/configuration.rb
CHANGED
@@ -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://radishapp.com]
|
5
|
+
DEFAULTS = %w[127.0.0.1 6379 1234567890 1 https://ssl.radishapp.com]
|
6
6
|
|
7
7
|
attr_accessor *OPTIONS
|
8
8
|
|
data/spec/client_spec.rb
CHANGED
@@ -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://radishapp.com" }
|
83
|
+
let(:server) { "https://ssl.radishapp.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://radishapp.com" }
|
154
|
+
let(:server) { "https://ssl.radishapp.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://radishapp.com" }
|
202
|
+
let(:server) { "https://ssl.radishapp.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://radishapp.com" }
|
221
|
+
let(:server) { "https://ssl.radishapp.com" }
|
222
222
|
let(:config) { Daikon::Configuration.new }
|
223
223
|
|
224
224
|
before do
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daikon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 1
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
8
|
+
- 6
|
9
|
+
version: 0.5.6
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Nick Quaranto
|
@@ -15,157 +14,147 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date:
|
17
|
+
date: 2011-01-09 00:00:00 -05:00
|
19
18
|
default_executable: daikon
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
|
-
type: :runtime
|
24
21
|
name: daemons
|
25
|
-
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
23
|
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
30
|
-
hash: 19
|
31
27
|
segments:
|
32
28
|
- 1
|
33
29
|
- 1
|
34
30
|
- 0
|
35
31
|
version: 1.1.0
|
36
|
-
requirement: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
prerelease: false
|
39
32
|
type: :runtime
|
33
|
+
prerelease: false
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
40
36
|
name: json_pure
|
41
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
38
|
none: false
|
43
39
|
requirements:
|
44
40
|
- - ~>
|
45
41
|
- !ruby/object:Gem::Version
|
46
|
-
hash: 11
|
47
42
|
segments:
|
48
43
|
- 1
|
49
44
|
- 4
|
50
45
|
- 6
|
51
46
|
version: 1.4.6
|
52
|
-
requirement: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
prerelease: false
|
55
47
|
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
56
51
|
name: net-http-persistent
|
57
|
-
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
53
|
none: false
|
59
54
|
requirements:
|
60
55
|
- - ~>
|
61
56
|
- !ruby/object:Gem::Version
|
62
|
-
hash: 5
|
63
57
|
segments:
|
64
58
|
- 1
|
65
59
|
- 4
|
66
60
|
- 1
|
67
61
|
version: 1.4.1
|
68
|
-
requirement: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
prerelease: false
|
71
62
|
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
72
66
|
name: redis
|
73
|
-
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
74
68
|
none: false
|
75
69
|
requirements:
|
76
70
|
- - ~>
|
77
71
|
- !ruby/object:Gem::Version
|
78
|
-
hash: 9
|
79
72
|
segments:
|
80
73
|
- 2
|
81
74
|
- 1
|
82
75
|
- 1
|
83
76
|
version: 2.1.1
|
84
|
-
|
85
|
-
- !ruby/object:Gem::Dependency
|
77
|
+
type: :runtime
|
86
78
|
prerelease: false
|
87
|
-
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
88
81
|
name: bourne
|
89
|
-
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
90
83
|
none: false
|
91
84
|
requirements:
|
92
85
|
- - ">="
|
93
86
|
- !ruby/object:Gem::Version
|
94
|
-
hash: 3
|
95
87
|
segments:
|
96
88
|
- 0
|
97
89
|
version: "0"
|
98
|
-
requirement: *id005
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
prerelease: false
|
101
90
|
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: *id005
|
93
|
+
- !ruby/object:Gem::Dependency
|
102
94
|
name: cucumber
|
103
|
-
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
104
96
|
none: false
|
105
97
|
requirements:
|
106
98
|
- - ">="
|
107
99
|
- !ruby/object:Gem::Version
|
108
|
-
hash: 3
|
109
100
|
segments:
|
110
101
|
- 0
|
111
102
|
version: "0"
|
112
|
-
requirement: *id006
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
prerelease: false
|
115
103
|
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: *id006
|
106
|
+
- !ruby/object:Gem::Dependency
|
116
107
|
name: jeweler
|
117
|
-
|
108
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
109
|
none: false
|
119
110
|
requirements:
|
120
111
|
- - ">="
|
121
112
|
- !ruby/object:Gem::Version
|
122
|
-
hash: 3
|
123
113
|
segments:
|
124
114
|
- 0
|
125
115
|
version: "0"
|
126
|
-
requirement: *id007
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
prerelease: false
|
129
116
|
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: *id007
|
119
|
+
- !ruby/object:Gem::Dependency
|
130
120
|
name: rspec
|
131
|
-
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
122
|
none: false
|
133
123
|
requirements:
|
134
124
|
- - ">="
|
135
125
|
- !ruby/object:Gem::Version
|
136
|
-
hash: 3
|
137
126
|
segments:
|
138
127
|
- 0
|
139
128
|
version: "0"
|
140
|
-
requirement: *id008
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
prerelease: false
|
143
129
|
type: :development
|
130
|
+
prerelease: false
|
131
|
+
version_requirements: *id008
|
132
|
+
- !ruby/object:Gem::Dependency
|
144
133
|
name: timecop
|
145
|
-
|
134
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
146
135
|
none: false
|
147
136
|
requirements:
|
148
137
|
- - ">="
|
149
138
|
- !ruby/object:Gem::Version
|
150
|
-
hash: 3
|
151
139
|
segments:
|
152
140
|
- 0
|
153
141
|
version: "0"
|
154
|
-
requirement: *id009
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
prerelease: false
|
157
142
|
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: *id009
|
145
|
+
- !ruby/object:Gem::Dependency
|
158
146
|
name: webmock
|
159
|
-
|
147
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
160
148
|
none: false
|
161
149
|
requirements:
|
162
150
|
- - ">="
|
163
151
|
- !ruby/object:Gem::Version
|
164
|
-
hash: 3
|
165
152
|
segments:
|
166
153
|
- 0
|
167
154
|
version: "0"
|
168
|
-
|
155
|
+
type: :development
|
156
|
+
prerelease: false
|
157
|
+
version_requirements: *id010
|
169
158
|
description: daikon, a radishapp.com client
|
170
159
|
email: nick@quaran.to
|
171
160
|
executables:
|
@@ -214,7 +203,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
203
|
requirements:
|
215
204
|
- - ">="
|
216
205
|
- !ruby/object:Gem::Version
|
217
|
-
hash: 57
|
218
206
|
segments:
|
219
207
|
- 1
|
220
208
|
- 8
|
@@ -225,7 +213,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
213
|
requirements:
|
226
214
|
- - ">="
|
227
215
|
- !ruby/object:Gem::Version
|
228
|
-
hash: 3
|
229
216
|
segments:
|
230
217
|
- 0
|
231
218
|
version: "0"
|