solutious-stella 0.7.0.001 → 0.7.0.002
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +4 -0
- data/README.rdoc +3 -3
- data/lib/stella.rb +1 -0
- data/lib/stella/client.rb +4 -2
- data/stella.gemspec +1 -1
- metadata +1 -1
data/CHANGES.txt
CHANGED
data/README.rdoc
CHANGED
@@ -86,9 +86,9 @@ See examples/ for more.
|
|
86
86
|
|
87
87
|
Get it in one of the following ways:
|
88
88
|
|
89
|
-
|
90
|
-
|
91
|
-
|
89
|
+
$ gem install stella
|
90
|
+
$ git clone git://github.com/solutious/stella.git
|
91
|
+
$ gem install solutious-stella --source http://gems.github.com
|
92
92
|
|
93
93
|
|
94
94
|
== More Information
|
data/lib/stella.rb
CHANGED
data/lib/stella/client.rb
CHANGED
@@ -166,8 +166,10 @@ module Stella
|
|
166
166
|
end
|
167
167
|
|
168
168
|
def doc
|
169
|
-
|
170
|
-
|
169
|
+
# NOTE: It's important to parse the document on every
|
170
|
+
# request because this container is available for the
|
171
|
+
# entire life of a usecase.
|
172
|
+
case @response.header['Content-Type']
|
171
173
|
when ['text/html']
|
172
174
|
Nokogiri::HTML(body)
|
173
175
|
when ['text/yaml']
|
data/stella.gemspec
CHANGED