medo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +1 -0
- data/README.md +3 -0
- data/VERSION +1 -1
- data/bin/medo +4 -1
- data/lib/medo/file_task_storage.rb +1 -1
- metadata +122 -93
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/bin/medo
CHANGED
@@ -40,7 +40,10 @@ end
|
|
40
40
|
|
41
41
|
around do |global_options, command, options, arguments, cmd|
|
42
42
|
FileTaskStorage.using_storage(global_options.fetch(:"tasks-file")) do |the_storage|
|
43
|
-
|
43
|
+
instance_eval do
|
44
|
+
eigen = class << self; self; end
|
45
|
+
eigen.send(:define_method, :storage) { the_storage }
|
46
|
+
end
|
44
47
|
|
45
48
|
def self.choose_task(argv, tasks)
|
46
49
|
input = argv.shift
|
metadata
CHANGED
@@ -1,123 +1,142 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: medo
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Vladimir Yarotsky
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-06-15 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: gli
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.0.rc4
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 2975447611
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 0
|
32
|
+
- 0
|
33
|
+
- rc
|
34
|
+
- 4
|
29
35
|
version: 2.0.0.rc4
|
30
|
-
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
31
39
|
name: rainbow
|
32
|
-
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
33
42
|
none: false
|
34
|
-
requirements:
|
43
|
+
requirements:
|
35
44
|
- - ~>
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 13
|
47
|
+
segments:
|
48
|
+
- 1
|
49
|
+
- 1
|
50
|
+
version: "1.1"
|
38
51
|
type: :runtime
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: json
|
39
55
|
prerelease: false
|
40
|
-
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
57
|
none: false
|
42
|
-
requirements:
|
58
|
+
requirements:
|
43
59
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 1
|
62
|
+
segments:
|
63
|
+
- 1
|
64
|
+
- 7
|
65
|
+
version: "1.7"
|
66
|
+
type: :runtime
|
67
|
+
version_requirements: *id003
|
68
|
+
- !ruby/object:Gem::Dependency
|
47
69
|
name: rspec
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '2.10'
|
54
|
-
type: :development
|
55
70
|
prerelease: false
|
56
|
-
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
57
72
|
none: false
|
58
|
-
requirements:
|
73
|
+
requirements:
|
59
74
|
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
requirements:
|
67
|
-
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.9'
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 23
|
77
|
+
segments:
|
78
|
+
- 2
|
79
|
+
- 10
|
80
|
+
version: "2.10"
|
70
81
|
type: :development
|
82
|
+
version_requirements: *id004
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
71
85
|
prerelease: false
|
72
|
-
|
86
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
73
87
|
none: false
|
74
|
-
requirements:
|
88
|
+
requirements:
|
75
89
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
requirements:
|
83
|
-
- - ~>
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0.4'
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 25
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
- 9
|
95
|
+
version: "0.9"
|
86
96
|
type: :development
|
97
|
+
version_requirements: *id005
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: aruba
|
87
100
|
prerelease: false
|
88
|
-
|
101
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
89
102
|
none: false
|
90
|
-
requirements:
|
103
|
+
requirements:
|
91
104
|
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
requirements:
|
99
|
-
- - ~>
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0.6'
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 3
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
- 4
|
110
|
+
version: "0.4"
|
102
111
|
type: :development
|
112
|
+
version_requirements: *id006
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: simplecov
|
103
115
|
prerelease: false
|
104
|
-
|
116
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
105
117
|
none: false
|
106
|
-
requirements:
|
118
|
+
requirements:
|
107
119
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
|
111
|
-
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
hash: 7
|
122
|
+
segments:
|
123
|
+
- 0
|
124
|
+
- 6
|
125
|
+
version: "0.6"
|
126
|
+
type: :development
|
127
|
+
version_requirements: *id007
|
128
|
+
description: |
|
129
|
+
The 'medo' application allows you to keep track of your
|
112
130
|
tasks (basically a to-do app) through command line interface
|
113
131
|
|
114
|
-
'
|
115
132
|
email: vladimir.yarotksy@gmail.com
|
116
|
-
executables:
|
133
|
+
executables:
|
117
134
|
- medo
|
118
135
|
extensions: []
|
136
|
+
|
119
137
|
extra_rdoc_files: []
|
120
|
-
|
138
|
+
|
139
|
+
files:
|
121
140
|
- bin/medo
|
122
141
|
- lib/medo/commands/clear.rb
|
123
142
|
- lib/medo/commands/delete.rb
|
@@ -161,29 +180,39 @@ files:
|
|
161
180
|
- README.md
|
162
181
|
- VERSION
|
163
182
|
homepage: http://github.com/v-yarotsky/medo
|
164
|
-
licenses:
|
183
|
+
licenses:
|
165
184
|
- MIT
|
166
185
|
post_install_message:
|
167
186
|
rdoc_options: []
|
168
|
-
|
187
|
+
|
188
|
+
require_paths:
|
169
189
|
- lib
|
170
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
191
|
none: false
|
172
|
-
requirements:
|
173
|
-
- -
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
|
176
|
-
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
hash: 3
|
196
|
+
segments:
|
197
|
+
- 0
|
198
|
+
version: "0"
|
199
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
200
|
none: false
|
178
|
-
requirements:
|
179
|
-
- -
|
180
|
-
- !ruby/object:Gem::Version
|
201
|
+
requirements:
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
hash: 23
|
205
|
+
segments:
|
206
|
+
- 1
|
207
|
+
- 3
|
208
|
+
- 6
|
181
209
|
version: 1.3.6
|
182
210
|
requirements: []
|
211
|
+
|
183
212
|
rubyforge_project:
|
184
|
-
rubygems_version: 1.8.
|
213
|
+
rubygems_version: 1.8.15
|
185
214
|
signing_key:
|
186
215
|
specification_version: 3
|
187
216
|
summary: Simple CLI todo manager app
|
188
217
|
test_files: []
|
189
|
-
|
218
|
+
|