teamdrive_api 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +7 -0
- data/lib/teamdrive_api/register.rb +8 -0
- data/lib/teamdrive_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjU4ZjE1ZTllZGMxZWI4YTE4NmE3ODJhNWJjMzEwNzNkN2IwM2ZkNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWY4MzA2NmY4OWQwNWRiOGUyY2Q1ZDI2OWYxY2I5NTZlNDk4NzQzYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Njk3Y2VjY2IwYjY4MjE1NWI0OTcwYTI0NTBjYzFhM2VjOTllNjZlNDQwYjY1
|
10
|
+
MjRkMDg3YjE2YzVmMzMzM2VlYTcwZGNkOGUwYTUxMzBkNGZhNTZkZTBlMDMw
|
11
|
+
NmMwMDQ0NDc2M2FhYTAwNzlmMDQyODY5NDBmZjQyMmE4Mjk0ZTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDFkNmI5NDNiMzg5ZDNkMjdjZjU2YWZjZmY4NDFhN2ZlMjY3NmJlNmExMzJh
|
14
|
+
YTdkYmU1OGVlMjgwODUwMzI3MmUyMTFmNzEwMDQ0ZWQ1MzY4YzExNTRiNzBi
|
15
|
+
ZjcyZmI1ODIyZDVjODUyZWFiNTkyODkyMDY2MTY3OTRkNjE1Zjc=
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,20 @@
|
|
1
|
+
**0.5.1** (2016-01-07)
|
2
|
+
|
3
|
+
* added `Registration: delete license`
|
4
|
+
|
5
|
+
|
1
6
|
**0.5.0** (2015-11-23)
|
2
7
|
|
3
8
|
* added module for the Host Server API!
|
4
9
|
* added `Host: set depot limits (setdepot)`
|
5
10
|
* added `Register: Get default depot URL by username (getdefaultdepotdata)`
|
6
11
|
|
12
|
+
|
7
13
|
**0.4.0** (2015-11-09)
|
8
14
|
|
9
15
|
* **BREAKING** You now have to provide the complete URI to the TD-API, not only the host name!
|
10
16
|
|
17
|
+
|
11
18
|
**0.1.0 - 0.3.6** (2015-06-02)
|
12
19
|
|
13
20
|
* added `Registration: assign user to license`
|
@@ -89,6 +89,14 @@ module TeamdriveApi
|
|
89
89
|
res[:intresult].eql?('0')
|
90
90
|
end
|
91
91
|
|
92
|
+
# Delete licence
|
93
|
+
#
|
94
|
+
# @param [String] licensenumber
|
95
|
+
def delete_license(licensenumber)
|
96
|
+
res = send_request(:deletelicense, licensenumber: licensenumber)
|
97
|
+
res[:intresult].eql?('0')
|
98
|
+
end
|
99
|
+
|
92
100
|
# Get default-license for a user
|
93
101
|
#
|
94
102
|
# @param [String] username
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamdrive_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Hutter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|