asana-client 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/asana-client.rb +3 -3
- metadata +16 -8
data/lib/asana-client.rb
CHANGED
@@ -21,7 +21,7 @@ module Asana
|
|
21
21
|
begin
|
22
22
|
@@config = YAML.load_file File.expand_path "~/.asana-client"
|
23
23
|
rescue
|
24
|
-
abort "Configuration file could not be found.\nSee https://github.com/
|
24
|
+
abort "Configuration file could not be found.\nSee https://github.com/tmacwill/asana-client for installation instructions."
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -94,7 +94,7 @@ module Asana
|
|
94
94
|
string = args.join " "
|
95
95
|
|
96
96
|
# workspace task name: create task in that workspace
|
97
|
-
if string =~ /^(\w+) (
|
97
|
+
if string =~ /^(\w+) (.+)/
|
98
98
|
# get corresponding workspace
|
99
99
|
workspace = Asana::Workspace.find $1
|
100
100
|
|
@@ -105,7 +105,7 @@ module Asana
|
|
105
105
|
end
|
106
106
|
|
107
107
|
# workspace/project task name: create task in that workspace
|
108
|
-
if string =~ /^(\w+)\/(\w+) (
|
108
|
+
if string =~ /^(\w+)\/(\w+) (.+)/
|
109
109
|
# get corresponding workspace
|
110
110
|
workspace = Asana::Workspace.find $1
|
111
111
|
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asana-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
5
6
|
segments:
|
7
|
+
- 1
|
6
8
|
- 0
|
7
9
|
- 0
|
8
|
-
|
9
|
-
version: 0.0.2
|
10
|
+
version: 1.0.0
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Tommy MacWilliam
|
@@ -14,16 +15,17 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
-
default_executable:
|
18
|
+
date: 2013-02-26 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: chronic
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
24
25
|
requirements:
|
25
26
|
- - ">="
|
26
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 9
|
27
29
|
segments:
|
28
30
|
- 0
|
29
31
|
- 6
|
@@ -35,9 +37,11 @@ dependencies:
|
|
35
37
|
name: json
|
36
38
|
prerelease: false
|
37
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
38
41
|
requirements:
|
39
42
|
- - ">="
|
40
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
41
45
|
segments:
|
42
46
|
- 1
|
43
47
|
- 6
|
@@ -55,8 +59,8 @@ extra_rdoc_files: []
|
|
55
59
|
|
56
60
|
files:
|
57
61
|
- lib/asana-client.rb
|
58
|
-
|
59
|
-
homepage: https://github.com/
|
62
|
+
- bin/asana
|
63
|
+
homepage: https://github.com/tmacwill/asana-client
|
60
64
|
licenses: []
|
61
65
|
|
62
66
|
post_install_message:
|
@@ -65,23 +69,27 @@ rdoc_options: []
|
|
65
69
|
require_paths:
|
66
70
|
- lib
|
67
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
68
73
|
requirements:
|
69
74
|
- - ">="
|
70
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 3
|
71
77
|
segments:
|
72
78
|
- 0
|
73
79
|
version: "0"
|
74
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
75
82
|
requirements:
|
76
83
|
- - ">="
|
77
84
|
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
78
86
|
segments:
|
79
87
|
- 0
|
80
88
|
version: "0"
|
81
89
|
requirements: []
|
82
90
|
|
83
91
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.8.24
|
85
93
|
signing_key:
|
86
94
|
specification_version: 3
|
87
95
|
summary: Ruby client for Asana's REST API
|