gtasks 0.0.0 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/gtasks +10 -4
- data/gtasks.gemspec +1 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/bin/gtasks
CHANGED
@@ -3,16 +3,22 @@
|
|
3
3
|
# Author: kimoto
|
4
4
|
require 'gtasks'
|
5
5
|
require 'logger'
|
6
|
+
require 'pit'
|
6
7
|
|
7
8
|
if $0 == __FILE__
|
8
|
-
|
9
|
+
config = Pit.get("gtasks", :require => {
|
10
|
+
:client_id => 'your google tasks client id',
|
11
|
+
:client_secret => 'your google takss client secret',
|
12
|
+
})
|
13
|
+
|
9
14
|
cli = GoogleTaskCLI.new(
|
10
|
-
:client_id =>
|
11
|
-
:client_secret =>
|
15
|
+
:client_id => config[:client_id],
|
16
|
+
:client_secret => config[:client_secret],
|
12
17
|
#:logger => Logger.new(STDERR),
|
13
|
-
|
18
|
+
#:no_refresh => true
|
14
19
|
)
|
15
20
|
|
21
|
+
sub_command = ARGV.shift || 'list'
|
16
22
|
case sub_command
|
17
23
|
when 'list'
|
18
24
|
cli.list(ARGV.shift || 'default')
|
data/gtasks.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thoughtbot-shoulda
|
16
|
-
requirement: &
|
16
|
+
requirement: &201888020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *201888020
|
25
25
|
description: GoogleTasks CommandLine Interface
|
26
26
|
email: sub+peerler@gmail.com
|
27
27
|
executables:
|