right_rackspace 0.0.0.1 → 0.0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,8 @@
1
- === 0.0.1 2010-01-28
1
+ === 0.0.0.2 2010-02-02
2
+
3
+ * nasty hack to coerce an array for the content-type
4
+
5
+ === 0.0.0.1 2010-01-28
2
6
 
3
7
  * Update to Hoe 2 syntax to get a buildable gem.
4
8
  * Format the README, and add a version number to help Hoe build things.
data/Rakefile CHANGED
@@ -5,7 +5,6 @@ require 'hoe'
5
5
  require "rake/testtask"
6
6
  require 'rcov/rcovtask'
7
7
  $: << File.dirname(__FILE__)
8
- require 'lib/right_rackspace.rb'
9
8
 
10
9
  class Hoe
11
10
  def extra_deps
data/lib/rackspace.rb CHANGED
@@ -23,7 +23,7 @@
23
23
  #
24
24
  module Rightscale
25
25
  module Rackspace
26
- VERSION = '0.0.0.1'
26
+ VERSION = '0.0.0.2'
27
27
 
28
28
  # TODO: KD: Enable this feature when Packspace get rid of the caching issue
29
29
  PAGINATION_ENABLED = false
@@ -249,7 +249,7 @@ module Rightscale
249
249
  @@bench.parser.add! do
250
250
  result = if @last_response.body.blank? then true
251
251
  else
252
- case @last_response['content-type'].first
252
+ case Array(@last_response['content-type']).first
253
253
  when 'application/json' then JSON::parse(@last_response.body)
254
254
  else @last_response.body
255
255
  end
@@ -525,4 +525,4 @@ module Rightscale
525
525
 
526
526
  end
527
527
  end
528
- end
528
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_rackspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.1
4
+ version: 0.0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RightScale, Inc.
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-28 00:00:00 -04:00
12
+ date: 2010-02-02 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency