vete 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/lib/vete.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bcfe77d7df4668c1464483c0c78b6add567c9dbb2223dad8f9312b37bfb387f
|
4
|
+
data.tar.gz: 655b7fe95d90e0679954a7230fd7c164ee44cedeac2fee393f99aca08db3ceca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e00f6f19397277661fc67d9fe6a05fe328606d9456131c38afb0bea8f94b6ce0dd2528dea01229eeedcfb62742f96002ab2e73e25726449c0670448b4377b34
|
7
|
+
data.tar.gz: 3e4111558615188636277ef89ea470a3761f2b283b516ac3e163aa775341580236a93763ffae37ec81304c100b285da34d7a6e5d241fac116129cb635b910411
|
data/README.md
CHANGED
@@ -69,10 +69,10 @@ four tasks as follows:
|
|
69
69
|
├── died/
|
70
70
|
├── done/
|
71
71
|
└── todo/
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
72
|
+
├── 20230410
|
73
|
+
├── 20230411
|
74
|
+
├── 20230412
|
75
|
+
└── 20230413
|
76
76
|
```
|
77
77
|
|
78
78
|
This file structure can be defined in the `setup` method, or you could choose to
|
@@ -116,10 +116,10 @@ are needed when processing each task.
|
|
116
116
|
├── died/
|
117
117
|
├── done/
|
118
118
|
└── todo/
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
119
|
+
├── amazon.json
|
120
|
+
├── apple.json
|
121
|
+
├── facebook.json
|
122
|
+
└── google.json
|
123
123
|
```
|
124
124
|
|
125
125
|
### Additional tips
|
data/lib/vete.rb
CHANGED
@@ -19,7 +19,7 @@ trap("INT" ) { print clear + go; abort "\n" }
|
|
19
19
|
trap("WINCH") { print clear or draw if @pid == Process.pid }
|
20
20
|
|
21
21
|
OptionParser.new.instance_eval do
|
22
|
-
@version = "1.0.
|
22
|
+
@version = "1.0.5"
|
23
23
|
@banner = "usage: #{program_name} [options] [filename]"
|
24
24
|
|
25
25
|
on "-b", "--bar <width>" , "Progress bar width, in characters", Integer
|
@@ -78,7 +78,8 @@ end
|
|
78
78
|
|
79
79
|
def vete_retry
|
80
80
|
list = Dir.glob(File.join(@died, "*")).sort.each {|path| FileUtils.touch(path) }
|
81
|
-
|
81
|
+
todo = Dir.glob(File.join(@todo, "*"))
|
82
|
+
list.empty? ? !todo.empty? : !!move(list, @todo)
|
82
83
|
end
|
83
84
|
|
84
85
|
def vete_todo(path, data=nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Shreeve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby CLI to spawn processes to get work done
|
14
14
|
email: steve.shreeve@gmail.com
|
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
requirements: []
|
47
|
-
rubygems_version: 3.
|
47
|
+
rubygems_version: 3.5.6
|
48
48
|
signing_key:
|
49
49
|
specification_version: 4
|
50
50
|
summary: Ruby CLI to spawn processes to get work done
|