teamdrive_api 0.5.1 → 0.5.2

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
- MjU4ZjE1ZTllZGMxZWI4YTE4NmE3ODJhNWJjMzEwNzNkN2IwM2ZkNA==
4
+ M2VhZWRjYTRmMWU1MzEyYmQ0MzBhM2MzMTA1ODE3OTk1OWE2OTk1Ng==
5
5
  data.tar.gz: !binary |-
6
- YWY4MzA2NmY4OWQwNWRiOGUyY2Q1ZDI2OWYxY2I5NTZlNDk4NzQzYQ==
6
+ ZGFjNWE3MWZiYzlkZTdlNGEzMTk5NGE1MTQ0ODVhODNhOGQyMjU5Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Njk3Y2VjY2IwYjY4MjE1NWI0OTcwYTI0NTBjYzFhM2VjOTllNjZlNDQwYjY1
10
- MjRkMDg3YjE2YzVmMzMzM2VlYTcwZGNkOGUwYTUxMzBkNGZhNTZkZTBlMDMw
11
- NmMwMDQ0NDc2M2FhYTAwNzlmMDQyODY5NDBmZjQyMmE4Mjk0ZTY=
9
+ MWZmNmNiOGNkZWE3Yzk5MTc0NjQ1MzJhNWNhMjA2YzM2NzVlMGZkY2Q5MDYy
10
+ Y2I0YzQ3MmUwYzE3NTE3YzQzMTdhOTVmMDNkN2QxZDlhYWI5NDA4MmZkODJk
11
+ ODhkZTdjM2Q5NmQxMmQ4Mjg5Y2U1ZTZjZDZhYzNlZjI0MWJmNzE=
12
12
  data.tar.gz: !binary |-
13
- ZDFkNmI5NDNiMzg5ZDNkMjdjZjU2YWZjZmY4NDFhN2ZlMjY3NmJlNmExMzJh
14
- YTdkYmU1OGVlMjgwODUwMzI3MmUyMTFmNzEwMDQ0ZWQ1MzY4YzExNTRiNzBi
15
- ZjcyZmI1ODIyZDVjODUyZWFiNTkyODkyMDY2MTY3OTRkNjE1Zjc=
13
+ MzdhOWNmMmM2N2JmN2NkODFlYWUyZWY0ODdiODEyOGEyNzA1MmM2ZmY3MDBk
14
+ ZDZhOTFlNjhmMWVkNjQzZjNlMDM5NTMyN2U1YzA2NzVmMzYzMjI3ZTVhNDk3
15
+ ZWUzMjQwZDI4N2M4ZGY3N2RjYzY5Njc5NDg4MzcxZjg1N2JhMDA=
@@ -1,3 +1,8 @@
1
+ **0.5.2** (2016-01-26)
2
+
3
+ * changed `Registration: get default depot data`: now only returns relevant data
4
+
5
+
1
6
  **0.5.1** (2016-01-07)
2
7
 
3
8
  * added `Registration: delete license`
@@ -138,11 +138,12 @@ module TeamdriveApi
138
138
  #
139
139
  # @param [String] username
140
140
  # @param [String] distributor (optional)
141
- # @return [Hash] the default depot data
141
+ # @return [Array] the default depot data
142
142
  def get_default_depot_data(username, distributor = nil)
143
- send_request :getdefaultdepotdata,
144
- username: username,
145
- distributor: distributor
143
+ data = send_request :getdefaultdepotdata,
144
+ username: username,
145
+ distributor: distributor
146
+ [data[:depotdata][:depot]].flatten
146
147
  end
147
148
 
148
149
  # Create a new Account
@@ -1,4 +1,4 @@
1
1
  # :nodoc:
2
2
  module TeamdriveApi
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
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.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Hutter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty