cloudapp_api 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,67 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe CloudApp::GiftCard do
4
+
5
+ before(:each) do
6
+ fake_it_all
7
+ @gift = CloudApp::GiftCard.find "ABC123"
8
+ end
9
+
10
+ it "should be a GiftCard object" do
11
+ @gift.should be_a_kind_of CloudApp::GiftCard
12
+ end
13
+
14
+ it "should return an id" do
15
+ @gift.id.should == 1
16
+ end
17
+
18
+ it "should return a code" do
19
+ @gift.code.should == "ABC123"
20
+ end
21
+
22
+ it "should return a plan" do
23
+ @gift.plan.should == "pro"
24
+ end
25
+
26
+ it "should return a months attribute" do
27
+ @gift.months.should == 12
28
+ end
29
+
30
+ it "should return the gift card url" do
31
+ @gift.href.should == "https://my.cl.ly/gift_cards/ABC123"
32
+ end
33
+
34
+ it "should return timestamps" do
35
+ @gift.created_at.should be_a_kind_of Time
36
+ @gift.updated_at.should be_a_kind_of Time
37
+ @gift.redeemed_at.should == nil
38
+ @gift.effective_at.should == nil
39
+ @gift.expires_at.should == nil
40
+ end
41
+
42
+ end
43
+
44
+ describe "Redeem gift card" do
45
+
46
+ before(:each) do
47
+ fake_it_all
48
+ @gift = CloudApp::GiftCard.redeem "ABC123"
49
+ end
50
+
51
+ it "should be a GiftCard object" do
52
+ @gift.should be_a_kind_of CloudApp::GiftCard
53
+ end
54
+
55
+ it "should have a redeemed at time" do
56
+ @gift.redeemed_at.should be_a_kind_of Time
57
+ end
58
+
59
+ it "should have an effective at date" do
60
+ @gift.effective_at.should be_a_kind_of Date
61
+ end
62
+
63
+ it "should have an expires at date" do
64
+ @gift.expires_at.should be_a_kind_of Date
65
+ end
66
+
67
+ end
@@ -1,3 +1,6 @@
1
+ # For legacy purpose still test director on the Item object
2
+ # Item is deprecated and should not be used. Instead use the Drop object.
3
+
1
4
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
5
 
3
6
  describe CloudApp::Item do
@@ -8,7 +11,7 @@ describe CloudApp::Item do
8
11
  end
9
12
 
10
13
  it "should be a Item object" do
11
- @item.should be_a_kind_of CloudApp::Item
14
+ @item.should be_a_kind_of CloudApp::Drop
12
15
  end
13
16
 
14
17
  it "should return a name" do
@@ -71,7 +74,7 @@ describe "Bookmark link" do
71
74
  end
72
75
 
73
76
  it "should be a Item object" do
74
- @item.should be_a_kind_of CloudApp::Item
77
+ @item.should be_a_kind_of CloudApp::Drop
75
78
  end
76
79
 
77
80
  it "should return the same name" do
@@ -85,6 +88,34 @@ describe "Bookmark link" do
85
88
  end
86
89
 
87
90
 
91
+ describe "Bookmark multiple links" do
92
+
93
+ before(:each) do
94
+ fake_it_all
95
+ # overwrite the normal fake uri for this spec
96
+ FakeWeb.register_uri :post, 'http://my.cl.ly/items', :response => stub_file(File.join('drop', 'index'))
97
+ CloudApp.authenticate "testuser@test.com", "password"
98
+ @bookmarks = [
99
+ { :name => "Authur Dent", :redirect_url => "http://en.wikipedia.org/wiki/Arthur_Dent" },
100
+ { :name => "Ford Prefect", :redirect_url => "http://en.wikipedia.org/wiki/Ford_Prefect_(character)"},
101
+ { :name => "Zaphod Beeblebrox", :redirect_url => "http://en.wikipedia.org/wiki/Zaphod_Beeblebrox" }
102
+ ]
103
+ @items = CloudApp::Item.create :bookmarks, @bookmarks
104
+ end
105
+
106
+ it "should be an Array" do
107
+ @items.should be_a_kind_of Array
108
+ end
109
+
110
+ it "should contain Item objects" do
111
+ @items.each do |item|
112
+ item.should be_a_kind_of CloudApp::Drop
113
+ end
114
+ end
115
+
116
+ end
117
+
118
+
88
119
  describe "Change security of an item" do
