dropbox-api-petems 0.4.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +5 -0
- data/README.markdown +13 -8
- data/Rakefile +5 -0
- data/dropbox-api.gemspec +9 -8
- data/lib/dropbox-api.rb +1 -0
- data/lib/dropbox-api/objects/dir.rb +5 -0
- data/lib/dropbox-api/objects/file.rb +5 -10
- data/lib/dropbox-api/objects/fileops.rb +5 -0
- data/lib/dropbox-api/tasks.rb +2 -2
- data/lib/dropbox-api/version.rb +1 -1
- data/spec/connection.offline.yml +5 -0
- data/spec/lib/dropbox-api/client_spec.rb +96 -68
- data/spec/lib/dropbox-api/connection_spec.rb +1 -1
- data/spec/lib/dropbox-api/dir_spec.rb +12 -6
- data/spec/lib/dropbox-api/file_spec.rb +7 -11
- data/spec/lib/dropbox-api/oauth_spec.rb +22 -1
- data/spec/lib/dropbox-api/thumbnail_spec.rb +4 -4
- data/spec/spec_helper.rb +13 -4
- data/spec/support/config.rb +5 -1
- data/spec/vcr/cassettes/Dropbox_API_Client/_account/retrieves_the_account_object.yml +54 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/puts_a_5MB_file_in_dropbox.yml +150 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/yields_current_offset_and_upload_id.yml +150 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_copy_from_copy_ref/copies_a_file_from_a_copy_ref.yml +271 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_a_cursor_and_list_of_files.yml +184 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_the_files_that_have_changed_since_the_cursor_was_made.yml +361 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_download/a_file/downloads_a_file.yml +58 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_download/a_non-existant_file/raises_a_404.yml +38 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_directory.yml +63 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_file.yml +55 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_ls/a_directory/returns_an_item_array_of_directory_contents.yml +107 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_ls/a_single_file/returns_a_single_item_array_of_if_we_ls_a_file.yml +107 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_ls/no_value/returns_an_array_of_files_and_dirs.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_tricky_characters.yml +61 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_utf8_characters.yml +61 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/returns_an_array_of_files_and_dirs.yml +61 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_search/no_path_given/finds_the_file_if_in_root.yml +55 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_search/path_with_leading_slash/finds_the_file.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_search/with_path/finds_a_file.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_tricky_characters/is_uploaded.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_utf8/is_uploaded.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_simple_file/is_uploaded.yml +55 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_copy/copies_the_dir_properly.yml +120 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_destroy/destroys_the_dir_properly.yml +120 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_direct_url/gives_the_direct_url.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_move/moves_the_dir_properly.yml +120 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_copy/copies_the_file_properly.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_copy_ref/returns_a_copy_ref_object.yml +104 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_destroy/destroys_the_file_properly.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_direct_url/returns_an_Url_object.yml +109 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_download/should_download_the_file.yml +109 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_move/moves_the_file_properly.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_restore/restores_the_file_to_a_specific_revision.yml +270 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_revisions/retrieves_all_revisions_as_an_Array_of_File_objects.yml +166 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_share_url/returns_an_Url_object.yml +109 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_thumbnail/downloads_a_thumbnail.yml +427 -0
- data/spec/vcr/cassettes/Dropbox_API_OAuth/_consumer/provides_an_oauth_method.yml +105 -0
- metadata +127 -41
- data/.ruby-version +0 -1
@@ -0,0 +1,105 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://www.dropbox.com/1/oauth/request_token
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- OAuth gem v0.4.7
|
16
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
Authorization:
|
19
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Mon, 10 Feb 2014 20:55:32 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/x-www-form-urlencoded
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
X-Server-Response-Time:
|
36
|
+
- '44'
|
37
|
+
X-Dropbox-Request-Id:
|
38
|
+
- ec1922730968e144599165d646cefd2b
|
39
|
+
Pragma:
|
40
|
+
- no-cache
|
41
|
+
Cache-Control:
|
42
|
+
- no-cache
|
43
|
+
X-Dropbox-Http-Protocol:
|
44
|
+
- None
|
45
|
+
X-Frame-Options:
|
46
|
+
- SAMEORIGIN
|
47
|
+
X-Requestid:
|
48
|
+
- 84d07cd45328cec5317b53900d3f4132
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: oauth_token_secret=tZaQTLmC7VjGpFsj&oauth_token=Hf0e7EcoIhhjvq1X
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 10 Feb 2014 20:55:33 GMT
|
54
|
+
- request:
|
55
|
+
method: post
|
56
|
+
uri: https://www.dropbox.com/1/oauth/access_token
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: ''
|
60
|
+
headers:
|
61
|
+
Accept-Encoding:
|
62
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
63
|
+
Accept:
|
64
|
+
- '*/*'
|
65
|
+
User-Agent:
|
66
|
+
- OAuth gem v0.4.7
|
67
|
+
Content-Length:
|
68
|
+
- '0'
|
69
|
+
Authorization:
|
70
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
71
|
+
response:
|
72
|
+
status:
|
73
|
+
code: 200
|
74
|
+
message: OK
|
75
|
+
headers:
|
76
|
+
Server:
|
77
|
+
- nginx
|
78
|
+
Date:
|
79
|
+
- Mon, 10 Feb 2014 20:55:55 GMT
|
80
|
+
Content-Type:
|
81
|
+
- application/x-www-form-urlencoded
|
82
|
+
Transfer-Encoding:
|
83
|
+
- chunked
|
84
|
+
Connection:
|
85
|
+
- keep-alive
|
86
|
+
X-Server-Response-Time:
|
87
|
+
- '1828'
|
88
|
+
X-Dropbox-Request-Id:
|
89
|
+
- 80007f0bb925b970f70ab98ce1f92a85
|
90
|
+
Pragma:
|
91
|
+
- no-cache
|
92
|
+
Cache-Control:
|
93
|
+
- no-cache
|
94
|
+
X-Dropbox-Http-Protocol:
|
95
|
+
- None
|
96
|
+
X-Frame-Options:
|
97
|
+
- SAMEORIGIN
|
98
|
+
X-Requestid:
|
99
|
+
- 0e45a703d481cddc9fa6891083b486ef
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: oauth_token_secret=foo&oauth_token=bar&uid=baz
|
103
|
+
http_version:
|
104
|
+
recorded_at: Mon, 10 Feb 2014 20:55:56 GMT
|
105
|
+
recorded_with: VCR 2.8.0
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropbox-api-petems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Peter Souter
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-09-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: multi_json
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: oauth
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: hashie
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - '='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,15 +48,27 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - '='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 2.0.5
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: backports
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.6.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.6.0
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
70
|
name: rspec
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
73
|
- - '='
|
68
74
|
- !ruby/object:Gem::Version
|
@@ -70,7 +76,6 @@ dependencies:
|
|
70
76
|
type: :development
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
80
|
- - '='
|
76
81
|
- !ruby/object:Gem::Version
|
@@ -78,7 +83,6 @@ dependencies:
|
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
84
|
name: rake
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
87
|
- - '='
|
84
88
|
- !ruby/object:Gem::Version
|
@@ -86,7 +90,6 @@ dependencies:
|
|
86
90
|
type: :development
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
94
|
- - '='
|
92
95
|
- !ruby/object:Gem::Version
|
@@ -94,51 +97,59 @@ dependencies:
|
|
94
97
|
- !ruby/object:Gem::Dependency
|
95
98
|
name: simplecov
|
96
99
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
100
|
requirements:
|
99
|
-
- -
|
101
|
+
- - ~>
|
100
102
|
- !ruby/object:Gem::Version
|
101
|
-
version: 0.
|
103
|
+
version: 0.8.2
|
102
104
|
type: :development
|
103
105
|
prerelease: false
|
104
106
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
107
|
requirements:
|
107
|
-
- -
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.8.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: yajl-ruby
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.2.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
108
123
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
124
|
+
version: 1.2.0
|
110
125
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
126
|
+
name: webmock
|
112
127
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - ~>
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: 1.15.0
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
135
|
requirements:
|
123
|
-
- -
|
136
|
+
- - ~>
|
124
137
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
138
|
+
version: 1.15.0
|
126
139
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
140
|
+
name: vcr
|
128
141
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
142
|
requirements:
|
131
|
-
- -
|
143
|
+
- - ~>
|
132
144
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
145
|
+
version: 2.8.0
|
134
146
|
type: :development
|
135
147
|
prerelease: false
|
136
148
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
149
|
requirements:
|
139
|
-
- -
|
150
|
+
- - ~>
|
140
151
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
152
|
+
version: 2.8.0
|
142
153
|
description: To deliver a more Rubyesque experience when using the DropBox API (forked
|
143
154
|
by petems).
|
144
155
|
email:
|
@@ -149,7 +160,7 @@ extra_rdoc_files: []
|
|
149
160
|
files:
|
150
161
|
- .gitignore
|
151
162
|
- .rspec
|
152
|
-
- .
|
163
|
+
- .travis.yml
|
153
164
|
- Gemfile
|
154
165
|
- LICENSE
|
155
166
|
- README.markdown
|
@@ -172,6 +183,7 @@ files:
|
|
172
183
|
- lib/dropbox-api/util/oauth.rb
|
173
184
|
- lib/dropbox-api/util/util.rb
|
174
185
|
- lib/dropbox-api/version.rb
|
186
|
+
- spec/connection.offline.yml
|
175
187
|
- spec/connection.sample.yml
|
176
188
|
- spec/fixtures/dropbox.jpg
|
177
189
|
- spec/lib/dropbox-api/client_spec.rb
|
@@ -183,32 +195,69 @@ files:
|
|
183
195
|
- spec/spec_helper.rb
|
184
196
|
- spec/support/config.rb
|
185
197
|
- spec/support/jpeg.rb
|
198
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_account/retrieves_the_account_object.yml
|
199
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/puts_a_5MB_file_in_dropbox.yml
|
200
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/yields_current_offset_and_upload_id.yml
|
201
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_copy_from_copy_ref/copies_a_file_from_a_copy_ref.yml
|
202
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_a_cursor_and_list_of_files.yml
|
203
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_the_files_that_have_changed_since_the_cursor_was_made.yml
|
204
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_download/a_file/downloads_a_file.yml
|
205
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_download/a_non-existant_file/raises_a_404.yml
|
206
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_directory.yml
|
207
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_file.yml
|
208
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_ls/a_directory/returns_an_item_array_of_directory_contents.yml
|
209
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_ls/a_single_file/returns_a_single_item_array_of_if_we_ls_a_file.yml
|
210
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_ls/no_value/returns_an_array_of_files_and_dirs.yml
|
211
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_tricky_characters.yml
|
212
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_utf8_characters.yml
|
213
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_mkdir/returns_an_array_of_files_and_dirs.yml
|
214
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_search/no_path_given/finds_the_file_if_in_root.yml
|
215
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_search/path_with_leading_slash/finds_the_file.yml
|
216
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_search/with_path/finds_a_file.yml
|
217
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_tricky_characters/is_uploaded.yml
|
218
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_utf8/is_uploaded.yml
|
219
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_upload/a_simple_file/is_uploaded.yml
|
220
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_copy/copies_the_dir_properly.yml
|
221
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_destroy/destroys_the_dir_properly.yml
|
222
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_direct_url/gives_the_direct_url.yml
|
223
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_move/moves_the_dir_properly.yml
|
224
|
+
- spec/vcr/cassettes/Dropbox_API_File/_copy/copies_the_file_properly.yml
|
225
|
+
- spec/vcr/cassettes/Dropbox_API_File/_copy_ref/returns_a_copy_ref_object.yml
|
226
|
+
- spec/vcr/cassettes/Dropbox_API_File/_destroy/destroys_the_file_properly.yml
|
227
|
+
- spec/vcr/cassettes/Dropbox_API_File/_direct_url/returns_an_Url_object.yml
|
228
|
+
- spec/vcr/cassettes/Dropbox_API_File/_download/should_download_the_file.yml
|
229
|
+
- spec/vcr/cassettes/Dropbox_API_File/_move/moves_the_file_properly.yml
|
230
|
+
- spec/vcr/cassettes/Dropbox_API_File/_restore/restores_the_file_to_a_specific_revision.yml
|
231
|
+
- spec/vcr/cassettes/Dropbox_API_File/_revisions/retrieves_all_revisions_as_an_Array_of_File_objects.yml
|
232
|
+
- spec/vcr/cassettes/Dropbox_API_File/_share_url/returns_an_Url_object.yml
|
233
|
+
- spec/vcr/cassettes/Dropbox_API_File/_thumbnail/downloads_a_thumbnail.yml
|
234
|
+
- spec/vcr/cassettes/Dropbox_API_OAuth/_consumer/provides_an_oauth_method.yml
|
186
235
|
homepage: http://github.com/petems/dropbox-api-petems
|
187
236
|
licenses: []
|
237
|
+
metadata: {}
|
188
238
|
post_install_message:
|
189
239
|
rdoc_options: []
|
190
240
|
require_paths:
|
191
241
|
- lib
|
192
242
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
243
|
requirements:
|
195
|
-
- -
|
244
|
+
- - '>='
|
196
245
|
- !ruby/object:Gem::Version
|
197
246
|
version: '0'
|
198
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
-
none: false
|
200
248
|
requirements:
|
201
|
-
- -
|
249
|
+
- - '>='
|
202
250
|
- !ruby/object:Gem::Version
|
203
251
|
version: '0'
|
204
252
|
requirements: []
|
205
|
-
rubyforge_project:
|
206
|
-
rubygems_version:
|
253
|
+
rubyforge_project:
|
254
|
+
rubygems_version: 2.0.14
|
207
255
|
signing_key:
|
208
|
-
specification_version:
|
256
|
+
specification_version: 4
|
209
257
|
summary: A Ruby client for the DropBox REST API (Originally by marcinbunsch, forked
|
210
258
|
by petems)
|
211
259
|
test_files:
|
260
|
+
- spec/connection.offline.yml
|
212
261
|
- spec/connection.sample.yml
|
213
262
|
- spec/fixtures/dropbox.jpg
|
214
263
|
- spec/lib/dropbox-api/client_spec.rb
|
@@ -220,3 +269,40 @@ test_files:
|
|
220
269
|
- spec/spec_helper.rb
|
221
270
|
- spec/support/config.rb
|
222
271
|
- spec/support/jpeg.rb
|
272
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_account/retrieves_the_account_object.yml
|
273
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/puts_a_5MB_file_in_dropbox.yml
|
274
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/yields_current_offset_and_upload_id.yml
|
275
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_copy_from_copy_ref/copies_a_file_from_a_copy_ref.yml
|
276
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_a_cursor_and_list_of_files.yml
|
277
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_the_files_that_have_changed_since_the_cursor_was_made.yml
|
278
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_download/a_file/downloads_a_file.yml
|
279
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_download/a_non-existant_file/raises_a_404.yml
|
280
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_directory.yml
|
281
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_file.yml
|
282
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_ls/a_directory/returns_an_item_array_of_directory_contents.yml
|
283
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_ls/a_single_file/returns_a_single_item_array_of_if_we_ls_a_file.yml
|
284
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_ls/no_value/returns_an_array_of_files_and_dirs.yml
|
285
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_tricky_characters.yml
|
286
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_utf8_characters.yml
|
287
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_mkdir/returns_an_array_of_files_and_dirs.yml
|
288
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_search/no_path_given/finds_the_file_if_in_root.yml
|
289
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_search/path_with_leading_slash/finds_the_file.yml
|
290
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_search/with_path/finds_a_file.yml
|
291
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_tricky_characters/is_uploaded.yml
|
292
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_utf8/is_uploaded.yml
|
293
|
+
- spec/vcr/cassettes/Dropbox_API_Client/_upload/a_simple_file/is_uploaded.yml
|
294
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_copy/copies_the_dir_properly.yml
|
295
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_destroy/destroys_the_dir_properly.yml
|
296
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_direct_url/gives_the_direct_url.yml
|
297
|
+
- spec/vcr/cassettes/Dropbox_API_Dir/_move/moves_the_dir_properly.yml
|
298
|
+
- spec/vcr/cassettes/Dropbox_API_File/_copy/copies_the_file_properly.yml
|
299
|
+
- spec/vcr/cassettes/Dropbox_API_File/_copy_ref/returns_a_copy_ref_object.yml
|
300
|
+
- spec/vcr/cassettes/Dropbox_API_File/_destroy/destroys_the_file_properly.yml
|
301
|
+
- spec/vcr/cassettes/Dropbox_API_File/_direct_url/returns_an_Url_object.yml
|
302
|
+
- spec/vcr/cassettes/Dropbox_API_File/_download/should_download_the_file.yml
|
303
|
+
- spec/vcr/cassettes/Dropbox_API_File/_move/moves_the_file_properly.yml
|
304
|
+
- spec/vcr/cassettes/Dropbox_API_File/_restore/restores_the_file_to_a_specific_revision.yml
|
305
|
+
- spec/vcr/cassettes/Dropbox_API_File/_revisions/retrieves_all_revisions_as_an_Array_of_File_objects.yml
|
306
|
+
- spec/vcr/cassettes/Dropbox_API_File/_share_url/returns_an_Url_object.yml
|
307
|
+
- spec/vcr/cassettes/Dropbox_API_File/_thumbnail/downloads_a_thumbnail.yml
|
308
|
+
- spec/vcr/cassettes/Dropbox_API_OAuth/_consumer/provides_an_oauth_method.yml
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.9.3
|