cloudapp_api 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/VERSION +1 -1
- data/cloudapp_api.gemspec +8 -8
- data/lib/cloudapp/account.rb +3 -2
- data/lib/cloudapp/client.rb +1 -1
- data/lib/cloudapp/drop.rb +3 -3
- data/lib/cloudapp/multipart.rb +3 -2
- data/lib/cloudapp_api.rb +2 -0
- data/spec/cloudapp_account_spec.rb +5 -1
- data/spec/cloudapp_drop_spec.rb +4 -0
- data/spec/stubs/account/show +3 -2
- data/spec/stubs/drop/create +2 -1
- data/spec/stubs/drop/delete +2 -1
- data/spec/stubs/drop/index +4 -1
- data/spec/stubs/drop/show +2 -1
- data/spec/stubs/drop/show-private +2 -1
- data/spec/stubs/drop/update +2 -1
- metadata +130 -197
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/cloudapp_api.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.3.
|
7
|
+
s.name = "cloudapp_api"
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron Russell"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2011-10-14"
|
13
|
+
s.description = "A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like interface."
|
14
|
+
s.email = "aaron@gc4.co.uk"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.md"
|
@@ -65,10 +65,10 @@ Gem::Specification.new do |s|
|
|
65
65
|
"spec/stubs/gift_card/redeem",
|
66
66
|
"spec/stubs/gift_card/show"
|
67
67
|
]
|
68
|
-
s.homepage =
|
68
|
+
s.homepage = "http://github.com/aaronrussell/cloudapp_api"
|
69
69
|
s.require_paths = ["lib"]
|
70
|
-
s.rubygems_version =
|
71
|
-
s.summary =
|
70
|
+
s.rubygems_version = "1.8.10"
|
71
|
+
s.summary = "A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like interface."
|
72
72
|
s.test_files = [
|
73
73
|
"spec/cloudapp_account_spec.rb",
|
74
74
|
"spec/cloudapp_api_spec.rb",
|
data/lib/cloudapp/account.rb
CHANGED
@@ -115,7 +115,8 @@ module CloudApp
|
|
115
115
|
end
|
116
116
|
|
117
117
|
attr_reader :id, :email, :domain, :domain_home_page, :private_items,
|
118
|
-
:subscribed, :
|
118
|
+
:subscribed, :subscription_expires_at, :alpha,
|
119
|
+
:created_at, :updated_at, :activated_at
|
119
120
|
|
120
121
|
# Modify the authenticated accounts details. Can change the default security of newly
|
121
122
|
# created drops, the accounts email address, password, and custom domain details.
|
@@ -153,4 +154,4 @@ module CloudApp
|
|
153
154
|
|
154
155
|
end
|
155
156
|
|
156
|
-
end
|
157
|
+
end
|
data/lib/cloudapp/client.rb
CHANGED
data/lib/cloudapp/drop.rb
CHANGED
@@ -104,7 +104,7 @@ module CloudApp
|
|
104
104
|
res = post "/items", {:body => {:items => opts}, :digest_auth => @@auth}
|
105
105
|
when :upload
|
106
106
|
r = get "/items/new", {:query => ({:item => {:private => opts[:private]}} if opts.has_key?(:private)), :digest_auth => @@auth}
|
107
|
-
return bad_response(
|
107
|
+
return bad_response(r) unless r.ok?
|
108
108
|
res = post r['url'], Multipart.new(r['params'].merge!(:file => File.new(opts[:file]))).payload.merge!(:digest_auth => @@auth)
|
109
109
|
else
|
110
110
|
# TODO raise an error
|
@@ -151,7 +151,7 @@ module CloudApp
|
|
151
151
|
end
|
152
152
|
|
153
153
|
attr_reader :href, :name, :private, :url, :content_url, :item_type, :view_counter,
|
154
|
-
:icon, :remote_url, :redirect_url, :created_at, :updated_at, :deleted_at
|
154
|
+
:icon, :remote_url, :redirect_url, :source, :created_at, :updated_at, :deleted_at
|
155
155
|
|
156
156
|
# Modify the drop. Can currently modify it's name or security setting by passing parameters.
|
157
157
|
#
|
@@ -198,4 +198,4 @@ module CloudApp
|
|
198
198
|
# update your code to use the Drop class to ensure future compatibility.
|
199
199
|
class Item < Drop; end
|
200
200
|
|
201
|
-
end
|
201
|
+
end
|
data/lib/cloudapp/multipart.rb
CHANGED
@@ -22,7 +22,8 @@ module CloudApp
|
|
22
22
|
|
23
23
|
def payload #:nodoc:
|
24
24
|
{
|
25
|
-
:headers => {"
|
25
|
+
:headers => {"User-Agent" => "Ruby.CloudApp.API",
|
26
|
+
"Content-Type" => "multipart/form-data; boundary=#{boundary}"},
|
26
27
|
:body => @body
|
27
28
|
}
|
28
29
|
end
|
@@ -47,4 +48,4 @@ module CloudApp
|
|
47
48
|
|
48
49
|
end
|
49
50
|
|
50
|
-
end
|
51
|
+
end
|
data/lib/cloudapp_api.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require "httparty"
|
2
|
+
require "yaml" unless defined?(YAML)
|
3
|
+
YAML::ENGINE.yamler = "syck" if defined?(YAML::ENGINE)
|
2
4
|
|
3
5
|
["base", "drop", "account", "gift_card", "client", "multipart", "httparty", "core_ext", "response_error"].each do |inc|
|
4
6
|
require File.join(File.dirname(__FILE__), "cloudapp", inc)
|
@@ -33,7 +33,11 @@ describe CloudApp::Account do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
it "should return a subscribed boolean" do
|
36
|
-
@account.subscribed.should ==
|
36
|
+
@account.subscribed.should == true
|
37
|
+
end
|
38
|
+
|
39
|
+
it "should return a subscription expiration date" do
|
40
|
+
@account.subscription_expires_at == "2012-05-21"
|
37
41
|
end
|
38
42
|
|
39
43
|
it "should return a alpha boolean" do
|
data/spec/cloudapp_drop_spec.rb
CHANGED
@@ -51,6 +51,10 @@ describe CloudApp::Drop do
|
|
51
51
|
@drop.redirect_url == nil
|
52
52
|
end
|
53
53
|
|
54
|
+
it "should return a source" do
|
55
|
+
@drop.source == "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)"
|
56
|
+
end
|
57
|
+
|
54
58
|
it "should return timestamps" do
|
55
59
|
@drop.created_at.should be_a_kind_of Time
|
56
60
|
@drop.updated_at.should be_a_kind_of Time
|
data/spec/stubs/account/show
CHANGED
@@ -8,9 +8,10 @@ Content-Type: application/json; charset=utf-8
|
|
8
8
|
"domain": null,
|
9
9
|
"domain_home_page": null,
|
10
10
|
"private_items": true,
|
11
|
-
"subscribed":
|
11
|
+
"subscribed": true,
|
12
|
+
"subscription_expires_at": "2012-05-21",
|
12
13
|
"alpha": false,
|
13
14
|
"created_at": "2010-12-10T17:07:01Z",
|
14
15
|
"updated_at": "2010-12-10T17:12:51Z",
|
15
16
|
"activated_at": "2010-12-10T17:12:51Z"
|
16
|
-
}
|
17
|
+
}
|
data/spec/stubs/drop/create
CHANGED
@@ -13,7 +13,8 @@ Content-Type: application/json; charset=utf-8
|
|
13
13
|
"icon": "http://my.cl.ly/images/item_types/bookmark.png",
|
14
14
|
"remote_url": null,
|
15
15
|
"redirect_url": "http://getcloudapp.com",
|
16
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
16
17
|
"created_at": "2010-10-23T19:50:24Z",
|
17
18
|
"updated_at": "2010-10-23T19:50:39Z",
|
18
19
|
"deleted_at": null
|
19
|
-
}
|
20
|
+
}
|
data/spec/stubs/drop/delete
CHANGED
@@ -13,7 +13,8 @@ Content-Type: application/json; charset=utf-8
|
|
13
13
|
"icon": "http://my.cl.ly/images/item_types/bookmark.png",
|
14
14
|
"remote_url": null,
|
15
15
|
"redirect_url": "http://getcloudapp.com",
|
16
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
16
17
|
"created_at": "2010-10-23T21:15:21Z",
|
17
18
|
"updated_at": "2010-10-23T21:17:04Z",
|
18
19
|
"deleted_at": "2010-10-25T14:37:43Z"
|
19
|
-
}
|
20
|
+
}
|
data/spec/stubs/drop/index
CHANGED
@@ -13,6 +13,7 @@ Content-Type: application/json; charset=utf-8
|
|
13
13
|
"icon": "http://my.cl.ly/images/item_types/bookmark.png",
|
14
14
|
"remote_url": null,
|
15
15
|
"redirect_url": "http://my.cl.ly",
|
16
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
16
17
|
"created_at": "2010-10-23T20:10:37Z",
|
17
18
|
"updated_at": "2010-10-23T20:10:41Z",
|
18
19
|
"deleted_at": null
|
@@ -27,6 +28,7 @@ Content-Type: application/json; charset=utf-8
|
|
27
28
|
"icon": "http://my.cl.ly/images/item_types/bookmark.png",
|
28
29
|
"remote_url": null,
|
29
30
|
"redirect_url": "http://getcloudapp.com",
|
31
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
30
32
|
"created_at": "2010-10-23T19:50:24Z",
|
31
33
|
"updated_at": "2010-10-23T19:50:39Z",
|
32
34
|
"deleted_at": null
|
@@ -41,7 +43,8 @@ Content-Type: application/json; charset=utf-8
|
|
41
43
|
"icon": "http://my.cl.ly/images/item_types/image.png",
|
42
44
|
"remote_url": "http://f.cl.ly/items/7c7aea1395c3db0aee18/CloudApp%20Logo.png",
|
43
45
|
"redirect_url": null,
|
46
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
44
47
|
"created_at": "2010-10-23T19:50:13Z",
|
45
48
|
"updated_at": "2010-10-23T19:50:38Z",
|
46
49
|
"deleted_at": null
|
47
|
-
}]
|
50
|
+
}]
|
data/spec/stubs/drop/show
CHANGED
@@ -13,7 +13,8 @@ Content-Type: application/json; charset=utf-8
|
|
13
13
|
"icon": "http://my.cl.ly/images/item_types/image.png",
|
14
14
|
"remote_url": "http://f.cl.ly/items/7c7aea1395c3db0aee18/CloudApp%20Logo.png",
|
15
15
|
"redirect_url": null,
|
16
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
16
17
|
"created_at": "2010-10-23T19:50:13Z",
|
17
18
|
"updated_at": "2010-10-23T19:50:38Z",
|
18
19
|
"deleted_at": null
|
19
|
-
}
|
20
|
+
}
|
@@ -13,7 +13,8 @@ Content-Type: application/json; charset=utf-8
|
|
13
13
|
"icon": "http://my.cl.ly/images/item_types/image.png",
|
14
14
|
"remote_url": "http://f.cl.ly/items/7c7aea1395c3db0aee18/CloudApp%20Logo.png",
|
15
15
|
"redirect_url": null,
|
16
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
16
17
|
"created_at": "2010-10-23T19:50:13Z",
|
17
18
|
"updated_at": "2010-10-23T19:50:38Z",
|
18
19
|
"deleted_at": null
|
19
|
-
}
|
20
|
+
}
|
data/spec/stubs/drop/update
CHANGED
@@ -13,7 +13,8 @@ Content-Type: application/json; charset=utf-8
|
|
13
13
|
"icon": "http://my.cl.ly/images/item_types/bookmark.png",
|
14
14
|
"remote_url": null,
|
15
15
|
"redirect_url": "http://getcloudapp.com",
|
16
|
+
"source": "Cloud/1.5.1 CFNetwork/520.0.13 Darwin/11.0.0 (x86_64) (MacBookPro5%2C5)",
|
16
17
|
"created_at": "2010-10-23T21:15:21Z",
|
17
18
|
"updated_at": "2010-10-23T21:17:04Z",
|
18
19
|
"deleted_at": null
|
19
|
-
}
|
20
|
+
}
|
metadata
CHANGED
@@ -1,230 +1,168 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudapp_api
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 1
|
10
|
-
version: 0.3.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Aaron Russell
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2011-10-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: httparty
|
16
|
+
requirement: &70159207985200 !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 7
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 6
|
30
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 0.6.0
|
32
|
-
name: httparty
|
33
|
-
prerelease: false
|
34
22
|
type: :runtime
|
35
|
-
requirement: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 3
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
version: "0"
|
46
|
-
name: mime-types
|
47
23
|
prerelease: false
|
24
|
+
version_requirements: *70159207985200
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: mime-types
|
27
|
+
requirement: &70159207984440 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
48
33
|
type: :runtime
|
49
|
-
|
50
|
-
|
51
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70159207984440
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rspec
|
38
|
+
requirement: &70159207983240 !ruby/object:Gem::Requirement
|
52
39
|
none: false
|
53
|
-
requirements:
|
40
|
+
requirements:
|
54
41
|
- - ~>
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
hash: 11
|
57
|
-
segments:
|
58
|
-
- 2
|
59
|
-
- 1
|
60
|
-
- 0
|
42
|
+
- !ruby/object:Gem::Version
|
61
43
|
version: 2.1.0
|
62
|
-
name: rspec
|
63
|
-
prerelease: false
|
64
44
|
type: :development
|
65
|
-
requirement: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 3
|
73
|
-
segments:
|
74
|
-
- 0
|
75
|
-
version: "0"
|
76
|
-
name: fakeweb
|
77
45
|
prerelease: false
|
46
|
+
version_requirements: *70159207983240
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: fakeweb
|
49
|
+
requirement: &70159207982080 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
78
55
|
type: :development
|
79
|
-
|
80
|
-
|
81
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70159207982080
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: yard
|
60
|
+
requirement: &70159207981100 !ruby/object:Gem::Requirement
|
82
61
|
none: false
|
83
|
-
requirements:
|
62
|
+
requirements:
|
84
63
|
- - ~>
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
hash: 7
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
- 6
|
90
|
-
- 0
|
64
|
+
- !ruby/object:Gem::Version
|
91
65
|
version: 0.6.0
|
92
|
-
name: yard
|
93
|
-
prerelease: false
|
94
66
|
type: :development
|
95
|
-
requirement: *id005
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
hash: 3
|
103
|
-
segments:
|
104
|
-
- 0
|
105
|
-
version: "0"
|
106
|
-
name: bluecloth
|
107
67
|
prerelease: false
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
68
|
+
version_requirements: *70159207981100
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bluecloth
|
71
|
+
requirement: &70159207980260 !ruby/object:Gem::Requirement
|
112
72
|
none: false
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
|
118
|
-
- 0
|
119
|
-
version: "0"
|
120
|
-
name: cucumber
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
121
78
|
prerelease: false
|
79
|
+
version_requirements: *70159207980260
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: cucumber
|
82
|
+
requirement: &70159207979320 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
122
88
|
type: :development
|
123
|
-
|
124
|
-
|
125
|
-
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70159207979320
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: bundler
|
93
|
+
requirement: &70159207963980 !ruby/object:Gem::Requirement
|
126
94
|
none: false
|
127
|
-
requirements:
|
95
|
+
requirements:
|
128
96
|
- - ~>
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
hash: 23
|
131
|
-
segments:
|
132
|
-
- 1
|
133
|
-
- 0
|
134
|
-
- 0
|
97
|
+
- !ruby/object:Gem::Version
|
135
98
|
version: 1.0.0
|
136
|
-
name: bundler
|
137
|
-
prerelease: false
|
138
99
|
type: :development
|
139
|
-
|
140
|
-
|
141
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70159207963980
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: jeweler
|
104
|
+
requirement: &70159207962920 !ruby/object:Gem::Requirement
|
142
105
|
none: false
|
143
|
-
requirements:
|
106
|
+
requirements:
|
144
107
|
- - ~>
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
hash: 1
|
147
|
-
segments:
|
148
|
-
- 1
|
149
|
-
- 5
|
150
|
-
- 1
|
108
|
+
- !ruby/object:Gem::Version
|
151
109
|
version: 1.5.1
|
152
|
-
name: jeweler
|
153
|
-
prerelease: false
|
154
110
|
type: :development
|
155
|
-
requirement: *id009
|
156
|
-
- !ruby/object:Gem::Dependency
|
157
|
-
version_requirements: &id010 !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
|
-
requirements:
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
hash: 3
|
163
|
-
segments:
|
164
|
-
- 0
|
165
|
-
version: "0"
|
166
|
-
name: rcov
|
167
111
|
prerelease: false
|
112
|
+
version_requirements: *70159207962920
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rcov
|
115
|
+
requirement: &70159207962180 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
168
121
|
type: :development
|
169
|
-
|
170
|
-
|
171
|
-
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70159207962180
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: httparty
|
126
|
+
requirement: &70159207955720 !ruby/object:Gem::Requirement
|
172
127
|
none: false
|
173
|
-
requirements:
|
174
|
-
- -
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
hash: 7
|
177
|
-
segments:
|
178
|
-
- 0
|
179
|
-
- 6
|
180
|
-
- 0
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
181
131
|
version: 0.6.0
|
182
|
-
name: httparty
|
183
|
-
prerelease: false
|
184
132
|
type: :runtime
|
185
|
-
|
186
|
-
|
187
|
-
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *70159207955720
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: rspec
|
137
|
+
requirement: &70159207954400 !ruby/object:Gem::Requirement
|
188
138
|
none: false
|
189
|
-
requirements:
|
139
|
+
requirements:
|
190
140
|
- - ~>
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
hash: 11
|
193
|
-
segments:
|
194
|
-
- 2
|
195
|
-
- 1
|
196
|
-
- 0
|
141
|
+
- !ruby/object:Gem::Version
|
197
142
|
version: 2.1.0
|
198
|
-
name: rspec
|
199
|
-
prerelease: false
|
200
143
|
type: :development
|
201
|
-
|
202
|
-
|
203
|
-
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *70159207954400
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: yard
|
148
|
+
requirement: &70159207953080 !ruby/object:Gem::Requirement
|
204
149
|
none: false
|
205
|
-
requirements:
|
150
|
+
requirements:
|
206
151
|
- - ~>
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
hash: 7
|
209
|
-
segments:
|
210
|
-
- 0
|
211
|
-
- 6
|
212
|
-
- 0
|
152
|
+
- !ruby/object:Gem::Version
|
213
153
|
version: 0.6.0
|
214
|
-
name: yard
|
215
|
-
prerelease: false
|
216
154
|
type: :development
|
217
|
-
|
218
|
-
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *70159207953080
|
157
|
+
description: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple
|
158
|
+
ActiveResource-like interface.
|
219
159
|
email: aaron@gc4.co.uk
|
220
160
|
executables: []
|
221
|
-
|
222
161
|
extensions: []
|
223
|
-
|
224
|
-
extra_rdoc_files:
|
162
|
+
extra_rdoc_files:
|
225
163
|
- LICENSE
|
226
164
|
- README.md
|
227
|
-
files:
|
165
|
+
files:
|
228
166
|
- .document
|
229
167
|
- Gemfile
|
230
168
|
- Gemfile.lock
|
@@ -274,38 +212,33 @@ files:
|
|
274
212
|
- spec/stubs/gift_card/show
|
275
213
|
homepage: http://github.com/aaronrussell/cloudapp_api
|
276
214
|
licenses: []
|
277
|
-
|
278
215
|
post_install_message:
|
279
216
|
rdoc_options: []
|
280
|
-
|
281
|
-
require_paths:
|
217
|
+
require_paths:
|
282
218
|
- lib
|
283
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
219
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
284
220
|
none: false
|
285
|
-
requirements:
|
286
|
-
- -
|
287
|
-
- !ruby/object:Gem::Version
|
288
|
-
|
289
|
-
segments:
|
221
|
+
requirements:
|
222
|
+
- - ! '>='
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '0'
|
225
|
+
segments:
|
290
226
|
- 0
|
291
|
-
|
292
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
hash: 1025824897898580958
|
228
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
293
229
|
none: false
|
294
|
-
requirements:
|
295
|
-
- -
|
296
|
-
- !ruby/object:Gem::Version
|
297
|
-
|
298
|
-
segments:
|
299
|
-
- 0
|
300
|
-
version: "0"
|
230
|
+
requirements:
|
231
|
+
- - ! '>='
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: '0'
|
301
234
|
requirements: []
|
302
|
-
|
303
235
|
rubyforge_project:
|
304
|
-
rubygems_version: 1.
|
236
|
+
rubygems_version: 1.8.10
|
305
237
|
signing_key:
|
306
238
|
specification_version: 3
|
307
|
-
summary: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like
|
308
|
-
|
239
|
+
summary: A simple Ruby wrapper for the CloudApp API. Uses HTTParty with a simple ActiveResource-like
|
240
|
+
interface.
|
241
|
+
test_files:
|
309
242
|
- spec/cloudapp_account_spec.rb
|
310
243
|
- spec/cloudapp_api_spec.rb
|
311
244
|
- spec/cloudapp_client_spec.rb
|