seafile-api 0.2.1 → 0.3
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.
- checksums.yaml +7 -0
- data/lib/seafile-api/account.rb +2 -2
- data/lib/seafile-api/file/get_operations.rb +2 -2
- data/lib/seafile-api/file/post_operations.rb +0 -8
- data/lib/seafile-api/group/group.rb +2 -2
- data/lib/seafile-api/group/group_member.rb +2 -2
- data/lib/seafile-api/group/group_message.rb +5 -5
- data/lib/seafile-api/library/get_library.rb +9 -9
- data/lib/seafile-api/library/post_library.rb +2 -3
- data/lib/seafile-api/message.rb +3 -3
- data/lib/seafile-api/shared/share.rb +1 -1
- data/lib/seafile-api/shared/shared_files.rb +3 -3
- data/lib/seafile-api/shared/shared_libraries.rb +2 -2
- data/lib/seafile-api/starred.rb +1 -1
- metadata +18 -28
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 54e398775894849745a2610842feaf87a9b99299
|
4
|
+
data.tar.gz: f7fa0e20d960ae94f80b96516543ff596eba7860
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 72914bcc9f9c22314b149d95c9f9cd6b42e11757dda8c24a20efae523186cafe1dfc14d5495c8b71f815edce60478570c0f164385c457eaa636ffc2ffa51903b
|
7
|
+
data.tar.gz: 99c54f7d852655cdcceda883bd878fe73e8748df6c0d627b3969f83dfb8b61780aef7d5ac2858c4af50c85c4cc1a70439b863d83a657115e59b57bf75558dd3e
|
data/lib/seafile-api/account.rb
CHANGED
@@ -24,7 +24,7 @@ module SeafileApi
|
|
24
24
|
end
|
25
25
|
#curl -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/accounts/
|
26
26
|
def get_list_acc
|
27
|
-
curl_get("accounts").body_str
|
27
|
+
JSON.parse(curl_get("accounts").body_str)
|
28
28
|
end
|
29
29
|
#curl -v -X PUT -d "password=123456" -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/accounts/newaccount@gmail.com/
|
30
30
|
def put_create_acc(email,pass)
|
@@ -37,7 +37,7 @@ module SeafileApi
|
|
37
37
|
|
38
38
|
#curl -H "Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd" -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/account/info/
|
39
39
|
def get_acc_info
|
40
|
-
|
40
|
+
JSON.parse(curl_get("/account/info/").body_str)
|
41
41
|
end
|
42
42
|
|
43
43
|
|
@@ -39,14 +39,14 @@ module SeafileApi
|
|
39
39
|
def get_description(filename,repo)
|
40
40
|
http = curl_get("repos/#{repo}/file/detail/?p=#{filename}")
|
41
41
|
|
42
|
-
|
42
|
+
JSON.parse(http.body_str)
|
43
43
|
end
|
44
44
|
|
45
45
|
#curl -H 'Authorization: Token f2210dacd3606d94ff8e61d99b477fd' -H 'Accept: application/json; charset=utf-8; indent=4' https://cloud.seafile.com/api2/repos/dae8cecc-2359-4d33-aa42-01b7846c4b32/file/history/?p=/foo.c
|
46
46
|
#get file History
|
47
47
|
def get_history(filename,repo)
|
48
48
|
http = curl_get("repos/#{repo}/file/history/?p=#{filename}")
|
49
|
-
|
49
|
+
JSON.parse(http.body_str)
|
50
50
|
end
|
51
51
|
|
52
52
|
|
@@ -11,14 +11,6 @@ module SeafileApi
|
|
11
11
|
end
|
12
12
|
|
13
13
|
end
|
14
|
-
=begin
|
15
|
-
400 Bad request
|
16
|
-
440 Invalid filename
|
17
|
-
441 File already exists
|
18
|
-
442 File size is too large
|
19
|
-
443 Out of quota
|
20
|
-
500 Internal server error
|
21
|
-
=end
|
22
14
|
def post_upload(repo,data)
|
23
15
|
http = curl_get("repos/#{repo}/upload-link/")
|
24
16
|
if is_http?(http)
|
@@ -7,11 +7,11 @@ module SeafileApi
|
|
7
7
|
|
8
8
|
def put_new_group(group_name)
|
9
9
|
c = curl_put("#{self.host}/api2/groups/",{"group_name" => group_name})
|
10
|
-
c.body_str
|
10
|
+
JSON.parse(c.body_str)
|
11
11
|
end
|
12
12
|
|
13
13
|
def get_list_groups
|
14
|
-
curl_get("groups/").body_str
|
14
|
+
JSON.parse(curl_get("groups/").body_str)
|
15
15
|
end
|
16
16
|
|
17
17
|
end
|
@@ -3,11 +3,11 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -X PUuT -d "user_name=user@example.com"-H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/groups/1/members/"
|
5
5
|
def put_new_meber_to_group(user_email,group_id)
|
6
|
-
curl_put("#{self.host}/api2/groups/#{group_id}/members/",{"user_name" => user_email}).body_str
|
6
|
+
JSON.parse(curl_put("#{self.host}/api2/groups/#{group_id}/members/",{"user_name" => user_email}).body_str)
|
7
7
|
end
|
8
8
|
|
9
9
|
def delete_group_member(user_email,group_id)
|
10
|
-
curl_delete("#{self.host}/api2/groups/#{group_id}/members/",{'user_name' =>user_email}).body_str
|
10
|
+
JSON.parse(curl_delete("#{self.host}/api2/groups/#{group_id}/members/",{'user_name' =>user_email}).body_str)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
@@ -3,26 +3,26 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -d "message=this is another test&repo_id=c7436518-5f46-4296-97db-2fcba4c8c8db&path=/123.md" -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/group/msgs/1/"
|
5
5
|
def post_message_to_group(group_id,data)
|
6
|
-
curl_post("#{self.host}/api2/group/msgs/#{group_id}/",data).body_str
|
6
|
+
JSON.parse(curl_post("#{self.host}/api2/group/msgs/#{group_id}/",data).body_str)
|
7
7
|
end
|
8
8
|
|
9
9
|
#curl -d "message=this is a reply" -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/group/1/msg/1/"
|
10
10
|
def post_reply_message_to_group(group_id,msg_id,data)
|
11
|
-
curl_post("#{self.host}/api2/group/#{group_id}/msg/#{msg_id}/",data).body_str
|
11
|
+
JSON.parse(curl_post("#{self.host}/api2/group/#{group_id}/msg/#{msg_id}/",data).body_str)
|
12
12
|
end
|
13
13
|
|
14
14
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/group/msgs/1/"
|
15
15
|
def get_group_messages(group_id)
|
16
|
-
curl_get("group/msgs/#{group_id}/").body_str
|
16
|
+
JSON.parse(curl_get("group/msgs/#{group_id}/").body_str)
|
17
17
|
end
|
18
18
|
|
19
19
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/group/1/msg/1/"
|
20
20
|
def get_group_message_detail(group_id,msg_id)
|
21
|
-
curl_get("group/#{group_id}/msg/#{msg_id}/").body_str
|
21
|
+
JSON.parse(curl_get("group/#{group_id}/msg/#{msg_id}/").body_str)
|
22
22
|
end
|
23
23
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/new_replies/"
|
24
24
|
def get_group_messages_replies
|
25
|
-
curl_get("new_replies/").body_str
|
25
|
+
JSON.parse(curl_get("new_replies/").body_str)
|
26
26
|
end
|
27
27
|
|
28
28
|
end
|
@@ -3,45 +3,45 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/default-repo/"
|
5
5
|
def get_default_lib
|
6
|
-
curl_get("default-repo/").body_str
|
6
|
+
JSON.parse(curl_get("default-repo/").body_str)
|
7
7
|
end
|
8
8
|
|
9
9
|
#curl -G -H 'Authorization: Token 24fd3c026886e3121b2ca630805ed425c272cb96' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/632ab8a8-ecf9-4435-93bf-f495d5bfe975/
|
10
10
|
def get_lib_info(repo_id)
|
11
|
-
curl_get("repos/#{repo_id}/").body_str
|
11
|
+
JSON.parse(curl_get("repos/#{repo_id}/").body_str)
|
12
12
|
end
|
13
13
|
|
14
14
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d9b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/dae8cecc-2359-4d33-aa42-01b7846c4b32/download-info/
|
15
15
|
def get_lib_download_info(repo_id)
|
16
|
-
curl_get("repos/#{repo_id}/download-info/").body_str
|
16
|
+
JSON.parse(curl_get("repos/#{repo_id}/download-info/").body_str)
|
17
17
|
end
|
18
18
|
|
19
19
|
#curl -G -H ‘Authorization: Token 24fd3c026886e3121b2ca630805ed425c272cb96’ -H ‘Accept: application/json; indent=4’ https://cloud.seafile.com/api2/search/?q=keyword
|
20
20
|
def get_searched_lib(keyword)
|
21
|
-
curl_get("search/?q=#{keyword}").body_str
|
21
|
+
JSON.parse(curl_get("search/?q=#{keyword}").body_str)
|
22
22
|
end
|
23
23
|
#curl -H 'Authorization: Token 24fd3c026886e3121b2ca630805ed425c272cb96' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/
|
24
24
|
def get_list_lib
|
25
|
-
curl_get("repos/").body_str
|
25
|
+
JSON.parse(curl_get("repos/").body_str)
|
26
26
|
end
|
27
27
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/virtual-repos/"
|
28
28
|
def get_list_virtual_lib
|
29
|
-
curl_get("virtual-repos/").body_str
|
29
|
+
JSON.parse(curl_get("virtual-repos/").body_str)
|
30
30
|
end
|
31
31
|
|
32
32
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d9b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/dae8cecc-2359-4d33-aa42-01b7846c4b32/dir/sub_repo/?p=/\&name=sub_lib
|
33
33
|
def get_create_sub_lib(repo_id,p,name)
|
34
|
-
curl_get("repos/#{repo_id}/dir/sub_repo/?p=#{p}&name=#{name}").body_str
|
34
|
+
JSON.parse(curl_get("repos/#{repo_id}/dir/sub_repo/?p=#{p}&name=#{name}").body_str)
|
35
35
|
end
|
36
36
|
|
37
37
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d9b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/dae8cecc-2359-4d33-aa42-01b7846c4b32/owner/
|
38
38
|
def get_lib_owner(repo_id)
|
39
|
-
curl_get("repos/#{repo_id}/owner/").body_str
|
39
|
+
JSON.parse(curl_get("repos/#{repo_id}/owner/").body_str)
|
40
40
|
end
|
41
41
|
|
42
42
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d9b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/dae8cecc-2359-4d33-aa42-01b7846c4b32/history/
|
43
43
|
def get_lib_history(repo_id)
|
44
|
-
curl_get("repos/#{repo_id}/history/").body_str
|
44
|
+
JSON.parse(curl_get("repos/#{repo_id}/history/").body_str)
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -3,7 +3,7 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/default-repo/"
|
5
5
|
def post_default_lib
|
6
|
-
curl_post("#{self.host}/api2/default-repo/").body_str
|
6
|
+
JSON.parse(curl_post("#{self.host}/api2/default-repo/").body_str)
|
7
7
|
end
|
8
8
|
|
9
9
|
#curl -X POST -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d9b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/dae8cecc-2359-4d33-aa42-01b7846c4b32/public/
|
@@ -15,7 +15,7 @@ module SeafileApi
|
|
15
15
|
|
16
16
|
#curl -v -d "name=foo&desc=new library" -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/
|
17
17
|
def post_lib(data)
|
18
|
-
curl_post("#{self.host}/api2/repos/",data).body_str
|
18
|
+
JSON.parse(curl_post("#{self.host}/api2/repos/",data).body_str)
|
19
19
|
end
|
20
20
|
|
21
21
|
#curl -v -d "password=123" -H 'Authorization: Token e6a33d61954f219a96b60f635cf02717964e4385' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/repos/0c2465a5-4753-4660-8a22-65abec9ec8d0/
|
@@ -23,5 +23,4 @@ module SeafileApi
|
|
23
23
|
curl_post("#{self.host}/api2/repos/#{repo_id}/",data).body_str
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
27
26
|
end
|
data/lib/seafile-api/message.rb
CHANGED
@@ -13,18 +13,18 @@ module SeafileApi
|
|
13
13
|
private
|
14
14
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/user/msgs/"#{email}/"
|
15
15
|
def get_list_message(email)
|
16
|
-
|
16
|
+
JSON.parse(curl_get("user/msgs/#{email}/").body_str)
|
17
17
|
end
|
18
18
|
|
19
19
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/unseen_messages/"
|
20
20
|
|
21
21
|
def get_count_unread_message
|
22
|
-
|
22
|
+
JSON.parse(curl_get("unseen_messages/").body_str)
|
23
23
|
end
|
24
24
|
|
25
25
|
#curl -d "message=this is a user msg reply" -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/user/msgs/2/"
|
26
26
|
def post_reply_message(email,data)
|
27
|
-
|
27
|
+
JSON.parse(curl_post("#{self.host}/api2/user/msgs/#{email}/",data).body_str)
|
28
28
|
end
|
29
29
|
|
30
30
|
end
|
@@ -3,7 +3,7 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/shared-links/"
|
5
5
|
def get_list_shared_files_link
|
6
|
-
|
6
|
+
JSON.parse(curl_get("shared-links/").body_str)
|
7
7
|
end
|
8
8
|
|
9
9
|
#curl -v -X DELETE -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/shared-links/?t=0ae587a7d1"
|
@@ -3,7 +3,7 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/shared-files/"
|
5
5
|
def get_list_shared_files
|
6
|
-
curl_get("shared-files/").body_str
|
6
|
+
JSON.parse(curl_get("shared-files/").body_str)
|
7
7
|
end
|
8
8
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/f/ad93cd0d66/"
|
9
9
|
def get_shared_file_link(file_t)
|
@@ -12,12 +12,12 @@ module SeafileApi
|
|
12
12
|
|
13
13
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/s/f/c5aa5f0219/"
|
14
14
|
def get_private_shared_file_link(file_t)
|
15
|
-
curl_get("s/f/#{file_t}/").body_str
|
15
|
+
JSON.parse(curl_get("s/f/#{file_t}/").body_str)
|
16
16
|
end
|
17
17
|
|
18
18
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/f/ad93cd0d66/detail/"
|
19
19
|
def get_share_file_detail(file_t)
|
20
|
-
curl_get("f/#{file_t}/detail/").body_str
|
20
|
+
JSON.parse(curl_get("f/#{file_t}/detail/").body_str)
|
21
21
|
end
|
22
22
|
|
23
23
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/s/f/c5aa5f0219/detail/"
|
@@ -3,7 +3,7 @@ module SeafileApi
|
|
3
3
|
private
|
4
4
|
#curl -v -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' -H 'Accept: application/json; indent=4' https://cloud.seafile.com/api2/shared-repos/
|
5
5
|
def get_list_shared_libraries
|
6
|
-
curl_get("shared-repos/").body_str
|
6
|
+
JSON.parse(curl_get("shared-repos/").body_str)
|
7
7
|
end
|
8
8
|
|
9
9
|
#curl -X PUT -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/shared-repos/7d42522b-1f6f-465d-b9c9-879f8eed7c6c/?share_type=group&user=user@example.com&group_id=1&permission=rw"
|
@@ -18,7 +18,7 @@ module SeafileApi
|
|
18
18
|
|
19
19
|
#curl -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' "https://cloud.seafile.com/api2/beshared-repos/"
|
20
20
|
def get_list_beshared_libraries
|
21
|
-
curl_get("beshared-repos/").body_str
|
21
|
+
JSON.parse(curl_get("beshared-repos/").body_str)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
data/lib/seafile-api/starred.rb
CHANGED
@@ -13,7 +13,7 @@ module SeafileApi
|
|
13
13
|
private
|
14
14
|
#https://cloud.seafile.com/api2/starredfiles/
|
15
15
|
def get_list_starred_files
|
16
|
-
|
16
|
+
JSON.parse(curl_get("starredfiles/").body_str)
|
17
17
|
end
|
18
18
|
#curl -v -d "repo_id=dae8cecc-2359-4d33-aa42-01b7846c4b32&p=/foo.md" -H 'Authorization: Token f2210dacd9c6ccb8133606d94ff8e61d99b477fd' -H 'Accept: application/json; charset=utf-8; indent=4' https://cloud.seafile.com/api2/starredfiles/
|
19
19
|
def post_star_file(data)
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seafile-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: '0.3'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kostiantyn Semchenko
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
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: :development
|
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: bundler
|
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: :development
|
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,23 +41,20 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rake
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
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: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: curb
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -83,50 +74,49 @@ extensions: []
|
|
83
74
|
extra_rdoc_files: []
|
84
75
|
files:
|
85
76
|
- lib/seafile-api.rb
|
86
|
-
- lib/seafile-api/starred.rb
|
87
|
-
- lib/seafile-api/library.rb
|
88
|
-
- lib/seafile-api/library/del_library.rb
|
89
|
-
- lib/seafile-api/library/get_library.rb
|
90
|
-
- lib/seafile-api/library/post_library.rb
|
91
|
-
- lib/seafile-api/message.rb
|
92
|
-
- lib/seafile-api/file.rb
|
93
77
|
- lib/seafile-api/account.rb
|
78
|
+
- lib/seafile-api/directory.rb
|
79
|
+
- lib/seafile-api/file.rb
|
80
|
+
- lib/seafile-api/file/dry_methods.rb
|
94
81
|
- lib/seafile-api/file/file_operations.rb
|
95
82
|
- lib/seafile-api/file/get_operations.rb
|
96
83
|
- lib/seafile-api/file/post_operations.rb
|
97
|
-
- lib/seafile-api/file/dry_methods.rb
|
98
84
|
- lib/seafile-api/group.rb
|
99
85
|
- lib/seafile-api/group/group.rb
|
100
|
-
- lib/seafile-api/directory.rb
|
101
86
|
- lib/seafile-api/group/group_member.rb
|
102
87
|
- lib/seafile-api/group/group_message.rb
|
88
|
+
- lib/seafile-api/library.rb
|
89
|
+
- lib/seafile-api/library/del_library.rb
|
90
|
+
- lib/seafile-api/library/get_library.rb
|
91
|
+
- lib/seafile-api/library/post_library.rb
|
92
|
+
- lib/seafile-api/message.rb
|
103
93
|
- lib/seafile-api/share.rb
|
104
94
|
- lib/seafile-api/shared/share.rb
|
105
95
|
- lib/seafile-api/shared/shared_files.rb
|
106
96
|
- lib/seafile-api/shared/shared_libraries.rb
|
97
|
+
- lib/seafile-api/starred.rb
|
107
98
|
homepage: https://github.com/NingenUA/seafile-api
|
108
99
|
licenses:
|
109
100
|
- MIT
|
101
|
+
metadata: {}
|
110
102
|
post_install_message:
|
111
103
|
rdoc_options: []
|
112
104
|
require_paths:
|
113
105
|
- lib
|
114
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
107
|
requirements:
|
117
|
-
- -
|
108
|
+
- - '>='
|
118
109
|
- !ruby/object:Gem::Version
|
119
110
|
version: '0'
|
120
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
112
|
requirements:
|
123
|
-
- -
|
113
|
+
- - '>='
|
124
114
|
- !ruby/object:Gem::Version
|
125
115
|
version: '0'
|
126
116
|
requirements: []
|
127
117
|
rubyforge_project:
|
128
|
-
rubygems_version:
|
118
|
+
rubygems_version: 2.2.2
|
129
119
|
signing_key:
|
130
|
-
specification_version:
|
120
|
+
specification_version: 4
|
131
121
|
summary: Seafile-Api
|
132
122
|
test_files: []
|