teamwork 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/teamwork.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8023bcbcda04872c9d3d734239a09450b9005306
4
- data.tar.gz: a6beee542c5b77588df7cf446c6acd5474c25b66
3
+ metadata.gz: 05b987dff021976d6348fe51edbd607c8b81f633
4
+ data.tar.gz: bc9ea1253515ac5709ed12b4387028f722578af3
5
5
  SHA512:
6
- metadata.gz: f95023765c2f26563811e86ab2a17d25fdb30ac4c244b27344955603b5a4f5ae6ede5b429c5852b2ee7434190d1d310af4a2d88c5c41750f42e08d0bfba474cb
7
- data.tar.gz: da008bd9867f58bcad6d9a5a70d0e7c2aee8eb20e58365e99e1b6f5c59eabd65065f4cd271dec232adbd3d72c1f3ed51c1c41915d4ed50388559edbf9e5101bc
6
+ metadata.gz: 54213ca1cbd27dc29cd2fd540492f049307576b94323f766b7e74c1c308d6d0a1169efbc9eed5a48dc7b8fb71631264ac944a6d38d7e3c9a9a558bf6a76966e6
7
+ data.tar.gz: e19a9e8358d381d5424a64a467512aa97b6ab5a0de3008a1acf28caf5b62bd1a8bd7b5ce8d58883a669eea18959666d781777dc6e50d3d4b8fadd0cb5d4bde20
@@ -5,7 +5,7 @@ require 'json'
5
5
 
6
6
  module Teamwork
7
7
 
8
- VERSION = "1.0.1"
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 "projects/#{id}.json", {
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teamwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Halferty