89
120
 
90
121
  before(:each) do
@@ -94,7 +125,7 @@ describe "Change security of an item" do
94
125
  end
95
126
 
96
127
  it "should be an Item object" do
97
- @item.should be_a_kind_of CloudApp::Item
128
+ @item.should be_a_kind_of CloudApp::Drop
98
129
  end
99
130
 
100
131
  it "should not be private" do
@@ -114,7 +145,7 @@ describe "Delete an item" do
114
145
  end
115
146
 
116
147
  it "should be an Item object" do
117
- @item.should be_a_kind_of CloudApp::Item
148
+ @item.should be_a_kind_of CloudApp::Drop
118
149
  end
119
150
 
120
151
  it "should have a deleted_at timestamp" do
@@ -142,7 +173,7 @@ describe "List items" do
142
173
 
143
174
  it "should contain Item objects" do
144
175
  @items.each do |item|
145
- item.should be_a_kind_of CloudApp::Item
176
+ item.should be_a_kind_of CloudApp::Drop
146
177
  end
147
178
  end
148
179
 
@@ -150,6 +181,21 @@ end
150
181
 
151
182
 
152
183
  describe "Recover deleted item" do
184
+
185
+ before(:each) do
186
+ fake_it_all
187
+ CloudApp.authenticate "testuser@test.com", "password"
188
+ @item = CloudApp::Item.recover "http://my.cl.ly/items/1912565"
189
+ end
190
+
191
+ it "should be an Item object" do
192
+ @item.should be_a_kind_of CloudApp::Drop
193
+ end
194
+
195
+ it "should not have a deleted_at timestamp" do
196
+ @item.deleted_at.should == nil
197
+ end
198
+
153
199
  end
154
200
 
155
201
 
@@ -163,7 +209,7 @@ describe "Rename item" do
163
209
  end
164
210
 
165
211
  it "should be an Item object" do
166
- @item.should be_a_kind_of CloudApp::Item
212
+ @item.should be_a_kind_of CloudApp::Drop
167
213
  end
168
214
 
169
215
  it "should be have the same name" do
@@ -182,7 +228,7 @@ describe "Upload file" do
182
228
  end
183
229
 
184
230
  it "should be an Item object" do
185
- @item.should be_a_kind_of CloudApp::Item
231
+ @item.should be_a_kind_of CloudApp::Drop
186
232
  end
187
233
 
188
234
  it "should return a item type" do
@@ -192,4 +238,24 @@ describe "Upload file" do
192
238
  end
193
239
 
194
240
 
241
+ describe "Upload file with specific privacy" do
242
+
243
+ before(:each) do
244
+ fake_it_all
245
+ # override the upload fakeweb uri
246
+ FakeWeb.register_uri :post, 'http://f.cl.ly', :status => ["303"], :location => "http://my.cl.ly/items/s3?item[private]=true"
247
+ CloudApp.authenticate "testuser@test.com", "password"
248
+ @item = CloudApp::Item.create :upload, {:file => "README.md", :private => true}
249
+ end
250
+
251
+ it "should be an Item object" do
252
+ @item.should be_a_kind_of CloudApp::Drop
253
+ end
254
+
255
+ it "should return as private" do
256
+ @item.private.should == true
257
+ end
258
+
259
+ end
260
+
195
261
 
