ttycoke 0.2.0 → 0.2.1
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/Rakefile +3 -2
- data/bin/ttycoke +1 -1
- data/config/.ttycoke.d/cat_focus.yaml +14 -0
- data/config/{ttycoke.d → .ttycoke.d}/id.yaml +0 -0
- data/config/{ttycoke.d → .ttycoke.d}/lsmod.yaml +0 -0
- data/{test/data/ttycoke.d → config/.ttycoke.d}/tail_focus.yaml +2 -1
- data/config/{ttycoke.d → .ttycoke.d}/tail_tork_logs.yaml +0 -0
- data/config/{ttycoke.d → .ttycoke.d}/top.yaml +0 -0
- data/config/config.yaml +4 -3
- data/lib/ttycoke/version.rb +1 -1
- data/test/data/{ttycoke.d → .ttycoke.d}/id.yaml +0 -0
- data/test/data/{ttycoke.d → .ttycoke.d}/lsmod.yaml +0 -0
- data/{config/ttycoke.d → test/data/.ttycoke.d}/tail_focus.yaml +0 -0
- data/test/data/{ttycoke.d → .ttycoke.d}/tail_tork_logs.yaml +0 -0
- data/test/data/{ttycoke.d → .ttycoke.d}/top.yaml +0 -0
- data/test/data/config.yaml +4 -3
- metadata +12 -11
data/Rakefile
CHANGED
@@ -11,13 +11,14 @@ namespace :test do
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
-
desc "install
|
14
|
+
desc "install .ttycokerc and .ttycoke.d into user's home directory"
|
15
15
|
task :setup do
|
16
16
|
if File.exist?(File.join(ENV['HOME'], ".ttycokerc"))
|
17
17
|
puts "#{File.join(ENV['HOME'], '.ttycokerc')} already exist."
|
18
18
|
else
|
19
|
-
puts "Coping .ttycokerc to $HOME directory"
|
19
|
+
puts "Coping .ttycokerc and .ttycoke.d to $HOME directory"
|
20
20
|
system %Q{cp "$PWD/config/config.yaml" "$HOME/.ttycokerc"}
|
21
|
+
system %Q{cp -fr "$PWD/config/.ttycoke.d" "$HOME/.ttycoke.d"}
|
21
22
|
puts "done."
|
22
23
|
end
|
23
24
|
end
|
data/bin/ttycoke
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/config/config.yaml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# This file imports all the rules from the ttycoke.d directory.
|
2
2
|
import:
|
3
|
-
-
|
4
|
-
-
|
5
|
-
-
|
3
|
+
- /.ttycoke.d/lsmod.yaml
|
4
|
+
- /.ttycoke.d/id.yaml
|
5
|
+
- /.ttycoke.d/cat_focus.yaml
|
6
|
+
- /.ttycoke.d/tail_tork_logs.yaml
|
data/lib/ttycoke/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/data/config.yaml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ttycoke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -26,12 +26,13 @@ files:
|
|
26
26
|
- README.md
|
27
27
|
- Rakefile
|
28
28
|
- bin/ttycoke
|
29
|
+
- config/.ttycoke.d/cat_focus.yaml
|
30
|
+
- config/.ttycoke.d/id.yaml
|
31
|
+
- config/.ttycoke.d/lsmod.yaml
|
32
|
+
- config/.ttycoke.d/tail_focus.yaml
|
33
|
+
- config/.ttycoke.d/tail_tork_logs.yaml
|
34
|
+
- config/.ttycoke.d/top.yaml
|
29
35
|
- config/config.yaml
|
30
|
-
- config/ttycoke.d/id.yaml
|
31
|
-
- config/ttycoke.d/lsmod.yaml
|
32
|
-
- config/ttycoke.d/tail_focus.yaml
|
33
|
-
- config/ttycoke.d/tail_tork_logs.yaml
|
34
|
-
- config/ttycoke.d/top.yaml
|
35
36
|
- doc/TTYCoke.html
|
36
37
|
- doc/TTYCoke/ANSI.html
|
37
38
|
- doc/TTYCoke/ANSIColor.html
|
@@ -77,14 +78,14 @@ files:
|
|
77
78
|
- lib/ttycoke/platform.rb
|
78
79
|
- lib/ttycoke/run.rb
|
79
80
|
- lib/ttycoke/version.rb
|
81
|
+
- test/data/.ttycoke.d/id.yaml
|
82
|
+
- test/data/.ttycoke.d/lsmod.yaml
|
83
|
+
- test/data/.ttycoke.d/tail_focus.yaml
|
84
|
+
- test/data/.ttycoke.d/tail_tork_logs.yaml
|
85
|
+
- test/data/.ttycoke.d/top.yaml
|
80
86
|
- test/data/ansi_lines.yaml
|
81
87
|
- test/data/config.yaml
|
82
88
|
- test/data/syntax_error_config.yaml
|
83
|
-
- test/data/ttycoke.d/id.yaml
|
84
|
-
- test/data/ttycoke.d/lsmod.yaml
|
85
|
-
- test/data/ttycoke.d/tail_focus.yaml
|
86
|
-
- test/data/ttycoke.d/tail_tork_logs.yaml
|
87
|
-
- test/data/ttycoke.d/top.yaml
|
88
89
|
- test/test_helper.rb
|
89
90
|
- test/ttycoke/test_ansi.rb
|
90
91
|
- test/ttycoke/test_cli.rb
|