cloudfiles 1.4.6 → 1.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.6
1
+ 1.4.7
data/cloudfiles.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cloudfiles}
8
- s.version = "1.4.6"
8
+ s.version = "1.4.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["H. Wade Minter", "Rackspace Hosting"]
12
- s.date = %q{2010-02-12}
12
+ s.date = %q{2010-03-05}
13
13
  s.description = %q{A Ruby version of the Rackspace Cloud Files API.}
14
14
  s.email = %q{wade.minter@rackspace.com}
15
15
  s.extra_rdoc_files = [
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  s.homepage = %q{http://www.rackspacecloud.com/cloud_hosting_products/files}
41
41
  s.rdoc_options = ["--charset=UTF-8"]
42
42
  s.require_paths = ["lib"]
43
- s.rubygems_version = %q{1.3.5}
43
+ s.rubygems_version = %q{1.3.6}
44
44
  s.summary = %q{A Ruby API into Rackspace Cloud Files}
45
45
  s.test_files = [
46
46
  "test/cf-testunit.rb",
@@ -133,8 +133,8 @@ module CloudFiles
133
133
  # if the request fails.
134
134
  def objects(params = {})
135
135
  paramarr = []
136
- paramarr << ["limit=#{URI.encode(params[:limit].to_i).gsub(/&/,'%26')}"] if params[:limit]
137
- paramarr << ["offset=#{URI.encode(params[:offset].to_i).gsub(/&/,'%26')}"] if params[:offset]
136
+ paramarr << ["limit=#{URI.encode(params[:limit].to_i.to_s).gsub(/&/,'%26')}"] if params[:limit]
137
+ paramarr << ["offset=#{URI.encode(params[:offset].to_i.to_s).gsub(/&/,'%26')}"] if params[:offset]
138
138
  paramarr << ["prefix=#{URI.encode(params[:prefix]).gsub(/&/,'%26')}"] if params[:prefix]
139
139
  paramarr << ["path=#{URI.encode(params[:path]).gsub(/&/,'%26')}"] if params[:path]
140
140
  paramstr = (paramarr.size > 0)? paramarr.join("&") : "" ;
@@ -35,7 +35,7 @@ class CloudfilesContainerTest < Test::Unit::TestCase
35
35
  assert_equal @container.cdn_enabled, true
36
36
  assert_equal @container.public?, true
37
37
  assert_equal @container.cdn_url, 'http://cdn.test.example/container'
38
- assert_equal @container.cdn_ttl, '86400'
38
+ assert_equal @container.cdn_ttl, 86400
39
39
  end
40
40
 
41
41
  def test_to_s
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 4
8
+ - 7
9
+ version: 1.4.7
5
10
  platform: ruby
6
11
  authors:
7
12
  - H. Wade Minter
@@ -10,19 +15,22 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2010-02-12 00:00:00 -06:00
18
+ date: 2010-03-05 00:00:00 -06:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
22
  name: mime-types
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
21
25
  requirements:
22
26
  - - ">="
23
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 16
24
31
  version: "1.16"
25
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
26
34
  description: A Ruby version of the Rackspace Cloud Files API.
27
35
  email: wade.minter@rackspace.com
28
36
  executables: []
@@ -65,18 +73,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
73
  requirements:
66
74
  - - ">="
67
75
  - !ruby/object:Gem::Version
76
+ segments:
77
+ - 0
68
78
  version: "0"
69
- version:
70
79
  required_rubygems_version: !ruby/object:Gem::Requirement
71
80
  requirements:
72
81
  - - ">="
73
82
  - !ruby/object:Gem::Version
83
+ segments:
84
+ - 0
74
85
  version: "0"
75
- version:
76
86
  requirements: []
77
87
 
78
88
  rubyforge_project:
79
- rubygems_version: 1.3.5
89
+ rubygems_version: 1.3.6
80
90
  signing_key:
81
91
  specification_version: 3
82
92
  summary: A Ruby API into Rackspace Cloud Files