teamwork 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/teamwork.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05b987dff021976d6348fe51edbd607c8b81f633
|
4
|
+
data.tar.gz: bc9ea1253515ac5709ed12b4387028f722578af3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54213ca1cbd27dc29cd2fd540492f049307576b94323f766b7e74c1c308d6d0a1169efbc9eed5a48dc7b8fb71631264ac944a6d38d7e3c9a9a558bf6a76966e6
|
7
|
+
data.tar.gz: e19a9e8358d381d5424a64a467512aa97b6ab5a0de3008a1acf28caf5b62bd1a8bd7b5ce8d58883a669eea18959666d781777dc6e50d3d4b8fadd0cb5d4bde20
|
data/lib/teamwork.rb
CHANGED
@@ -5,7 +5,7 @@ require 'json'
|
|
5
5
|
|
6
6
|
module Teamwork
|
7
7
|
|
8
|
-
VERSION = "1.0.
|
8
|
+
VERSION = "1.0.2"
|
9
9
|
|
10
10
|
class API
|
11
11
|
|
@@ -74,12 +74,12 @@ module Teamwork
|
|
74
74
|
|
75
75
|
def update_project(id, name, client_name)
|
76
76
|
company_id = get_or_create_company(name)
|
77
|
-
@api_conn.put
|
77
|
+
@api_conn.put("projects/#{id}.json", {
|
78
78
|
project: {
|
79
79
|
name: name,
|
80
80
|
companyId: company_id
|
81
81
|
}
|
82
|
-
}.status
|
82
|
+
}).status
|
83
83
|
end
|
84
84
|
|
85
85
|
def delete_project(id)
|