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 CHANGED
@@ -2,6 +2,7 @@ source "http://rubygems.org"
2
2
 
3
3
  gem "gli", ">= 2.0.0.rc4"
4
4
  gem "rainbow", "~> 1.1"
5
+ gem "json", "~> 1.7"
5
6
 
6
7
  group :development do
7
8
  gem "rspec", "~> 2.10"
@@ -42,6 +42,7 @@ PLATFORMS
42
42
  DEPENDENCIES
43
43
  aruba (~> 0.4)
44
44
  gli (>= 2.0.0.rc4)
45
+ json (~> 1.7)
45
46
  rainbow (~> 1.1)
46
47
  rake (~> 0.9)
47
48
  rspec (~> 2.10)
data/README.md CHANGED
@@ -6,6 +6,9 @@ Simple console app for managing todos on the fly :)
6
6
 
7
7
  ## The Changelog ##
8
8
 
9
+ ### v0.1.1 (15.06.2012) ###
10
+ * Add support for ree-1.8.7
11
+
9
12
  ### v0.1.0 (15.06.2012) ###
10
13
  * Store tasks in JSON
11
14
  * Add the 'show' command
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
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
- define_singleton_method(:storage) { the_storage }
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
@@ -46,7 +46,7 @@ module Medo
46
46
  private
47
47
 
48
48
  def tempfile
49
- @tempfile ||= Tempfile.new(File.basename(@filename), :binmode => true)
49
+ @tempfile ||= Tempfile.new(File.basename(@filename))
50
50
  end
51
51
  end
52
52
  end
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
- version: 0.1.0
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
- date: 2012-06-15 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
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
- version_requirements: !ruby/object:Gem::Requirement
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
- - !ruby/object:Gem::Dependency
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
31
39
  name: rainbow
32
- requirement: !ruby/object:Gem::Requirement
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
- version: '1.1'
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
- version_requirements: !ruby/object:Gem::Requirement
56
+ requirement: &id003 !ruby/object:Gem::Requirement
41
57
  none: false
42
- requirements:
58
+ requirements:
43
59
  - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '1.1'
46
- - !ruby/object:Gem::Dependency
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
- version_requirements: !ruby/object:Gem::Requirement
71
+ requirement: &id004 !ruby/object:Gem::Requirement
57
72
  none: false
58
- requirements:
73
+ requirements:
59
74
  - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '2.10'
62
- - !ruby/object:Gem::Dependency
63
- name: rake
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
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
- version_requirements: !ruby/object:Gem::Requirement
86
+ requirement: &id005 !ruby/object:Gem::Requirement
73
87
  none: false
74
- requirements:
88
+ requirements:
75
89
  - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '0.9'
78
- - !ruby/object:Gem::Dependency
79
- name: aruba
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
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
- version_requirements: !ruby/object:Gem::Requirement
101
+ requirement: &id006 !ruby/object:Gem::Requirement
89
102
  none: false
90
- requirements:
103
+ requirements:
91
104
  - - ~>
92
- - !ruby/object:Gem::Version
93
- version: '0.4'
94
- - !ruby/object:Gem::Dependency
95
- name: simplecov
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
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
- version_requirements: !ruby/object:Gem::Requirement
116
+ requirement: &id007 !ruby/object:Gem::Requirement
105
117
  none: false
106
- requirements:
118
+ requirements:
107
119
  - - ~>
108
- - !ruby/object:Gem::Version
109
- version: '0.6'
110
- description: ! 'The ''medo'' application allows you to keep track of your
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
- files:
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
- require_paths:
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
- version: '0'
176
- required_rubygems_version: !ruby/object:Gem::Requirement
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.21
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
- has_rdoc:
218
+