td 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +5 -0
- data/lib/td/command/list.rb +13 -13
- data/lib/td/command/sched.rb +1 -1
- data/lib/td/version.rb +1 -1
- metadata +6 -6
data/ChangeLog
CHANGED
data/lib/td/command/list.rb
CHANGED
@@ -190,10 +190,10 @@ module List
|
|
190
190
|
add_list 'schema:add', %w[db table columns_], 'Add new columns to a table'
|
191
191
|
add_list 'schema:remove', %w[db table columns_], 'Remove columns from a table'
|
192
192
|
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
193
|
+
add_list 'sched:list', %w[], 'Show list of schedules'
|
194
|
+
add_list 'sched:create', %w[name cron sql], 'Create a schedule'
|
195
|
+
add_list 'sched:delete', %w[name], 'Delete a schedule'
|
196
|
+
add_list 'sched:history', %w[name max?], 'Show history of scheduled queries'
|
197
197
|
|
198
198
|
add_list 'query', %w[sql], 'Issue a query'
|
199
199
|
|
@@ -225,15 +225,15 @@ module List
|
|
225
225
|
|
226
226
|
add_alias 'schema', 'schema:show'
|
227
227
|
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
228
|
+
add_alias 'schedule:list', 'sched:list'
|
229
|
+
add_alias 'schedule:create', 'sched:create'
|
230
|
+
add_alias 'schedule:delete', 'sched:delete'
|
231
|
+
add_alias 'schedule:history', 'sched:history'
|
232
|
+
add_alias 'schedule:hist', 'sched:history'
|
233
|
+
add_alias 'sched:hist', 'sched:history'
|
234
|
+
add_alias 'sched', 'sched:history'
|
235
|
+
add_alias 'scheds', 'sched:list'
|
236
|
+
add_alias 'schedules', 'sched:list'
|
237
237
|
|
238
238
|
add_alias 'job', 'job:show'
|
239
239
|
add_alias 'jobs', 'job:list'
|
data/lib/td/command/sched.rb
CHANGED
@@ -102,7 +102,7 @@ module Command
|
|
102
102
|
rows << {:Time => j.scheduled_at, :JobID => j.job_id, :Status => j.status}
|
103
103
|
}
|
104
104
|
|
105
|
-
puts cmd_render_table(rows, :fields => [:
|
105
|
+
puts cmd_render_table(rows, :fields => [:JobID, :Time, :Status])
|
106
106
|
end
|
107
107
|
|
108
108
|
end
|
data/lib/td/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: td
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 5
|
10
|
+
version: 0.9.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sadayuki Furuhashi
|
@@ -74,12 +74,12 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
hash:
|
77
|
+
hash: 59
|
78
78
|
segments:
|
79
79
|
- 0
|
80
80
|
- 8
|
81
|
-
-
|
82
|
-
version: 0.8.
|
81
|
+
- 2
|
82
|
+
version: 0.8.2
|
83
83
|
type: :runtime
|
84
84
|
version_requirements: *id004
|
85
85
|
- !ruby/object:Gem::Dependency
|