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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmExODczMzRhYzlhZmVkNGUzZjU5NzY3MjU2NjBmMTk2NjIyMGIzNA==
4
+ MjU4ZjE1ZTllZGMxZWI4YTE4NmE3ODJhNWJjMzEwNzNkN2IwM2ZkNA==
5
5
  data.tar.gz: !binary |-
6
- NDBiMzlhZTEyYTdjY2UyNDNiNDQyNmMwYTNjYmQyZTEwZmFhOTU3Yw==
6
+ YWY4MzA2NmY4OWQwNWRiOGUyY2Q1ZDI2OWYxY2I5NTZlNDk4NzQzYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTk5ZWJlOWQwNjk5MGIwM2Q2YjliOWM4MzRiYTg0NDI4NzM1YmRmZjczOGM3
10
- ZGEyNmZkZTYyZGUwN2MxOTczMjQxYTcxYmE1YTAxNTcyYjEzYmJlMGY2ZTRm
11
- NjIzMGEwZDQ1ZmQ3NWQ1NDIxMWU1NGQ3ZGZmMDBlMmVjZWZiMzE=
9
+ Njk3Y2VjY2IwYjY4MjE1NWI0OTcwYTI0NTBjYzFhM2VjOTllNjZlNDQwYjY1
10
+ MjRkMDg3YjE2YzVmMzMzM2VlYTcwZGNkOGUwYTUxMzBkNGZhNTZkZTBlMDMw
11
+ NmMwMDQ0NDc2M2FhYTAwNzlmMDQyODY5NDBmZjQyMmE4Mjk0ZTY=
12
12
  data.tar.gz: !binary |-
13
- NDg2OTFjNDVlZWVkM2JkZGYzNDZkMWM4YmFiMWI3MDk3NWIzYjMyNDlmMmY1
14
- OTI0MDJmNTJkYmYxYWQ4NmQ2MGMwZmY3NzYxOGUzN2YzZTAzMDRjNGM5ODVj
15
- ZDdjZWU2NzdjZDhjOWNjM2Q4ZTgzZjBkMmQxZTBkMzRhZmM2OTE=
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
@@ -1,4 +1,4 @@
1
1
  # :nodoc:
2
2
  module TeamdriveApi
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
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.0
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: 2015-11-23 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty