xttc 0.1.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +3 -0
  2. data/lib/xttc.rb +4 -7
  3. metadata +43 -20
data/README CHANGED
@@ -4,6 +4,9 @@ NAME
4
4
  SYNOPSIS
5
5
  xttc (projects|status) [options]+
6
6
 
7
+ INSTALL
8
+ gem install xttc
9
+
7
10
  DESCRIPTION
8
11
  A command line bot for working with XTT, ENTP's rad time tracking app
9
12
 
@@ -9,8 +9,7 @@ rescue
9
9
  $ vi ~/.xttc
10
10
 
11
11
  site: http://tt.example.com/
12
- username: foo
13
- password: sekret
12
+ api_key: sekret_key
14
13
 
15
14
  # secure this file
16
15
  $ chmod 700 ~/.xttc
@@ -20,12 +19,10 @@ end
20
19
 
21
20
  class Project < ActiveResource::Base
22
21
  self.site = CONFIG["site"] || 'http://tt.entp.com/'
23
- self.user = CONFIG["username"]
24
- self.password = CONFIG["password"]
22
+ self.api_key = CONFIG["api_key"]
25
23
  end
26
24
 
27
25
  class Status < ActiveResource::Base
28
26
  self.site = CONFIG["site"] || 'http://tt.entp.com/'
29
- self.user = CONFIG["username"]
30
- self.password = CONFIG["password"]
31
- end
27
+ self.api_key = CONFIG["api_key"]
28
+ end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xttc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 0
9
+ version: 0.2.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Jesse Newland
@@ -15,44 +20,60 @@ default_executable: xttc
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
22
  name: activesupport
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
21
25
  requirements:
22
26
  - - ">="
23
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 2
31
+ - 2
24
32
  version: 2.2.2
25
- version:
33
+ type: :runtime
34
+ version_requirements: *id001
26
35
  - !ruby/object:Gem::Dependency
27
36
  name: activeresource
28
- type: :runtime
29
- version_requirement:
30
- version_requirements: !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
31
39
  requirements:
32
40
  - - ">="
33
41
  - !ruby/object:Gem::Version
42
+ segments:
43
+ - 2
44
+ - 2
45
+ - 2
34
46
  version: 2.2.2
35
- version:
47
+ type: :runtime
48
+ version_requirements: *id002
36
49
  - !ruby/object:Gem::Dependency
37
50
  name: main
38
- type: :runtime
39
- version_requirement:
40
- version_requirements: !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
41
53
  requirements:
42
54
  - - ">="
43
55
  - !ruby/object:Gem::Version
56
+ segments:
57
+ - 2
58
+ - 8
59
+ - 2
44
60
  version: 2.8.2
45
- version:
61
+ type: :runtime
62
+ version_requirements: *id003
46
63
  - !ruby/object:Gem::Dependency
47
64
  name: highline
48
- type: :runtime
49
- version_requirement:
50
- version_requirements: !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
51
67
  requirements:
52
68
  - - ">="
53
69
  - !ruby/object:Gem::Version
70
+ segments:
71
+ - 1
72
+ - 5
73
+ - 0
54
74
  version: 1.5.0
55
- version:
75
+ type: :runtime
76
+ version_requirements: *id004
56
77
  description: A command line bot for working with XTT, ENTP's rad time tracking app
57
78
  email: jnewland@gmail.com
58
79
  executables:
@@ -79,18 +100,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
100
  requirements:
80
101
  - - ">="
81
102
  - !ruby/object:Gem::Version
103
+ segments:
104
+ - 0
82
105
  version: "0"
83
- version:
84
106
  required_rubygems_version: !ruby/object:Gem::Requirement
85
107
  requirements:
86
108
  - - ">="
87
109
  - !ruby/object:Gem::Version
110
+ segments:
111
+ - 0
88
112
  version: "0"
89
- version:
90
113
  requirements: []
91
114
 
92
115
  rubyforge_project: xttc
93
- rubygems_version: 1.3.5
116
+ rubygems_version: 1.3.6
94
117
  signing_key:
95
118
  specification_version: 3
96
119
  summary: A command line bot for working with XTT, ENTP's rad time tracking app