@@ -14,25 +14,30 @@ def fake_it_all
14
14
  {
15
15
  # GET URLs
16
16
  :get => {
17
- %r{http://cl.ly/} => File.join('item', 'show'),
18
- 'http://my.cl.ly/items' => File.join('item', 'index'),
19
- 'http://my.cl.ly/items/new' => File.join('item', 'new'),
20
- 'http://my.cl.ly/items/s3' => File.join('item', 'show'),
21
- 'http://my.cl.ly/account' => File.join('account', 'show')
17
+ %r{http://cl.ly/\w+} => File.join('drop', 'show'),
18
+ 'http://my.cl.ly/items' => File.join('drop', 'index'),
19
+ 'http://my.cl.ly/items/new' => File.join('drop', 'new-private'),
20
+ 'http://my.cl.ly/items/new?item[private]=true' => File.join('drop', 'new'),
21
+ 'http://my.cl.ly/items/s3' => File.join('drop', 'show'),
22
+ 'http://my.cl.ly/items/s3?item[private]=true' => File.join('drop', 'show-private'),
23
+ 'http://my.cl.ly/account' => File.join('account', 'show'),
24
+ 'http://my.cl.ly/account/stats' => File.join('account', 'stats'),
25
+ %r{http://my.cl.ly/gift_cards/\w+} => File.join('gift_card', 'show')
22
26
  },
23
27
  # POST URLs
24
28
  :post => {
25
- %r{http://my.cl.ly/items} => File.join('item', 'create'),
26
- 'http://my.cl.ly/register' => File.join('account', 'create')
29
+ 'http://my.cl.ly/items' => File.join('drop', 'create'),
30
+ 'http://my.cl.ly/register' => File.join('account', 'create')
27
31
  },
28
32
  # PUT URLs
29
33
  :put => {
30
- %r{http://my.cl.ly/items} => File.join('item', 'update'),
31
- 'http://my.cl.ly/account' => File.join('account', 'update')
34
+ %r{http://my.cl.ly/items/\d+} => File.join('drop', 'update'),
35
+ 'http://my.cl.ly/account' => File.join('account', 'update'),
36
+ %r{http://my.cl.ly/gift_cards/\w+} => File.join('gift_card', 'redeem')
32
37
  },
33
38
  # DELETE URLs
34
39
  :delete => {
35
- %r{http://my.cl.ly/items} => File.join('item', 'delete')
40
+ %r{http://my.cl.ly/items/\d+} => File.join('drop', 'delete')
36
41
  }
37
42
  }.
38
43
  each do |method, requests|
@@ -0,0 +1,8 @@
1
+ HTTP/1.1 200 OK
2
+ Status: 200
3
+ Content-Type: application/json; charset=utf-8
4
+
5
+ {
6
+ "items": 42,
7
+ "views": 31337
8
+ }
File without changes
File without changes
File without changes
@@ -3,7 +3,9 @@ Status: 200
3
3
  Content-Type: application/json; charset=utf-8
4
4
 
5
5
  {
6
- "url": "http://f.cl.ly",
6
+ "uploads_remaining": 10,
7
+ "max_upload_size": 26214400,
8
+ "url": "http://f.cl.ly",
7
9
  "params": {
8
10
  "AWSAccessKeyId": "AKIAIDPUZISHSBEOFS6Q",
9
11
  "key": "items/qL/${filename}",
@@ -0,0 +1,17 @@
1
+ HTTP/1.1 200 OK
2
+ Status: 200
3
+ Content-Type: application/json; charset=utf-8
4
+
5
+ {
6
+ "uploads_remaining": 10,
7
+ "max_upload_size": 26214400,
8
+ "url": "http://f.cl.ly",
9
+ "params": {
10
+ "AWSAccessKeyId": "AKIAIDPUZISHSBEOFS6Q",
11
+ "key": "items/qL/${filename}",
12
+ "acl": "public-read",
13
+ "success_action_redirect": "http://my.cl.ly/items/s3?item[private]=true",
14
+ "signature": "2vRWmaSy46WGs0MDUdLHAqjSL8k=",
15
+ "policy": "eyJleHBpcmF0aW9uIjoiMjAxMC0wNC0wMVQwMDowMDowMFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJsaW5lYnJlYWstdGVzdCJ9LHsiYWNsIjoicHVibGljLXJlYWQifSx7InN1Y2Nlc3NfYWN0aW9uX3JlZGlyZWN0IjoiaHR0cDovL215LmNsb3VkYXBwLmxvY2FsL3VwbG9hZHMvczMifSxbInN0YXJ0cy13aXRoIiwiJGtleSIsInVwbG9hZHMvcUwvIl1dfQ=="
16
+ }
17
+ }
File without changes
@@ -0,0 +1,19 @@
1
+ HTTP/1.1 200 OK
2
+ Status: 200
3
+ Content-Type: application/json; charset=utf-8
4
+
5
+ {
6
+ "href": "http://my.cl.ly/items/1912559",
7
+ "name": "CloudApp Logo.png",
8
+ "private": true,
9
+ "url": "http://cl.ly/2wr4",
10
+ "content_url": "http://cl.ly/2wr4/CloudApp_Logo.png",
11
+ "item_type": "image",
12
+ "view_counter": 42,
13
+ "icon": "http://my.cl.ly/images/item_types/image.png",
14
+ "remote_url": "http://f.cl.ly/items/7c7aea1395c3db0aee18/CloudApp%20Logo.png",
15
+ "redirect_url": null,
16
+ "created_at": "2010-10-23T19:50:13Z",
17
+ "updated_at": "2010-10-23T19:50:38Z",
18
+ "deleted_at": null
19
+ }
File without changes
@@ -0,0 +1,16 @@
1
+ HTTP/1.1 200 OK
2
+ Status: 200
3
+ Content-Type: application/json; charset=utf-8
4
+
5
+ {
6
+ "id": 1,
7
+ "code": "ABC123",
8
+ "plan": "pro",
9
+ "months": 12,
10
+ "href": "https://my.cl.ly/gift_cards/ABC123",
11
+ "created_at": "2011-01-08T20:11:26Z",
12
+ "updated_at": "2011-01-08T21:26:26Z",
13
+ "redeemed_at": "2011-01-08T21:26:26Z",
14
+ "effective_at": "2011-01-10",
15
+ "expires_at": "2012-01-10"
16
+ }
@@ -0,0 +1,16 @@
1
+ HTTP/1.1 200 OK
2
+ Status: 200
3
+ Content-Type: application/json; charset=utf-8
4
+
5
+ {
6
+ "id": 1,
7
+ "code": "ABC123",
8
+ "plan": "pro",
9
+ "months": 12,
10
+ "href": "https://my.cl.ly/gift_cards/ABC123",
11
+ "created_at": "2011-01-08T20:11:26Z",
12
+ "updated_at": "2011-01-08T20:11:26Z",
13
+ "redeemed_at": null,
14
+ "effective_at": null,
15
+ "expires_at": null
16
+ }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudapp_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aaron Russell
@@ -15,11 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-30 00:00:00 +00:00
19
- default_executable:
18
+ date: 2011-05-01 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
22
  none: false
24
23
  requirements:
25
24
  - - ">="
@@ -30,12 +29,12 @@ dependencies:
30
29
  - 6
31
30
  - 0
32
31
  version: 0.6.0
33
- type: :runtime
34
32
  name: httparty
35
33
  prerelease: false
36
- version_requirements: *id001
34
+ type: :runtime
35
+ requirement: *id001
37
36
  - !ruby/object:Gem::Dependency
38
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
38
  none: false
40
39
  requirements:
41
40
  - - ">="
@@ -44,12 +43,12 @@ dependencies:
44
43
  segments:
45
44
  - 0
46
45
  version: "0"
47
- type: :runtime
48
46
  name: mime-types
49
47
  prerelease: false
50
- version_requirements: *id002
48
+ type: :runtime
49
+ requirement: *id002
51
50
  - !ruby/object:Gem::Dependency
52
- requirement: &id003 !ruby/object:Gem::Requirement
51
+ version_requirements: &id003 !ruby/object:Gem::Requirement
53
52
  none: false
54
53
  requirements:
55
54
  - - ~>
@@ -60,12 +59,12 @@ dependencies:
60
59
  - 1
61
60
  - 0
62
61
  version: 2.1.0
63
- type: :development
64
62
  name: rspec
65
63
  prerelease: false
66
- version_requirements: *id003
64
+ type: :development
65
+ requirement: *id003
67
66
  - !ruby/object:Gem::Dependency
68
- requirement: &id004 !ruby/object:Gem::Requirement
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
69
68
  none: false
70
69
  requirements:
71
70
  - - ">="
@@ -74,12 +73,12 @@ dependencies:
74
73
  segments:
75
74
  - 0
76
75
  version: "0"
77
- type: :development
78
76
  name: fakeweb
79
77
  prerelease: false
80
- version_requirements: *id004
78
+ type: :development
79
+ requirement: *id004
81
80
  - !ruby/object:Gem::Dependency
82
- requirement: &id005 !ruby/object:Gem::Requirement
81
+ version_requirements: &id005 !ruby/object:Gem::Requirement
83
82
  none: false
84
83
  requirements:
85
84
  - - ~>
@@ -90,12 +89,12 @@ dependencies:
90
89
  - 6
91
90
  - 0
92
91
  version: 0.6.0
93
- type: :development
94
92
  name: yard
95
93
  prerelease: false
96
- version_requirements: *id005
94
+ type: :development
95
+ requirement: *id005
97
96
  - !ruby/object:Gem::Dependency
98
- requirement: &id006 !ruby/object:Gem::Requirement
97
+ version_requirements: &id006 !ruby/object:Gem::Requirement
99
98
  none: false
100
99
  requirements:
101
100
  - - ">="
@@ -104,12 +103,12 @@ dependencies:
104
103
  segments:
105
104
  - 0
106
105
  version: "0"
107
- type: :development
108
106
  name: bluecloth
109
107
  prerelease: false
110
- version_requirements: *id006
108
+ type: :development
109
+ requirement: *id006
111
110
  - !ruby/object:Gem::Dependency
112
- requirement: &id007 !ruby/object:Gem::Requirement
111
+ version_requirements: &id007 !ruby/object:Gem::Requirement
113
112
  none: false
114
113
  requirements:
115
114
  - - ">="
@@ -118,12 +117,12 @@ dependencies:
118
117
  segments:
119
118
  - 0
120
119
  version: "0"
121
- type: :development
122
120
  name: cucumber
123
121
  prerelease: false
124
- version_requirements: *id007
122
+ type: :development
123
+ requirement: *id007
125
124
  - !ruby/object:Gem::Dependency
126
- requirement: &id008 !ruby/object:Gem::Requirement
125
+ version_requirements: &id008 !ruby/object:Gem::Requirement
127
126
  none: false
128
127
  requirements:
129
128
  - - ~>
@@ -134,12 +133,12 @@ dependencies:
134
133
  - 0
135
134
  - 0
136
135
  version: 1.0.0
137
- type: :development
138
136
  name: bundler
139
137
  prerelease: false
140
- version_requirements: *id008
138
+ type: :development
139
+ requirement: *id008
141
140
  - !ruby/object:Gem::Dependency
142
- requirement: &id009 !ruby/object:Gem::Requirement
141
+ version_requirements: &id009 !ruby/object:Gem::Requirement
143
142
  none: false
144
143
  requirements:
145
144
  - - ~>
@@ -150,12 +149,12 @@ dependencies:
150
149
  - 5
151
150
  - 1
152
151
  version: 1.5.1
153
- type: :development
154
152
  name: jeweler
155
153
  prerelease: false
156
- version_requirements: *id009
154
+ type: :development
155
+ requirement: *id009
157
156
  - !ruby/object:Gem::Dependency
158
- requirement: &id010 !ruby/object:Gem::Requirement
157
+ version_requirements: &id010 !ruby/object:Gem::Requirement
159
158
  none: false
160
159
  requirements:
161
160
  - - ">="
@@ -164,12 +163,12 @@ dependencies:
164
163
  segments:
165
164
  - 0
166
165
  version: "0"
167
- type: :development
168
166
  name: rcov
169
167
  prerelease: false
170
- version_requirements: *id010
168
+ type: :development
169
+ requirement: *id010
171
170
  - !ruby/object:Gem::Dependency
172
- requirement: &id011 !ruby/object:Gem::Requirement
171
+ version_requirements: &id011 !ruby/object:Gem::Requirement
173
172
  none: false
174
173
  requirements:
175
174
  - - ">="
@@ -180,12 +179,12 @@ dependencies:
180
179
  - 6
181
180
  - 0
182
181
  version: 0.6.0
183
- type: :runtime
184
182
  name: httparty
185
183
  prerelease: false
186
- version_requirements: *id011
184
+ type: :runtime
185
+ requirement: *id011
187
186
  - !ruby/object:Gem::Dependency
188
- requirement: &id012 !ruby/object:Gem::Requirement
187
+ version_requirements: &id012 !ruby/object:Gem::Requirement
189
188
  none: false
190
189
  requirements:
191
190
  - - ~>
@@ -196,12 +195,12 @@ dependencies:
196
195
  - 1
197
196
  - 0
198
197
  version: 2.1.0
199
- type: :development
200
198
  name: rspec
201
199
  prerelease: false
202
- version_requirements: *id012
200
+ type: :development
201
+ requirement: *id012
203
202
  - !ruby/object:Gem::Dependency
204
- requirement: &id013 !ruby/object:Gem::Requirement
203
+ version_requirements: &id013 !ruby/object:Gem::Requirement
205
204
  none: false
206
205
  requirements:
207
206
  - - ~>
@@ -212,10 +211,10 @@ dependencies:
212
211
  - 6
213
212
  - 0
214
213
  version: 0.6.0
215
- type: :development
216
214
  name: yard
217
215
  prerelease: false
218
- version_requirements: *id013
216
+ type: :development
217
+ requirement: *id013
219
218
  description: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like interface.
220
219
  email: aaron@gc4.co.uk
221
220
  executables: []
@@ -237,26 +236,34 @@ files:
237
236
  - lib/cloudapp/account.rb
238
237
  - lib/cloudapp/base.rb
239
238
  - lib/cloudapp/client.rb
239
+ - lib/cloudapp/core_ext.rb
240
+ - lib/cloudapp/drop.rb
241
+ - lib/cloudapp/gift_card.rb
240
242
  - lib/cloudapp/httparty.rb
241
- - lib/cloudapp/item.rb
242
243
  - lib/cloudapp/multipart.rb
243
244
  - lib/cloudapp_api.rb
244
245
  - spec/cloudapp_account_spec.rb
245
246
  - spec/cloudapp_api_spec.rb
246
247
  - spec/cloudapp_client_spec.rb
248
+ - spec/cloudapp_drop_spec.rb
249
+ - spec/cloudapp_gift_card_spec.rb
247
250
  - spec/cloudapp_item_spec.rb
248
251
  - spec/fakeweb_helper.rb
249
252
  - spec/spec_helper.rb
250
253
  - spec/stubs/account/create
251
254
  - spec/stubs/account/show
255
+ - spec/stubs/account/stats
252
256
  - spec/stubs/account/update
253
- - spec/stubs/item/create
254
- - spec/stubs/item/delete
255
- - spec/stubs/item/index
256
- - spec/stubs/item/new
257
- - spec/stubs/item/show
258
- - spec/stubs/item/update
259
- has_rdoc: true
257
+ - spec/stubs/drop/create
258
+ - spec/stubs/drop/delete
259
+ - spec/stubs/drop/index
260
+ - spec/stubs/drop/new
261
+ - spec/stubs/drop/new-private
262
+ - spec/stubs/drop/show
263
+ - spec/stubs/drop/show-private
264
+ - spec/stubs/drop/update
265
+ - spec/stubs/gift_card/redeem
266
+ - spec/stubs/gift_card/show
260
267
  homepage: http://github.com/aaronrussell/cloud_app
261
268
  licenses: []
262
269
 
@@ -286,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
286
293
  requirements: []
287
294
 
288
295
  rubyforge_project:
289
- rubygems_version: 1.3.7
296
+ rubygems_version: 1.7.2
290
297
  signing_key:
291
298
  specification_version: 3
292
299
  summary: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like interface.
@@ -294,6 +301,8 @@ test_files:
294
301
  - spec/cloudapp_account_spec.rb
295
302
  - spec/cloudapp_api_spec.rb
296
303
  - spec/cloudapp_client_spec.rb
304
+ - spec/cloudapp_drop_spec.rb
305
+ - spec/cloudapp_gift_card_spec.rb
297
306
  - spec/cloudapp_item_spec.rb
298
307
  - spec/fakeweb_helper.rb
299
308
  - spec/spec_helper.rb