dropbox-invite 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +34 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +2 -0
  5. data/LICENSE +675 -0
  6. data/README.md +106 -0
  7. data/Rakefile +11 -0
  8. data/dropbox-invite.gemspec +34 -0
  9. data/lib/dropbox/api/objects/dir.rb +38 -0
  10. data/lib/dropbox/api/util/config.rb +21 -0
  11. data/lib/dropbox/invite.rb +1 -0
  12. data/lib/dropbox/web_client.rb +12 -0
  13. data/lib/dropbox/web_client/actions.rb +49 -0
  14. data/lib/dropbox/web_client/authentication.rb +71 -0
  15. data/lib/dropbox/web_client/cookie_manager.rb +40 -0
  16. data/lib/dropbox/web_client/paths.rb +35 -0
  17. data/lib/dropbox/web_client/response_parser.rb +88 -0
  18. data/lib/dropbox/web_client/session.rb +27 -0
  19. data/lib/dropbox/web_client/version.rb +5 -0
  20. data/spec/actions_spec.rb +62 -0
  21. data/spec/authentication_spec.rb +13 -0
  22. data/spec/dropbox_api_spec.rb +59 -0
  23. data/spec/initialization_spec.rb +22 -0
  24. data/spec/spec_helper.rb +40 -0
  25. data/spec/support/vcr.rb +21 -0
  26. data/spec/vcr/dropbox_api/members_through_api.yml +1003 -0
  27. data/spec/vcr/dropbox_webclient_actions/invite_existing_folder.yml +1140 -0
  28. data/spec/vcr/dropbox_webclient_actions/invite_shared_folder.yml +1499 -0
  29. data/spec/vcr/dropbox_webclient_actions/invite_unexisting_folder.yml +815 -0
  30. data/spec/vcr/dropbox_webclient_actions/share_opts_existing.yml +736 -0
  31. data/spec/vcr/dropbox_webclient_actions/share_opts_shared.yml +849 -0
  32. data/spec/vcr/dropbox_webclient_actions/share_opts_unexisting.yml +735 -0
  33. data/spec/vcr/dropbox_webclient_authentication/login.yml +598 -0
  34. metadata +217 -0
metadata ADDED
@@ -0,0 +1,217 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dropbox-invite
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jesus Burgos Macia
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dropbox-api
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '0.4'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '0.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.6'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '3.1'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '3.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '2.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '2.9'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '1.17'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '1.17'
125
+ - !ruby/object:Gem::Dependency
126
+ name: debugger
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: '1.6'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: '1.6'
139
+ description: It's capable of working as an extension for dropbox-api to allow folder
140
+ invites
141
+ email:
142
+ - jburmac@gmail.com
143
+ executables: []
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - .gitignore
148
+ - .rspec
149
+ - Gemfile
150
+ - LICENSE
151
+ - README.md
152
+ - Rakefile
153
+ - dropbox-invite.gemspec
154
+ - lib/dropbox/api/objects/dir.rb
155
+ - lib/dropbox/api/util/config.rb
156
+ - lib/dropbox/invite.rb
157
+ - lib/dropbox/web_client.rb
158
+ - lib/dropbox/web_client/actions.rb
159
+ - lib/dropbox/web_client/authentication.rb
160
+ - lib/dropbox/web_client/cookie_manager.rb
161
+ - lib/dropbox/web_client/paths.rb
162
+ - lib/dropbox/web_client/response_parser.rb
163
+ - lib/dropbox/web_client/session.rb
164
+ - lib/dropbox/web_client/version.rb
165
+ - spec/actions_spec.rb
166
+ - spec/authentication_spec.rb
167
+ - spec/dropbox_api_spec.rb
168
+ - spec/initialization_spec.rb
169
+ - spec/spec_helper.rb
170
+ - spec/support/vcr.rb
171
+ - spec/vcr/dropbox_api/members_through_api.yml
172
+ - spec/vcr/dropbox_webclient_actions/invite_existing_folder.yml
173
+ - spec/vcr/dropbox_webclient_actions/invite_shared_folder.yml
174
+ - spec/vcr/dropbox_webclient_actions/invite_unexisting_folder.yml
175
+ - spec/vcr/dropbox_webclient_actions/share_opts_existing.yml
176
+ - spec/vcr/dropbox_webclient_actions/share_opts_shared.yml
177
+ - spec/vcr/dropbox_webclient_actions/share_opts_unexisting.yml
178
+ - spec/vcr/dropbox_webclient_authentication/login.yml
179
+ homepage: https://github.com/Jesus/dropbox-invite
180
+ licenses:
181
+ - GPL-3.0
182
+ metadata: {}
183
+ post_install_message:
184
+ rdoc_options: []
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ! '>='
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ required_rubygems_version: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ! '>='
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ requirements: []
198
+ rubyforge_project: dropbox-invite
199
+ rubygems_version: 2.2.2
200
+ signing_key:
201
+ specification_version: 4
202
+ summary: Invite people to shared folders in Dropbox
203
+ test_files:
204
+ - spec/actions_spec.rb
205
+ - spec/authentication_spec.rb
206
+ - spec/dropbox_api_spec.rb
207
+ - spec/initialization_spec.rb
208
+ - spec/spec_helper.rb
209
+ - spec/support/vcr.rb
210
+ - spec/vcr/dropbox_api/members_through_api.yml
211
+ - spec/vcr/dropbox_webclient_actions/invite_existing_folder.yml
212
+ - spec/vcr/dropbox_webclient_actions/invite_shared_folder.yml
213
+ - spec/vcr/dropbox_webclient_actions/invite_unexisting_folder.yml
214
+ - spec/vcr/dropbox_webclient_actions/share_opts_existing.yml
215
+ - spec/vcr/dropbox_webclient_actions/share_opts_shared.yml
216
+ - spec/vcr/dropbox_webclient_actions/share_opts_unexisting.yml
217
+ - spec/vcr/dropbox_webclient_authentication/login.yml