layervault 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +151 -0
- data/Rakefile +1 -0
- data/layervault.gemspec +29 -0
- data/lib/layervault.rb +16 -0
- data/lib/layervault/client.rb +62 -0
- data/lib/layervault/client/files.rb +64 -0
- data/lib/layervault/client/folders.rb +27 -0
- data/lib/layervault/client/organizations.rb +9 -0
- data/lib/layervault/client/projects.rb +25 -0
- data/lib/layervault/client/revisions.rb +23 -0
- data/lib/layervault/client/users.rb +9 -0
- data/lib/layervault/default_options.rb +38 -0
- data/lib/layervault/file.rb +11 -0
- data/lib/layervault/folder.rb +27 -0
- data/lib/layervault/middleware/raise_error.rb +15 -0
- data/lib/layervault/mixins/authentication.rb +7 -0
- data/lib/layervault/mixins/configurable.rb +40 -0
- data/lib/layervault/mixins/connection.rb +15 -0
- data/lib/layervault/model.rb +41 -0
- data/lib/layervault/organization.rb +19 -0
- data/lib/layervault/project.rb +28 -0
- data/lib/layervault/response/error.rb +111 -0
- data/lib/layervault/revision.rb +23 -0
- data/lib/layervault/user.rb +11 -0
- data/lib/layervault/version.rb +3 -0
- data/spec/cassettes/Files/Basic_operations/_create_file/creates_the_File.json +1 -0
- data/spec/cassettes/Files/Basic_operations/_delete_file/deletes_the_File.json +1 -0
- data/spec/cassettes/Files/Basic_operations/_file/returns_the_File_info.json +1 -0
- data/spec/cassettes/Files/_move_file/moves_the_File.json +1 -0
- data/spec/cassettes/Files/_sync_check/performs_a_sync_check_on_the_path.json +1 -0
- data/spec/cassettes/Folders/_change_folder_color/changes_the_folder_color.json +1 -0
- data/spec/cassettes/Folders/_create_folder/creates_the_Folder.json +1 -0
- data/spec/cassettes/Folders/_delete_folder/deletes_the_folder.json +1 -0
- data/spec/cassettes/Folders/_folder/returns_the_Folder_info.json +1 -0
- data/spec/cassettes/Folders/_move_folder/moves_the_folder.json +1 -0
- data/spec/cassettes/Organizations/_organization/returns_the_Organization_info.json +1 -0
- data/spec/cassettes/Projects/_change_project_folder_color/changes_the_folder_color.json +1 -0
- data/spec/cassettes/Projects/_create_project/Creates_a_new_project.json +1 -0
- data/spec/cassettes/Projects/_delete_project/Deletes_the_project.json +1 -0
- data/spec/cassettes/Projects/_move_project/Moves_the_project.json +1 -0
- data/spec/cassettes/Projects/_project/returns_the_Organization_info.json +1 -0
- data/spec/cassettes/Revisions/_meta/returns_the_Meta_info.json +1 -0
- data/spec/cassettes/Revisions/_previews/returns_the_Preview_info.json +1 -0
- data/spec/cassettes/Revisions/_revision/returns_the_Revision_info.json +1 -0
- data/spec/cassettes/Revisions/_revisions/returns_the_Revisions_info.json +1 -0
- data/spec/cassettes/Users/_me/returns_the_User_info_as_JSON.json +1 -0
- data/spec/fixtures/Test.psd +0 -0
- data/spec/fixtures/dhh.png +0 -0
- data/spec/layervault/client/files_spec.rb +58 -0
- data/spec/layervault/client/folder_spec.rb +54 -0
- data/spec/layervault/client/organizations_spec.rb +16 -0
- data/spec/layervault/client/projects_spec.rb +51 -0
- data/spec/layervault/client/revisions_spec.rb +39 -0
- data/spec/layervault/client/user_spec.rb +16 -0
- data/spec/layervault/client_spec.rb +15 -0
- data/spec/layervault/error.rb +69 -0
- data/spec/layervault_spec.rb +12 -0
- data/spec/spec.opts +5 -0
- data/spec/spec_helper.rb +72 -0
- metadata +256 -0
metadata
ADDED
@@ -0,0 +1,256 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: layervault
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- John McDowall
|
8
|
+
- Ryan LeFevre
|
9
|
+
- Kelly Sutton
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2013-11-11 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: faraday
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - '>='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: hashie
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - '>='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: bundler
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.3'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.3'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: rake
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: multi_json
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: vcr
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - '>='
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: webmock
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - '='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '1.13'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - '='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '1.13'
|
127
|
+
description: The LayerVault Ruby API client.
|
128
|
+
email:
|
129
|
+
- john@mcdowall.info
|
130
|
+
- ryan@layervault.com
|
131
|
+
- kelly@layervault.com
|
132
|
+
executables: []
|
133
|
+
extensions: []
|
134
|
+
extra_rdoc_files: []
|
135
|
+
files:
|
136
|
+
- .gitignore
|
137
|
+
- Gemfile
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.md
|
140
|
+
- Rakefile
|
141
|
+
- layervault.gemspec
|
142
|
+
- lib/layervault.rb
|
143
|
+
- lib/layervault/client.rb
|
144
|
+
- lib/layervault/client/files.rb
|
145
|
+
- lib/layervault/client/folders.rb
|
146
|
+
- lib/layervault/client/organizations.rb
|
147
|
+
- lib/layervault/client/projects.rb
|
148
|
+
- lib/layervault/client/revisions.rb
|
149
|
+
- lib/layervault/client/users.rb
|
150
|
+
- lib/layervault/default_options.rb
|
151
|
+
- lib/layervault/file.rb
|
152
|
+
- lib/layervault/folder.rb
|
153
|
+
- lib/layervault/middleware/raise_error.rb
|
154
|
+
- lib/layervault/mixins/authentication.rb
|
155
|
+
- lib/layervault/mixins/configurable.rb
|
156
|
+
- lib/layervault/mixins/connection.rb
|
157
|
+
- lib/layervault/model.rb
|
158
|
+
- lib/layervault/organization.rb
|
159
|
+
- lib/layervault/project.rb
|
160
|
+
- lib/layervault/response/error.rb
|
161
|
+
- lib/layervault/revision.rb
|
162
|
+
- lib/layervault/user.rb
|
163
|
+
- lib/layervault/version.rb
|
164
|
+
- spec/cassettes/Files/Basic_operations/_create_file/creates_the_File.json
|
165
|
+
- spec/cassettes/Files/Basic_operations/_delete_file/deletes_the_File.json
|
166
|
+
- spec/cassettes/Files/Basic_operations/_file/returns_the_File_info.json
|
167
|
+
- spec/cassettes/Files/_move_file/moves_the_File.json
|
168
|
+
- spec/cassettes/Files/_sync_check/performs_a_sync_check_on_the_path.json
|
169
|
+
- spec/cassettes/Folders/_change_folder_color/changes_the_folder_color.json
|
170
|
+
- spec/cassettes/Folders/_create_folder/creates_the_Folder.json
|
171
|
+
- spec/cassettes/Folders/_delete_folder/deletes_the_folder.json
|
172
|
+
- spec/cassettes/Folders/_folder/returns_the_Folder_info.json
|
173
|
+
- spec/cassettes/Folders/_move_folder/moves_the_folder.json
|
174
|
+
- spec/cassettes/Organizations/_organization/returns_the_Organization_info.json
|
175
|
+
- spec/cassettes/Projects/_change_project_folder_color/changes_the_folder_color.json
|
176
|
+
- spec/cassettes/Projects/_create_project/Creates_a_new_project.json
|
177
|
+
- spec/cassettes/Projects/_delete_project/Deletes_the_project.json
|
178
|
+
- spec/cassettes/Projects/_move_project/Moves_the_project.json
|
179
|
+
- spec/cassettes/Projects/_project/returns_the_Organization_info.json
|
180
|
+
- spec/cassettes/Revisions/_meta/returns_the_Meta_info.json
|
181
|
+
- spec/cassettes/Revisions/_previews/returns_the_Preview_info.json
|
182
|
+
- spec/cassettes/Revisions/_revision/returns_the_Revision_info.json
|
183
|
+
- spec/cassettes/Revisions/_revisions/returns_the_Revisions_info.json
|
184
|
+
- spec/cassettes/Users/_me/returns_the_User_info_as_JSON.json
|
185
|
+
- spec/fixtures/Test.psd
|
186
|
+
- spec/fixtures/dhh.png
|
187
|
+
- spec/layervault/client/files_spec.rb
|
188
|
+
- spec/layervault/client/folder_spec.rb
|
189
|
+
- spec/layervault/client/organizations_spec.rb
|
190
|
+
- spec/layervault/client/projects_spec.rb
|
191
|
+
- spec/layervault/client/revisions_spec.rb
|
192
|
+
- spec/layervault/client/user_spec.rb
|
193
|
+
- spec/layervault/client_spec.rb
|
194
|
+
- spec/layervault/error.rb
|
195
|
+
- spec/layervault_spec.rb
|
196
|
+
- spec/spec.opts
|
197
|
+
- spec/spec_helper.rb
|
198
|
+
homepage: ''
|
199
|
+
licenses:
|
200
|
+
- MIT
|
201
|
+
metadata: {}
|
202
|
+
post_install_message:
|
203
|
+
rdoc_options: []
|
204
|
+
require_paths:
|
205
|
+
- lib
|
206
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - '>='
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
211
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
requirements: []
|
217
|
+
rubyforge_project:
|
218
|
+
rubygems_version: 2.1.9
|
219
|
+
signing_key:
|
220
|
+
specification_version: 4
|
221
|
+
summary: Provides Ruby native wrappers for the LayerVault API.
|
222
|
+
test_files:
|
223
|
+
- spec/cassettes/Files/Basic_operations/_create_file/creates_the_File.json
|
224
|
+
- spec/cassettes/Files/Basic_operations/_delete_file/deletes_the_File.json
|
225
|
+
- spec/cassettes/Files/Basic_operations/_file/returns_the_File_info.json
|
226
|
+
- spec/cassettes/Files/_move_file/moves_the_File.json
|
227
|
+
- spec/cassettes/Files/_sync_check/performs_a_sync_check_on_the_path.json
|
228
|
+
- spec/cassettes/Folders/_change_folder_color/changes_the_folder_color.json
|
229
|
+
- spec/cassettes/Folders/_create_folder/creates_the_Folder.json
|
230
|
+
- spec/cassettes/Folders/_delete_folder/deletes_the_folder.json
|
231
|
+
- spec/cassettes/Folders/_folder/returns_the_Folder_info.json
|
232
|
+
- spec/cassettes/Folders/_move_folder/moves_the_folder.json
|
233
|
+
- spec/cassettes/Organizations/_organization/returns_the_Organization_info.json
|
234
|
+
- spec/cassettes/Projects/_change_project_folder_color/changes_the_folder_color.json
|
235
|
+
- spec/cassettes/Projects/_create_project/Creates_a_new_project.json
|
236
|
+
- spec/cassettes/Projects/_delete_project/Deletes_the_project.json
|
237
|
+
- spec/cassettes/Projects/_move_project/Moves_the_project.json
|
238
|
+
- spec/cassettes/Projects/_project/returns_the_Organization_info.json
|
239
|
+
- spec/cassettes/Revisions/_meta/returns_the_Meta_info.json
|
240
|
+
- spec/cassettes/Revisions/_previews/returns_the_Preview_info.json
|
241
|
+
- spec/cassettes/Revisions/_revision/returns_the_Revision_info.json
|
242
|
+
- spec/cassettes/Revisions/_revisions/returns_the_Revisions_info.json
|
243
|
+
- spec/cassettes/Users/_me/returns_the_User_info_as_JSON.json
|
244
|
+
- spec/fixtures/Test.psd
|
245
|
+
- spec/fixtures/dhh.png
|
246
|
+
- spec/layervault/client/files_spec.rb
|
247
|
+
- spec/layervault/client/folder_spec.rb
|
248
|
+
- spec/layervault/client/organizations_spec.rb
|
249
|
+
- spec/layervault/client/projects_spec.rb
|
250
|
+
- spec/layervault/client/revisions_spec.rb
|
251
|
+
- spec/layervault/client/user_spec.rb
|
252
|
+
- spec/layervault/client_spec.rb
|
253
|
+
- spec/layervault/error.rb
|
254
|
+
- spec/layervault_spec.rb
|
255
|
+
- spec/spec.opts
|
256
|
+
- spec/spec_helper.rb
|