teamlab 0.5.0 → 0.5.1
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 +4 -4
- data/Changelog.md +4 -0
- data/lib/teamlab/modules/group.rb +1 -1
- data/lib/teamlab/request.rb +1 -1
- data/lib/teamlab/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97025dbc2eaec84b5952d1aa26ca304cb0c2bcf7
|
4
|
+
data.tar.gz: 3fa20fde6baa20251e696945c0e6033d0cb13461
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8188d28eca7363e7e91aa93fe8968182cfe5e50c391f8594d4157291c3779c6c32df9775a9182f1ea8f794f72d3c02512d8bf2115f82c81544142517f5e64ba8
|
7
|
+
data.tar.gz: 847f98c5ef88b4d4e65558118b4abef42e8e02edb8b24819da89be26a1e528b341946d6032f4ce6e3c320b3c115ef00533b612b41f704d8d0026ea6fbb16c3e1
|
data/Changelog.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## 0.5.1
|
4
|
+
* Fix error bad URI(is not URI?)
|
5
|
+
* Fix url for method Group#add_group
|
6
|
+
|
3
7
|
## 0.5.0
|
4
8
|
* Add crm methods: save_smtp_settings, update_crm_currency, update_organisation_company_name, update_organisation_address
|
5
9
|
* Change method create_invoice
|
@@ -13,7 +13,7 @@ module Teamlab
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def add_group(manager, name, members = [])
|
16
|
-
@request.post(
|
16
|
+
@request.post('', groupManager: manager, groupName: name, members: members)
|
17
17
|
end
|
18
18
|
|
19
19
|
def replace_members(group_id, members)
|
data/lib/teamlab/request.rb
CHANGED
@@ -33,7 +33,7 @@ module Teamlab
|
|
33
33
|
|
34
34
|
def request(type, args)
|
35
35
|
command, opts = parse_args(args, type)
|
36
|
-
url = generate_request_url(command)
|
36
|
+
url = URI.encode(generate_request_url(command))
|
37
37
|
attempts = 0
|
38
38
|
begin
|
39
39
|
response = Teamlab::Response.new(HTTMultiParty.send(type, url, opts))
|
data/lib/teamlab/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamlab
|
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
|
- rzagudaev
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|