jmstacey-ruby-cloudfiles 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/CHANGELOG.markdown +18 -0
  2. data/README.markdown +22 -20
  3. data/Rakefile +7 -0
  4. data/VERSION.yml +1 -1
  5. metadata +53 -3
@@ -0,0 +1,18 @@
1
+ ruby-cloudfiles ChangeLog
2
+ =========================
3
+
4
+ 1.3.3 2009-04-18
5
+ ------------------
6
+
7
+ * Added dependencies to the Rakefile
8
+
9
+ 1.3.2 2009-04-18
10
+ ------------------
11
+
12
+ * Ruby Gem now generated and maintained by jeweler
13
+
14
+ 1.3.1 2009-04-16ish
15
+ -----------------
16
+
17
+ * Pipe standard input ($stdin) straight to container by using "STDIN"
18
+ * Documentation updated
data/README.markdown CHANGED
@@ -1,7 +1,7 @@
1
1
  Mosso Cloud Files
2
2
  =================
3
3
 
4
- This is a Ruby interface into the Rackspace[http://rackspace.com/] {Mosso Cloud Files}[http://www.mosso.com/cloudfiles.jsp] service. Cloud Files is reliable, scalable and affordable web-based storage hosting for backing up and archiving all your static content. Cloud Files is the first and only cloud service that leverages a tier one CDN provider to create such an easy and complete storage-to-delivery solution for media content.
4
+ This is a Ruby interface into the [http://rackspace.com/](Rackspace) [http://www.mosso.com/cloudfiles.jsp](Mosso Cloud Files) service. Cloud Files is reliable, scalable and affordable web-based storage hosting for backing up and archiving all your static content. Cloud Files is the first and only cloud service that leverages a tier one CDN provider to create such an easy and complete storage-to-delivery solution for media content.
5
5
 
6
6
  Important Notice
7
7
  ----------------
@@ -14,6 +14,7 @@ This is NOT the official Ruby Cloud Files API. There are two branches in this pr
14
14
  Requirements
15
15
  ----------------
16
16
 
17
+ * Ruby >= 1.8
17
18
  * mime-types
18
19
  * archive-tar-minitar
19
20
  * nokogiri
@@ -31,32 +32,33 @@ Examples
31
32
 
32
33
  See the class definitions for documentation on specific methods and operations.
33
34
 
34
- require 'cloudfiles'
35
+ require 'rubygems'
36
+ require 'cloudfiles'
35
37
 
36
- # Log into the Cloud Files system
37
- cf = CloudFiles::Connection.new(USERNAME, API_KEY)
38
+ # Log into the Cloud Files system
39
+ cf = CloudFiles::Connection.new(USERNAME, API_KEY)
38
40
 
39
- # Get a listing of all containers under this account
40
- cf.containers
41
- => ["backup", "Books", "cftest", "test", "video", "webpics"]
41
+ # Get a listing of all containers under this account
42
+ cf.containers
43
+ => ["backup", "Books", "cftest", "test", "video", "webpics"]
42
44
 
43
- # Access a specific container
44
- container = cf.container('test')
45
+ # Access a specific container
46
+ container = cf.container('test')
45
47
 
46
- # See how many objects are under this container
47
- container.count
48
- => 3
48
+ # See how many objects are under this container
49
+ container.count
50
+ => 3
49
51
 
50
- # List the objects
51
- container.objects
52
- => ["bigfile.txt", "new.txt", "test.txt"]
52
+ # List the objects
53
+ container.objects
54
+ => ["bigfile.txt", "new.txt", "test.txt"]
53
55
 
54
- # Select an object
55
- object = container.object('test.txt')
56
+ # Select an object
57
+ object = container.object('test.txt')
56
58
 
57
- # Get that object's data
58
- object.data
59
- => "This is test data"
59
+ # Get that object's data
60
+ object.data
61
+ => "This is test data"
60
62
 
61
63
  Enhancements
62
64
  ----------------
data/Rakefile CHANGED
@@ -11,6 +11,13 @@ begin
11
11
  gem.homepage = "http://github.com/jmstacey/ruby-cloudfiles"
12
12
  gem.authors = ["H. Wade Minter", "Rackspace Hosting", "Jon Stacey"]
13
13
 
14
+ # ruby-cloudfiles dependencies
15
+ gem.add_dependency('mime-types', '>= 1.16')
16
+ gem.add_dependency('archive-tar-minitar', '>= 0.5.2')
17
+ gem.add_dependency('nokogiri', '>= 1.2.3')
18
+ gem.add_dependency('hoe', '>= 1.11.0')
19
+ gem.add_dependency('rcov', '>= 0.8.1.2.0')
20
+
14
21
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
22
  end
16
23
  rescue LoadError
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 3
4
- :patch: 2
4
+ :patch: 3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jmstacey-ruby-cloudfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - H. Wade Minter
@@ -13,8 +13,57 @@ cert_chain: []
13
13
 
14
14
  date: 2009-04-18 00:00:00 -07:00
15
15
  default_executable:
16
- dependencies: []
17
-
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: mime-types
19
+ type: :runtime
20
+ version_requirement:
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: "1.16"
26
+ version:
27
+ - !ruby/object:Gem::Dependency
28
+ name: archive-tar-minitar
29
+ type: :runtime
30
+ version_requirement:
31
+ version_requirements: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 0.5.2
36
+ version:
37
+ - !ruby/object:Gem::Dependency
38
+ name: nokogiri
39
+ type: :runtime
40
+ version_requirement:
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 1.2.3
46
+ version:
47
+ - !ruby/object:Gem::Dependency
48
+ name: hoe
49
+ type: :runtime
50
+ version_requirement:
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 1.11.0
56
+ version:
57
+ - !ruby/object:Gem::Dependency
58
+ name: rcov
59
+ type: :runtime
60
+ version_requirement:
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 0.8.1.2.0
66
+ version:
18
67
  description:
19
68
  email: jon@jonsview.com
20
69
  executables: []
@@ -25,6 +74,7 @@ extra_rdoc_files:
25
74
  - LICENSE
26
75
  - README.markdown
27
76
  files:
77
+ - CHANGELOG.markdown
28
78
  - LICENSE
29
79
  - README.markdown
30
80
  - Rakefile