tddium_client 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,5 +3,5 @@ Copyright (c) 2011 Solano Labs All Rights Reserved
3
3
  =end
4
4
 
5
5
  module TddiumClient
6
- VERSION = "0.0.9"
6
+ VERSION = "0.0.10"
7
7
  end
data/lib/tddium_client.rb CHANGED
@@ -148,6 +148,14 @@ module TddiumClient
148
148
  @environment = env
149
149
  end
150
150
 
151
+ def port=(port)
152
+ @tddium_config["port"] = port
153
+ end
154
+
155
+ def port
156
+ @tddium_config["port"]
157
+ end
158
+
151
159
  private
152
160
 
153
161
  def config_path
@@ -238,6 +238,17 @@ describe "TddiumClient" do
238
238
  end
239
239
  end
240
240
 
241
+ describe "#port" do
242
+ before(:each) do
243
+ stub_tddium_client_config
244
+ end
245
+
246
+ it "should set the port" do
247
+ tddium_client.port = 2345
248
+ tddium_client.port.should == 2345
249
+ end
250
+ end
251
+
241
252
  describe "#call_api" do
242
253
  before do
243
254
  FakeWeb.clean_registry
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tddium_client
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 11
4
5
  prerelease:
5
- version: 0.0.9
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 10
10
+ version: 0.0.10
6
11
  platform: ruby
7
12
  authors:
8
13
  - Jay Moorthi
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-07-24 00:00:00 -07:00
18
+ date: 2011-08-29 00:00:00 -07:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
@@ -21,6 +26,9 @@ dependencies:
21
26
  requirements:
22
27
  - - ">="
23
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
24
32
  version: "0"
25
33
  type: :runtime
26
34
  version_requirements: *id001
@@ -32,6 +40,9 @@ dependencies:
32
40
  requirements:
33
41
  - - ">="
34
42
  - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
35
46
  version: "0"
36
47
  type: :runtime
37
48
  version_requirements: *id002
@@ -43,6 +54,9 @@ dependencies:
43
54
  requirements:
44
55
  - - ">="
45
56
  - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
46
60
  version: "0"
47
61
  type: :development
48
62
  version_requirements: *id003
@@ -54,6 +68,9 @@ dependencies:
54
68
  requirements:
55
69
  - - ">="
56
70
  - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
57
74
  version: "0"
58
75
  type: :development
59
76
  version_requirements: *id004
@@ -65,6 +82,9 @@ dependencies:
65
82
  requirements:
66
83
  - - ">="
67
84
  - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
68
88
  version: "0"
69
89
  type: :development
70
90
  version_requirements: *id005
@@ -76,6 +96,9 @@ dependencies:
76
96
  requirements:
77
97
  - - ">="
78
98
  - !ruby/object:Gem::Version
99
+ hash: 3
100
+ segments:
101
+ - 0
79
102
  version: "0"
80
103
  type: :development
81
104
  version_requirements: *id006
@@ -87,6 +110,9 @@ dependencies:
87
110
  requirements:
88
111
  - - ">="
89
112
  - !ruby/object:Gem::Version
113
+ hash: 3
114
+ segments:
115
+ - 0
90
116
  version: "0"
91
117
  type: :development
92
118
  version_requirements: *id007
@@ -98,6 +124,9 @@ dependencies:
98
124
  requirements:
99
125
  - - ">="
100
126
  - !ruby/object:Gem::Version
127
+ hash: 3
128
+ segments:
129
+ - 0
101
130
  version: "0"
102
131
  type: :development
103
132
  version_requirements: *id008
@@ -141,12 +170,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
170
  requirements:
142
171
  - - ">="
143
172
  - !ruby/object:Gem::Version
173
+ hash: 3
174
+ segments:
175
+ - 0
144
176
  version: "0"
145
177
  required_rubygems_version: !ruby/object:Gem::Requirement
146
178
  none: false
147
179
  requirements:
148
180
  - - ">="
149
181
  - !ruby/object:Gem::Version
182
+ hash: 3
183
+ segments:
184
+ - 0
150
185
  version: "0"
151
186
  requirements: []
152
187