locd 0.1.12 → 0.1.13

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/NAME +1 -0
  4. data/VERSION +1 -1
  5. data/config/default.lit.yaml +43 -0
  6. data/lib/locd.rb +0 -3
  7. data/lib/locd/agent.rb +50 -13
  8. data/lib/locd/agent/proxy.rb +27 -12
  9. data/lib/locd/agent/rotate_logs.rb +2 -2
  10. data/lib/locd/agent/site.rb +4 -1
  11. data/lib/locd/agent/system.rb +47 -12
  12. data/lib/locd/cli/command/agent.rb +48 -404
  13. data/lib/locd/cli/command/agent/add.rb +12 -4
  14. data/lib/locd/cli/command/agent/ls.rb +56 -0
  15. data/lib/locd/cli/command/agent/open.rb +53 -0
  16. data/lib/locd/cli/command/agent/plist.rb +43 -0
  17. data/lib/locd/cli/command/agent/restart.rb +43 -0
  18. data/lib/locd/cli/command/agent/rm.rb +46 -0
  19. data/lib/locd/cli/command/agent/shared.rb +253 -0
  20. data/lib/locd/cli/command/agent/start.rb +38 -0
  21. data/lib/locd/cli/command/agent/status.rb +41 -0
  22. data/lib/locd/cli/command/agent/stop.rb +39 -0
  23. data/lib/locd/cli/command/agent/tail.rb +82 -0
  24. data/lib/locd/cli/command/agent/truncate_logs.rb +65 -0
  25. data/lib/locd/cli/command/agent/update.rb +48 -0
  26. data/lib/locd/cli/command/base.rb +35 -3
  27. data/lib/locd/cli/command/job.rb +29 -36
  28. data/lib/locd/cli/command/job/add.rb +57 -0
  29. data/lib/locd/cli/command/main.rb +3 -3
  30. data/lib/locd/cli/command/proxy.rb +44 -20
  31. data/lib/locd/cli/command/rotate_logs.rb +28 -49
  32. data/lib/locd/cli/command/rotate_logs/add.rb +44 -0
  33. data/lib/locd/config.rb +88 -20
  34. data/lib/locd/config/types.rb +56 -27
  35. data/lib/locd/newsyslog.rb +23 -24
  36. data/lib/locd/proxy.rb +21 -9
  37. data/lib/locd/version.rb +94 -5
  38. data/locd.gemspec +10 -4
  39. metadata +67 -9
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-20 00:00:00.000000000 Z
11
+ date: 2019-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.16'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.16'
27
27
  - !ruby/object:Gem::Dependency
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.10.4
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-rescue
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.4.5
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.4.5
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-stack_explorer
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.4.9
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.4.9
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: github-markup
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +142,14 @@ dependencies:
114
142
  requirements:
115
143
  - - "~>"
116
144
  - !ruby/object:Gem::Version
117
- version: 0.3.9
145
+ version: 0.3.12
118
146
  type: :runtime
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
150
  - - "~>"
123
151
  - !ruby/object:Gem::Version
124
- version: 0.3.9
152
+ version: 0.3.12
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: cmds
127
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +198,28 @@ dependencies:
170
198
  requirements:
171
199
  - - "~>"
172
200
  - !ruby/object:Gem::Version
173
- version: 0.1.12
201
+ version: 0.1.13
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 0.1.13
209
+ - !ruby/object:Gem::Dependency
210
+ name: rouge
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: 3.1.1
174
216
  type: :runtime
175
217
  prerelease: false
176
218
  version_requirements: !ruby/object:Gem::Requirement
177
219
  requirements:
178
220
  - - "~>"
179
221
  - !ruby/object:Gem::Version
180
- version: 0.1.12
222
+ version: 3.1.1
181
223
  description:
182
224
  email:
183
225
  - neil@ztkae.com
@@ -195,9 +237,11 @@ files:
195
237
  - ".yardopts"
196
238
  - Gemfile
197
239
  - LICENSE.txt
240
+ - NAME
198
241
  - README.md
199
242
  - Rakefile
200
243
  - VERSION
244
+ - config/default.lit.yaml
201
245
  - config/default.yml
202
246
  - doc/files/design/domains_and_labels.md
203
247
  - doc/files/topics/agents.md
@@ -216,12 +260,26 @@ files:
216
260
  - lib/locd/cli/command.rb
217
261
  - lib/locd/cli/command/agent.rb
218
262
  - lib/locd/cli/command/agent/add.rb
263
+ - lib/locd/cli/command/agent/ls.rb
264
+ - lib/locd/cli/command/agent/open.rb
265
+ - lib/locd/cli/command/agent/plist.rb
266
+ - lib/locd/cli/command/agent/restart.rb
267
+ - lib/locd/cli/command/agent/rm.rb
268
+ - lib/locd/cli/command/agent/shared.rb
269
+ - lib/locd/cli/command/agent/start.rb
270
+ - lib/locd/cli/command/agent/status.rb
271
+ - lib/locd/cli/command/agent/stop.rb
272
+ - lib/locd/cli/command/agent/tail.rb
273
+ - lib/locd/cli/command/agent/truncate_logs.rb
274
+ - lib/locd/cli/command/agent/update.rb
219
275
  - lib/locd/cli/command/base.rb
220
276
  - lib/locd/cli/command/job.rb
277
+ - lib/locd/cli/command/job/add.rb
221
278
  - lib/locd/cli/command/main.rb
222
279
  - lib/locd/cli/command/project.rb
223
280
  - lib/locd/cli/command/proxy.rb
224
281
  - lib/locd/cli/command/rotate_logs.rb
282
+ - lib/locd/cli/command/rotate_logs/add.rb
225
283
  - lib/locd/cli/command/site.rb
226
284
  - lib/locd/cli/table.rb
227
285
  - lib/locd/config.rb
@@ -258,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
316
  version: '0'
259
317
  requirements: []
260
318
  rubyforge_project:
261
- rubygems_version: 2.5.2.2
319
+ rubygems_version: 2.5.2.3
262
320
  signing_key:
263
321
  specification_version: 4
264
322
  summary: Get loc'd out!